/* ==========================================
   Design System & CSS Variables
   ========================================== */
:root {
    /* Carolina Blue Theme - matching the logo */
    --primary-blue: #7EC8E3;
    --primary-blue-dark: #5BA8C8;
    --primary-blue-light: #A8DCF0;

    /* Accent Colors */
    --accent-cream: #F5F1E8;
    --accent-dark: #2C3E50;
    --accent-gold: #FFD700;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7EC8E3 0%, #5BA8C8 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(126, 200, 227, 0.9) 0%, rgba(91, 168, 200, 0.95) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;

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

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(126, 200, 227, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--gradient-primary);
    color: var(--accent-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   Drinks Background Image
   ========================================== */
.drinks-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('drinks.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    filter: blur(2px);
}

/* ==========================================
   Animated Bubble Background
   ========================================== */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    opacity: 0.6;
    animation: rise 15s infinite ease-in;
    backdrop-filter: blur(5px);
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 35%;
    animation-duration: 16s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 70px;
    height: 70px;
    left: 50%;
    animation-duration: 13s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 90px;
    height: 90px;
    left: 65%;
    animation-duration: 15s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    width: 50px;
    height: 50px;
    left: 75%;
    animation-duration: 11s;
    animation-delay: 5s;
}

.bubble:nth-child(7) {
    width: 110px;
    height: 110px;
    left: 85%;
    animation-duration: 17s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 65px;
    height: 65px;
    left: 90%;
    animation-duration: 14s;
    animation-delay: 6s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(100px) scale(1.1);
        opacity: 0.4;
    }

    100% {
        bottom: 110vh;
        transform: translateX(-50px) scale(0.8);
        opacity: 0;
    }
}

/* ==========================================
   Layout Container
   ========================================== */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    text-align: center;
}

/* ==========================================
   Logo Section
   ========================================== */
.logo-container {
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-lg));
    transition: transform var(--transition-smooth);
    animation: float 6s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05);
}

@keyframes float {

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

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

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

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

/* ==========================================
   Main Content
   ========================================== */
.content {
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.tagline {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--accent-cream);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

/* DTF Acronym Taglines */
.dtf-tagline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 400;
    color: white;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.dtf-line {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-smooth);
}

.dtf-line:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dtf-line strong {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.15em;
}

.dtf-separator {
    color: var(--accent-gold);
    font-size: 1.2em;
    opacity: 0.6;
}

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

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

/* ==========================================
   Email Signup Form
   ========================================== */
.signup-form {
    margin: var(--spacing-lg) 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.input-group {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 3px solid white;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-dark);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

input[type="email"]:focus {
    outline: none;
    background: white;
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

input[type="email"]::placeholder {
    color: rgba(44, 62, 80, 0.5);
}

.btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary-blue-dark);
    background: white;
    border: 3px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.form-message {
    margin-top: var(--spacing-sm);
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 24px;
    transition: all var(--transition-smooth);
}

.form-message.success {
    color: var(--accent-gold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-message.error {
    color: #FF6B6B;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Social Links (Optional)
   ========================================== */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    margin-top: auto;
    padding-top: var(--spacing-xl);
    animation: fadeIn 1s ease-out 1.2s both;
}

.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    .logo {
        max-width: 280px;
    }

    .input-group {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    input[type="email"],
    .btn-primary {
        width: 100%;
        min-width: unset;
    }

    .title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .dtf-tagline {
        font-size: 0.85rem;
        gap: var(--spacing-xs);
    }

    .dtf-line {
        padding: 0.3rem 0.6rem;
    }

    .dtf-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 220px;
    }

    .title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .dtf-tagline {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .bubble {
        display: none;
        /* Hide bubbles on very small screens for performance */
    }

    .drinks-background {
        opacity: 0.1;
        /* Reduce opacity on mobile for better readability */
    }
}

/* ==========================================
   Accessibility & Print Styles
   ========================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .bubbles {
        display: none;
    }
}