:root {
    --deep-green: #0B2E26;
    --gold: #D4AF37;
    --gold-light: #F1D279;
    --soft-cream: #F5F5DC;
    --terracotta: #E2725B; /* Earthy accent noted in research */
    --text-light: rgba(245, 245, 220, 0.85);
    --transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-green);
    background-image: url('assets/bg-texture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--soft-cream);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Changed from default for long scroll */
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Overlay for better contrast and warm vibe */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 46, 38, 0.3) 0%, rgba(5, 20, 16, 0.85) 100%);
    background-color: rgba(11, 46, 38, 0.4);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s ease-out;
}

/* Subtle texture overlay for 'rustic' feel */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/dark-leather.png');
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 60px 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: 80vh;
    justify-content: center;
}

header {
    margin-bottom: 20px;
}

.logo {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.subtext {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    letter-spacing: 0.05em;
    color: var(--terracotta); /* Earthy tone for the subtext */
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.description {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 550px;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 2.5rem;
}

.learn-more {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 5px;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
    padding-left: 10px;
    padding-right: 10px;
}

.btn-primary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Form Styles */
.subscription-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
}

.subscription-form input {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px 20px;
    border-radius: 2px;
    color: var(--soft-cream);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: var(--transition);
}

.subscription-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.gold-btn {
    background: var(--gold);
    color: var(--deep-green);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gold-btn:hover {
    background: var(--gold-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

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

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 1rem;
}

.social-icon {
    color: var(--gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--deep-green);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Details Section Styling */
.details-section {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.details-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.details-section p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Gallery Section */
.gallery {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

/* Footer Styling Update */
footer {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(11, 46, 38, 0.5);
    backdrop-filter: blur(5px);
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(245, 245, 220, 0.6);
    letter-spacing: 0.1em;
    line-height: 2;
    text-align: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Remove old @keyframes for fade-in since we use transition now */


/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
        gap: 1.2rem;
    }
    
    .logo {
        width: 160px;
    }

    .content h1 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

    .details-section h2 {
        font-size: 2rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .gold-btn {
        width: 100%;
    }
}

