:root {
    --burgundy: #570A1E;
    --burgundy-light: #8a1a36;
    --burgundy-dark: #2a030d;
    --accent: #F58220;
    --cream: #F9F1E7;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

/* Skip link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--burgundy-dark);
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--burgundy-dark);
    color: var(--white);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

/* Animated Background Mesh */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, var(--burgundy) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--burgundy-light) 0%, transparent 50%),
        var(--burgundy-dark);
    opacity: 0.5;
    animation: mesh-move 25s ease infinite alternate;
}

@keyframes mesh-move {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--cream);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 8px 0;
}

.navbar-brand img {
    height: 110px;
    width: auto;
    display: block;
    max-width: 100%;
    -webkit-filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.marquee-wrapper {
    background: var(--burgundy);
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 2px solid var(--accent);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    padding-right: 6rem;
    opacity: 0.9;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero {
    padding: 260px 0 60px;
    min-height: 85vh; /* Adjusted from min-height 100vh to help reduce overall gap */
    text-align: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative side image (kept subtle; hidden on mobile) */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -3%;
    height: 100%;
    width: min(460px, 42vw);
    background-image: url('../assets/background_logo.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

/* Mirrored copy on the left */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -3%;
    height: 100%;
    width: min(460px, 42vw);
    background-image: url('../assets/background_logo.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal-up 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.35rem, 4.6vw, 3.6rem);
    margin-bottom: 18px;
    letter-spacing: -0.8px;
    line-height: 1.1;
    color: var(--cream);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    width: 100%;
    overflow: visible;
}

/* Subtle scroll-reveal (used for below-the-fold sections) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1), transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-on-scroll,
    .marquee-content,
    .bg-mesh,
    .whatsapp-float {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

.hero h1::after {
    content: '';
    display: block;
    width: 92px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.85;
}

.hero p {
    font-size: 1.15rem;
    max-width: 850px;
    margin: 0 auto 50px;
    opacity: 0;
    animation: reveal-up 1s 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 40px; /* Reduced from 60px to tighten space */
    opacity: 0;
    animation: reveal-up 1s 0.6s forwards;
}

.countdown-item {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 18px 10px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.countdown-item label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    opacity: 0.6;
    font-weight: 600;
}

.contact-section {
    padding: 40px 0 100px; /* Reduced top padding from 80px */
}

.contact-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 45px 25px;
    border-radius: 16px;
    height: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: var(--white);
    display: block;
    backdrop-filter: blur(8px);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.phone-number,
.email-text {
    display: block;
    margin-top: 5px;
}

.contact-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    opacity: 0.95;
}

.btn-custom {
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--burgundy-dark);
    opacity: 0;
    animation: reveal-up 1s 0.8s forwards;
    font-size: 0.9rem;
}

.btn-custom:hover {
    transform: scale(1.05);
    background: var(--white);
    color: var(--burgundy);
    box-shadow: 0 5px 20px rgba(245, 130, 32, 0.3);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1001;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

footer {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

@media (max-width: 992px) {
    .hero {
        padding-top: 250px;
    }
}

@media (max-width: 768px) {
    .hero::before {
        display: none;
    }

    .hero::after {
        display: none;
    }

    .navbar-brand img {
        height: 90px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
    }

    /* Adjusted size for small mobile while keeping one line */
    .hero h1 {
        font-size: clamp(1.15rem, 6.2vw, 2.4rem);
        line-height: 1.25;
    }

    .hero h1::after {
        width: 72px;
        margin-top: 12px;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-value {
        font-size: 1rem;
    }

    .hero {
        padding-top: 220px;
        padding-bottom: 40px;
        min-height: auto;
        display: block;
    }

    .hero::before {
        width: 260px;
        right: -18px;
        opacity: 0.16;
        background-position: right top;
    }

    .contact-section {
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 6px 0;
    }

    .navbar-brand img {
        height: 78px;
    }

    .marquee-wrapper {
        padding: 8px 0;
    }

    .marquee-item {
        font-size: 0.75rem;
        letter-spacing: 2px;
        padding-right: 3.5rem;
    }

    .hero {
        padding-top: 200px;
        padding-bottom: 32px;
    }

    .hero::before {
        display: none;
    }

    .countdown-item span {
        font-size: 2.1rem;
    }

    .btn-custom {
        padding: 14px 28px;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .contact-card {
        padding: 34px 18px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
        bottom: calc(18px + env(safe-area-inset-bottom));
        right: calc(18px + env(safe-area-inset-right));
    }
}
