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

:root {
    /* Earth Tone Palette */
    --primary-earth: #8B7355;      /* Warm brown */
    --secondary-earth: #A0826D;    /* Light terracotta */
    --accent-earth: #9DAA91;       /* Sage green */
    --highlight-earth: #C99D66;    /* Sandy gold */
    --deep-earth: #5C4A3D;         /* Deep chocolate */
    --cream: #F5EFE6;              /* Warm cream */
    --text-color: #F5EFE6;
    --text-secondary: rgba(245, 239, 230, 0.9);
    --text-muted: rgba(245, 239, 230, 0.7);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Main Container */
.maintenance-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #8B7355 0%, #5C4A3D 100%);
    padding: 2rem;
}

/* Animated Background Gradient */
.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(139, 115, 85, 0.9),
        rgba(160, 130, 109, 0.85),
        rgba(157, 170, 145, 0.8),
        rgba(201, 157, 102, 0.85)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Content Container */
.content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    text-align: center;
    background: rgba(92, 74, 61, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 239, 230, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

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

/* Logo */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 0.2s both;
}

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

/* Main Content */
.main-content {
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 0.4s both;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.newsletter-section h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter-section > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

/* Turnstile Widget Styling */
.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.email-input {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(245, 239, 230, 0.3);
    border-radius: 50px;
    background: rgba(245, 239, 230, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.email-input::placeholder {
    color: rgba(245, 239, 230, 0.6);
}

.email-input:focus {
    border-color: var(--highlight-earth);
    background: rgba(245, 239, 230, 0.15);
    transform: translateY(-2px);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--highlight-earth);
    color: var(--deep-earth);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--cream);
    color: var(--deep-earth);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.success-message {
    font-size: 1.1rem;
    color: var(--accent-earth);
    font-weight: 600;
    padding: 1rem;
    background: rgba(157, 170, 145, 0.2);
    border-radius: 10px;
    border: 1px solid var(--accent-earth);
    animation: fadeIn 0.5s ease-out;
}

/* Social Links */
.social-links {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.8s both;
}

.social-links > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(245, 239, 230, 0.15);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--highlight-earth);
    color: var(--deep-earth);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    animation: fadeIn 1s ease-out 1s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-container {
        padding: 1.5rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1.5rem 1rem;
    }

    .newsletter-form {
        gap: 0.75rem;
    }

    .email-input,
    .submit-btn {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
