/* ==========================================================================
   Indus River Camp — Main Stylesheet
   Version: 1.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */

:root {
    /* Colours */
    --color-olive: #778352;
    --color-sage: #66705E;
    --color-gold: #CBA662;
    --color-offwhite: #F7F5F0;
    --color-cream: #FAF9F6;
    --color-charcoal: #333333;
    --color-grey: #888888;
    --color-light-grey: #E5E5E5;
    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Typography */
    --font-primary: "minion-pro", "Times New Roman", Georgia, serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 2rem;
    /* 32px */
    --text-4xl: 2.5rem;
    /* 40px */
    --text-5xl: 3rem;
    /* 48px */

    /* Spacing */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 1.5rem;
    /* 24px */
    --space-lg: 3rem;
    /* 48px */
    --space-xl: 5rem;
    /* 80px */
    --space-2xl: 7.5rem;
    /* 120px */

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-padding: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-full: 9999px;
}

@media (min-width: 768px) {
    :root {
        --container-padding: 3rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 4rem;
    }
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-white);
}

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

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

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

ul,
ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */

/* Section Label - Small caps above headings */
.section-label {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-olive);
    margin-bottom: var(--space-sm);
}

/* Page Title - Main heading */
.page-title {
    font-size: var(--text-3xl);
    font-weight: 400;
    font-style: italic;
    color: var(--color-olive);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .page-title {
        font-size: var(--text-4xl);
    }
}

/* Section Title - For content sections */
.section-title {
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-olive);
    margin-bottom: var(--space-md);
}

/* Lead Text - Italic intro paragraphs */
.lead {
    font-size: var(--text-xl);
    font-style: italic;
    line-height: 1.8;
    color: var(--color-charcoal);
}

/* Body Text */
.body-text {
    font-size: var(--text-lg);
    line-height: 1.7;
}

/* Small Text */
.text-small {
    font-size: var(--text-sm);
    color: var(--color-grey);
}

