/* * -------------------------------------------
 * Tablet Styles (e.g., 768px and up)
 * -------------------------------------------
 */
@media (min-width: 768px) {
    .container { width: 90%; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.8rem; } /* Serif headings */
    .section-title { font-size: 2.8rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .static-page-header h1, .page-header-simple h1, .dest-detail-title, .single-post-title h1, .contact-header h1 { font-size: 3rem; }

    /* --- Desktop Navigation (Logo Left) --- */
    .main-nav {
        display: flex;
        justify-content: space-between; /* Logo left, Links right */
        align-items: center;
        height: 100%;
        position: static;
    }
    .logo-link {
        position: static;
        transform: none;
        padding: 0; /* Remove padding if not needed */
        flex-shrink: 0; /* Prevent logo shrinking */
    }
    .logo-image {
         max-height: 55px; /* Adjust as needed */
    }
    .nav-toggle { display: none; } /* Hide hamburger */

    .nav-menu { /* Applies to the main ul containing all links */
        display: flex !important; /* Override mobile */
        flex-direction: row;
        position: static;
        height: auto;
        width: auto;
        background-color: transparent;
        backdrop-filter: none;
        padding-top: 0;
        overflow: visible;
        align-items: center; /* Vertically align items */
    }

    /* Nav item styles for horizontal layout */
    .nav-item {
        width: auto;
        margin: 0 0 0 1.5rem; /* Space items to the left */
        margin-bottom: 0;
        position: relative; /* Needed for dropdown */
    }
    .nav-link { /* Uppercase, bold sans-serif */
        padding: 0.5rem 0.2rem;
        font-family: var(--font-body);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        position: relative;
        color: var(--text-dark);
    }
    .nav-link:hover { color: var(--secondary-color); }
    .nav-link::after { display: none; } /* No underline */
    .dropdown-toggle .arrow-down { border-top-color: var(--text-dark); }

    /* --- Desktop Dropdown --- */
    .dropdown-menu {
        display: none;
        position: absolute;
        top: calc(100% + 20px); /* Position below parent + spacing */
        left: 50%; /* Center under parent */
        transform: translateX(-50%); /* Adjust centering */
        background-color: #FFF;
        box-shadow: var(--shadow-medium);
        border-radius: var(--border-radius);
        min-width: 240px;
        z-index: 1010;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        border: 1px solid var(--border-light);
        padding: 0.5rem 0;
        transform-origin: top center; /* Animation origin */
    }
    /* Align dropdown right if it's one of the last items */
    .nav-item:nth-last-child(-n+2) .dropdown-menu { /* Target last 2 items */
         left: auto;
         right: 0;
         transform: translateX(0); /* Reset transform */
    }

    .nav-item.has-dropdown:hover .dropdown-menu { /* Show on hover */
        display: block;
        opacity: 1;
        transform: translateX(-50%) translateY(0); /* Center align */
    }
     /* Align right dropdowns on hover */
    .nav-item:nth-last-child(-n+2):hover .dropdown-menu {
         transform: translateX(0) translateY(0);
    }

    .dropdown-link { /* Uppercase, bold sans-serif */
        padding: 0.7rem 1.5rem;
        color: var(--text-dark);
        font-size: 0.8rem; /* Match nav */
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        white-space: nowrap; /* Prevent wrapping */
    }
    .dropdown-link:hover {
        background-color: var(--accent-light);
        color: var(--primary-color);
    }
    /* --- Content Sections (Side-by-Side) --- */
    .content-section {
        display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
        width: 90%; padding: 5rem 0;
    }
    .content-section.reverse .content-image { order: 2; }
    .content-section.reverse .content-text { order: 1; }
    .content-text { text-align: left; }
    .content-text h2 { font-size: 2.5rem; } /* Serif */
    .content-text p { font-size: 1.05rem; } /* Sans-serif */

    /* --- Grids --- */
    .tours-grid, .destinations-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .fleet-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }

} /* End Tablet Styles */


/* * -------------------------------------------
 * Desktop Styles (e.g., 1024px and up)
 * -------------------------------------------
 */
