/* Emirates Font */
@font-face {
    font-family: 'Emirates';
    src: url('fonts/Emirates Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

/* Apply Emirates font to all headings */
h1,
h2,
h3,
h4,
h5,
h6,
.showcase-title,
.city-section-title,
.home-hero-title,
.home-hero-subtitle {
    font-family: 'Emirates', 'Calibri', 'Arial', sans-serif;
}

/* Smooth transitions for interactive elements */
a,
button,
img,
.safari-card,
.event-card {
    transition: transform 0.3s ease,
        opacity 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Calibri', 'Arial', sans-serif;
    background-color: #ffffff;
    padding-top: 100px;
}

/* ============================================
   HOMEPAGE ACTIVITY CARD WATERMARK SYSTEM
   ============================================ */

/* Watermark overlay for homepage activity cards */
.activity-card-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.activity-card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25%;
    /* Larger watermark as requested */
    aspect-ratio: 1;
    background: url('images/watermark-logo.png') no-repeat center/contain;
    opacity: 0.9;
    pointer-events: none;
    z-index: 10;
}

/* Hide watermark for tiles that already have it embedded */
.activity-card-image-wrapper[data-no-watermark="true"]::after {
    display: none;
}


header {
    background-color: #ffffff;
    padding: 10px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
    height: 100px;
    max-height: 100px;
}

/* Hide header on homepage only */
body.homepage header {
    transform: translateY(-100%);
}

body.homepage header.header-visible {
    transform: translateY(0);
}

/* Enhanced shadow when scrolled */
header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 95px;
    width: auto;
    margin: -10px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #a67c52;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Emirates', 'Calibri', 'Arial', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    position: relative;
    padding: 8px 16px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.nav-link.active {
    color: #a67c52;
    border-color: #a67c52;
}

/* Main header navigation buttons hover effect */
.nav-menu>li>.nav-link:hover {
    color: white !important;
    background-color: #c67b3e !important;
    border-color: #c67b3e !important;
}

/* Remove border from dropdown links */
.dropdown-content .nav-link,
.dropdown-content a {
    border: none !important;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 2px;
}

.search-btn {
    background: none;
    border: none;
    color: #a67c52;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #c67b3e;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 15px 0;
    border-top: 3px solid #a67c52;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content a {
    color: #000000;
    padding: 12px 25px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-family: 'Emirates', 'Calibri', 'Arial', sans-serif;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.arrow-right {
    color: #cccccc;
    font-size: 18px;
    margin-left: 10px;
}

.dropdown-content a:hover {
    color: #a67c52;
    background-color: #fafafa;
    border-left: 3px solid #a67c52;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Submenu Styles */
.submenu {
    position: relative;
}

.submenu::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 20px;
    height: 100%;
    background: transparent;
}

.submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: -15px;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-top: 3px solid #a67c52;
    margin-left: 0;
    z-index: 1002;
}

.submenu-content a {
    color: #000000;
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-family: 'Emirates', 'Calibri', 'Arial', sans-serif;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu-content a:hover {
    color: #a67c52;
    background-color: #fafafa;
    border-left: 3px solid #a67c52;
}

.submenu:hover .submenu-content {
    display: block;
}

/* Hero Section */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1451337516015-6b6e9a44a8a3?w=1600');
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.hero-overlay {
    color: white;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: white;
}

.breadcrumb {
    background-color: white;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.breadcrumb span {
    color: #999;
    margin: 0 10px;
}

.breadcrumb .current {
    color: #a67c52;
    font-weight: 600;
}

/* Content Section */
.content-section {
    padding: 0px 40px 40px 40px;
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    font-family: 'Brush Script MT', 'Calibri', cursive;
    color: #a67c52;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 400;
}

.section-title {
    font-size: 42px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.section-text {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* Dubai City Tour Hero */
.dubai-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1582672060674-bc2bd808a8b5?w=1600');
    background-position: center;
}

/* Abu Dhabi City Tour Hero */
.abudhabi-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('images/27.png');
    background-position: center;
    background-size: cover;
}

/* Ferrari World Hero */
.ferrari-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1583121274602-3e2820c69888?w=1600');
    background-position: center;
}

/* Miracle Garden Hero */
.miracle-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1490750967868-88aa4486c946?w=1600');
    background-position: center;
}

/* Yas Water World Hero */
.yas-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1561459802-c8b285546a03?w=1600');
    background-position: center;
}

