/* Layout Specific Styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--padding-md);
}

/* Main Header */
.main-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    padding: var(--padding-sm) 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust logo size */
}

.nav-menu {
    display: flex;
    gap: var(--padding-md);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-color-dark);
    font-weight: 600;
    padding: 10px 0;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.has-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1;
    border-radius: var(--border-radius);
    padding: 10px 0;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px var(--padding-md);
    white-space: nowrap;
    color: var(--text-color-dark);
    font-weight: 400;
}

.dropdown-menu li a:hover {
    background-color: var(--light-grey-bg);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--padding-sm);
}

/* Hamburger Menu (hidden by default on desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-dark);
    position: relative;
    transition: all var(--transition-speed) ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-dark);
    position: absolute;
    transition: all var(--transition-speed) ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}


/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 600px; /* Adjust height as needed */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom for slider dots */
}

.hero-main-content {
    display: flex;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: inherit; /* Inherit color from parent */
}

.hero-text .lead-text {
    font-size: 1.2rem;
    font-weight: 400;
}

.hero-side-content {
    flex-basis: 30%; /* Fixed width for side content */
    display: flex;
    flex-direction: column;
}

.hero-side-content .side-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-side-content .side-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-side-content .side-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
}

.hero-side-content .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.hero-side-content .side-item p {
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.dot.active,
.dot:hover {
    background-color: var(--white-color);
}

/* Grids for various sections */

/* USP Grid */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
    justify-content: center;
}

/* Tour Grid (for featured tours) */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
}

/* Tour Type Grid */
.tour-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
    justify-content: center;
}


/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--padding-sm);
    margin-top: var(--margin-lg);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
    justify-content: center;
}

/* 8-Point USP Grid */
.usp-grid-8-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--padding-md);
    margin-top: var(--margin-lg);
}


/* Main Footer */
.main-footer {
    background-color: var(--text-color-dark);
    color: var(--white-color);
    padding: var(--padding-lg) 0 var(--padding-md);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--padding-md);
    margin-bottom: var(--padding-md);
}

.footer-logo {
    height: 60px; /* Adjust footer logo size */
    margin-bottom: var(--margin-sm);
}

.footer-col h4 {
    color: var(--white-color);
    margin-bottom: var(--margin-sm);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: var(--margin-sm);
    margin-top: var(--margin-sm);
}

.social-links img {
    width: 30px;
    height: 30px;
    transition: transform var(--transition-speed) ease;
}

.social-links a:hover img {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--padding-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}