/* 
 * Shuvo Car Rent - Ultra Luxury Theme 
 * Primary: Black (#0B0B0B) | Accent: Gold (#C9A24D)
 */

:root {
    --primary-bg: #0B0B0B;
    --secondary-bg: #111111;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --gold: #C9A24D;
    --gold-hover: #E0B355;
    --text-main: #FFFFFF;
    --text-muted: #B0B0B0;
    --border-gold: 1px solid rgba(201, 162, 77, 0.3);
    --shadow-gold: 0 0 20px rgba(201, 162, 77, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --gold-glow: 0 0 15px rgba(201, 162, 77, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.luxury-text {
    background: linear-gradient(45deg, #C9A24D, #F4E2B0, #C9A24D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 100px 0;
}

.btn-luxury {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    border-radius: 50px;
    /* Cuter rounded buttons */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.btn-luxury:hover {
    background: var(--gold);
    color: var(--primary-bg);
    box-shadow: 0 0 30px rgba(201, 162, 77, 0.6);
    transform: translateY(-2px);
}

.btn-luxury-filled:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 0 30px rgba(201, 162, 77, 0.4);
}

/* Pulse Animation for main buttons */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 162, 77, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(201, 162, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(201, 162, 77, 0);
    }
}

.btn-luxury-filled {
    animation: goldPulse 2s infinite;

}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    /* Initially transparent */
}

header.scrolled {
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(201, 162, 77, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.4);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
    /* Subtle zoom effect */
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 80px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Stats */
.hero-stats {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 80px;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-family: var(--font-heading);
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* About Section */
.about {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 48px;
    margin-bottom: 30px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 30px;
}

.about p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 20px;
}

.about-img-wrapper {
    position: relative;
    border: 1px solid rgba(201, 162, 77, 0.3);
    padding: 10px;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 20px;
    /* Softer corners */
    backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Fleet Section */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.fleet-card {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* Softer corners for fleet cards */
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.fleet-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.fleet-img-container {
    height: 250px;
    overflow: hidden;
}

.fleet-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fleet-card:hover .fleet-img-container img {
    transform: scale(1.1);
}

.fleet-info {
    padding: 30px;
}

.fleet-name {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.fleet-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.spec-item {
    font-size: 14px;
    color: var(--text-muted);
}

.spec-item i {
    color: var(--gold);
    margin-right: 5px;
}

.fleet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 20px;
    color: var(--gold);
    font-weight: 700;
}

.price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Owner Section */
.owner-card {
    background: var(--secondary-bg);
    border: 1px solid rgba(201, 162, 77, 0.2);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    /* Enhanced background */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 2px var(--gold);
    /* Pop effect */
}

.owner-img-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    padding: 5px;
    box-shadow: var(--gold-glow);
}

.owner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.owner-signature {
    font-family: 'Great Vibes', cursive;
    /* Optional fancy font if available, else fallback */
    font-size: 30px;
    color: var(--gold);
    margin-top: 20px;
}

/* Testimonials */
/* Testimonials Slider */
.testimonial-slider-container {
    width: 60%;
    margin: 50px auto 0;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    /* Important: each card takes full width of container */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
}

.quote-icon {
    font-size: 40px;
    color: rgba(201, 162, 77, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--gold);
}

.client-details h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 2px;
}

.client-details span {
    font-size: 12px;
    color: var(--text-muted);
}

.stars {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 5px;
}

/* Mobile */
/* =========================================
   Mobile Responsiveness & Media Queries
   ========================================= */

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .section-title {
        font-size: 40px;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {

    /* Global Adjustments */
    html,
    body {
        overflow-x: hidden;
        /* Prevent horizontal scroll */
        width: 100%;
    }

    .container {
        width: 92%;
        padding: 0 15px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 30px;
        line-height: 1.2;
    }

    /* Navigation */
    .nav-container {
        position: relative;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        /* Fixed to cover screen */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1000;
        transition: transform 0.3s ease;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        font-size: 20px;
        /* Larger links for touch */
    }

    /* Hero */
    .hero h1 {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        /* Stack buttons */
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .btn-luxury {
        width: 100%;
        /* Full width buttons */
        text-align: center;
        padding: 14px 20px;
    }

    .hero-stats {
        display: none;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrapper {
        order: -1;
    }

    /* Services, Fleet, Reviews */
    .services-grid,
    .fleet-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .fleet-img-container {
        height: 200px;
    }

    .testimonial-slider-container {
        width: 100%;
        margin-top: 30px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .quote-icon {
        font-size: 24px;
        top: 15px;
        right: 15px;
    }

    /* Owner Section */
    .owner-card {
        padding: 40px 20px;
    }

    .owner-img-container {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    /* Booking Form */
    #booking-form {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    #booking-form div[style*="column-span"] {
        grid-column: span 1;
    }

    /* Footer */
    footer .container>div {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
    }

    footer ul li {
        justify-content: center;
    }
}