/* 
========================================================================
   RHINO LODGE - CUSTOM DESIGN SYSTEM & VISUAL BRAND IDENTITY
   Author: Frontend UI/UX Engineer
   Stack: Vanilla CSS3, Grid, Flexbox, Custom Properties, Mobile-First
========================================================================
*/

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

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette */
    --color-primary: #2C362B;        /* Deep Safari Olive */
    --color-primary-light: #4E5B4B;  /* Sage Green Accent */
    --color-secondary: #B89C72;      /* Warm Khaki Sand / Desert Gold */
    --color-secondary-light: #D5C29D;/* Soft Khaki Sand */
    --color-bg-light: #FAF9F6;       /* Soft Off-White / Cream background */
    --color-bg-card: #FDFBF7;        /* Soft Ivory card background */
    --color-text: #222521;           /* Dark Charcoal body copy */
    --color-text-light: #5A6058;     /* Muted Olive/Gray body copy */
    --color-text-white: #FFFFFF;     /* Stark White */
    
    /* Layout Details & Borders */
    --border-color: #E2DFD9;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(44, 54, 43, 0.05);
    --shadow-md: 0 8px 16px rgba(44, 54, 43, 0.08);
    --shadow-lg: 0 16px 32px rgba(44, 54, 43, 0.12);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Font Families */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
}

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

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

ul {
    list-style: none;
}

/* --- Container Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Glassmorphic Sticky Header --- */
header.header-global {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(44, 54, 43, 0.85); /* Deep olive base with opacity */
    backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

header.header-global.scrolled {
    background-color: rgba(26, 32, 25, 0.95);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

header.header-global.scrolled .header-container {
    height: 64px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--color-text-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-secondary);
}

.nav-btn:hover {
    background-color: transparent;
    color: var(--color-secondary);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-white);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* --- Hero Section Layout (100vh) --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(34, 37, 33, 0.45) 0%,
        rgba(34, 37, 33, 0.65) 100%
    );
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.05);
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- Custom Styled Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-text-white);
}

.btn-outline:hover {
    background-color: var(--color-text-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Editorial Grid Sections --- */
.section {
    padding: 7rem 0;
}

.section-alt {
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.editorial-content h2 {
    margin-bottom: 1.5rem;
}

.editorial-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.editorial-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

/* --- Experience Split Grid Layout --- */
.experience-split {
    display: flex;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--color-primary);
}

.split-side {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;      /* Center content vertically */
    justify-content: center;  /* Center content horizontally */
    padding: 4rem 3.5rem;
    overflow: hidden;
    color: var(--color-text-white);
    transition: var(--transition-smooth);
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: transform 0.8s ease-out;
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(34, 37, 33, 0.25) 0%,
        rgba(34, 37, 33, 0.8) 100%
    );
    z-index: 1;
    transition: var(--transition-smooth);
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    text-align: left;          /* Retain left alignment on text itself */
}

.split-title {
    font-size: 2.25rem;
    color: var(--color-text-white);
    margin-bottom: 0.75rem;
}

.split-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
}

/* Split Hover Micro-interactions */
.split-side:hover {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.split-side:hover .split-bg {
    transform: scale(1.08);
}

.split-side:hover .split-overlay {
    background: linear-gradient(
        to bottom,
        rgba(34, 37, 33, 0.1) 0%,
        rgba(34, 37, 33, 0.9) 100%
    );
}

/* --- Features Grid System --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.feature-text {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Showcase Gallery / Amenity Detail Split --- */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

.showcase-row:nth-child(even) {
    direction: rtl;
}

.showcase-row:nth-child(even) .showcase-text {
    direction: ltr;
}

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

.showcase-text h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.showcase-text .facility-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-primary-light);
    color: var(--color-text-white);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Responsive Table (Hunting Prices) --- */
.pricing-table-container {
    width: 100%;
    overflow-x: auto;
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.pricing-table th, .pricing-table td {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.pricing-table tbody tr {
    transition: var(--transition-smooth);
}

.pricing-table tbody tr:nth-child(even) {
    background-color: rgba(245, 243, 238, 0.5);
}

.pricing-table tbody tr:hover {
    background-color: rgba(184, 156, 114, 0.15);
}

.pricing-table td.species-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
    font-weight: 600;
}

.pricing-table td.price-tag {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-primary-light);
}

/* --- Document Downloads Grid --- */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.download-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--border-radius-sm);
    padding: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.download-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
}

