/* ===================================
   ELITE LIMO SERVICE - LUXURY STYLING
   =================================== */

/* Root Variables */
:root {
    --primary-black: #0a0a0a;
    --pure-white: #ffffff;
    --royal-blue: #1a46ff;
    --silver: #c0c0c0;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-black);
    background-color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    padding: 1.8rem 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.3rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--pure-white);
}

.logo-img {
    height: 135px;
    width: auto;
    transition: var(--transition);
}

.brand-text {
    background: linear-gradient(135deg, var(--pure-white), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pure-white) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--royal-blue);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.cta-nav {
    background: var(--royal-blue);
    border-radius: 4px;
    margin-left: 1rem;
}

.cta-nav:hover {
    background: #0d2fb8;
    box-shadow: 0 0 20px rgba(26, 70, 255, 0.5);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid var(--pure-white);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    transform: scale(1.02);
    transform-origin: center;
    z-index: 0;
}

@media (min-width: 992px) {
    .hero-section {
        height: 100vh;
        height: 100svh;
        height: 100dvh;
    }
    .hero-background-image {
        object-position: 50% 38%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 70, 255, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--pure-white);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--royal-blue);
    color: var(--pure-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background: #0d2fb8;
    box-shadow: 0 10px 40px rgba(26, 70, 255, 0.4);
    transform: translateY(-3px);
    color: var(--pure-white);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--pure-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--pure-white);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background: var(--pure-white);
    color: var(--primary-black);
    border-color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--pure-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 8rem 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--royal-blue);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    background: var(--light-gray);
}

.service-card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--royal-blue);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 4rem;
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-description {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===================================
   FLEET SECTION
   =================================== */
.fleet-section {
    background: var(--primary-black);
    color: var(--pure-white);
}

.fleet-section .section-title {
    color: var(--pure-white);
}

.fleet-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.fleet-card {
    background: var(--dark-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(26, 70, 255, 0.3);
}

.fleet-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.fleet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 70, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.fleet-card:hover .fleet-overlay {
    opacity: 1;
}

.fleet-info {
    padding: 2rem;
}

.fleet-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--pure-white);
}

.fleet-description {
    color: var(--silver);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.fleet-features {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.fleet-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===================================
   RESERVATION SECTION
   =================================== */
.reservation-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    color: var(--pure-white);
}

.reservation-section .section-title {
    color: var(--pure-white);
}

.reservation-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.reservation-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Remove white label chips over dark inputs */
.reservation-form .form-floating > label {
    background-color: transparent !important;
    padding: 0 .5rem;
}

/* Make ETA (time) floating label clearly visible without chip */

/* Always show ETA label floated for time input (since :placeholder-shown doesn't apply) */
.reservation-form .form-floating > input[type="time"] ~ label {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 1 !important;
    z-index: 1;
    transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
}

/* When floating (focus or filled), keep it readable and positioned nicely */
/* Ensure input has room for the floated label */
.reservation-form .form-floating > input[type="time"] {
    padding-top: 1.625rem !important;
}

/* Remove Bootstrap's floating-label white chip effect on focus/filled */
.reservation-form .form-floating > .form-control:focus ~ label,
.reservation-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.reservation-form .form-floating > .form-select:focus ~ label,
.reservation-form .form-floating > .form-select:not(:placeholder-shown) ~ label,
.reservation-form .form-floating > input[type="time"]:focus ~ label,
.reservation-form .form-floating > input[type="time"]:not(:placeholder-shown) ~ label {
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 .5rem !important;
}

/* Some Bootstrap versions use a label::after patch behind text – kill it */
.reservation-form .form-floating > label::after {
    background: transparent !important;
    content: none !important;
}

.reservation-form .form-control,
.reservation-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    padding: 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

/* Make native select dropdown (options list) use light scheme for readability */
.reservation-form .form-select {
    color-scheme: light;
}

/* Force readable colors for options panel across browsers */
.reservation-form .form-select option {
    background-color: #ffffff;
    color: #000000;
}

/* Input-group styling for ETA */
.reservation-form .input-group .input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    border-right: 0;
}

.reservation-form .input-group .form-control {
    border-left: 0;
}

.reservation-form .input-group .input-group-text,
.reservation-form .input-group .form-control {
    height: 58px;
}

.reservation-form .form-control:focus,
.reservation-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 0.25rem rgba(26, 70, 255, 0.25);
    color: var(--pure-white);
}

.reservation-form .form-floating > label {
    color: rgba(255, 255, 255, 0.7);
}

.reservation-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.success-message {
    display: none;
    text-align: center;
    padding: 3rem;
    background: rgba(26, 70, 255, 0.1);
    border-radius: 8px;
    border: 2px solid var(--royal-blue);
    margin-top: 2rem;
}

.success-message.show {
    display: block;
    animation: fadeInScale 0.5s ease;
}

.success-message i {
    font-size: 4rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   BLOG SECTION
   =================================== */
.blog-section {
    background: var(--light-gray);
}

.blog-card {
    background: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-link {
    color: var(--royal-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    gap: 1rem;
    color: #0d2fb8;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: var(--pure-white);
}

.contact-info-wrapper {
    padding: 2rem 0;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--royal-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--pure-white);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
    transform: rotateY(360deg);
    box-shadow: 0 10px 30px rgba(26, 70, 255, 0.3);
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.contact-details p,
.contact-details a {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-details a:hover {
    color: var(--royal-blue);
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
    background: var(--pure-white);
    border: 1px solid #ddd;
    padding: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 0.25rem rgba(26, 70, 255, 0.1);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 5rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 135px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pure-white), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-contact-info {
    margin-top: 0.5rem;
}

.footer-note {
    margin-bottom: 0.4rem;
}

.footer-contact-info p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact-info i {
    color: var(--royal-blue);
    font-size: 1.1rem;
    width: 20px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: var(--royal-blue);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--royal-blue);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--royal-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 70, 255, 0.3);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--royal-blue);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        padding: 2rem;
        margin-top: 1rem;
        border-radius: 8px;
    }
    
    .nav-link {
        padding: 0.8rem 0 !important;
    }
    
    .cta-nav {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .reservation-card {
        padding: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 100svh;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        max-width: 300px;
    }
    
    .fleet-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-background-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
        transform: none;
        display: block;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--royal-blue), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--royal-blue);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d2fb8;
}

/* Selection */
::selection {
    background: var(--royal-blue);
    color: var(--pure-white);
}
