/* ================================================
   BEYOND UNTAMED TOURS - CLEAN CSS STRUCTURE
   ================================================ */

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

/* ================================================
   CSS CUSTOM PROPERTIES (VARIABLES) - CONSOLIDATED
   ================================================ */
:root {
    /* Colors - Centralized */
    --primary-brown: #8B4513;
    --primary-gold: #D4AF37;
    --light-gold: #C9A96E;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-lighter: #ffffff;
    --bg-darker: #2c3e50;
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --border-light: rgba(255, 255, 255, 0.3);
    --border-dark: #ddd;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-gold) 100%);
    --gradient-light: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    --gradient-dark: linear-gradient(135deg, var(--bg-darker) 0%, #34495e 100%);
    
    /* Consistent Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Typography Scale - Simplified */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    
    /* Font Stacks */
    --font-primary: 'Lora', Georgia, 'Times New Roman', serif;
    --font-secondary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Cinzel', 'Playfair Display', serif;
    --font-navigation: 'Playfair Display', 'Cinzel', serif; /* Changed from Source Sans Pro to Playfair Display */
    
    /* Layout Constraints */
    --container-max: 1400px;
    --content-max: 1200px;
    --text-max: 65ch;
    
    /* Animation & Transitions */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
    --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
    
    /* Shadows - Consistent System */
    --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-2: 0 4px 6px rgba(0, 0, 0, 0.12);
    --shadow-3: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-4: 0 16px 32px rgba(0, 0, 0, 0.16);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 50%;
    
    /* Navigation Specific */
    --nav-height: 80px;
    --nav-padding-x: clamp(1rem, 4vw, 2rem);
    --nav-padding-y: 0.5rem;
    
    /* Button specific */
    --button-padding-x: 1.87rem;
    --button-padding-y: clamp(0.225rem, 0.45vw, 0.45rem);
}

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

html {
    font-size: clamp(14px, 1.2vw, 18px);
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #000;
    overflow-x: hidden;
}

/* Improved Focus Management */
:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--text-dark);
    color: white;
    padding: var(--space-sm);
    text-decoration: none;
    z-index: 9999;
    border-radius: var(--radius-sm);
    transition: top var(--duration-fast) var(--ease-standard);
}

.skip-to-content:focus {
    top: 6px;
}

/* ================================================
   HEADER & NAVIGATION - CONSOLIDATED
   ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-standard);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}

.header.scrolled,
.header:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-2);
    border-bottom-color: var(--border-light);
}

/* Navigation Container */
.nav-container {
    display: flex;
    flex-direction: column;
    padding: var(--nav-padding-y) var(--nav-padding-x);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Top Row */
.nav-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 54px;
}

/* Bottom Row */
.nav-bottom-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    transform: translateY(-30%);
}

/* ================================================
   LOGO STYLES - IMPROVED
   ================================================ */
.logo-center {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    padding: var(--space-xs) 0;
    transform: translateY(-10%);
    transition: transform var(--duration-normal) var(--ease-standard);
}

.logo:hover {
    transform: translateY(-10%) scale(1.02);
}