.download-info h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.download-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.btn-download-icon {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.download-card:hover .btn-download-icon {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

/* --- Dual Columns Lead Capture Forms --- */
.form-section-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: flex-start;
}

.form-wrapper {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border-color);
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--color-text-white);
    box-shadow: 0 0 0 3px rgba(184, 156, 114, 0.15);
}

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

.form-sidebar {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-sidebar h4 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
}

.form-sidebar p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-info-list {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.contact-info-icon {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.contact-info-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Inline Form Alert Messages --- */
.form-alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: none;
}

.form-alert-success {
    background-color: #E2ECE9;
    color: #2E5A44;
    border: 1px solid #C4DAD2;
    display: block;
}

.form-alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    display: block;
}

/* --- Final Call to Action Segment --- */
.banner-cta {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.banner-cta h2 {
    color: var(--color-text-white);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.banner-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* --- Semantic Footer --- */
.footer-global {
    background-color: #1F251E; /* Deep rich forest black */
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-about h3 {
    color: var(--color-text-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: var(--color-text-white);
    padding-left: 5px;
}

.footer-contact h4 {
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copy {
    font-size: 0.85rem;
}

.footer-designer {
    font-size: 0.85rem;
}

.footer-designer a {
    color: var(--color-secondary);
}

.footer-designer a:hover {
    text-decoration: underline;
}

/* --- Mobile Responsiveness Breakpoints --- */

/* Tablet & Smaller Screens (< 992px) */
@media (max-width: 992px) {
    header.header-global {
        padding: 0.25rem 0;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1010;
    }
    
    /* Hamburger Menu State Shifts */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #1a2019; /* Solid deep olive */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1005;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .editorial-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .experience-split {
        flex-direction: column;
        min-height: auto;
    }
    
    .split-side {
        width: 100%;
        min-height: 400px;
        padding: 3rem 2rem;
    }
    
    .showcase-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .showcase-row:nth-child(even) {
        direction: ltr;
    }
    
    .form-section-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Social Media & Map Enhancements --- */
.btn-facebook:hover {
    background-color: #1565C0 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.mobile-menu-socials {
    display: none;
}

.footer-socials-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

/* --- Mobile Menu & Footer Overrides --- */
@media (max-width: 992px) {
    .footer-socials-container {
        display: none !important;
    }
    
    .mobile-menu-socials {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        margin-top: 1.5rem;
        width: 100%;
        padding: 0 2rem;
    }
    
    .mobile-menu-socials .btn-facebook-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 0;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: var(--border-radius-sm);
        text-align: center;
        box-shadow: var(--shadow-sm);
        transition: var(--transition-smooth);
    }
    
    .mobile-menu-socials .btn-facebook-mobile {
        background-color: #1877F2;
        color: #fff;
        border: 1px solid #1877F2;
    }
    
    .mobile-menu-socials .btn-facebook-mobile:hover {
        background-color: #1565C0;
        border-color: #1565C0;
        transform: translateY(-2px);
    }
}

/* --- Mobile Viewport Spacing & Alignment Overrides --- */
@media (max-width: 768px) {
    /* Hide footer links and contact info on mobile */
    .footer-links,
    .footer-contact {
        display: none !important;
    }

    /* 30px Left & Right Padding Constraints */
    .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .split-side {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .form-wrapper {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    /* Text & Icon Center Alignment */
    body,
    .container,
    .feature-card,
    .download-card,
    .editorial-content,
    .showcase-text,
    .split-content,
    .footer-global,
    .banner-cta-container,
    .form-wrapper,
    .form-sidebar {
        text-align: center !important;
    }
    
    /* Center align icons and inline elements */
    .feature-icon,
    .contact-info-icon,
    .footer-contact-icon {
        margin: 0 auto 1rem auto !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* Center align flex content items */
    .cta-group,
    .download-card,
    .contact-info-item,
    .footer-contact-item {
        justify-content: center !important;
    }
    
    .contact-info-item,
    .footer-contact-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .contact-info-text,
    .footer-contact-item span {
        text-align: center !important;
    }
    
    /* Retain left alignment on inputs for visual balance */
    .form-control,
    .form-label {
        text-align: left !important;
    }
}

/* --- Responsive Photo Gallery System --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 54, 43, 0.8); /* Deep Safari Olive overlay */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 1.5rem;
}

.gallery-caption {
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

/* Gallery hover states */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}



