/* --- GLOBAL VARIABLES --- */
:root {
    --primary-yellow: #f9c935;
    --primary-black: #201f1e;
    --text-gray: #4b4b4b;
    --light-bg: #f9f9f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { color: var(--primary-black); line-height: 1.6; }

a { text-decoration: none; color: inherit; }

/* --- HEADER --- */
header {
    background: white;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 24px; font-weight: 700; background: var(--primary-yellow); padding: 5px 15px; border-radius: 20px; }

/* --- MOBILE MENU STYLES --- */
/* Hide the toggle button on desktop/laptop */
.menu-toggle {
    display: none;
}

/* Styles for Mobile Screens (Phones/Tablets) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-black);
    }

    .nav-links {
        position: absolute;
        top: 100%; /* Pushes menu right below the header */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column; /* Stack links vertically */
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        
        /* Animation: Slide Up/Down */
        transform: translateY(-200%); 
        transition: transform 0.3s ease-in-out;
        z-index: -1; /* Start hidden behind header */
    }

    /* This class is added by JS to show the menu */
    .nav-links.active {
        transform: translateY(0);
        z-index: 999;
    }

    .nav-links a {
        margin: 15px 0;
        display: block;
    }
    
    .btn-login {
        margin-left: 0;
        margin-top: 10px;
    }
}

.nav-links a { margin-left: 25px; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-yellow); }

.btn-login {
    border: 1px solid var(--primary-black);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}
.btn-login:hover { background: var(--primary-black); color: white; }

/* --- USER DROPDOWN (After Login) --- */
.user-dropdown { position: relative; display: inline-block; }
.user-name { font-weight: bold; color: var(--primary-black); display: flex; align-items: center; gap: 8px; }
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 8px;
    overflow: hidden;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-left: 0 !important; /* Override nav styles */
}
.dropdown-content a:hover { background-color: #f1f1f1; }
.user-dropdown:hover .dropdown-content { display: block; }

/* --- MODAL STYLES --- */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

.modal-box {
    background-color: white;
    margin: 10% auto; /* 10% from top, centered */
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}
.close-modal:hover { color: black; }

.modal-header h2 { margin-bottom: 5px; color: var(--primary-black); }
.modal-header p { color: var(--text-gray); font-size: 14px; margin-bottom: 25px; }
.modal-footer { margin-top: 20px; text-align: center; font-size: 14px; }
.modal-footer a { color: var(--primary-yellow); font-weight: bold; }

/* --- HERO SECTION --- */
.hero {
    background: url('/images/hero-bg.png'); center/cover; /* Add a subtle map background image here */
    padding: 100px 5%;
    text-align: center;
    position: relative;
}
.hero::before { content: ""; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(255,255,255,0.85); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3rem; margin-bottom: 30px; }

/* --- BOOKING WIDGET --- */
.booking-widget {
    background: white;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.input-group { margin-bottom: 15px; position: relative; }
.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #888; }
.btn-book {
    width: 100%;
    padding: 15px;
    background: var(--primary-yellow);
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}
/* --- VALUE SECTION LAYOUT --- */
.value-section {
    padding: 100px 0;
    background: #fff;
}

.value-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TEXT STYLING --- */
.text-content {
    flex: 1; /* Takes up 50% width */
    max-width: 500px;
}

.text-content h2 {
    font-size: 3rem; /* Large heading */
    line-height: 1.2;
    color: #201f1e; /* Dark Black */
    font-weight: 700;
    margin-bottom: 15px;
}

.yellow-underline {
    width: 60px;
    height: 5px;
    background: #f9c935; /* Rapido Yellow */
    border-radius: 5px;
    margin-bottom: 25px;
}

.text-content p {
    font-size: 1.1rem;
    color: #4b4b4b; /* Grey text */
    margin-bottom: 35px;
    line-height: 1.6;
}

/* --- BLACK BUTTON --- */
.btn-black {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Space between text and arrow */
    background: #201f1e;
    color: white;
    padding: 14px 35px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-black:hover {
    transform: translateY(-3px); /* Slight lift on hover */
    background: #333;
}

.btn-black i {
    font-size: 14px;
}

/* --- 4-IMAGE GRID LAYOUT --- */
.image-content {
    flex: 1; /* Takes up 50% width */
}

.grid-collage {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    grid-template-rows: 1fr 1fr;    /* 2 Rows */
    gap: 20px; /* Space between images */
}

.grid-img {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover;
    border-radius: 24px; /* Heavy rounded corners matching screenshot */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.grid-img:hover {
    transform: scale(1.02);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .value-container {
        flex-direction: column; /* Stack vertically on mobile */
        text-align: center;
    }

    .yellow-underline {
        margin: 0 auto 25px auto; /* Center underline */
    }

    .grid-collage {
        gap: 15px;
    }
    
    .grid-img {
        height: 150px; /* Smaller images on mobile */
    }
}

/* --- SERVICES GRID --- */
.services-section { padding: 60px 5%; text-align: center; background: white; margin-top: -50px; position: relative; z-index: 3; border-radius: 40px 40px 0 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 30px; margin-top: 40px; }
.service-item { cursor: pointer; transition: 0.3s; }
.service-item:hover { transform: translateY(-5px); }
.icon-box { background: #f0f0f0; width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 10px; display: flex; justify-content: center; align-items: center; font-size: 30px; }

/* --- SAFETY SECTION STYLES --- */

/* 1. The Blue Link (Know More) */
.btn-link {
    color: #2b62d9; /* Standard Blue */
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #1a4ab8; /* Darker blue on hover */
}

.btn-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(5px); /* Arrow moves right on hover */
}

/* 2. Single Large Image Styling */
.single-image-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligns image to the right */
}

.single-rounded-img {
    width: 100%;
    max-width: 550px; /* Limits width so it doesn't get too huge */
    height: 350px;    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .single-rounded-img {
        height: 250px; /* Smaller height on mobile */
        max-width: 100%;
    }
    
    .single-image-wrapper {
        justify-content: center; /* Center image on mobile */
        margin-top: 20px;
    }
}
/* --- FOOTER --- */
footer { background: white; padding: 50px 5% 20px; border-top: 1px solid #eee; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col h4 { margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-gray); margin-bottom: 10px; }
.copyright { text-align: center; margin-top: 40px; color: #aaa; font-size: 14px; }