/* Custom Styles for Drive Ease - Car Rental System */

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo Styling */
.navbar-brand img{
    transition: transform 0.3s ease;
}

.navbar-brand:hover img{
    transform: scale(1.05);
}

/* Modern Hero Section */
.hero-section-modern{
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.min-vh-75{
    min-height: 75vh;
}

.min-vh-100{
    min-height: 100vh;
}

/* Navigation */
.navbar-light .navbar-nav .nav-link{
    color: #2c3e50;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active{
    color: #28a745;
}

.navbar-brand{
    font-size: 1.5rem;
}

/* Buttons */
.btn-success{
    background-color: #28a745;
    border-color: #28a745;
    font-weight: 600;
}

.btn-success:hover{
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-outline-dark:hover{
    background-color: #343a40;
    border-color: #343a40;
    transform: translateY(-2px);
}

.btn-dark{
    background-color: #212529;
    border-color: #212529;
    font-weight: 600;
}

.btn-dark:hover{
    background-color: #1c1f23;
    border-color: #1a1d20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 37, 41, 0.3);
}

.btn{
    transition: all 0.3s ease;
}

/* Hero Car Image */
.hero-car-image{
    animation: float 3s ease-in-out infinite;
}

@keyframes float{
    0%, 100%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-20px);
    }
}

.card{
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img-top{
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

.card-title{
    font-weight: 700;
    color: #212529;
}

.card-body{
    padding: 1.5rem;
}

.card-footer{
    background-color: white;
    border-top: 1px solid #f0f0f0;
}

.btn{
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.shadow-sm{
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg{
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.input-group-text{
    background-color: #f8f9fa;
    border-right: none;
}

.form-control{
    border-left: none;
}

.form-control:focus{
    border-left: 1px solid #86b7fe;
}

/* Text Styles */
.text-success{
    color: #28a745 !important;
}

.display-3{
    font-size: 3.5rem;
    line-height: 1.2;
}

.display-5{
    font-size: 2.5rem;
}

/* Smooth Scrolling */
html{
    scroll-behavior: smooth;
}

/* Experience CTA */
.cta-experience-section{
    background: linear-gradient(135deg, #1f2933 0%, #0f766e 100%);
    position: relative;
    overflow: hidden;
}

.cta-experience-section::after{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 45%),
                radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.cta-stat-card{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.3s ease;
}

.cta-stat-card-visible{
    opacity: 1;
    transform: translateY(0);
}

.cta-stat-icon{
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.2);
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.cta-stat-icon.alt{
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.cta-copy{
    opacity: 0;
    transform: translateX(60px);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.cta-copy-visible{
    opacity: 1;
    transform: translateX(0);
}

/* Testimonials */
.review-card{
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(15, 118, 110, 0.15);
}

.avatar-initial{
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.review-quote{
    font-size: 1rem;
    line-height: 1.7;
}

.bg-success-soft{
    background-color: rgba(16, 185, 129, 0.12) !important;
}

.bg-primary-soft{
    background-color: rgba(59, 130, 246, 0.12) !important;
}

.bg-warning-soft{
    background-color: rgba(234, 179, 8, 0.15) !important;
}

.text-success-fresh{
    color: #16a34a !important;
}

.text-primary-soft{
    color: #2563eb !important;
}

.text-warning-soft{
    color: #d97706 !important;
}


/* Footer */
footer{
    background-color: #212529;
}

.footer-modern{
    background: linear-gradient(135deg, #1a1d20 0%, #2c3e50 100%);
}

.footer-brand h4{
    font-size: 1.5rem;
}

.footer-links li{
    margin-bottom: 0.75rem;
}

.footer-links a{
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover{
    color: #28a745;
    padding-left: 5px;
}

.footer-links a i{
    font-size: 0.75rem;
}

.footer-contact li{
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: flex-start;
}

.footer-contact i{
    margin-top: 2px;
    font-size: 1rem;
}

.social-links{
    display: flex;
}

.social-icon{
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover{
    background-color: #28a745;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom{
    margin-top: 1rem;
}

.footer-link{
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover{
    color: #28a745;
}

/* Input Group Styling */
.input-group-text{
    background-color: #e9ecef;
    border: 2px solid #e9ecef;
}

.input-group .form-control{
    border: 2px solid #e9ecef;
}

/* Admin Stats Cards Hover */
.bg-success.card:hover,
.bg-dark.card:hover,
.bg-info.card:hover,
.bg-warning.card:hover{
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Badge Styling */
.badge{
    padding: 0.4rem 0.8rem;
    font-weight: 600;
}

/* Card Header Styling */
.card-header{
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.card-header.bg-success,
.card-header.bg-primary{
    border: none;
}

/* Table Styling */
.table{
    margin-bottom: 0;
}

.table thead th{
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Alert Styling */
.alert{
    border-radius: 10px;
    border: none;
}

/* Border-0 utility */
.border-0{
    border: none !important;
}

/* Responsive adjustments */
@media(max-width: 768px){
    .card-body{
        padding: 1.5rem !important;
    }
    
    .display-3{
        font-size: 2.5rem;
    }
    
    .hero-section-modern{
        min-height: auto;
        padding: 2rem 0;
    }
    
    .min-vh-75{
        min-height: auto;
    }
    
    .btn-lg{
        padding: 0.75rem 1.5rem !important;
    }

    .cta-stat-card{
        border-radius: 1rem;
        padding: 1.25rem;
    }
}

/* Feedback modal */
.status-modal .modal-content{
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.status-modal .modal-header{
    border-bottom: none;
    padding-bottom: 0;
}

.status-modal .modal-footer{
    border-top: none;
    padding-top: 0;
    gap: 0.75rem;
}

.status-modal .status-icon{
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.75rem;
}

.status-modal.success .status-icon{
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.status-modal.danger .status-icon{
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.status-modal.warning .status-icon{
    background: rgba(255, 193, 7, 0.15);
    color: #f39c12;
}

.status-modal .modal-body p{
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
}