/* Liwa Desert Hero */
.liwa-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1547036967-23d11aacaee0?w=1600');
    background-position: center;
}

/* VIP Events Hero */
.vip-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1464047736614-af63643285bf?w=1600');
    background-position: center;
}

/* Wild Wadi Hero */
.wildwadi-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1544552866-d3ed42536cfd?w=1600');
    background-position: center;
}

/* Who We Are Hero */
.whoweare-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1600');
    background-position: center;
}

/* Why Us Hero */
.whyus-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1539635278303-d4002c07eae3?w=1600');
    background-position: center;
}

/* Vision Statement Hero */
.vision-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=1600');
    background-position: center;
}

/* Mission Statement Hero */
.mission-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=1600');
    background-position: center;
}

/* Morning Safari Hero */
.morning-safari-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?w=1600');
    background-position: center;
    height: 300px;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 50px;
}

.morning-safari-hero .breadcrumb {
    margin-left: auto;
    margin-right: 80px;
}

/* Overnight Camp Hero */
.overnight-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1509316785289-025f5b846b35?w=1600');
    background-position: center;
    height: 300px;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 50px;
}

.overnight-hero .breadcrumb {
    margin-left: auto;
    margin-right: 80px;
}

/* Sunrise Safari Hero */
.sunrise-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?w=1600');
    background-position: center;
    height: 300px;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 50px;
}

.sunrise-hero .breadcrumb {
    margin-left: auto;
    margin-right: 80px;
}

/* Sunrise Safari Abu Dhabi Hero */
.sunrise-abudhabi-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?w=1600');
    background-position: center;
}

/* Section List */
.section-list {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin: 20px 0;
    padding-left: 20px;
}

.section-list li {
    margin-bottom: 15px;
}

/* Tour Content Section */
.tour-content-section {
    padding: 80px 40px;
    background-color: #e8e0d5;
}

.tour-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tour-image {
    overflow: hidden;
    border-radius: 8px;
}

.tour-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid #b89968;
    box-shadow: 0 6px 16px rgba(166, 124, 82, 0.3);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.tour-image img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

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

.tour-details .section-subtitle {
    text-align: left;
}

.tour-details .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.tour-details .section-text {
    text-align: justify;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .tour-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Tour Details Section */
.tour-details-section {
    padding: 80px 40px;
    background-color: #e8e0d5;
}

.tour-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tour-info-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tour-intro-text {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.tour-info-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #d4c4b0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.15);
}

.info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid #d4c4b0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    padding: 18px 20px;
    background-color: #f9f5f0;
    font-weight: 500;
    color: #8b7355;
    border-right: 1px solid #d4c4b0;
    font-size: 15px;
}

.info-value {
    padding: 18px 25px;
    color: #8b7355;
    line-height: 1.8;
    font-size: 15px;
}

.tour-info-right {
    overflow: hidden;
    border-radius: 4px;
}

.tour-info-right img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 3px solid #b89968;
    box-shadow: 0 6px 16px rgba(166, 124, 82, 0.3);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.tour-info-right img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Event Types Section */
.event-types-section {
    padding: 60px 40px;
    background-color: #e8e0d5;
}

.event-types-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.event-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 250px;
}

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

.event-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.15);
}

.event-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
}

