/* ===============================
   CSS Variables & Reset
   =============================== */
:root {
    --color-burgundy: #722F37;
    --color-burgundy-dark: #4A1F24;
    --color-gold: #C9A962;
    --color-gold-light: #D4BC7C;
    --color-cream: #FAF8F5;
    --color-cream-dark: #F5F0E8;
    --color-charcoal: #2C2C2C;
    --color-gray: #6B6B6B;
    --color-white: #FFFFFF;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ===============================
   Background
   =============================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(44, 44, 44, 0.95) 0%, rgba(74, 31, 36, 0.85) 50%, rgba(44, 44, 44, 0.95) 100%),
        url('https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(114, 47, 55, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ===============================
   Container & Layout
   =============================== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ===============================
   Header & Logo
   =============================== */
.header {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

/* ===============================
   Hero Section
   =============================== */
.hero {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(250, 248, 245, 0.8);
    max-width: 500px;
    margin: 0 auto;
}

/* ===============================
   Newsletter Form
   =============================== */
.newsletter {
    animation: fadeInUp 1s ease-out 0.6s both;
    width: 100%;
    max-width: 480px;
}

.newsletter-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 50px;
    padding: 0.35rem;
    transition: var(--transition-smooth);
}

.newsletter-form:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(201, 169, 98, 0.15);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-cream);
    outline: none;
}

.email-input::placeholder {
    color: rgba(250, 248, 245, 0.5);
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-charcoal);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
}

.submit-btn:active {
    transform: scale(0.98);
}

.success-message {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   Footer
   =============================== */
.footer {
    margin-top: auto;
    padding-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.copyright {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: rgba(250, 248, 245, 0.4);
    letter-spacing: 0.05em;
}

.footer-link {
    color: rgba(250, 248, 245, 0.4);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-gold);
}

/* ===============================
   Animations
   =============================== */
@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: 640px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }
    
    .email-input {
        text-align: center;
        padding: 1rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }
}

/* ===============================
   Decorative Elements
   =============================== */
.container::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(114, 47, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.container::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

/* ===============================
   Contact Form Section
   =============================== */
.contact-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(201, 169, 98, 0.2);
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 1s both;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-cream);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.contact-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-cream);
    outline: none;
    transition: var(--transition-smooth);
}

.form-input::placeholder {
    color: rgba(250, 248, 245, 0.5);
}

.form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-charcoal);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
}

.contact-submit-btn:active {
    transform: scale(0.98);
}

.contact-success-message {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
}

.contact-success-message.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .contact-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
}
