﻿/* ===================================
   JET CABS - Premium Car Rental CSS
   =================================== */

/* 1. Variables & Reset */
:root {
    /* Brand Colors */
    --primary: #0066cc;
    /* Premium Royal Blue */
    --dark: #000000;
    /* Pure Black for theme */
    --light: #e6f0ff;
    /* Light Blue tint */
    --gold: #0066cc;
    /* Replaced Gold with Blue */
    --gold-dark: #004c99;
    /* Darker Blue */

    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;

    /* Fonts */
    --font-head: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Effects */
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
}

.blue-accent {
    color: var(--gold);
    /* Uses the new blue variable */
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

/* 3. Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(65, 105, 225, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(65, 105, 225, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
}

.btn-full {
    width: 100%;
}

/* 4. Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.9);
    /* Darker background for readability */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-head);
    display: flex;
    gap: 0.25rem;
}

.logo-jet {
    color: var(--primary);
}

.logo-cabs {
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    /* Hidden on Desktop */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Active State for Hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 5. Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 0;
    /* Fix for potential gaps */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 1200px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-mouse {
    width: 2rem;
    height: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    position: relative;
}

.scroll-wheel {
    width: 0.375rem;
    height: 0.625rem;
    background: var(--white);
    border-radius: 0.25rem;
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 0.5rem;
    }

    100% {
        opacity: 0;
        top: 2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. Rental Section */
.rental-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.car-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.car-image-title {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 1;
}

.car-content {
    padding: 1.5rem;
}

.car-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.car-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.car-features {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.car-features li {
    font-size: 0.875rem;
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-right: 4px;
    /* Added spacing */
}

/* 7. Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 8. About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--gold-dark);
    width: 24px;
    height: 24px;
    min-width: 24px;
    /* Prevent shrinking */
}

.vision-box {
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--gold);
}

/* =========================================================
   UPDATED TEAM SECTION (Board Of Directors)
   To match reference: Gold strip on left, dark image bg
   ========================================================= */
.team-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3/4;
    /* Matches portrait orientation */
    overflow: hidden;
    background-color: #2a2a2a;
    /* Dark background as per ref */
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the container, standardizing the look */
    object-position: center top;
    /* Aligns to top to prevent cutting off heads */
    transition: transform 0.5s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.03);
}

/* Updated Banner Style - Full height strip on left */
.team-banner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    /* Full height of the image wrapper */
    width: 50px;
    background-color: #d4af37;
    /* Gold color */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    z-index: 10;

    /* Center text vertically */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Text Orientation: Reads Bottom-to-Top */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.team-banner span {
    display: block;
    text-transform: uppercase;
    white-space: nowrap;
}

.team-image-overlay {
    position: absolute;
    inset: 0;
    /* Subtler gradient to ensure text readability */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    z-index: 1;
}

/* Updated Info Position - Bottom Left */
.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    /* Left padding creates space for the gold banner */
    z-index: 2;
    text-align: left;
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
}

.team-role {
    color: #FFD700;
    /* Gold text for role */
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
    margin-top: 5px;
}

.team-content {
    padding: 2rem 1.5rem;
    text-align: left;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.team-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.team-socials a {
    color: var(--gray-400);
    transition: color 0.3s;
}

.team-socials a:hover {
    color: var(--primary);
}

.team-socials svg {
    width: 20px;
    height: 20px;
}

/* 9. Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    background-color: var(--gray-100);
    padding: 1rem;
    border-radius: 50%;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

/* 10. Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-head);
    display: flex;
    gap: 0.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-700);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* =================================================================
   MEDIA QUERIES (Mobile Responsiveness)
   ================================================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Navigation Mobile Styles */
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        /* Below navbar */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        gap: 2rem;
        padding: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    /* Content Adjustments */
    .hero-title {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo,
    .footer-logo {
        justify-content: center;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* =================================================================
   DIRECTOR PROFILE PAGES
   ================================================================= */
.director-page {
    padding: 8rem 0 5rem;
    background-color: var(--gray-50);
    min-height: 100vh;
}

.director-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.director-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background-color: #2a2a2a;
}

.director-image-wrapper img {
    width: 100%;
    aspect-ratio: 3/4;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.director-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.director-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.director-name {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-head);
}

.director-role {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.director-bio {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.director-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.director-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}

.director-contact-item:hover {
    color: var(--primary);
}

.director-contact-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.director-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.director-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-600);
    transition: var(--transition);
}

.director-social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.director-social-link svg {
    width: 20px;
    height: 20px;
}

.btn-touch {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(65, 105, 225, 0.2);
}

.btn-touch:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(65, 105, 225, 0.3);
}

/* Director Pages Mobile Responsiveness */
@media (max-width: 992px) {
    .director-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .director-content {
        padding: 2rem;
    }

    .director-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .director-page {
        padding: 6rem 0 3rem;
    }

    .director-content {
        padding: 1.5rem;
    }

    .director-name {
        font-size: 1.75rem;
    }

    .director-role {
        font-size: 1rem;
    }

    .director-bio {
        font-size: 1rem;
    }
}

/* Booking Box Styles */
.booking-box-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8%;
    /* Left aligned */
    width: 100%;
    max-width: 400px;
    /* Card width */
    z-index: 50;
}