.event-card-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .event-types-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .info-label {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* Footer */
.footer {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://i.imgur.com/zJ91O3N.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    padding: 60px 40px 20px 40px;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.footer-description {
    color: #e8e8e8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-contact p {
    color: #e8e8e8;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

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

.footer-links a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #a67c52, #c67b3e);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-links a:hover {
    color: #ffd700;
}

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

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

.footer-info li {
    color: #e8e8e8;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-payment {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.footer-payment span {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 20px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #e8e8e8;
    font-size: 14px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social .social-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        justify-content 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.footer-social .social-btn .social-label {
    position: absolute;
    left: 45px;
    white-space: nowrap;
    opacity: 0;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: opacity 0s linear 0s,
        left 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        visibility 0s linear 0s;
    pointer-events: none;
    margin-left: 8px;
    visibility: hidden;
}

.footer-social .social-btn svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    flex-shrink: 0;
}

/* Facebook Hover */
.footer-social .social-btn[data-platform="Facebook"]:hover {
    width: 140px;
    border-radius: 25px;
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    color: white;
    padding: 0 20px;
    justify-content: flex-start;
    gap: 8px;
}

.footer-social .social-btn[data-platform="Facebook"]:hover .social-label {
    opacity: 1;
    left: 38px;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
        left 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        visibility 0s linear 0s;
}

/* Instagram Hover */
.footer-social .social-btn[data-platform="Instagram"]:hover {
    width: 140px;
    border-radius: 25px;
    background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
    color: white;
    padding: 0 20px;
    justify-content: flex-start;
    gap: 8px;
}

.footer-social .social-btn[data-platform="Instagram"]:hover .social-label {
    opacity: 1;
    left: 38px;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
        left 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        visibility 0s linear 0s;
}

/* YouTube Hover */
.footer-social .social-btn[data-platform="YouTube"]:hover {
    width: 140px;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    padding: 0 20px;
    justify-content: flex-start;
    gap: 8px;
}

.footer-social .social-btn[data-platform="YouTube"]:hover .social-label {
    opacity: 1;
    left: 38px;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
        left 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        visibility 0s linear 0s;
}

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 20px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #c67b3e 0%, #a67c52 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(198, 123, 62, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 30px rgba(198, 123, 62, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #d68a4a 0%, #b88c62 100%);
    border-color: white;
}

.back-to-top:active {
    transform: translateY(-4px) scale(1.05);
}

.back-to-top svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Back to Top - Responsive */
@media (max-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }

    .back-to-top svg {
        width: 22px;
        height: 22px;
    }
}

/* Home Page Styles */
.home-hero {
    background-image: linear-gradient(rgba(60, 40, 25, 0.8), rgba(60, 40, 25, 0.8)),
        url('https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?w=1600');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-hero-overlay {
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.home-hero-subtitle {
    font-family: 'Brush Script MT', 'Calibri', cursive;
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 400;
}

.home-hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* Pulse Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(166, 124, 82, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 24px rgba(166, 124, 82, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 6px 16px rgba(166, 124, 82, 0.5);
    }
}

.contact-us-btn {
    background-color: #a67c52;
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
}

.contact-us-btn:hover {
    background-color: #c67b3e;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 28px rgba(198, 123, 62, 0.6),
        0 0 40px rgba(198, 123, 62, 0.3);
    animation: none;
}

.contact-us-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 12px rgba(198, 123, 62, 0.4);
    animation: none;
}

/* Safari Cards Section */
.safari-cards-section {
    padding: 80px 40px;
    background-color: #e8e0d5;
}

.safari-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.safari-card {
    background-color: #ede5da;
    border: 1px solid #d4c4b0;
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.safari-card:hover {
    box-shadow: 0 15px 35px rgba(166, 124, 82, 0.4),
        0 0 50px rgba(166, 124, 82, 0.2);
    transform: translateY(-8px) scale(1.01);
}

.safari-card-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.safari-list li {
    color: #666;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #d4c4b0;
    position: relative;
    padding-left: 25px;
}

.safari-list li:last-child {
    border-bottom: none;
}

.safari-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #a67c52;
    font-size: 18px;
}

.safari-btn {
    background-color: #a67c52;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.safari-btn:hover {
    background-color: #c67b3e;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 28px rgba(198, 123, 62, 0.6),
        0 0 40px rgba(198, 123, 62, 0.3);
}

.safari-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 12px rgba(198, 123, 62, 0.4);
}

.safari-image-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.safari-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

@media (max-width: 768px) {
    .safari-cards-container {
        grid-template-columns: 1fr;
    }

    .home-hero-title {
        font-size: 36px;
    }

    .home-hero-subtitle {
        font-size: 32px;
    }
}

/* Activity Showcase Section */
.activity-showcase-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f9f5f0 0%, #e8dfd5 100%);
}

.showcase-title {
    text-align: center;
    font-size: 48px;
    color: #f5d4a0;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.showcase-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, #a67c52 0%, #c67b3e 50%, #a67c52 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(198, 123, 62, 0.4);
}

.city-section-title {
    text-align: left;
    font-size: 32px;
    color: #f5d4a0;
    margin: 50px auto 30px;
    max-width: 1400px;
    font-weight: 700;
    padding-left: 15px;
    border-left: 5px solid #f5d4a0;
}

