﻿
/* --- Base & Branding Variables --- */
:root
{
    --primary: #1e293b;
    --accent: #f59e0b;
    --text-dark: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI' , Arial, sans-serif;
}

/* --- Header Contact Bar (Responsive Layout) --- */
.top-bar
{
    background-color: var(--primary);
    color: var(--white);
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--accent);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left
{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-right
{
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar a
{
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.top-bar a:hover
{
    color: #d97706;
}

/* --- Navigation Grid --- */
.navbar
{
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 75px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container
{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon
{
    background: var(--primary);
    color: var(--accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.4rem;
    border: 2px solid var(--accent);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.logo
{
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo span
{
    color: var(--accent);
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: -2px;
}

.nav-links
{
    display: flex;
    list-style: none;
    height: 100%;
}

.nav-links > li
{
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a
{
    color: var(--primary);
    text-decoration: none;
    padding: 0 1.2rem;
    font-weight: 600;
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a:hover
{
    color: var(--accent);
    background-color: #f1f5f9;
}

/* --- Dropdowns --- */
.dropdown-menu
{
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    list-style: none;
    display: none;
    border-top: 3px solid var(--accent);
}

.dropdown-menu li a
{
    padding: 0.8rem 1.2rem;
    color: var(--text-dark);
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    width: 100%;
}

.dropdown:hover .dropdown-menu
{
    display: block;
}

/* --- Mobile Toggle --- */
.menu-toggle
{
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span
{
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* --- Image Slider Showcase --- */
.slider-container
{
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background-color: #000;
}

.slider
{
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide
{
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.slide-caption
{
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 600px;
}

.slide-caption h2
{
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--white);
}

.slide-caption p
{
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.btn-action
{
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-action:hover
{
    background-color: #d97706;
    transform: translateY(-2px);
}

.arrow
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.6);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 50%;
}
.prev
{
    left: 25px;
}
.next
{
    right: 25px;
}

/* --- Fleet & Tour Grid Container Section --- */
.main-wrapper
{
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.section-title
{
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--accent);
    padding-left: 0.75rem;
}

.fleet-grid, .tours-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.fleet-card
{
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.fleet-image-box
{
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.fleet-image-box img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fleet-info
{
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fleet-info h3
{
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.rate-table
{
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    margin-bottom: auto;
}

.rate-table td
{
    padding: 0.4rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

/* --- Dynamic New Tour Cards Styling --- */
.section-spacer
{
    margin-top: 3.5rem;
}

.tour-card
{
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.tour-card:hover
{
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.tour-image-box
{
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #cbd5e1;
}

.tour-image-box img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-duration-badge
{
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary);
    color: var(--accent);
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
}

.tour-info
{
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-info h3
{
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.tour-info p
{
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* --- Quick Booking Form Side Panel --- */
.sidebar-panel
{
    background-color: var(--white);
    padding: 1.75rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
    height: fit-content;
    position: sticky;
    top: 95px;
}

.form-group
{
    margin-bottom: 1.25rem;
}

.form-group label
{
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea
{
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
}

.submit-btn
{
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

/* --- Responsive Styles --- */
@media (max-width: 992px)
{
    .main-wrapper
    {
        grid-template-columns: 1fr;
    }
    .sidebar-panel
    {
        position: static;
    }
}

@media (max-width: 768px)
{
    .top-bar
    {
        padding: 0.6rem 1rem;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    .top-bar-right
    {
        justify-content: center;
        gap: 0.8rem;
    }

    .menu-toggle
    {
        display: flex;
    }

    .nav-links
    {
        position: absolute;
        top: 75px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 75px);
        transition: 0.3s ease;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    }

    .nav-links.active
    {
        left: 0;
    }
    .nav-links > li
    {
        width: 100%;
    }
    .nav-links a
    {
        height: auto;
        padding: 1.2rem 2rem;
        width: 100%;
    }

    .dropdown-menu
    {
        position: static;
        box-shadow: none;
        background-color: #f8fafc;
        display: none;
    }
    .dropdown.active .dropdown-menu
    {
        display: block;
    }
    .slide-caption h2
    {
        font-size: 2rem;
    }
    .slider-container
    {
        height: 45vh;
    }
}
