/* RideRemap - Main Stylesheet */
/* Additional styles for homepage and other pages */

/* Note: Common styles (navbar, footer, animated background) are in common.css */

/* Hero Slider - Full Page Enhanced with glassmorphism */
.hero-slider {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hero-slider .carousel {
    height: 100%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slider .carousel-inner {
    height: 100%;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 100vh;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100%;
    min-height: 100vh;
    object-fit: cover; /* Changed back to 'cover' to fill entire width without margins */
    object-position: center;
    z-index: 0;
    background: #000; /* Black background to fill empty space if video aspect ratio doesn't match */
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 3rem 2.5rem;
    /*background: rgba(26, 26, 46, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);*/
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    max-width: 90%;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Montserrat', 'Inter', 'Poppins', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.3);
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-subtitle {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    opacity: 0.98;
    letter-spacing: 0.3px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-bounce-in {
    animation: bounceIn 1s ease-out 0.6s both;
}

/* Second Title and Subtitle Styles */
.hero-title-2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-2 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0099CC;
    border-color: #0099CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,191,255,0.3);
}

.btn-pink {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-pink:hover {
    background-color: #CC0066;
    border-color: #CC0066;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,0,127,0.3);
}

.btn-warning {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--text-dark);
    font-weight: bold;
}

.bg-pink {
    background-color: var(--primary-pink);
}

/* Features Section - Enhanced with glassmorphism */
.features-section {
    background: transparent;
    position: relative;
    z-index: 2;
}

.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: var(--primary-pink);
    transform: scale(1.1) rotate(5deg);
}

/* CTA Section - Enhanced */
.cta-section {
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Tuning Page */
.tuning-page {
    min-height: 100vh;
}

.search-section {
    background-color: var(--bg-white);
}

.vehicle-image {
    max-height: 400px;
    object-fit: contain;
}

/* Performance Stats */
.performance-stats {
    padding: 1rem;
}

.stat-item {
    margin-bottom: 2rem;
}

.stat-bar {
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-dark);
}

/* Carousel Controls - Hidden by default, visible on hover */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 0.8;
    visibility: visible;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
}

.hero-slider .carousel-indicators {
    z-index: 10;
    bottom: 20px;
}

/* Responsive adjustments for slider */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem !important;
        letter-spacing: 0px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
        border-radius: 20px;
    }
    
    .hero-slider,
    .hero-slide {
        min-height: 100vh;
        height: 100vh;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-content {
        padding: 1.5rem 1.25rem;
        max-width: 98%;
    }
}

.progress {
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1s ease-in-out;
}

.promo-banner {
    background-color: var(--primary-blue);
}

/* Contact Form - Enhanced */
.contact-form {
    /* Glass card styling already applied */
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
    transform: translateY(-2px);
}

/* About Section - Enhanced */
.about-section {
    background: transparent;
    position: relative;
    z-index: 2;
}

.about-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
}

.feature-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
}

/* Footer - Now handled by glass-footer in common.css */

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .vehicle-image {
        max-height: 250px;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 0 !important;
    }
    
    .features-section {
        padding: 2rem 0 !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-content .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-card .feature-icon {
        font-size: 2rem !important;
    }
    
    .feature-card h3 {
        font-size: 1.2rem !important;
    }
    
    .feature-card p {
        font-size: 0.9rem !important;
    }
    
    .btn-lg {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-content .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Fast & Furious Style Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Success/Error Messages */
.alert {
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
}