/* Links in body text */
.text-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.text-link:hover {
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 400;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

/* Small button variant */
.btn--sm {
    padding: 0.375rem 1rem;
    font-size: var(--text-sm);
}

/* Primary - Gold filled */
.btn--primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn--primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* Outline - Gold border */
.btn--outline {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn--outline:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* Outline Dark - Charcoal border */
.btn--outline-dark {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 2px solid var(--color-charcoal);
}

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

/* Text Button - Minimal */
.btn--text {
    padding: 0.25rem 0;
    font-size: var(--text-sm);
    color: var(--color-olive);
    border: none;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
}

.btn--text:hover {
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   6. Badges / Tags
   -------------------------------------------------------------------------- */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.badge--olive {
    background: var(--color-olive);
    color: var(--color-white);
}

.badge--gold {
    background: var(--color-gold);
    color: var(--color-white);
}

.badge--outline {
    background: transparent;
    border: 1px solid var(--color-grey);
    color: var(--color-grey);
}

/* --------------------------------------------------------------------------
   7. Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.site-logo img {
    height: 45px;
    width: auto;
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: var(--text-base);
    color: var(--color-olive);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-gold);
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: var(--space-sm) 0;
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown-link {
    display: block;
    padding: 0.5rem var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-charcoal);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--color-offwhite);
    color: var(--color-gold);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-olive);
    transition: color var(--transition-fast);
}

.header-icon:hover {
    color: var(--color-gold);
}

.header-icon svg {
    width: 22px;
    height: 22px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    color: var(--color-olive);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: currentColor;
    transition: transform var(--transition-fast);
}

/* --------------------------------------------------------------------------
   8. Page Header
   -------------------------------------------------------------------------- */

.page-header {
    padding: 7rem var(--container-padding) var(--space-lg);
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.page-header .page-title {
    margin-bottom: 0.5rem;
}

.page-header .lead {
    font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   9. Content Sections
   -------------------------------------------------------------------------- */

.section {
    padding: var(--space-xl) 0;
}

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

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

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */

/* Base Card */
.card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Card Variant A: Image Top (vertical) --- */
.card--vertical {
    border: 1px solid var(--color-light-grey);
}

.card--vertical .card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card--vertical .card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card--vertical .card__body {
    padding: var(--space-md);
}

.card--vertical .card__title {
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--color-olive);
    margin-bottom: 0.5rem;
}

.card--vertical .card__meta {
    font-size: var(--text-sm);
    color: var(--color-grey);
    margin-bottom: var(--space-sm);
}

.card--vertical .card__text {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

/* --- Card Variant B: Horizontal (image left/right) --- */
.card--horizontal {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--color-light-grey);
}

@media (min-width: 700px) {
    .card--horizontal {
        grid-template-columns: 1fr 1.2fr;
    }

    .card--horizontal.card--image-right .card__image {
        order: 2;
    }

    .card--horizontal.card--image-right .card__body {
        order: 1;
    }
}

.card--horizontal .card__image {
    min-height: 250px;
}

.card--horizontal .card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card--horizontal .card__body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card--horizontal .card__title {
    font-size: var(--text-2xl);
    font-weight: 400;
    font-style: italic;
    color: var(--color-olive);
    margin-bottom: var(--space-sm);
}

.card--horizontal .card__text {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

/* Smaller buttons inside horizontal cards */
.card--horizontal .btn {
    padding: 0.375rem 1rem;
    font-size: var(--text-sm);
}

/* --- Card Variant C: Overlay (text on image) --- */
.card--overlay {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.card--overlay .card__image {
    position: absolute;
    inset: 0;
}

.card--overlay .card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card--overlay .card__body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    color: var(--color-white);
}

.card--overlay .card__title {
    font-size: var(--text-xl);
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.card--overlay .card__meta {
    font-size: var(--text-sm);
    opacity: 0.85;
}

/* --- Card Variant D: Minimal (no border, editorial) --- */
.card--minimal {
    background: transparent;
}

.card--minimal .card__image {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.card--minimal .card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card--minimal:hover .card__image img {
    transform: scale(1.03);
}

.card--minimal .card__title {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-olive);
    margin-bottom: 0.25rem;
}

.card--minimal .card__meta {
    font-size: var(--text-sm);
    color: var(--color-grey);
}

/* --------------------------------------------------------------------------
   11. Destination Cards (Trips/Treks)
   -------------------------------------------------------------------------- */

.destination-card {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-light-grey);
}

.destination-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.destination-card__hero {
    position: relative;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.destination-card__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-card__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    color: var(--color-white);
}

.destination-card__title {
    font-size: var(--text-2xl);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.destination-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    opacity: 0.9;
}

.destination-card__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 700px) {
    .destination-card__body {
        grid-template-columns: 1.5fr 1fr;
    }
}

.destination-card__description p {
    margin-bottom: 1rem;
}

.destination-card__description p:last-child {
    margin-bottom: 0;
}

.destination-card__info {
    background: var(--color-offwhite);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

.destination-card__info h4 {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-olive);
    margin-bottom: var(--space-xs);
}

.destination-card__hotels {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-light-grey);
}

/* --------------------------------------------------------------------------
   12. Grid Layouts
   -------------------------------------------------------------------------- */

/* Two Column */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 700px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Three Column */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 600px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Four Column */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --------------------------------------------------------------------------
   13. Tables
   -------------------------------------------------------------------------- */

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--color-sage);
    color: var(--color-white);
}

.table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 400;
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
}

.table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-light-grey);
    font-size: var(--text-sm);
}

.table tbody tr:hover {
    background: var(--color-offwhite);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table .date {
    color: var(--color-charcoal);
    white-space: nowrap;
}

.table .name {
    color: var(--color-olive);
}

.table .location {
    color: var(--color-grey);
}

/* --------------------------------------------------------------------------
   14. Accordions
   -------------------------------------------------------------------------- */

.accordion {
    border: 1px solid var(--color-light-grey);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.accordion__item {
    border-bottom: 1px solid var(--color-light-grey);
}

.accordion__item:last-child {
    border-bottom: none;
}

.accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-olive);
    text-align: left;
    background: transparent;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.accordion__trigger:hover {
    background: var(--color-offwhite);
}

.accordion__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.accordion__item.is-open .accordion__icon {
    transform: rotate(180deg);
}

.accordion__content {
    display: none;
    padding: 0 var(--space-md) var(--space-md);
}

.accordion__item.is-open .accordion__content {
    display: block;
}

/* --------------------------------------------------------------------------
   15. Pull Quotes
   -------------------------------------------------------------------------- */

.pull-quote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid var(--color-gold);
    background: var(--color-offwhite);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-sage);
}

/* --------------------------------------------------------------------------
   16. Highlight Boxes
   -------------------------------------------------------------------------- */

.highlight-box {
    background: var(--color-offwhite);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.highlight-box__title {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-olive);
    margin-bottom: 0.25rem;
}

.highlight-box__meta {
    font-size: var(--text-sm);
    color: var(--color-grey);
    margin-bottom: 0.75rem;
}

