/* ============================================================
   MULMUR — Earth & Sage Design System
   Rustic elegance. Editorial warmth. Magazine feel.
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
    --primary: #5D4037;
    --primary-dark: #3E2723;
    --accent: #7cb342;
    --accent-dark: #558b2f;
    --warm: #d4a373;
    --warm-light: #e8c9a0;
    --dark: #2c2c2c;
    --light-bg: #faf6f1;
    --text: #3e3e3e;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --border: #e0d5c7;
    --shadow: 0 4px 24px rgba(61, 39, 35, 0.10);
    --shadow-lg: 0 12px 48px rgba(61, 39, 35, 0.15);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --content-width: 800px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--light-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--accent-dark);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-dark);
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.4em; }
h4 { font-size: 1.15rem; margin-bottom: 0.4em; }

p {
    margin-bottom: 1.2em;
    font-weight: 300;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 300;
}

.serif-italic {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--primary);
}

blockquote {
    border-left: 3px solid var(--warm);
    padding: 1.2em 1.5em;
    margin: 2em 0;
    background: rgba(212, 163, 115, 0.08);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: var(--content-width);
}

.section {
    padding: 5rem 0;
}

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

.section--warm {
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.12), rgba(124, 179, 66, 0.06));
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--warm-light);
}

.section--dark p,
.section--dark .lead {
    color: rgba(255,255,255,0.85);
}

.section-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 640px;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(61, 39, 35, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.site-logo span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-top: -2px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-main a {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.3px;
    position: relative;
    transition: color var(--transition);
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--primary-dark);
}

.nav-main a:hover::after,
.nav-main a.active::after {
    width: 60%;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 520px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(62, 39, 35, 0.25) 0%,
        rgba(62, 39, 35, 0.45) 60%,
        rgba(62, 39, 35, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 720px;
}

.hero-content .section-label {
    color: var(--warm-light);
    font-size: 0.8rem;
    letter-spacing: 4px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    margin-bottom: 0.6em;
    text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

/* Page hero (shorter) */
.hero--page {
    height: 45vh;
    min-height: 320px;
    max-height: 480px;
}

.hero--page .hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn--warm {
    background: var(--warm);
    color: var(--white);
}

.btn--warm:hover {
    background: #c09060;
    color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card-grid--2 {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-image .card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.8rem;
    border-radius: 3px;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-link {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-link:hover {
    color: var(--accent-dark);
    gap: 0.6rem;
}

.card-link::after {
    content: '\2192';
}

/* --- Feature Blocks --- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row--reverse {
    direction: rtl;
}

.feature-row--reverse > * {
    direction: ltr;
}

.feature-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.feature-text h3 {
    margin-bottom: 0.6rem;
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* --- Editorial Content --- */
.editorial {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.editorial h2 {
    margin-top: 2.5rem;
}

.editorial h3 {
    margin-top: 2rem;
    color: var(--primary);
}

.editorial ul, .editorial ol {
    margin: 1em 0 1.5em 1.5em;
    color: var(--text-light);
}

.editorial li {
    margin-bottom: 0.5em;
    font-weight: 300;
}

.editorial img {
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

/* --- Pull Quote --- */
.pull-quote {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pull-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Info Box --- */
.info-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* --- Stat/Highlights Row --- */
.highlights-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 2rem 0;
}

.highlight-item .highlight-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.highlight-item .highlight-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Seasonal Banner --- */
.seasonal-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 2rem 0;
}

.seasonal-banner h2 {
    color: var(--warm-light);
}

.seasonal-banner p {
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

/* --- Timeline / Itinerary --- */
.itinerary {
    position: relative;
    padding-left: 2.5rem;
}

.itinerary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.itinerary-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
}

.itinerary-item::before {
    content: '';
    position: absolute;
    left: -2.65rem;
    top: 0.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--light-bg);
}

.itinerary-item h4 {
    color: var(--primary);
}

.itinerary-item .time {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.3rem;
    display: block;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 560px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

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

/* --- Footer --- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand .site-logo {
    color: var(--warm-light);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .site-logo span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--warm-light);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    padding: 0.25rem 0;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-row--reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-main {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 246, 241, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .nav-main.open {
        transform: translateX(0);
    }

    .nav-main a {
        font-size: 1.05rem;
        padding: 0.6rem 1rem;
    }

    .hero {
        height: 65vh;
        min-height: 400px;
    }

    .hero--page {
        height: 35vh;
        min-height: 250px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

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

    .card-grid--2 {
        grid-template-columns: 1fr;
    }

    .highlights-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .editorial {
        padding: 3rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .highlights-row {
        grid-template-columns: 1fr;
    }
}

/* --- Utility Classes --- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* --- Image Decorative Frames --- */
.img-frame {
    position: relative;
    display: inline-block;
}

.img-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--warm);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* --- Content Divider --- */
.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 2rem 0;
    border-radius: 2px;
}

.divider--center {
    margin-left: auto;
    margin-right: auto;
}

/* --- List Styled --- */
.list-styled {
    list-style: none;
    padding: 0;
}

.list-styled li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7em;
    font-weight: 300;
    color: var(--text-light);
}

.list-styled li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- Breadcrumb --- */
.breadcrumb {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.4s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* --- Page Transition Fade --- */
.page-content {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
