/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Beach & Tropical Color Palette - St. Thomas Vibes */
    --primary-color: #FF6B35;        /* Coral/Sunset Orange */
    --secondary-color: #00B4D8;      /* Tropical Ocean Blue */
    --tertiary-color: #FFD23F;       /* Sunny Yellow */
    --beach-sand: #F4E8D0;           /* Sandy Beige */
    --ocean-deep: #0077B6;           /* Deep Ocean Blue */
    --sunset-pink: #FF758F;          /* Sunset Pink */
    --palm-green: #06D6A0;           /* Tropical Green */
    
    --light-bg: rgba(255, 255, 255, 0.92);  /* Light, airy background */
    --card-bg: rgba(255, 255, 255, 0.85);   /* Semi-transparent white cards */
    --text-dark: #2B4162;            /* Deep Navy for text */
    --text-light: #FFFFFF;
    
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --facebook-color: #1877F2;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    background: linear-gradient(135deg, #87CEEB 0%, #00CED1 100%); /* Sky to turquoise */
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(1.1) saturate(1.1);
    opacity: 0.85;
    z-index: -1;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(0, 180, 216, 0.2));
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
header {
    text-align: center;
    padding: 3rem 0;
    animation: fadeInDown 1s ease;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    animation: fadeIn 1.5s ease;
}

/* Location Badge */
.location-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    width: fit-content;
}

.location-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.3);
}

.location-icon {
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.location-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(255, 107, 53, 0.4);
}

.tagline {
    font-size: 1.2rem;
    color: var(--tertiary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    animation: fadeInUp 1s ease 0.3s both;
}

.event-info {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.event-details {
    text-align: center;
    margin-bottom: 3rem;
}

.event-date {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-time {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 210, 63, 0.15));
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4),
                0 0 20px rgba(0, 180, 216, 0.3);
    border-color: var(--secondary-color);
}

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Event Description */
.event-description {
    margin: 3rem 0;
    text-align: center;
}

.event-description h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.event-description ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.event-description li {
    font-size: 1.2rem;
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(0, 180, 216, 0.1));
    border-radius: 10px;
    border-left: 4px solid var(--palm-green);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.event-description li:hover {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(0, 180, 216, 0.2));
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

.menu-note {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.menu-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--sunset-pink));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6),
                0 0 20px rgba(255, 210, 63, 0.4);
    background: linear-gradient(135deg, var(--sunset-pink), var(--primary-color));
    border-color: var(--tertiary-color);
}

/* QR Code Section */
.qr-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 180, 216, 0.3);
}

.qr-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.qr-code {
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
    background: white;
    padding: 1rem;
    border: 3px solid var(--secondary-color);
}

/* Social Links */
.social-links {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.social-links h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-btn.instagram {
    background: var(--instagram-gradient);
    box-shadow: 0 4px 15px rgba(193, 53, 132, 0.4);
}

.social-btn.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(193, 53, 132, 0.6);
}

.social-btn.facebook {
    background: var(--facebook-color);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.social-btn.facebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.6);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0 2rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* 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) {
    /* Mobile background optimization */
    body::before {
        filter: brightness(1.15) saturate(1.2) blur(3px);
        opacity: 0.6;
        background-position: center 40%; /* Show pizza instead of oven on mobile */
        background-size: cover;
    }
    
    .background-overlay {
        background: radial-gradient(circle at center, 
                    rgba(255, 255, 255, 0.3), 
                    rgba(0, 180, 216, 0.35));
    }

    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
        text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5),
                     0 0 30px rgba(255, 255, 255, 0.8);
    }

    .tagline {
        font-size: 1rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    }

    .logo {
        max-width: 150px;
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    }
    
    .location-badge {
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .location-icon {
        width: 16px;
        height: 16px;
    }
    
    .location-text {
        font-size: 0.8rem;
    }

    .event-info {
        padding: 2rem 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        border: 3px solid rgba(255, 255, 255, 0.8);
    }

    h2 {
        font-size: 2rem;
    }

    .event-date {
        font-size: 1.4rem;
    }

    .event-time {
        font-size: 1.1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem 1.5rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .event-description li {
        font-size: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .qr-code {
        max-width: 200px;
    }

    .social-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        background: rgba(255, 255, 255, 0.95);
        border: 3px solid rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.8rem 1rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }
}