.city-section-title:first-of-type {
    margin-top: 0;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto 80px;
    padding: 0 80px;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}


.carousel-track {
    display: flex !important;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 20px 10px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c67b3e 0%, #a67c52 100%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    color: white;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(198, 123, 62, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 8px 30px rgba(198, 123, 62, 0.7),
        0 4px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #d68a4a 0%, #b88c62 100%);
    border-color: white;
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.carousel-arrow svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.activity-grid {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Carousel Activity Cards */
.carousel-track .activity-card {
    width: calc((100% - 75px) / 4);
    min-width: 300px;
    max-width: 340px;
    flex-shrink: 0;
}

/* Activity Card */
.activity-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border: 2px solid rgba(166, 124, 82, 0.1);
}

.activity-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: none !important;
    border-color: #a67c52;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
}

.activity-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.activity-card:hover .activity-card-image {
    transform: scale(1.08);
}

.activity-card-content {
    padding: 18px;
}

.rating {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.star {
    color: #f39c12;
    font-size: 14px;
}

.activity-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #5d4a3a;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.activity-card:hover .activity-card-title {
    color: #8b5a2b;
}

.activity-card-description {
    color: #8b7355;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 39px;
    max-height: 39px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.activity-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(166, 124, 82, 0.2);
}

.activity-info-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.duration,
.location {
    font-size: 12px;
    color: #a67c52;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

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

.price-label {
    font-size: 11px;
    color: #8b7355;
    display: block;
    margin-bottom: 2px;
}

.price {
    color: #c67b3e;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

.activity-card:hover .price {
    transform: scale(1.1);
    color: #8b5a2b;
}

/* Responsive Design for Activity Cards */
@media (max-width: 1400px) {
    .activity-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .carousel-track .activity-card {
        width: calc((100% - 50px) / 3);
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    .activity-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .carousel-container {
        padding: 0 70px;
    }

    .carousel-arrow {
        width: 52px;
        height: 52px;
    }

    .carousel-arrow svg {
        width: 24px;
        height: 24px;
    }

    .carousel-track .activity-card {
        width: calc((100% - 40px) / 2.5);
        min-width: 280px;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .activity-showcase-section {
        padding: 60px 20px;
    }

    .showcase-title {
        font-size: 32px;
        margin-bottom: 35px;
    }

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

    .activity-card-title {
        font-size: 15px;
        min-height: 42px;
        max-height: 42px;
    }

    .activity-card-description {
        font-size: 12px;
        min-height: 36px;
        max-height: 36px;
    }

    .price {
        font-size: 22px;
    }

    .carousel-container {
        padding: 0 60px;
    }

    .carousel-arrow {
        width: 48px;
        height: 48px;
    }

    .carousel-arrow svg {
        width: 22px;
        height: 22px;
    }

    .carousel-track .activity-card {
        width: calc((100% - 25px) / 2);
        min-width: 260px;
        max-width: 380px;
    }
}

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

    .activity-card-title {
        min-height: auto;
        max-height: none;
    }

    .activity-card-description {
        min-height: auto;
        max-height: none;
    }

    .carousel-container {
        padding: 0 55px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .carousel-track .activity-card {
        width: calc(100vw - 140px);
        min-width: 280px;
        max-width: 400px;
    }

    .carousel-track {
        gap: 18px;
    }

    .carousel-arrow-left {
        left: 5px;
    }

    .carousel-arrow-right {
        right: 5px;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f9f5f0 0%, #e8dfd5 100%);
    min-height: calc(100vh - 100px);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(166, 124, 82, 0.15);
}

.contact-header {
    color: #d9534f;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-title {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 35px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-input,
.form-textarea {
    padding: 15px 18px;
    border: 2px solid #d4c4b0;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Calibri', 'Arial', sans-serif;
    transition: all 0.3s ease;
    background-color: #fafaf8;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #a67c52;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-input-full {
    width: 100%;
}

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

.submit-btn {
    background-color: #c67b3e;
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(198, 123, 62, 0.3);
}

.submit-btn:hover {
    background-color: #a67c52;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(198, 123, 62, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(198, 123, 62, 0.3);
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 50px;
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(166, 124, 82, 0.2);
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-link {
    color: #5d4a3a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #a67c52;
}

.contact-text {
    color: #5d4a3a;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.1);
    justify-content: center;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background-color: #0077b5;
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-wrapper {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }

    .contact-form-wrapper {
        padding: 40px 25px;
    }

    .contact-title {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
    }

    .social-media-icons {
        flex-wrap: wrap;
    }
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

/* Popup Container */
.popup-container {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #333;
}

/* Success Icon */
.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 25px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Popup Title */
.popup-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Popup Message */
.popup-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Popup Close Button */
.popup-btn {
    background-color: #a67c52;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    background-color: #c67b3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 123, 62, 0.4);
}

.popup-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Popup */
@media (max-width: 768px) {
    .popup-container {
        padding: 40px 25px;
        width: 95%;
    }

    .popup-title {
        font-size: 26px;
    }

    .popup-icon {
        width: 70px;
        height: 70px;
        font-size: 45px;
    }
}

/* ========================================
   WATERMARK OVERLAY FOR IMAGES
   ======================================== */

/* Apply to any container with position:relative that holds an image */
.watermark-container {
    position: relative;
}

.watermark-container::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background-image: url('images/watermark-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Smaller watermark for thumbnail/gallery images */
.watermark-container-sm::after {
    width: 40px;
    height: 40px;
    top: 8px;
    right: 8px;
}

/* Activity card watermark */
.activity-card-image-wrapper {
    position: relative;
}

.activity-card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 65px;
    height: 65px;
    background-image: url('images/watermark-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Best attractions watermark */
.best-attractions-watermark {
    position: relative;
}

.best-attractions-watermark::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 70px;
    height: 70px;
    background-image: url('images/watermark-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below */
@media (max-width: 992px) {

    /* Header adjustments */
    header {
        padding: 10px 20px;
        height: 80px;
        max-height: 80px;
    }

    .navbar {
        height: 60px;
    }

    .logo img {
        height: 70px;
        margin: -5px 0;
    }

    /* Hero section */
    .hero-section {
        height: 300px;
        padding: 0 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    /* Content sections */
    .content-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 28px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {

    /* Body padding adjustment */
    body {
        padding-top: 80px;
    }

    /* Header mobile */
    header {
        padding: 10px 15px;
        height: 70px;
        max-height: 70px;
    }

    .navbar {
        height: 50px;
    }

    .logo img {
        height: 60px;
        margin: -5px 0;
    }

    /* Hero sections */
    .hero-section {
        height: 250px;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .breadcrumb {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Content sections */
    .content-section {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .section-text {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Tour sections */
    .tour-content-section,
    .tour-details-section {
        padding: 40px 15px;
    }

    .tour-container,
    .tour-info-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .info-label {
        border-right: none;
        border-bottom: 1px solid #d4c4b0;
    }

    /* Event cards */
    .event-types-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .event-card {
        height: 200px;
    }

    /* Footer */
    .footer {
        padding: 40px 15px 15px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Activity showcase section */
    .activity-showcase-section {
        padding: 60px 15px;
    }

    .showcase-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .city-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /* Activity grid - make scrollable horizontally */
    .activity-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .activity-card {
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: start;
    }

    /* Carousel adjustments */
    .carousel-container {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    /* Safari cards */
    .safari-card {
        margin-bottom: 20px;
    }

    /* Contact page */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Back to top button */
    #backToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    /* VIP Events */
    .vip-packages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {

    /* Header */
    .logo img {
        height: 50px;
    }

    /* Hero */
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 20px;
    }

    .section-text {
        font-size: 14px;
    }

    /* Activity cards */
    .activity-card {
        min-width: 260px;
        max-width: 260px;
    }

    .activity-card-title {
        font-size: 16px;
    }

    .activity-card-description {
        font-size: 13px;
    }

    /* Footer */
    .footer-title {
        font-size: 18px;
    }

    .footer-description,
    .footer-contact p,
    .footer-links a {
        font-size: 14px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: 200px;
    }

    .hero-title {
        font-size: 32px;
    }
}

/* Additional Mobile Fixes for Activity Cards and Reviews */
@media (max-width: 768px) {

    /* Show only one activity tile at a time on mobile */
    .activity-grid {
        display: flex !important;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .activity-card {
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    /* Make reviews carousel scrollable on mobile */
    .reviews-carousel {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .review-card {
        scroll-snap-align: start;
        min-width: 320px;
        max-width: 320px;
    }

    /* Hide scroll up button on mobile */
    #backToTop {
        display: none !important;
    }

    /* Hide carousel arrows on mobile since we're using swipe */
    .carousel-arrow {
        display: none !important;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE FIXES FOR ALL PAGES
   ============================================ */

@media (max-width: 768px) {

    /* Fix hero sections on all pages */
    section[style*='min-height: 65vh'],
    section[style*='height: 400px'],
    .hero-section {
        min-height: auto !important;
        height: auto !important;
        padding: 40px 20px !important;
    }

    /* Fix grid layouts - make them single column */
    div[style*='grid-template-columns: 1fr 1fr'],
    div[style*='grid-template-columns: repeat(2'],
    div[style*='grid-template-columns: repeat(3'],
    div[style*='grid-template-columns: repeat(4'] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Fix images - prevent distortion */
    img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Fix specific image containers */
    div[style*='height: 400px'] img,
    div[style*='height: 500px'] img,
    div[style*='min-height: 400px'] img,
    div[style*='min-height: 500px'] img {
        min-height: 250px !important;
        max-height: 300px !important;
    }

    /* Fix positioned image containers */
    div[style*='position: absolute'] {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        margin-bottom: 15px !important;
    }

    /* Fix padding on sections */
    section[style*='padding: 50px 80px'],
    section[style*='padding: 60px 80px'],
    section[style*='padding: 80px'] {
        padding: 30px 20px !important;
    }

    /* Fix max-width containers */
    div[style*='max-width: 1500px'],
    div[style*='max-width: 1400px'],
    div[style*='max-width: 1200px'] {
        padding: 0 15px !important;
    }

    /* Fix headings */
    h1[style*='font-size: 65px'],
    h1[style*='font-size: 60px'] {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    h2[style*='font-size: 40px'],
    h2[style*='font-size: 48px'] {
        font-size: 28px !important;
    }

    h3[style*='font-size: 40px'] {
        font-size: 24px !important;
    }

    /* Fix buttons */
    a[style*='padding: 18px 50px'],
    a[style*='padding: 20px 50px'] {
        padding: 14px 30px !important;
        font-size: 15px !important;
    }

    /* Fix content boxes */
    div[style*='padding: 30px'] {
        padding: 20px !important;
    }

    /* Fix benefit/feature cards */
    div[style*='padding: 30px'][style*='border-radius: 15px'] {
        padding: 20px !important;
        margin-bottom: 15px !important;
    }

    /* Fix icon boxes */
    .icon-box {
        width: 35px !important;
        height: 35px !important;
    }

    .icon-box svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Fix text content */
    p[style*='font-size: 16px'],
    p[style*='font-size: 14px'] {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Fix gap in grids */
    div[style*='gap: 80px'],
    div[style*='gap: 60px'],
    div[style*='gap: 35px'] {
        gap: 20px !important;
    }

    /* Fix overlapping images in hero */
    div[style*='position: relative; height: 400px'] {
        height: auto !important;
        min-height: 200px !important;
    }

    /* Fix tour info tables */
    .tour-info-table,
    .info-row {
        display: block !important;
    }

    .info-label,
    .info-value {
        display: block !important;
        width: 100% !important;
        border-right: none !important;
    }

    /* Fix safari cards */
    .safari-card {
        margin-bottom: 20px !important;
    }

    /* Fix event cards */
    .event-card {
        height: 200px !important;
        margin-bottom: 15px !important;
    }

    /* Fix VIP packages */
    .vip-packages,
    div[style*='display: grid'][style*='repeat(2'] {
        grid-template-columns: 1fr !important;
    }

    /* Fix contact form */
    .contact-container {
        grid-template-columns: 1fr !important;
    }

    /* Fix gallery grid */
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix testimonial cards */
    .testimonial-card {
        margin-bottom: 20px !important;
    }

    /* Fix dhow cruise sections */
    .cruise-section {
        padding: 30px 15px !important;
    }

    /* Fix yacht sailing sections */
    .yacht-section {
        padding: 30px 15px !important;
    }

    /* Fix combo tour sections */
    .combo-section {
        padding: 30px 15px !important;
    }

    /* Fix city tour highlights */
    .highlight-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fix attraction cards */
    .attraction-card {
        margin-bottom: 15px !important;
    }

    /* Fix pricing tables */
    .pricing-table {
        overflow-x: auto !important;
    }

    /* Fix embedded videos/iframes */
    iframe {
        max-width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

    /* Fix flex containers */
    div[style*='display: flex'][style*='gap:'] {
        flex-direction: column !important;
    }

    /* Fix inline-flex buttons */
    a[style*='display: inline-flex'] {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        max-width: 300px !important;
        margin: 10px auto !important;
    }

    /* Fix border radius for mobile */
    div[style*='border-radius: 20px'] {
        border-radius: 15px !important;
    }

    /* Fix box shadows */
    div[style*='box-shadow: 0 25px 60px'] {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    /* Fix letter spacing */
    h1[style*='letter-spacing: -2px'],
    h2[style*='letter-spacing: -1px'] {
        letter-spacing: -0.5px !important;
    }

    /* Fix transform rotations on images */
    div[style*='transform: rotate'] {
        transform: none !important;
    }

    /* Fix width percentages */
    div[style*='width: 75%'],
    div[style*='width: 50%'] {
        width: 100% !important;
    }

    /* Fix top/bottom/left/right positioning */
    div[style*='position: absolute'][style*='top:'],
    div[style*='position: absolute'][style*='bottom:'],
    div[style*='position: absolute'][style*='left:'],
    div[style*='position: absolute'][style*='right:'] {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
}

/* Small mobile devices (phones in portrait) */
@media (max-width: 480px) {
    h1[style*='font-size'] {
        font-size: 32px !important;
    }

    h2[style*='font-size'] {
        font-size: 28px !important;
    }

    h3[style*='font-size'] {
        font-size: 20px !important;
    }

    h4[style*='font-size'] {
        font-size: 17px !important;
    }

    h5[style*='font-size'] {
        font-size: 15px !important;
    }

    section {
        padding: 20px 15px !important;
    }

    a[style*='padding'] {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

/* ============================================
   FIX ISSUES FROM LATEST UPDATE
   ============================================ */

@media (max-width: 768px) {

    /* Fix 1: Prevent logo from getting too big */
    .logo img {
        max-height: 60px !important;
        height: 60px !important;
    }

    /* Fix 3: Tour highlights - SVG left, text right (horizontal layout) */
    /* Target tour highlight items specifically */
    div[style*='display: flex'][style*='align-items: start'][style*='background: #fef3e2'] {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    /* Ensure icon box stays on left and maintains size */
    .icon-box {
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    /* Ensure text content wraps properly next to icon */
    div[style*='display: flex'][style*='align-items: start'][style*='background: #fef3e2']>div:not(.icon-box) {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* Also target white background tour highlights (yacht-sailing, etc.) */
    div[style*='display: flex'][style*='align-items: start'][style*='background: white'] {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    div[style*='display: flex'][style*='align-items: start'][style*='background: white']>div:not(.icon-box) {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* Also target gradient background tour highlights (dhow cruise, etc.) */
    div[style*='display: flex'][style*='align-items: start'][style*='background: linear-gradient(135deg, #ffffff 0%, #fef3e2 100%)'] {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    div[style*='display: flex'][style*='align-items: start'][style*='background: linear-gradient(135deg, #ffffff 0%, #fef3e2 100%)']>div:not(.icon-box) {
        flex: 1 !important;
        min-width: 0 !important;
    }

    /* Fix 4: Remove highlight from reviews scroll button */
    .reviews-section::after {
        background: transparent !important;
        color: rgba(245, 212, 160, 0.8) !important;
        box-shadow: none !important;
        padding: 5px 10px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
    }

    /* Fix 5: Increase heading sizes for better mobile readability */
    /* Target inline-styled headings (common in tour pages) */
    h1[style*='font-size'] {
        font-size: 36px !important;
    }

    h2[style*='font-size'] {
        font-size: 32px !important;
    }

    h3[style*='font-size'] {
        font-size: 22px !important;
    }

    h4[style*='font-size'] {
        font-size: 18px !important;
    }

    h5[style*='font-size'] {
        font-size: 16px !important;
    }

    /* Also target regular headings without inline styles */
    h1 {
        font-size: 36px !important;
    }

    h2 {
        font-size: 32px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    h5 {
        font-size: 16px !important;
    }
}


/* Desktop - ensure logo stays normal */
@media (min-width: 769px) {
    .logo img {
        height: 95px;
        width: auto;
    }
}

/* ============================================
   MOBILE TOUR GALLERY CAROUSEL
   ============================================ */

@media (max-width: 768px) {

    /* Convert gallery grid to horizontal carousel on mobile */
    div[style*='grid-template-columns: repeat(3, 1fr)'] {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 15px !important;
        padding: 0 5px 15px 5px !important;
        margin-bottom: 25px !important;
        scrollbar-width: none !important;
        /* Firefox */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    div[style*='grid-template-columns: repeat(3, 1fr)']::-webkit-scrollbar {
        display: none !important;
    }

    /* Gallery images in carousel */
    div[style*='grid-template-columns: repeat(3, 1fr)'] .gallery-img-wrapper {
        flex: 0 0 85% !important;
        scroll-snap-align: center !important;
        position: relative !important;
    }

    div[style*='grid-template-columns: repeat(3, 1fr)'] .tour-gallery-img {
        width: 100% !important;
        height: 280px !important;
        object-fit: cover !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    }

    /* Add swipe indicator dots below carousel */
    div[style*='grid-template-columns: repeat(3, 1fr)']::after {
        content: '●  ●  ●' !important;
        display: block !important;
        text-align: center !important;
        color: rgba(198, 123, 62, 0.4) !important;
        font-size: 12px !important;
        letter-spacing: 3px !important;
        margin-top: -10px !important;
        padding-bottom: 5px !important;
    }

    /* Enhanced overlay on hover/touch */
    .gallery-img-wrapper .gallery-overlay {
        background: rgba(0, 0, 0, 0.7) !important;
    }

    .gallery-img-wrapper:active .gallery-overlay {
        opacity: 1 !important;
    }
}

/* ============================================
   ENHANCED LIGHTBOX FOR MOBILE
   ============================================ */

/* Make lightbox fullscreen and add navigation */
#imageLightbox {
    background: rgba(0, 0, 0, 0.98) !important;
}

@media (max-width: 768px) {
    #imageLightbox {
        padding: 20px !important;
    }

    #lightboxImage {
        max-width: 100% !important;
        max-height: 85vh !important;
        border-radius: 10px !important;
    }

    /* Close button - larger on mobile */
    #imageLightbox button {
        width: 50px !important;
        height: 50px !important;
        font-size: 28px !important;
        /* Positioning removed to allow inline styles for Nav/Close buttons */
    }
}

/* ============================================
   ANIMATED MOBILE MENU
   ============================================ */

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s;
    z-index: 9998;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Overlay - Right Slide */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: linear-gradient(135deg, #2d1f15 0%, #1a120b 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 30px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Close Button Animation */
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #f5d4a0;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.4s ease, color 0.3s;
    margin-bottom: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(245, 212, 160, 0.1);
    color: #fff;
}

/* Nav Items & Staggered Animation */
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-nav-menu>li {
    margin-bottom: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-bottom: 1px solid rgba(245, 212, 160, 0.1);
}

.mobile-menu-overlay.active .mobile-nav-menu>li {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-nav-menu>li:nth-child(7) {
    transition-delay: 0.4s;
}

/* Links */
.mobile-nav-link,
.mobile-dropdown-toggle {
    color: #f5d4a0;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 15px 10px;
    transition: color 0.3s, background 0.3s;
}

.mobile-nav-link:hover,
.mobile-dropdown-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 20px;
    /* Slide indent effect */
}

/* Dropdown Content */
.mobile-dropdown-content,
.mobile-submenu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.mobile-dropdown.active>.mobile-dropdown-content,
.mobile-submenu.active>.mobile-submenu-content {
    max-height: 500px;
    transition: max-height 0.6s ease-in;
}

.mobile-dropdown-content a,
.mobile-submenu-content a {
    display: block;
    color: rgba(245, 212, 160, 0.8);
    text-decoration: none;
    padding: 12px 20px 12px 30px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.mobile-dropdown-content a:hover,
.mobile-submenu-content a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 40px;
}

/* Tour Page Layout - Desktop Restoration */
.desktop-tour-hero {
    display: block;
    width: 100%;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.desktop-tour-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.desktop-tour-hero:hover img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

/* Visibility Toggles */
@media (max-width: 768px) {
    .desktop-tour-hero {
        display: none !important;
    }

    .big-scroll-button {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-tour-hero-item {
        display: none !important;
    }
}