:root {
    --primary-black: #050505;
    --secondary-black: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.8);
    --gold: #d4af37;
    --gold-hover: #b5952f;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-black);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.gold-text {
    color: var(--gold);
}

.italic {
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary,
.btn-gold {
    background: var(--gold);
    color: var(--primary-black);
    border: 1px solid var(--gold);
}

.btn-primary:hover,
.btn-gold:hover {
    background: transparent;
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-black);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    opacity: 0.9;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    color: var(--gold);
    border-radius: 2px;
}

.btn-nav:hover {
    background: var(--gold);
    color: var(--primary-black);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    /* Fallback/Overlay */
    background-color: var(--primary-black);
}

/* Gradient Fade at the bottom to blend with content */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--primary-black));
    z-index: 2;
    pointer-events: none;
}

/* If hero image fails to load or isn't there yet, this gradient helps */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(5, 5, 5, 1) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Fleet */
.fleet {
    background: var(--secondary-black);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.fleet-card {
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fleet-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fleet-card:hover .fleet-image img {
    transform: scale(1.05);
}

.fleet-info {
    padding: 30px;
}

.fleet-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.fleet-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.fleet-specs {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.fleet-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.fleet-specs i {
    color: var(--gold);
}

/* Booking */
.booking {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('../images/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
}

.booking-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.booking-header {
    margin-bottom: 50px;
}

.booking-widget-container {
    background: var(--card-bg);
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.widget-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.widget-placeholder i {
    font-size: 3rem;
    color: var(--gold);
}

/* Contact Form Section */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)), url('../images/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(10, 10, 10, 0.6);
    padding: 60px 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold border match */
    border-radius: 4px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: var(--text-muted);
}

.footer-links li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-black);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    /* Adjust Grid for Mobile */
    .fleet-grid {
        grid-template-columns: 1fr;
        /* Force single column on mobile */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Form Mobile */
    .contact-form {
        padding: 30px 20px;
    }

    .booking-widget-container {
        padding: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto 0;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .btn-outline {
        margin-left: 0;
    }
}

/* Modal Styles */
.modal {
    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.8);
    /* Black backdrop */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--gold);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold);
}