.logo-beyond {
    font-size: clamp(0.76rem, 0.92vw, 0.86rem);
    font-weight: 400;
    color: var(--light-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: var(--font-display);
    text-shadow: var(--shadow-1);
}

.logo-untamed {
    font-size: clamp(1.69rem, 2.31vw, 1.95rem);
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    margin: calc(var(--space-xs) * -0.35) 0;
    transition: filter var(--duration-normal) var(--ease-standard);
}

.logo-tours {
    font-size: clamp(0.59rem, 0.77vw, 0.70rem);
    font-weight: 300;
    color: var(--light-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: var(--font-display);
    text-shadow: var(--shadow-1);
    margin-top: calc(var(--space-xs) * -0.2);
}

/* Header State Changes */
.header.scrolled .logo-beyond,
.header:hover .logo-beyond,
.header.scrolled .logo-tours,
.header:hover .logo-tours {
    color: var(--primary-brown);
}

.header.scrolled .logo-untamed,
.header:hover .logo-untamed {
    text-shadow: none;
}

.logo:hover .logo-untamed {
    filter: drop-shadow(0 4px 12px var(--primary-gold));
}

/* ================================================
   SOCIAL MEDIA & BUTTONS - CONSOLIDATED & IMPROVED
   ================================================ */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: var(--space-sm);
    height: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    transform: scale(0.85);
}

.buttons-container {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

/* Social Links - Improved accessibility */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    color: #fff;
    transition: all var(--duration-normal) var(--ease-standard);
    text-decoration: none;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: transparent;
    transition: background var(--duration-fast) var(--ease-standard);
}

.social-link:focus-visible::before {
    background: rgba(255, 255, 255, 0.2);
}

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

.social-link svg {
    transition: transform var(--duration-normal) var(--ease-standard);
    position: relative;
    z-index: 1;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Header State Changes for Social Links */
.header.scrolled .social-link,
.header:hover .social-link {
    color: var(--text-dark);
}

/* Individual Social Media Colors - Improved contrast */
.instagram-link:hover { color: #E4405F; }
.facebook-link:hover { color: #1877F2; }
.tiktok-link:hover { color: #000000; }
.x-link:hover { color: #000000; }
.whatsapp-link:hover { color: #25D366; }
.linkedin-link:hover { color: #0077B5; } /* LinkedIn brand color */

/* Remove duplicate .last-social rule */

/* Update last-social class to apply to LinkedIn */
.last-social {
    margin-right: 5px;
}

/* ================================================
   BUTTONS - UNIFIED STYLES & IMPROVED
   ================================================ */
.contact-us-link,
.get-started-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--button-padding-y) var(--button-padding-x);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: var(--font-sm);
    font-weight: 400;
    transition: all var(--duration-fast) var(--ease-standard);
    backdrop-filter: blur(10px);
    transform: scale(0.85);
    position: relative;
    overflow: hidden;
}

.contact-us-link::before,
.get-started-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-standard);
}

.contact-us-link:hover::before,
.get-started-link:hover::before {
    opacity: 1;
}

.contact-us-link:hover,
.get-started-link:hover {
    border-color: var(--primary-gold);
    transform: translateY(-1px) scale(0.85);
    color: #fff;
}

.header.scrolled .contact-us-link,
.header:hover .contact-us-link,
.header.scrolled .get-started-link,
.header:hover .get-started-link {
    background: var(--gradient-primary);
    border-color: var(--primary-gold);
    color: #fff;
}

.contact-icon,
.get-started-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-normal) var(--ease-standard);
    position: relative;
    z-index: 1;
}

.contact-us-link:hover .contact-icon,
.get-started-link:hover .get-started-icon {
    transform: scale(1.05);
}

.contact-text,
.get-started-text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* ================================================
   NAVIGATION MENU - IMPROVED
   ================================================ */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: -14px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a,
.dropbtn {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500; /* Medium weight works well with Playfair Display */
    text-transform: none;
    letter-spacing: 1.08px;
    font-family: var(--font-navigation); /* Now uses Playfair Display */
    padding: 2px 14px;
    line-height: 1.0;
    border-radius: 4px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-standard);
    border: none;
    background: none;
}

/* Remove uppercase from navigation menu items */
.nav-menu a,
.nav-menu .dropbtn,
.mobile-nav-menu a,
.mobile-dropdown-toggle {
    text-transform: none !important;
}

/* Navigation States */
.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.header.scrolled .nav-menu a,
.header:hover .nav-menu a {
    color: var(--text-dark);
    text-shadow: none;
}

.header.scrolled .nav-menu a:hover,
.header:hover .nav-menu a:hover,
.header.scrolled .nav-menu a.active,
.header:hover .nav-menu a.active {
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-brown);
}