.highlight-box__text {
    font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   17. Images
   -------------------------------------------------------------------------- */

/* All images with object-fit cover */
img {
    object-fit: cover;
    object-position: center center;
}

/* Focus position utilities - use when default center crop doesn't work */
.img-focus-top {
    object-position: center 20%;
}

.img-focus-top-third {
    object-position: center 33%;
}

.img-focus-center {
    object-position: center center;
}

.img-focus-bottom-third {
    object-position: center 66%;
}

.img-focus-bottom {
    object-position: center 80%;
}

/* Image Placeholders (development only) */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(145deg, #ddd 0%, #c5c5c5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   18. CTA Sections
   -------------------------------------------------------------------------- */

.cta-section {
    text-align: center;
    padding: var(--space-xl) var(--container-padding);
    background: var(--color-offwhite);
}

.cta-section__title {
    font-size: var(--text-2xl);
    font-weight: 400;
    font-style: italic;
    color: var(--color-olive);
    margin-bottom: 0.75rem;
}

.cta-section__text {
    font-size: var(--text-base);
    max-width: 500px;
    margin: 0 auto var(--space-md);
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background-color: var(--color-sage);
    color: var(--color-white);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-section h4 {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.footer-section p,
.footer-section a {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--color-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

.social-link:hover {
    color: var(--color-gold);
}

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

/* --------------------------------------------------------------------------
   20. Utility Classes
   -------------------------------------------------------------------------- */

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

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

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-xs {
    margin-bottom: var(--space-xs);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-0 {
    margin-top: 0;
}

.mt-xs {
    margin-top: var(--space-xs);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.pt-0 {
    padding-top: 0;
}

.pt-sm {
    padding-top: var(--space-sm);
}

.pt-md {
    padding-top: var(--space-md);
}

.pt-lg {
    padding-top: var(--space-lg);
}

.pb-0 {
    padding-bottom: 0;
}

.pb-sm {
    padding-bottom: var(--space-sm);
}

.pb-md {
    padding-bottom: var(--space-md);
}

.pb-lg {
    padding-bottom: var(--space-lg);
}

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


/* ==========================================================================
   CSS REFINEMENTS — Append to main.css
   Subtle polish for luxury hospitality feel
   ========================================================================== */

/* --------------------------------------------------------------------------
   R1. Enhanced Shadow System (add to :root)
   -------------------------------------------------------------------------- */

:root {
    /* Layered shadows - warmer tint for olive/gold palette */
    --shadow-sm:
        0 1px 2px rgba(60, 50, 40, 0.04);

    --shadow-md:
        0 1px 3px rgba(60, 50, 40, 0.04),
        0 4px 12px rgba(60, 50, 40, 0.06);

    --shadow-lg:
        0 2px 4px rgba(60, 50, 40, 0.04),
        0 12px 28px rgba(60, 50, 40, 0.08);

    --shadow-xl:
        0 4px 8px rgba(60, 50, 40, 0.04),
        0 24px 48px rgba(60, 50, 40, 0.12);

    /* Refined easing curves */
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --------------------------------------------------------------------------
   R2. Button Refinements
   -------------------------------------------------------------------------- */

/* Primary button - subtle lift and shadow */
.btn--primary {
    box-shadow: 0 2px 4px rgba(203, 166, 98, 0.2);
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.btn--primary:hover {
    box-shadow: 0 4px 12px rgba(203, 166, 98, 0.25);
    transform: translateY(-1px);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(203, 166, 98, 0.2);
}

/* Outline buttons - subtle shadow on hover */
.btn--outline,
.btn--outline-dark {
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn--outline:hover {
    box-shadow: 0 2px 8px rgba(203, 166, 98, 0.15);
}

.btn--outline-dark:hover {
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.1);
}

/* Text button - animated underline retract */
.btn--text {
    position: relative;
    border-bottom: none;
}

.btn--text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.btn--text:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* --------------------------------------------------------------------------
   R3. Link Animations
   -------------------------------------------------------------------------- */

/* Animated underline link - for standalone links */
.link-animated {
    position: relative;
    display: inline-block;
    color: var(--color-olive);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out);
}

.link-animated:hover {
    color: var(--color-gold);
}

.link-animated:hover::after {
    width: 100%;
}

/* Nav link - underline from center */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* --------------------------------------------------------------------------
   R4. Card Refinements
   -------------------------------------------------------------------------- */

/* Base card - layered shadow and smooth transitions */
.card {
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s var(--ease-smooth),
        box-shadow 0.3s var(--ease-smooth);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Vertical card - lift effect, remove border */
.card--vertical {
    border: none;
    box-shadow: var(--shadow-md);
}

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

/* Slower, subtler image zoom */
.card--vertical .card__image img,
.card--horizontal .card__image img {
    transition: transform 0.5s var(--ease-soft);
}

.card--vertical:hover .card__image img {
    transform: scale(1.04);
}

/* Horizontal card - shadow instead of border */
.card--horizontal {
    border: none;
    box-shadow: var(--shadow-md);
}

.card--horizontal:hover {
    box-shadow: var(--shadow-lg);
}

/* Overlay card - enhanced gradient */
.card--overlay {
    box-shadow: var(--shadow-md);
}

.card--overlay .card__image img {
    transition: transform 0.6s var(--ease-soft);
}

.card--overlay:hover .card__image img {
    transform: scale(1.06);
}

.card--overlay .card__body {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            transparent 70%);
    transition: background 0.3s ease;
}

.card--overlay:hover .card__body {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 80%);
}

/* Minimal card - no lift, subtle zoom only */
.card--minimal {
    box-shadow: none;
}

.card--minimal:hover {
    box-shadow: none;
    transform: none;
}

.card--minimal .card__image img {
    transition: transform 0.5s var(--ease-soft);
}

.card--minimal:hover .card__image img {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   R5. Header Refinements
   -------------------------------------------------------------------------- */

.site-header {
    box-shadow: none;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Scrolled state - subtle shadow */
.site-header.scrolled {
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(60, 50, 40, 0.06);
}

/* Dropdown - slide in */
.nav-dropdown {
    box-shadow: var(--shadow-lg);
    transform: translateX(-50%) translateY(8px);
    transition:
        opacity 0.2s var(--ease-out),
        visibility 0.2s var(--ease-out),
        transform 0.2s var(--ease-out);
}

.nav-item:hover .nav-dropdown {
    transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   R6. Accordion Refinements
   -------------------------------------------------------------------------- */

.accordion {
    box-shadow: var(--shadow-sm);
    border: none;
}

.accordion__trigger {
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.accordion__icon {
    transition: transform 0.3s var(--ease-smooth);
}

.accordion__content {
    animation: accordionOpen 0.3s var(--ease-out);
}

@keyframes accordionOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   R7. Table Refinements
   -------------------------------------------------------------------------- */

.table {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

/* --------------------------------------------------------------------------
   R8. Other Component Refinements
   -------------------------------------------------------------------------- */

/* Pull quote */
.pull-quote {
    border-left-width: 2px;
    box-shadow: var(--shadow-sm);
}

/* Highlight box */
.highlight-box {
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.highlight-box:hover {
    box-shadow: var(--shadow-md);
}

/* Image placeholder - warmer gradient */
.img-placeholder {
    background: linear-gradient(145deg,
            #e8e6e0 0%,
            #d8d5ce 50%,
            #e0ddd6 100%);
    color: #a09a90;
}

/* CTA section */
.cta-section {
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.03);
}

/* --------------------------------------------------------------------------
   R9. Destination Card Refinements
   -------------------------------------------------------------------------- */

.destination-card__hero {
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.destination-card__hero:hover {
    box-shadow: var(--shadow-lg);
}

.destination-card__hero img {
    transition: transform 0.6s var(--ease-soft);
}

.destination-card__hero:hover img {
    transform: scale(1.03);
}

.destination-card__info {
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   R10. Footer Refinements
   -------------------------------------------------------------------------- */

.footer-section a {
    position: relative;
    display: inline-block;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out);
}

.footer-section a:hover::after {
    width: 100%;
}

.social-link {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   R11. Scroll-Triggered Animations (Optional)
   -------------------------------------------------------------------------- */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s var(--ease-out),
        transform 0.6s var(--ease-out);
}

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

/* Staggered animation for grid items */
.stagger-in>* {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s var(--ease-out),
        transform 0.5s var(--ease-out);
}

.stagger-in.visible>*:nth-child(1) {
    transition-delay: 0ms;
}

.stagger-in.visible>*:nth-child(2) {
    transition-delay: 60ms;
}

.stagger-in.visible>*:nth-child(3) {
    transition-delay: 120ms;
}

.stagger-in.visible>*:nth-child(4) {
    transition-delay: 180ms;
}

.stagger-in.visible>*:nth-child(5) {
    transition-delay: 240ms;
}

.stagger-in.visible>*:nth-child(6) {
    transition-delay: 300ms;
}

.stagger-in.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   R12. Responsive & Accessibility
   -------------------------------------------------------------------------- */

/* Touch device alternatives */
@media (hover: none) {

    .card--vertical:active,
    .card--horizontal:active {
        transform: scale(0.98);
    }

    .btn--primary:active {
        transform: scale(0.98);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus states for keyboard navigation */
.btn:focus-visible,
.card:focus-visible,
.accordion__trigger:focus-visible,
.nav-link:focus-visible,
.link-animated:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}   