/* Main CSS File for Mara Spirit Safaris Theme */

:root {
    --primary: #1e3e35;
    --primary-light: #2D5A4E;
    --secondary: #9A6B38;
    --accent: #D4AF37;
    --bg-cream: #F9F7F2;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-grey: #555555;
    --text-light: #999999;
    --white: #FFFFFF;
    --whatsapp: #25D366;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(45, 90, 78, 0.1);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Keep the fixed header below the WordPress admin bar when logged in
   (the admin bar is fixed at top:0 too, so without this the header's
   own top edge — logo, nav — renders hidden behind/underneath it). */
body.admin-bar header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px; /* WP's admin bar is taller on small screens */
    }
}
/* The enquiry modal and mobile menu overlays should still cover the full
   viewport regardless of the admin bar, so they're excluded from the offset. */

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 110px;
    padding: 5px 0;
}

.brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 320px;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

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

.nav-link i.fa-chevron-down {
    font-size: 0.7em;
    transition: transform 0.3s;
}

.nav-item:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    min-width: 240px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 8px 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-top: 3px solid var(--secondary);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    font-size: 0.85rem;
    color: var(--text-grey);
    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--bg-cream);
    color: var(--primary);
    padding-left: 30px;
}

.nav-link.special-link {
    color: var(--white);
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    font-size: 0.8rem;
}

.nav-link.special-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    margin-top: 0;
}
/* Fix logo sizing in header */
.brand {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 220px;  /* Adjust as needed */
}

.brand-logo,
.custom-logo {
    max-height: 80px;      /* Match header height */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* For the custom logo (if set via Customizer) */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo-link img {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Adjust header inner height */
.header-inner {
    min-height: 90px;
    padding: 5px 0;
}

/* On mobile, reduce logo size */
@media (max-width: 768px) {
    .brand {
        max-width: 160px;
    }
    
    .brand-logo,
    .custom-logo-link img {
        max-height: 60px;
    }
    
    .header-inner {
        min-height: 70px;
    }
}

/* Mobile toggle button – hide on desktop, show on mobile */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1002;
}

/* Mobile menu styles */
@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 90px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    /* Mobile dropdown styling */
    .nav-item.dropdown {
        position: relative;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        background-color: #f8f9fa;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-link i.fa-chevron-down {
        float: right;
        margin-top: 0.2rem;
    }

    .nav-item.dropdown.active > .nav-link i.fa-chevron-down {
        transform: rotate(180deg);
    }
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 62, 53, 0.4) 0%, rgba(30, 62, 53, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    color: #FFFFFF !important;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
}

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