@media (min-width: 1024px) {
    .container { width: 85%; }
    h1 { font-size: 3.2rem; }
    h2 { font-size: 3rem; }
    .section-title { font-size: 3rem; margin-bottom: 3.5rem; }
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .static-page-header h1, .page-header-simple h1, .dest-detail-title, .single-post-title h1, .contact-header h1 { font-size: 3.5rem; }

    /* --- Nav --- */
    .nav-item { margin: 0 1rem; }
    .logo-image { max-height: 60px; }

    /* --- Content Sections --- */
    .content-section { gap: 4rem; padding: 6rem 0; }
    .content-text h2 { font-size: 2.8rem; }

    /* --- Grids --- */
    .tours-grid, .destinations-grid, .fleet-grid, .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }

} /* End Desktop Styles */


/* * -------------------------------------------
 * Larger Desktop Styles (e.g., 1280px and up)
 * -------------------------------------------
 */
@media (min-width: 1280px) {
     .container { width: 80%; max-width: 1280px; } /* Use max-width */
     .hero-title { font-size: 4.5rem; }
     .hero-subtitle { font-size: 1.4rem; }
} /* End Larger Desktop */
/* * -------------------------------------------
     * Content Sections (Desktop Layout)
     * -------------------------------------------
     */
    @media (min-width: 768px) {
        .content-section {
            grid-template-columns: 1fr 1fr; /* 50/50 split */
            gap: 3rem;
            width: 90%; /* Match container width */
            padding: 5rem 0;
        }

        /* This rule creates the alternating layout */
        .content-section.reverse .content-image {
            order: 2; /* Move image grid item to the second column */
        }
        .content-section.reverse .content-text {
            order: 1; /* Move text grid item to the first column */
        }

        .content-text {
            text-align: left; /* Align text left on desktop */
        }
        .content-text h2 {
            font-size: 2.5rem;
        }
         .content-text p {
             font-size: 1.05rem;
         }
    }

    @media (min-width: 1024px) {
         .content-section {
              gap: 4rem; /* More gap */
              width: 85%;
              padding: 6rem 0;
         }
         .content-text h2 {
             font-size: 2.8rem;
         }
    }
    /* * -------------------------------------------
 * NEW: Corporate & Logistics Services (Phase 1)
 * -------------------------------------------
 */

/* Hero Specifics for Homepage */
/* This allows us to remove the inline style from home.php */
.hero-section.home-hero .hero-background {
    background-image: url('../images/home-cover.jpeg'); 
}

/* Service Cards Grid (The 3 Boxes) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    border-bottom-color: var(--secondary-color);
}

/* Responsive Grid for Services (Desktop) */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Phase 2: Group Travel Page Styles */
.header-group-travel {
    background-image: url('../images/dest-chobe.jpg'); /* Reusing the Chobe image for now as it implies travel */
    background-position: center;
}

/* Feature List for Group Page */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #555;
}
.feature-list li::before {
    content: '\2713'; /* Checkmark */
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}
/* Phase 3: Transfer Page Styles */
.header-transfers {
    background-image: url('../images/dest-okavango.jpg'); /* Using Okavango image for the 'journey' feel */
    background-position: center;
}

/* Routes Table */
.routes-table-container {
    overflow-x: auto; /* Ensures table scrolls on mobile */
    margin: 2rem 0 3rem;
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.routes-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95rem;
    min-width: 600px; /* Forces scroll on small screens */
}

.routes-table th {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 1.5rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 700;
}

.routes-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: #555;
}

.routes-table tr:last-child td {
    border-bottom: none;
}

.routes-table tr:hover {
    background-color: var(--bg-light);
}

.routes-table .route-name {
    font-weight: 700;
    color: var(--primary-color);
}
/* Phase 5: About Page Styles */
.header-about {
    background-image: url('../images/home-cover.jpeg'); /* Reusing cover or a specific founder image if you have one */
    background-position: top center;
}

/* Founder/Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* The Safety "Why Us" Box */
.safety-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.safety-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.credential-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background: #fff;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    color: var(--secondary-color);
}