/* ==============================
   Global Styles & Reset
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #404040;
    --light-color: #ffffff;
    --dark-color: #0a0a0a;
    --overlay-color: rgba(10, 10, 10, 0.75);
    --text-white: #ffffff;
    --text-gray: #cccccc;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: #333;
}

/* ==============================
   Force Mobile Layout (for iframe/masked redirects)
   ============================== */
body.force-mobile .container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

body.force-mobile .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

body.force-mobile .col-md-4,
body.force-mobile .col-md-6,
body.force-mobile .col-lg-4,
body.force-mobile .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

body.force-mobile .rental-card,
body.force-mobile .featured-car-card,
body.force-mobile .review-card {
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

body.force-mobile .rental-card *,
body.force-mobile .featured-car-card *,
body.force-mobile .review-card * {
    pointer-events: auto !important;
}

body.force-mobile .hero-overlay {
    pointer-events: none !important;
}

body.force-mobile .hero-content {
    pointer-events: auto !important;
    z-index: 100 !important;
}

body.force-mobile .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(26, 26, 26, 0.98) !important;
    padding: 20px !important;
}

body.force-mobile h1 {
    font-size: 2rem !important;
}

body.force-mobile h2 {
    font-size: 1.75rem !important;
}

body.force-mobile .hero-section {
    min-height: 100vh !important;
    padding: 80px 0 40px !important;
}

/* ==============================
   Hero Section
   ============================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: visible;
    padding: 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    pointer-events: auto;
}

/* ==============================
   Logo Section
   ============================== */
.logo-container {
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

.main-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
}

/* ==============================
   Rental Cards
   ============================== */
.rental-options {
    max-width: 1200px;
    margin: 0 auto;
}

.rental-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.rental-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.rental-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.rental-card-inner {
    text-align: center;
}

.rental-image {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rental-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.9));
}

.rental-card:hover .rental-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.95));
}

.rental-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.rental-description {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.rental-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2d2d2d, #404040);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rental-card:hover .rental-btn {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #404040, #555555);
    color: white;
}

/* ==============================
   Scroll Indicator
   ============================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   Responsive Design
   ============================== */

/* Tablets */
@media (max-width: 992px) {
    .main-logo {
        max-width: 160px;
    }
    
    .logo-text {
        font-size: 4.5rem;
        letter-spacing: 6px;
    }
    
    .logo-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    
    .logo-container {
        margin-bottom: 60px;
    }
    
    .rental-card {
        padding: 35px 25px;
    }
    
    .rental-title {
        font-size: 1.6rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .main-logo {
        max-width: 140px;
    }
    
    .logo-text {
        font-size: 3.5rem;
        letter-spacing: 4px;
    }
    
    .logo-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .logo-container {
        margin-bottom: 50px;
    }
    
    .rental-card {
        padding: 30px 20px;
        margin-bottom: 20px;
        position: relative;
        z-index: 10;
    }
    
    .rental-image {
        height: 180px;
    }
    
    .rental-title {
        font-size: 1.5rem;
    }
    
    .rental-description {
        font-size: 0.95rem;
    }
    
    .hero-section {
        background-attachment: scroll;
        min-height: auto;
        height: auto;
        overflow: visible;
        padding: 40px 0 80px 0;
        position: relative;
    }
    
    .hero-overlay {
        position: absolute;
        pointer-events: none;
    }
    
    .hero-content {
        padding: 20px;
        position: relative;
        z-index: 10;
        pointer-events: auto;
    }
    
    .hero-content * {
        pointer-events: auto;
    }
    
    .rental-card {
        pointer-events: auto;
    }
    
    .rental-card * {
        pointer-events: auto;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .main-logo {
        max-width: 120px;
    }
    
    .hero-section {
        min-height: auto;
        height: auto;
        align-items: flex-start;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .logo-text {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }
    
    .logo-subtitle {
        font-size: 0.9rem;
    }
    
    .rental-image {
        height: 160px;
    }
    
    .rental-title {
        font-size: 1.3rem;
    }
    
    .rental-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .main-logo {
        max-width: 100px;
    }
    
    .logo-text {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .rental-card {
        padding: 25px 15px;
    }
}

/* ==============================
   Additional Enhancements
   ============================== */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ==============================
   Mission Section
   ============================== */
.mission-section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.mission-content {
    padding: 50px 40px;
    background: rgba(26, 26, 26, 0.03);
    border-radius: 20px;
    border-left: 4px solid #2d2d2d;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #404040;
    margin: 0;
}

@media (max-width: 768px) {
    .mission-section {
        padding: 60px 20px;
    }
    
    .mission-content {
        padding: 40px 30px;
    }
    
    .mission-title {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .mission-content {
        padding: 30px 20px;
    }
    
    .mission-title {
        font-size: 1.7rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
}


/* ==============================
   Mission Section
   ============================== */
.mission-section {
    padding: 80px 20px;
    background: #ffffff;
}

.mission-content {
    padding: 50px 40px;
    background: rgba(26, 26, 26, 0.03);
    border-radius: 20px;
    border-left: 4px solid #2d2d2d;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #404040;
    margin: 0;
}

@media (max-width: 768px) {
    .mission-section {
        padding: 60px 20px;
    }
    
    .mission-content {
        padding: 40px 30px;
    }
    
    .mission-title {
        font-size: 2rem;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .mission-content {
        padding: 30px 20px;
    }
    
    .mission-title {
        font-size: 1.7rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
}
