:root {
    --bg-primary: #FBF9F6;  /* Warm Linen */
    --bg-secondary: #EFECE6; /* Soft Greige */
    --text-primary: #2C2A29; /* Soft Charcoal */
    --text-muted: #5e5b5a;
    --accent-primary: #b2644e; /* Terracotta from logo */
    --accent-secondary: #8A9A86; /* Muted Sage */
    --font-heading: 'Bodoni Moda', serif;
    --font-body: 'EB Garamond', serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.primary-btn:hover {
    background-color: var(--accent-primary);
    color: #fff;
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

.secondary-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(251, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(44, 42, 41, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 52px;
    width: auto;
    margin-right: -4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 1px;
    transform: translateY(2px); /* Tiny nudge to baseline match the icon */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    margin-left: 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Sections */
section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-color: rgba(251, 249, 246, 0.4); /* Soft linen tint overlay */
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Collection Section */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.gallery-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.gallery-item:nth-child(even) {
    flex-direction: row-reverse;
}

.image-wrapper {
    flex: 1;
    height: 500px;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Placeholders for visuals until images are provided */
.placeholder-img {
    background-image: linear-gradient(135deg, #EFECE6 0%, #DFDBD3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img::after {
    content: 'Saree Image Placeholder';
    color: var(--text-muted);
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.item-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 450px;
}

/* Sales Section */
.sales-section {
    background-color: var(--bg-secondary);
    max-width: 100%;
    margin: 100px 0;
    padding: 100px 5%;
}

.sales-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sales-content h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
}

.event-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-primary);
    padding: 40px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 40px;
    border-right: 1px solid var(--bg-secondary);
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
}

.event-date .day {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
}

.event-info {
    flex: 1;
    padding: 0 40px;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.event-info p {
    color: var(--text-muted);
}

.event-info .time {
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 1px;
}

.event-action {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-link {
    display: block;
    width: 100%;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    border: 1px solid var(--bg-secondary);
    overflow: hidden;
}

.osm-map {
    width: 100%;
    height: 235px; /* Intentionally oversized 35px to visually clip the OSM attribution footer completely away */
    border: none;
    margin-top: -15px; /* Pull the centered marker back into frame */
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    max-width: 100%;
    padding: 120px 5%;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: #a09d9c;
    margin-bottom: 40px;
}

.newsletter-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.newsletter-form-container input {
    width: 100%;
    max-width: 450px;
    padding: 15px 20px;
    background-color: transparent;
    border: 1px solid #4a4746;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form-container input:focus {
    border-color: var(--bg-primary);
}

.newsletter-form-container .primary-btn {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.newsletter-form-container .primary-btn:hover {
    background-color: var(--accent-primary);
    color: white;
}

/* Contact Section */
.contact-section {
    max-width: 600px;
}

.captcha-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--bg-secondary);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--text-primary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--bg-secondary);
    padding: 60px 5% 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
    justify-content: center;
}

.footer-logo img {
    height: 48px; /* Slightly smaller for footer */
    margin-right: -2px;
}

.footer-logo .logo-text {
    font-size: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001; /* Keep above nav menu when open */
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header {
        padding: 15px 5%;
        justify-content: space-between;
        flex-direction: row; 
    }
    
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        margin-top: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }

    .gallery-item, .gallery-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }

    .image-wrapper {
        width: 100%;
        height: 350px;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .event-date {
        border-right: none;
        border-bottom: 1px solid var(--bg-secondary);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        width: 100%;
    }

    .event-info {
        padding: 0;
        margin-bottom: 20px;
    }

    .newsletter-form-container {
        flex-direction: column;
    }

    .osm-map {
        /* Disables map panning on mobile so tapping the map acts as a giant button that opens the native Maps app! */
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .item-details h3 {
        font-size: 1.8rem;
    }

    .image-wrapper {
        height: 280px;
    }
    
    section {
        padding: 60px 5%;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }
}
