/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Naskh+Arabic:wght@400..700&family=Sacramento&display=swap');

/* All CSS Files Import */
@import url('../../css/navbar.css');
@import url('../../css/welcome.css');
@import url('../../css/home.css');
@import url('../../css/bride.css');
@import url('../../css/time.css');
@import url('../../css/galeri.css');
@import url('../../css/wishas.css');
@import url('../../css/footer.css');
@import url('../../css/mediaQueries.css');

:root {
    --primary-font-color: '#212529';
    --bg-color: #f8f9fa;

    --fontSize-heading-lg: 3rem;
    --fontSize-heading-base: 2.8rem;
    --fontSize-text-base: 1rem;

    --sacramento: Sacramento, cursive;
    --arabic: 'Noto Naskh Arabic', serif;

    --shadow-md: 0 0 10px rgba(0, 0, 0, 0.3);

    --transition-small: all .3s ease;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--primary-font-color);
    overflow-y: hidden;
}

body.active {
    overflow-y: auto;
}

body::-webkit-scrollbar {
    display: none;
}

p {
    line-height: 1.7rem;
}

.audio button {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    color: #000;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    cursor: pointer;
    transform: translateX(200%);
    transition: 1.5s transform ease;
}

.audio button.show {
    transform: translateX(0);
}

.audio button.active {
    animation: rotate 3s linear infinite;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes upAndDown {
    0%, 100% {
        transform: translateY(-0.8rem);
    }
    50% {
        transform: translateY(0.8rem);
    }
}

/* Lazy Loading Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Placeholder shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Image lazy load - loading state */
img[data-lazy] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    opacity: 0.5;
}

/* Image lazy load - loaded state */
img.loaded {
    animation: fadeInScale 0.5s ease-out;
    background: none !important;
}

/* Error state */
img.error {
    background: #f5f5f5;
    opacity: 0.8;
}
