/* 1. Global Reset & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden; /* Critical for mobile to prevent shaking */
}

/* 2. Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-logo {
    height: 50px;
    /* Fix for black logo background - makes white transparent */
    mix-blend-mode: multiply; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 400;
}

.book-now-btn a {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevents button text breaking */
}

/* 3. Hero Section & Layers */
header {
    height: 90vh; /* Full height on laptops */
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden; 
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10; 
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.sub-headline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem; /* Large on Laptop */
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.btn-primary {
    background: white;
    color: black;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #ddd;
}

/* --- Decorative Layers (The Magic) --- */
.floating-deco, .mountain-layer {
    position: absolute;
    pointer-events: none;
    mix-blend-mode: screen; 
}

/* Big ACE Text */
.deco-ace {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0.4;
    z-index: 2;
}

/* Balloons */
.deco-balloon-1 {
    top: 15%;
    right: 15%;
    width: 120px;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.deco-balloon-2 {
    top: 25%;
    left: 10%;
    width: 180px;
    z-index: 4;
    animation: float 8s ease-in-out infinite reverse;
}

/* Mountains */
.mountain-layer {
    bottom: 0;
    left: 0;
    width: 100%;
}

.deco-peak {
    height: 70%;
    object-fit: cover;
    z-index: 3;
    opacity: 0.9;
}

.deco-slope {
    height: 45%;
    object-fit: cover;
    z-index: 6; 
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 4. Banner Strip */
.banner-strip img {
    width: 100%;
    display: block;
}

/* 5. About Section */
.split-section {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on mobile */
    align-items: center;
    background: #f4f4f4;
}

.split-image, .split-text {
    flex: 1;
    min-width: 300px; /* Ensures it wraps if screen is too small */
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-text {
    padding: 4rem;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    margin-top: 2rem;
    padding: 10px 25px;
    border: 1px solid black;
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: black;
    color: white;
}

/* 6. Services Grid */
.services-section {
    padding: 4rem 5%;
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
}

.grid-container {
    display: grid;
    /* Changed minmax to 280px to fit smaller phones better */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.image-wrapper {
    height: 200px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.link-btn {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    border-bottom: 1px solid black;
    padding-bottom: 2px;
}

/* 7. Why Choose Us */
.why-us-section {
    text-align: center;
    padding: 2rem 5%;
    background: white;
}
.why-us-section img {
    max-width: 1000px;
    width: 100%;
}

/* 8. Footer */
footer {
    background: #222;
    color: white;
    padding: 4rem 5% 1rem;
}

.footer-split {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.address-box h4, .form-box h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-icons {
    margin-top: 20px;
}
.social-icons img {
    width: 25px;
    margin-right: 15px;
    filter: invert(1); 
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    background: #333;
    border: none;
    color: white;
    margin-bottom: 10px;
}

button[type="submit"] {
    padding: 10px 30px;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.bottom-bar {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* ========================================= */
/* RESPONSIVE DESIGN (DEVICES)         */
/* ========================================= */

/* TABLETS (iPad, etc.) - Width 768px to 1024px */
@media (max-width: 1024px) {
    header {
        height: 70vh; /* Slightly shorter hero */
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .deco-ace {
        width: 90%; /* Scale up background text */
    }
    .split-text {
        padding: 2rem; /* Less padding on About section */
    }
}

/* MOBILE (Phones) - Width less than 768px */
@media (max-width: 768px) {
    /* Navigation: Simplify for mobile */
    .nav-links {
        display: none; /* Hides menu links on small phones to keep it clean */
        /* Note: A javascript menu is usually added here, but hiding is safe for now */
    }
    
    /* Hero Section adjustments */
    header {
        height: 80vh;
    }
    .hero-content h1 {
        font-size: 2.2rem; /* Smaller text for phone screens */
    }
    .deco-balloon-1 {
        width: 80px; /* Smaller balloons */
        top: 10%;
    }
    .deco-balloon-2 {
        width: 100px;
        top: 60%; /* Move second balloon down so it doesn't block text */
        left: 5%;
    }

    /* Stack the split section (Image on top, text below) */
    .split-section {
        flex-direction: column;
    }
    .split-image {
        height: 300px;
    }
    
    /* Adjust Footer */
    .footer-split {
        flex-direction: column;
        gap: 2rem;
    }
}