/* ================================================
   DROPDOWN MENU - IMPROVED
   ================================================ */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    min-width: 140px;
    box-shadow: var(--shadow-3);
    z-index: 1001;
    border-radius: var(--radius-md);
    padding: var(--space-xs) 0;
    top: 100%;
    left: 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn var(--duration-normal) var(--ease-standard);
}

.dropdown-content a {
    color: var(--text-dark) !important;
    padding: var(--space-sm) var(--space-md) !important;
    text-decoration: none;
    display: block;
    font-size: 12.6px !important;
    font-family: var(--font-navigation) !important; /* Also uses Playfair Display */
    font-weight: 400 !important;
    letter-spacing: 0.54px !important;
    text-shadow: none !important;
    transition: background-color var(--duration-fast) var(--ease-standard);
    line-height: 1.2;
    text-transform: none !important;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ================================================
   RESPONSIVE DESIGN - FIXED AND CONSOLIDATED
   ================================================ */

/* Tablet adjustments */
@media (max-width: 1024px) {
    .logo {
        flex-direction: row;
        align-items: baseline;
        gap: var(--space-sm);
    }
    
    .logo-beyond, .logo-tours {
        font-size: 0.61rem;
    }
    
    .logo-untamed {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-background {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

/* Mobile - COMPLETELY REWRITTEN */
@media (max-width: 768px) {
    /* STEP 1: FORCE HIDE ALL DESKTOP ELEMENTS */
    .social-links,
    .social-icons,
    .buttons-container,
    .nav-menu,
    .nav-bottom-row {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* STEP 2: SHOW MOBILE HAMBURGER */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* STEP 3: RESET NAVIGATION CONTAINER */
    .nav-container {
        padding: 12px 20px !important;
        gap: 0 !important;
        flex-direction: row !important;
    }
    
    /* STEP 4: RESTRUCTURE TOP ROW WITH 3 ELEMENTS */
    .nav-top-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        min-height: 60px !important;
        gap: 0 !important;
    }
    
    /* STEP 5: INVISIBLE LEFT SPACER for centering */
    .nav-top-row::before {
        content: '';
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        visibility: hidden;
    }
    
    /* STEP 6: LOGO IN CENTER */
    .logo-center {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        order: 2 !important;
    }
    
    /* STEP 7: HAMBURGER ON RIGHT */
    .mobile-menu-toggle {
        order: 3 !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
    
    /* STEP 8: COMPLETELY HIDE BOTTOM ROW */
    .nav-bottom-row {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* STEP 9: FIX HERO BACKGROUND */
    .hero-background {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center 25% !important;
        min-height: 100vh !important;
    }
    
    /* Content adjustments */
    .main-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    /* LOGO SCALING - FURTHER INCREASED FOR BETTER VISIBILITY */
    .logo {
        scale: 1.5 !important; /* Increased from 1.2 to 1.5 */
        transform: translateY(0) !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px !important;
    }
    
    .nav-top-row {
        min-height: 50px !important;
    }
    
    .nav-top-row::before {
        width: 35px;
        height: 35px;
    }
    
    .logo {
        scale: 1.3 !important; /* Increased from 1.0 to 1.3 */
    }
    
    .mobile-menu-toggle {
        width: 35px !important;
        height: 35px !important;
    }
    
    .hamburger-line {
        width: 20px !important;
        height: 2px !important;
    }
    
    .mobile-nav-menu a {
        font-size: 20px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .why-us-section,
    .content-section {
        padding: 40px 15px;
    }
    
    .instagram-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-background {
        background-position: center 20% !important;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .nav-container {
        padding: 8px 12px !important;
    }
    
    .nav-top-row::before {
        width: 30px;
        height: 30px;
    }
    
    .logo {
        scale: 1.1 !important; /* Increased from 0.85 to 1.1 */
    }
    
    .mobile-menu-toggle {
        width: 30px !important;
        height: 30px !important;
    }
    
    .hamburger-line {
        width: 18px !important;
        height: 1.5px !important;
        margin: 2px 0 !important;
    }
    
    .mobile-nav-menu a {
        font-size: 18px;
        padding: 8px 15px;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-background {
        height: 100vh;
        background-position: center center !important;
    }
    
    .mobile-nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    
    .mobile-nav-menu li {
        margin: 10px 15px;
    }
    
    .mobile-nav-menu a {
        font-size: 16px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-image: url('../pics/main/background-main@2x.jpeg'), url('../pics/main/background-main.jpeg');
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .mobile-nav-overlay {
        background: rgba(0, 0, 0, 0.98);
    }
}

/* ================================================
   MOBILE HAMBURGER MENU - MOVED BEFORE RESPONSIVE
   ================================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    transition: all var(--duration-normal) var(--ease-standard);
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: all var(--duration-normal) var(--ease-standard);
    transform-origin: center;
}

.header.scrolled .hamburger-line,
.header:hover .hamburger-line {
    background-color: var(--text-dark);
}

/* Hamburger animation states */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-standard);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 15px 0;
}

.mobile-nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    font-family: var(--font-navigation);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--duration-normal) var(--ease-standard);
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
    color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mobile dropdown in overlay */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    margin-top: 10px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: flex;
}

.mobile-dropdown-content a {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
    padding: 8px 15px;
}

.mobile-dropdown-content a:hover {
    color: var(--primary-gold);
}

/* ================================================
   9. MAIN CONTENT
   ================================================ */
.main-content {
    min-height: calc(100vh - 200px);
}

/* ================================================
   10. HERO SECTION
   ================================================ */
.hero-background {
    height: 100vh;
    background-image: url('../pics/main/background-main.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}



/* ================================================
   11. WHY US SECTION
   ================================================ */
.why-us-section {
    padding: 100px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.why-us-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.main-title {
    font-size: 48px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 40px;
    font-family: 'Lora', serif;
    line-height: 1.3;
}

.story-intro {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.foundation-info,
.impact-guarantee,
.transparency-commitment {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.impact-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.story-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

/* Why Us? section styles (mobile-first, accessible, brand-aware */
:root{
	--brand-brown: #8B4513;
	--bg-warm: #fff8f2;
	--text-dark: #1e1e1e;
	--muted: #5a5a5a;
	--max-width: 1200px;
	--radius: 8px;
	--gap: 12px;
}

/* container */
.why-us-section{
	background: linear-gradient(180deg, var(--bg-warm) 0%, #ffffff 100%);
	color: var(--text-dark);
	padding: 28px 16px;
	box-sizing: border-box;
}

/* central layout */
.why-us-container{
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: stretch;
}

/* content area */
.why-us-content{
	order: 1;
	width: 100%;
}

.why-us-title{
	color: var(--brand-brown);
	font-size: 1.25rem;
	margin: 0 0 8px 0;
	letter-spacing: 0.3px;
	font-weight: 600;
}

/* supporting text */
.why-us-subtitle{
	margin: 0 0 12px 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

/* list */
.why-us-list{
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--gap);
}

.why-us-item{
	background: #ffffff;
	border-left: 4px solid var(--brand-brown);
	padding: 12px 14px;
	border-radius: var(--radius);
	box-shadow: 0 1px 6px rgba(0,0,0,0.04);
	font-size: 0.98rem;
	line-height: 1.4;
	color: var(--text-dark);
}

/* visual placeholder / image area */
.why-us-image{
	order: 2;
	width: 100%;
	height: 180px;
	border-radius: 12px;
	background-color: #efe5da;
	background-image: linear-gradient(135deg, rgba(139,69,19,0.06), rgba(139,69,19,0.02));
	box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Desktop / wider screens */
@media (min-width: 768px){
	.why-us-section{ padding: 40px 20px; }
	.why-us-container{
		flex-direction: row;
		gap: 24px;
		align-items: flex-start;
	}
	.why-us-content{ flex: 1 1 520px; min-width: 320px; order: 1; }
	.why-us-image{ flex: 0 0 320px; min-width: 240px; height: 220px; order: 2; }
	.why-us-title{ font-size: 1.6rem; }
}

/* Accessibility: focus states for interactive elements inside this section (if any added later) */
.why-us-section a:focus,
.why-us-section button:focus{
	outline: 3px solid rgba(139,69,19,0.18);
	outline-offset: 3px;
}

/* Small refinements to ensure consistent spacing when global styles differ */
.why-us-section *{ box-sizing: border-box; }

/* Desktop alignment: push Why Us block to the right and keep title + intro on one line */
@media (min-width: 992px) {
	/* ensure full-width container so the inner block can be flushed right */
	.why-us-section { padding-left: 40px; padding-right: 40px; }
	.why-us-container{
		max-width: 100%;
		margin: 0;
		padding: 0 40px;
		display: flex;
		justify-content: flex-end; /* place inner content on the right */
	}

	/* Heading + intro in a single row; list forced to a new row */
	.why-us-content{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start; /* align top edges so first lines start on same baseline */
		gap: 20px;
		max-width: 900px;
		margin-left: auto; /* push the block to the right within the page */
		text-align: left;  /* override any centering */
	}

	.why-us-title{
		flex: 0 0 auto;
		white-space: nowrap; /* keep heading compact on one line */
		margin-right: 12px;
	}

	.why-us-subtitle{
		flex: 1 1 1%;
		min-width: 320px;
		margin: 0;
	}

	/* List must occupy the full available width and sit under the header+intro row */
	.why-us-list{
		flex: 1 1 100%;
		margin-top: 16px;
	}

	/* Keep the visual placeholder/image to the right of (or next to) the block as before */
	.why-us-image{
		flex: 0 0 320px;
		margin-left: 24px;
	}
}

/* FORCE: Title above intro on desktop — keep temporary visual placement, move paragraph below "Why Us?" */
@media (min-width: 768px) {
  .why-us-content {
    display: flex !important;
    flex-direction: column !important; /* title above paragraph */
    align-items: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    max-width: 820px !important;
    margin-left: auto !important; /* keep block aligned to the right as requested */
    text-align: left !important;
  }

  .why-us-title {
    display: block !important;
    margin: 0 0 6px 0 !important;
    white-space: normal !important;
  }

  .why-us-subtitle {
    display: block !important;
    margin: 0 !important;
  }

  .why-us-list {
    margin-top: 16px !important;
    width: 100% !important; /* list sits under title+intro */
  }

  .why-us-image {
    align-self: flex-start !important; /* keep image aligned to top of section */
    margin-left: 24px !important;
  }
}

/* Micato-style Why Us section */
.micato-style {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 16px 60px 16px;
    background: linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
}

.micato-style-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.micato-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-brown);
    letter-spacing: 2px;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.micato-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, #fff8f2 100%);
    margin: 18px auto 0 auto;
    border-radius: 2px;
}

.micato-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 38px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.micato-read-reasons-btn {
    display: inline-block;
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-brown);
    background: transparent;
    border: 2px solid var(--primary-gold);
    border-radius: 4px; /* changed from 30px to 4px for rectangle shape */
    padding: 14px 38px;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 8px rgba(212,175,55,0.08);
    cursor: pointer;
}

.micato-read-reasons-btn:hover,
.micato-read-reasons-btn:focus {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 6px 18px rgba(212,175,55,0.18);
    text-decoration: none;
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .micato-title {
        font-size: 2rem;
    }
    .micato-underline {
        width: 60px;
        height: 3px;
        margin-top: 12px;
    }
    .micato-read-reasons-btn {
        font-size: 0.98rem;
        padding: 12px 28px;
    }
    .micato-style-content {
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    .micato-title {
        font-size: 1.45rem;
    }
    .micato-underline {
        width: 40px;
        height: 2px;
        margin-top: 8px;
    }
    .micato-read-reasons-btn {
        font-size: 0.92rem;
        padding: 10px 18px;
    }
}

/* ================================================
   13. INSTAGRAM SECTION
   ================================================ */
.instagram-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

.instagram-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
    font-family: 'Lora', serif;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ecef;
    aspect-ratio: 1;
}

.instagram-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ddd 25%, transparent 25%), 
                linear-gradient(-45deg, #ddd 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #ddd 75%), 
                linear-gradient(-45deg, transparent 75%, #ddd 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.view-fullsize {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-item:hover .view-fullsize {
    opacity: 1;
}

/* ================================================
   14. FOOTER - MICATO STYLE
   ================================================ */
.footer {
    background: var(--bg-darker);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

/* Main Footer Content */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Company Info Column */
.footer-company {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.footer-logo-beyond {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--light-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.footer-logo-untamed {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    margin: -2px 0;
}

.footer-logo-tours {
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--light-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.footer-tagline {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}

.footer-contact-info {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.footer-contact-info p {
    margin-bottom: 8px;
    color: #ccc;
}

.footer-contact-info a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-contact-info a:hover {
    color: white;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-family: var(--font-navigation);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: all var(--duration-fast) var(--ease-standard);
    display: block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

/* Social Media Section */
.footer-social {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-social-title {
    font-family: var(--font-navigation);
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--duration-normal) var(--ease-standard);
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Bottom Footer */
.footer-bottom {
    padding-top: 20px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: #999;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: #999;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

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

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-company {
        grid-column: 1 / -1;
        margin-bottom: 20px;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-company {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-social-links {
        gap: 15px;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal-links {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-social-links {
        gap: 10px;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ================================================
   15. CONTACT PAGE STYLES
   ================================================ */
.contact-hero {
    padding: 120px 30px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-header h1 {
    font-family: 'Lora', serif;
    font-size: 48px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-family: 'Lora', serif;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Lora', serif;
    transition: border-color 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
    background: white;
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Lora', serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #34495e;
    transform: translateY(-1px);
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.method-info h3 {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.method-info p {
    margin: 4px 0;
}

.method-info a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.method-info a:hover {
    text-decoration: underline;
}

.method-note {
    font-size: 14px;
    color: #666;
}

.additional-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.option-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-2px);
}

.option-card h3 {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.option-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.option-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #2c3e50;
    color: #2c3e50;
    border-radius: 25px;
    font-family: 'Lora', serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: #2c3e50;
    color: white;
}

/* ================================================
   16. RESPONSIVE DESIGN
   ================================================ */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    .logo {
        flex-direction: row;
        align-items: baseline;
        gap: var(--space-sm);
    }
    
    .logo-beyond, .logo-tours {
        font-size: 0.61rem;
    }
    
    .logo-untamed {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile and Tablet */
@media (max-width: 768px) {
    /* FORCE HIDE DESKTOP ELEMENTS */
    .social-links,
    .social-icons,
    .buttons-container,
    .nav-menu,
    .nav-bottom-row {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* SHOW ONLY MOBILE MENU TOGGLE */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* RESET NAV CONTAINER */
    .nav-container {
        padding: 10px 20px;
        gap: 0;
    }
    
    /* RESET TOP ROW - HAMBURGER LEFT, LOGO CENTER */
    .nav-top-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 0 !important;
        min-height: 60px !important;
        gap: 0 !important;
    }
    
    /* HAMBURGER POSITION - LEFT SIDE */
    .mobile-menu-toggle {
        order: 1 !important;
        flex-shrink: 0 !important;
    }
    
    /* LOGO POSITION - CENTER */
    .logo-center {
        order: 2 !important;
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* LOGO SCALING */
    .logo {
        scale: 0.8;
        transform: translateY(0) !important;
    }
    
    /* HIDE BOTTOM ROW COMPLETELY */
    .nav-bottom-row {
        display: none !important;
    }
    
    /* BETTER HERO BACKGROUND */
    .hero-background {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center 30% !important;
        min-height: 100vh !important;
    }
    
    /* CONTENT ADJUSTMENTS */
    .main-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 0 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav-container {
        padding: 6px 12px;
    }
    
    .nav-top-row {
        min-height: 50px !important;
    }
    
    .nav-top-row::before {
        width: 30px;
        height: 30px;
    }
    
    .logo {
        scale: 1.1 !important; /* Increased from 0.85 to 1.1 */
    }
    
    .mobile-menu-toggle {
        width: 30px !important;
        height: 30px !important;
    }
    
    .hamburger-line {
        width: 18px;
        height: 1.5px;
        margin: 2px 0;
    }
    
    .mobile-nav-menu a {
        font-size: 18px;
        padding: 8px 15px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .nav-container {
        padding: 6px 12px;
    }
    
    .nav-top-row::before {
        width: 30px;
        height: 30px;
    }
    
    .logo {
        scale: 1.1 !important; /* Increased from 0.85 to 1.1 */
    }
    
    .mobile-menu-toggle {
        width: 30px !important;
        height: 30px !important;
    }
    
    .hamburger-line {
        width: 18px;
        height: 1.5px;
        margin: 2px 0;
    }
    
    .mobile-nav-menu a {
        font-size: 18px;
        padding: 8px 15px;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-background {
        height: 100vh;
        background-position: center center !important;
    }
    
    .mobile-nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    
    .mobile-nav-menu li {
        margin: 10px 15px;
    }
    
    .mobile-nav-menu a {
        font-size: 16px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-image: url('../pics/main/background-main@2x.jpeg'), url('../pics/main/background-main.jpeg');
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .mobile-nav-overlay {
        background: rgba(0, 0, 0, 0.98);
    }
}

/* ================================================
   WHY US – GALLERY (restored, responsive, consistent with site visuals)
   ================================================ */
.why-us-gallery {
    padding: 60px 0;
    background: #fff;
}

.why-us-gallery-title {
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 28px 0;
}

.why-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* desktop: 3 columns -> 2 rows for 6 items */
    gap: 32px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .why-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
    .why-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Cards: equalized sizes and balanced typography */
.why-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--duration-normal) var(--ease-standard), transform var(--duration-normal) var(--ease-standard), border-color var(--duration-normal) var(--ease-standard);
    border: 1px solid rgba(0,0,0,0.04);
}

/* Subtle highlight on hover (desktop) */
@media (hover: hover) {
    .why-card:hover {
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
        transform: translateY(-2px);
        border-color: rgba(212, 175, 55, 0.35); /* var(--primary-gold) tint */
    }
}

/* Image: consistent aspect and height on desktop */
.why-card img {
    width: 100%;
    height: 260px;          /* desktop fixed height to unify rows */
    object-fit: cover;
    display: block;
}

/* Adjust image height for smaller screens */
@media (max-width: 1024px) {
    .why-card img { height: 220px; }
}
@media (max-width: 640px) {
    .why-card img { height: 200px; }
}

/* Caption: clamp text for consistent card heights */
.why-card figcaption {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Lora', serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;          /* keep titles compact */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;          /* balance text to equalize card heights */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Remove the old neutralizer (it breaks the gallery) */
/*
.why-us-list,
.why-us-list li,
.why-us-gallery,
.why-gallery-grid,
.why-card,
.why-card--placeholder,
.why-card img,
.why-card .placeholder-image,
.why-card figcaption,
.card-title,
.card-desc { ... }
.why-us-image { display: none !important; }
*/