/* ============================================================
   BASE.CSS — Reset, Variables, Typography, Utilities
   ============================================================ */

/* ======================== CSS VARIABLES ======================== */
:root {
    --saffron: #FF6F00;
    --maroon: #800020;
    --gold: #FFD700;
    --cream: #FFF8DC;
    --dark: #1a1a2e;
    --white: #FFFFFF;
    --black: #111111;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;

    --nav-height: 70px;
    --container-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);

    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ======================== LAYOUT ======================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ======================== SECTIONS ======================== */
.section {
    padding: 100px 0;
}

.section-cream {
    background: var(--cream);
}

.section-white {
    background: var(--white);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

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

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--maroon);
    margin-bottom: 12px;
}

.section-title.light {
    color: var(--gold);
}

.title-ornament {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--saffron), var(--gold));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.75);
}

/* ======================== BUTTONS ======================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--saffron);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
}

.btn-primary:hover {
    background: #e06200;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--saffron);
    border: 2px solid var(--saffron);
}

.btn-secondary:hover {
    background: var(--saffron);
    color: var(--white);
    transform: translateY(-2px);
}

/* Gold outline variant (used on dark/maroon backgrounds) */
.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--maroon);
    transform: translateY(-2px);
}

/* ======================== FOCUS VISIBLE ======================== */
:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Darker focus ring on light interactive surfaces */
.btn:focus-visible,
.faq-question:focus-visible,
.gallery-tab:focus-visible {
    outline-color: var(--maroon);
}

/* ======================== PAGE BANNER ======================== */
.page-banner {
    position: relative;
    height: 50vh;
    min-height: 340px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background: var(--maroon);
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(128, 0, 32, 0.6) 0%,
        rgba(26, 26, 46, 0.8) 100%
    );
}

.page-banner-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.page-banner-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}

.page-banner-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ======================== BREADCRUMBS ======================== */
.breadcrumbs {
    padding: 16px 0;
    background: rgba(128, 0, 32, 0.05);
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumbs-list a {
    color: var(--saffron);
    font-weight: 500;
}

.breadcrumbs-list a:hover {
    color: var(--maroon);
}

.breadcrumbs-list .separator {
    color: #999;
    font-size: 0.75rem;
}

.breadcrumbs-list .current {
    color: #666;
    font-weight: 500;
}

/* ======================== GRADIENT TEXT ======================== */
.gradient-text {
    background: linear-gradient(135deg, var(--maroon), var(--saffron), var(--gold));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

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

/* ======================== UTILITIES ======================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ======================== PRINT ======================== */
@media print {
    .navbar,
    .hamburger,
    .back-to-top,
    .scroll-indicator,
    .lightbox,
    .page-transition-overlay {
        display: none !important;
    }

    .section {
        padding: 30px 0;
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .animate-on-scroll,
    .fade-up, .fade-left, .fade-right, .fade-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}