/* Hero Social Icons */
.hero-socials {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.social-circle {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    transition: all 0.3s ease;
}

.social-circle:hover {
    transform: scale(1.1);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-circle.facebook:hover i { color: #1877F2; }
.social-circle.instagram:hover i { color: #E1306C; }
.social-circle.twitter:hover i { color: #1DA1F2; }
.social-circle.whatsapp:hover i { color: #25D366; }

.pop-up-text {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pop-up-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary);
}

.social-circle:hover .pop-up-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .sub {
    display: block;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-grey);
}

/* Grid Systems */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Safari Cards */
.safari-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.safari-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #eee;
}

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

.safari-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.badge-tag {
    background: rgba(30, 62, 53, 0.9);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-price {
    background: var(--secondary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

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

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

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

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

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

/* Team Section */
.team-section {
    background: var(--bg-cream);
    padding: 80px 0;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 62, 53, 0.15);
}

.team-card-img {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.08);
}

.team-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.team-card-socials {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    z-index: 2;
}

.team-card:hover .team-card-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-card-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.team-card-socials a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 62, 53, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-card-body {
    padding: 28px 24px;
}

.team-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.team-card-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    display: block;
}

.team-card-body p {
    color: var(--text-grey);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Partners Section */
.partners-section {
    background: var(--bg-white);
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partners-header {
    text-align: center;
    margin-bottom: 30px;
}

.partners-header h4 {
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.marquee-container {
    display: inline-flex;
    animation: marquee 22s linear infinite;
    align-items: stretch;
    width: max-content;
}
.marquee-wrapper:hover .marquee-container {
    animation-play-state: paused;
}

.partner-card {
    flex: 0 0 auto;
    width: 260px;
    min-height: 90px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: normal;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    padding: 16px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card i {
    font-size: 1.6rem;
    color: var(--accent);
    flex: 0 0 auto;
}

.partner-card span {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary);
    line-height: 1.2;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Special CTA */
.special-cta {
    background: linear-gradient(rgba(30, 62, 53, 0.85), rgba(30, 62, 53, 0.85)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.special-cta h2 {
    color: var(--accent);
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-sans);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-grey);
}

/* Itinerary Styles */
.safari-itinerary-section {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.safari-itinerary-section h2 {
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.safari-itinerary-section h2 i {
    color: var(--accent);
}

.safari-itinerary {
    line-height: 1.8;
}

.safari-itinerary h4 {
    color: var(--primary);
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

.safari-itinerary p {
    margin-bottom: 15px;
}

.safari-itinerary strong {
    color: var(--secondary);
}

.safari-itinerary ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
}

.safari-itinerary li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .safari-itinerary-section {
        padding: 20px;
    }
    
    .safari-itinerary h4 {
        font-size: 1.1rem;
    }
}

/* Frontend Safari Gallery Styles */
.safari-gallery {
    margin: 40px 0;
}

.safari-gallery h2 {
    margin-bottom: 30px;
    font-family: var(--font-serif);
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay .count {
    font-size: 12px;
    opacity: 0.8;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
 * ENQUIRY FORM MODAL
 * ========================================================================= */
.mara-enquiry-overlay{
  position:fixed;inset:0;z-index:9999;background:rgba(30,27,23,.55);
  display:flex;align-items:flex-start;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .3s ease;padding:40px 16px;overflow-y:auto;
}
.mara-enquiry-overlay.open{opacity:1;pointer-events:auto;}
.mara-enquiry-modal{
  background:#fff;border-radius:10px;max-width:720px;width:100%;
  box-shadow:0 30px 80px rgba(0,0,0,.25);transform:translateY(-16px);transition:transform .3s ease;
}
.mara-enquiry-overlay.open .mara-enquiry-modal{transform:translateY(0);}
.mara-enquiry-modal-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 28px;border-bottom:1px solid #eee;
}
.mara-enquiry-modal-header h3{
  font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:700;color:var(--primary);
  display:flex;align-items:center;gap:10px;margin:0;
}
.mara-enquiry-modal-header h3 i{color:var(--accent);}
.mara-enquiry-close{background:none;border:none;font-size:1.8rem;line-height:1;color:#888;cursor:pointer;padding:4px;}
.mara-enquiry-close:hover{color:var(--primary);}
.mara-enquiry-modal-body{padding:24px 28px 30px;max-height:75vh;overflow-y:auto;}

.mara-enquiry-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.mara-enquiry-form .form-group{margin-bottom:18px;}
.mara-enquiry-form label{display:block;font-weight:600;color:var(--primary);font-size:.92rem;margin-bottom:6px;}
.mara-enquiry-form input[type="text"],
.mara-enquiry-form input[type="email"],
.mara-enquiry-form input[type="tel"],
.mara-enquiry-form input[type="number"],
.mara-enquiry-form input[type="date"],
.mara-enquiry-form select,
.mara-enquiry-form textarea{
  width:100%;padding:11px 14px;border:1px solid #ddd;border-radius:6px;
  font-family:inherit;font-size:.95rem;background:#fafafa;
}
.mara-enquiry-form input:focus,
.mara-enquiry-form select:focus,
.mara-enquiry-form textarea:focus{outline:none;border-color:var(--accent);background:#fff;}
.mara-enquiry-form textarea{resize:vertical;}
.mara-checkbox-inline,.mara-radio-inline{
  display:inline-flex;align-items:center;gap:6px;font-weight:500;color:#444;
  margin-right:16px;margin-bottom:4px;font-size:.92rem;
}
.mara-checkbox-inline input,.mara-radio-inline input{width:auto;}

.mara-custom-section{border:none;border-top:1px dashed #ddd;margin:22px 0 0;padding:18px 0 0;}
.mara-custom-section legend{font-family:'Cormorant Garamond',serif;font-weight:700;color:var(--primary);font-size:1.1rem;padding:0 4px 8px 0;}

.mara-captcha-box{
  background:#faf8f3;border-left:3px solid var(--accent);border-radius:6px;padding:16px 18px;
}
.mara-captcha-inner{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
.mara-captcha-question{
  background:#fff;border:1px solid #e2d9c3;border-radius:6px;padding:12px 20px;
  font-weight:700;color:var(--primary);font-family:'Cormorant Garamond',serif;font-size:1.15rem;
}
.mara-captcha-inner input[type="number"]{max-width:160px;margin:0;}
.mara-captcha-hint{font-size:.82rem;color:#888;margin:8px 0 0;}

.mara-submit-btn{
  width:100%;background:var(--accent);color:var(--primary);border:none;border-radius:8px;
  padding:16px;font-weight:700;font-size:1rem;letter-spacing:.02em;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:10px;transition:all .3s ease;
}
.mara-submit-btn:hover{background:var(--primary);color:#fff;}

.form-msg{padding:12px 16px;border-radius:6px;margin-bottom:18px;font-size:.92rem;}
.form-msg.success{background:#eaf6ec;color:#1f6b34;border:1px solid #bee3c3;}
.form-msg.error{background:#fbeaea;color:#8a2a2a;border:1px solid #f0c1c1;}

.mara-hp-field{position:absolute !important;left:-9999px !important;top:-9999px !important;height:0;width:0;overflow:hidden;}

.mara-enquiry-standalone{max-width:720px;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.06);padding:32px;}

@media (max-width:640px){
  .mara-enquiry-form .form-row{grid-template-columns:1fr;}
  .mara-enquiry-modal-header{padding:18px 20px;}
  .mara-enquiry-modal-body{padding:20px 20px 26px;}
}