.booking-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    /* Vertical stack */
    gap: 1.25rem;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.input-group {
    flex: 1;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    z-index: 2;
    display: flex;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.booking-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gray-900);
    transition: all 0.3s ease;
    background: white;
}

.booking-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(214, 163, 84, 0.2);
}

.booking-btn {
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.booking-btn:hover {
    background: #b58b44;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 163, 84, 0.3);
}

/* Autocomplete Dropdown */
.autocomplete-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 99;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
}

.autocomplete-items.active {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.focused {
    background-color: #f8fafc;
}

.autocomplete-item strong {
    color: var(--gray-900);
    font-weight: 600;
}

.autocomplete-item .item-text {
    display: flex;
    flex-direction: column;
}

.autocomplete-item .item-text small {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* Mobile Responsiveness for Booking Box */
@media (max-width: 768px) {
    .booking-box-container {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin-top: -3rem;
        margin-bottom: 3rem;
    }

    .booking-box {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .input-group,
    .booking-btn {
        width: 100%;
    }

    /* Adjust Hero Title on mobile to make room */
    .hero-title {
        font-size: 2.5rem;
        margin-top: -2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}


.scroll-indicator,
.scroll-mouse,
.scroll-wheel {
    display: none !important;
}


/* Desktop Hero Alignment (to balance left booking box) */
@media (min-width: 992px) {
    .hero {
        justify-content: flex-end;
    }

    .hero-content {
        text-align: right;
        margin-right: 5%;
        max-width: 50%;
        /* Reduced width to avoid overlap */
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: relative;
        z-index: 60;
    }

    .hero-buttons {
        justify-content: flex-end;
    }

    .hero-title {
        font-size: 3rem;
        /* Reduced size */
        line-height: 1.2;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        /* Reduced size */
        background: rgba(0, 0, 0, 0.6);
        /* Darker backdrop */
        padding: 0.5rem 1rem;
        border-radius: 2rem;
        backdrop-filter: blur(4px);
        display: inline-block;
        margin-bottom: 2rem;
        white-space: nowrap;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {

    /* Navbar Adjustment for Profile Icon */
    .nav-container {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    .logo {
        margin-right: auto;
        /* Push everything else to the right */
        order: 1;
    }

    .profile-dropdown-container {
        margin-left: 0;
        margin-right: 0;
        order: 3;
    }

    .hamburger {
        order: 2;
        margin-left: 0;
        /* Reset auto margin */
        margin-right: 1rem;
        /* Space between hamburger and profile */
    }

    .nav-menu {
        z-index: 1001;
    }

    /* Hero Section Stacking Order */
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-content {
        order: 1;
        width: 100%;
        padding: 2rem 1rem 1rem;
        text-align: center;
        align-items: center;
        margin-right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        white-space: normal;
        text-align: center;
        margin-top: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        background: rgba(0, 0, 0, 0.4);
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        /* Reduced gap */
        margin-top: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        /* Slightly smaller padding */
        font-size: 1rem;
    }



    /* Reset Booking Box Position for Stacking */
    .booking-box-container {
        order: 2;
        /* Second: Booking Box */
        position: static;
        /* Remove absolute positioning */
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem 2rem 1rem;
        margin: 0;
        z-index: 1;
    }

    .booking-box {
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.98);
        /* Less transparent on mobile for readability */
    }

    .rental-options {
        flex-direction: column;
    }
}

/* Rental Options in Service Cards */
.rental-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rental-option-btn {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    background: transparent;
    border-radius: 0.5rem;
    color: var(--gray-600);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.rental-option-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.rental-option-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Ensure button stacks on very small screens if needed */
@media (max-width: 400px) {
    .rental-options {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Profile Dropdown Styles */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.profile-icon-btn {
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

.profile-icon-btn:hover,
.profile-icon-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 102, 204, 0.05);
}

.profile-avatar-icon {
    width: 24px;
    height: 24px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    min-width: 200px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    padding: 0.5rem 0;
}

.dropdown-menu.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    /* Gap spacing */
}

/* Mobile Responsive Dropdown */
@media (max-width: 768px) {

    /* Keep profile icon compact on small screens so it stays in the navbar
       next to the hamburger. Do not expand to full width. */
    .profile-dropdown-container {
        width: auto;
        margin: 0;
        text-align: right;
    }

    .profile-icon-btn {
        margin: 0;
    }

    /* Keep dropdown positioned absolutely so it appears below the button
       instead of taking the full mobile menu space. */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--gray-100);
        background: var(--white);
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        text-align: left;
    }

    .dropdown-item {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }
}

/* ===== Auth Modal Styles ===== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem 1rem;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 450px;
    width: 100%;
    padding: 3rem 2.5rem;
    animation: slideUp 0.4s ease forwards;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal.active .modal-content {
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

.auth-modal.closing .modal-content {
    animation: slideDown 0.3s ease forwards;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-900);
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-family: var(--font-head);
}

.modal-subtitle {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Form Styles for Modal */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background: var(--light);
}

.form-input.error {
    border-color: #ef4444;
    background: #fecaca;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.password-toggle {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    color: var(--primary);
}

.password-toggle-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.auth-footer a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Scrollbar Styling for Modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .modal-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }

    .modal-logo {
        font-size: 1.75rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-form {
        gap: 1rem;
    }
}