@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap");

:root {
    --bg-main: #fffdf9;
    --bg-card: #ffffff;
    --bg-alt: #fdf7f2;
    --primary: #8b4513;
    --primary-hover: #6f340d;
    --primary-light: #f8efea;
    --accent: #e88d67;
    --accent-hover: #d4744d;
    --accent-light: #fdf0ed;
    --soft-pink: #f2d8d8;
    --gold-star: #f59e0b;
    --text-dark: #2c1810;
    --text-muted: #7a6860;
    --text-light: #a09088;
    --border-color: #efe6e1;
    --success: #2e7d32;
    --success-bg: #e8f5e9;
    --danger: #d32f2f;
    --danger-bg: #ffebee;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --shadow-sm: 0 4px 12px rgba(139, 69, 19, 0.05);
    --shadow-md: 0 8px 20px rgba(139, 69, 19, 0.08);
    --shadow-lg: 0 16px 32px rgba(139, 69, 19, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hero-overlay: linear-gradient(
        135deg,
        rgba(20, 15, 12, 0.72) 0%,
        rgba(20, 15, 12, 0.35) 100%
    );
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}
.section {
    padding: 60px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}
.btn-light {
    background: #fff;
    color: var(--text-dark);
}
.btn-light:hover {
    background: var(--primary);
    color: #fff;
}

/* Shared "modern section heading" — kai pages use karte hain */
.section-header-modern {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.section-subtitle {
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary, #d96b43);
    display: block;
    margin-bottom: 8px;
}
.section-title-main {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark, #222);
    margin-bottom: 12px;
}
.section-description {
    color: var(--text-muted, #666);
    font-size: 0.95rem;
}

/* Generic alt heading style (older component) */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.section-title p {
    color: var(--text-muted);
}

.link-btn {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.link-btn:hover {
    color: var(--accent);
}

/* Shared modal shell (newsletter/quick-view/etc sab isko base ki tarah use karte) */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open {
    display: flex;
}
.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.8rem;
    color: var(--text-muted);
    z-index: 10;
}
.modal-art {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.modal-art video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--text-dark);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    font-weight: 500;
}
.custom-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== LAYOUT-LEVEL RESPONSIVE (sab pages pe apply hota) ===== */
html {
    scroll-behavior: smooth;
}
img,
video {
    max-width: 100%;
}
button,
input,
select,
textarea {
    max-width: 100%;
}

.container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

@media (max-width: 1200px) {
    .container {
        width: min(100% - 48px, 1100px);
    }
}
@media (max-width: 992px) {
    .container {
        width: min(100% - 36px, 900px);
    }
}
@media (max-width: 768px) {
    .container {
        width: min(100% - 30px, 680px);
    }
    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }
    .section-title h2,
    .section-title-main {
        font-size: 2rem;
    }
    .section-title {
        margin-bottom: 30px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .modal {
        padding: 15px;
    }
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-art {
        height: 220px;
    }
}
@media (max-width: 576px) {
    .container {
        width: min(100% - 24px, 540px);
    }
    .section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .modal-content {
        border-radius: 16px;
    }
    .modal-art {
        height: 180px;
    }
}
@media (max-width: 400px) {
    .container {
        width: min(100% - 20px, 380px);
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes mobileMenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
