/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Colors - Ocean & Beach Theme */
    --color-ocean-deep: #0a4d68;
    --color-ocean-medium: #088395;
    --color-ocean-light: #05bfdb;
    --color-sand: #f4e4c1;
    --color-sand-light: #fef5e7;
    --color-white: #ffffff;
    --color-gold: #d4af37;
    --color-gold-light: #f4e4c1;

    /* Gradients */
    --gradient-ocean: linear-gradient(135deg, var(--color-ocean-deep) 0%, var(--color-ocean-medium) 50%, var(--color-ocean-light) 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, #f4d03f 100%);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.3);
    --blur-glass: blur(10px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===========================
   Background Slider
   =========================== */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenburns 20s ease-in-out infinite;
    /* Enhanced filters for brightness and vibrancy */
    filter: brightness(1.15) contrast(1.1) saturate(1.2);
}

.slide.active {
    opacity: 1;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(10, 77, 104, 0.85) 0%,
            rgba(8, 131, 149, 0.75) 50%,
            rgba(5, 191, 219, 0.65) 100%);
    z-index: -1;
}

/* ===========================
   Container & Layout
   =========================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* ===========================
   Header & Logo
   =========================== */
.header {
    width: 100%;
    padding: var(--spacing-lg) 0;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    text-align: center;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.logo-divider {
    width: 100px;
    height: 2px;
    background: var(--gradient-gold);
    margin: var(--spacing-sm) auto;
    border-radius: 2px;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sand-light);
}

/* ===========================
   Announcement Section
   =========================== */
.announcement {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-lg) 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-glass);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: var(--spacing-md);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.wave-icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.announcement-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
}

.main-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.announcement-text {
    margin-bottom: var(--spacing-lg);
}

.primary-message {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    color: var(--color-sand-light);
}

.primary-message strong {
    color: var(--color-gold);
    font-weight: 600;
}

.secondary-message {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   Countdown Timer
   =========================== */
.countdown {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-glass);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: var(--spacing-md) var(--spacing-sm);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-label {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sand-light);
}

.countdown-separator {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--color-gold);
    opacity: 0.5;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
}

.contact-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
}

.contact-detail {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-sand-light);
    margin-bottom: var(--spacing-xs);
}

.contact-detail a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-detail a:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

/* ===========================
   Footer
   =========================== */
.footer {
    width: 100%;
    text-align: center;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    position: relative;
    animation: fadeIn 1s ease-out 0.9s both;
}

.wave-decoration {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-decoration svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.footer-legal {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
    }

    .countdown {
        gap: var(--spacing-xs);
    }

    .countdown-item {
        min-width: 70px;
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    .countdown-separator {
        display: none;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .wave-decoration svg {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .announcement-badge {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .wave-icon {
        width: 20px;
        height: 20px;
    }
}