:root {
    --primary: #D25353;
    --primary-dark: #b84444;
    --secondary: #FFF8DE;
    --dark: #333;
    --light: #f8f9fa;
}

* {
    font-family: "Kanit", sans-serif;
}

body {
    color: var(--dark);
    background: var(--light);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    color: var(--primary) !important;
    font-weight: bold;
    font-size: 1.8rem;
}

.navbar-brand i {
    color: var(--primary);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-slide {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 500px;
    height: 70vh;
    display: flex;
    align-items: center;
}
.hero-slide h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: white;
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-step {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.step-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    font-size: 1rem;
}

.form-step h4 {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Vehicle Cards */
.vehicle-card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vehicle-card.selected {
    border-color: #ffc107;
    background: #fffdf5;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.vehicle-card.selected h5 {
    color: #ffc107;
}

.vehicle-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.vehicle-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.vehicle-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.vehicle-card .badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    margin-top: 8px;
}

/* Price Display */
.price-display {
    background: linear-gradient(135deg, var(--primary) 0%, #b84444 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.price-display strong {
    font-size: 2rem;
}

/* Additional Info */
.additional-info {
    background: var(--secondary);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.additional-info h5 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(210,83,83,0.3);
}

/* Rates Section */
.rates-section {
    padding: 80px 0;
    background: var(--secondary);
}

.table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.table thead {
    background: var(--primary);
    color: white;
}

.table th, .table td {
    padding: 15px;
    text-align: center;
}

/* Vehicles Section */
.vehicles-section {
    padding: 80px 0;
    background: white;
}

.vehicle-showcase {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--secondary);
    transition: all 0.3s;
}

.vehicle-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vehicle-icon-large {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
    margin: 0 10px;
}

/* About / AIO Section */
.about-section {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.about-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
}

.about-section p,
.about-section ul {
    font-size: 0.9rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .booking-card {
        padding: 20px;
    }
    
    .vehicle-card {
        margin-bottom: 15px;
    }
    
    .price-display strong {
        font-size: 1.5rem;
    }
}

.kanit-thin { font-family: "Kanit", sans-serif; font-weight: 100; }
.kanit-extralight { font-family: "Kanit", sans-serif; font-weight: 200; }
.kanit-light { font-family: "Kanit", sans-serif; font-weight: 300; }
.kanit-regular { font-family: "Kanit", sans-serif; font-weight: 400; }
.kanit-medium { font-family: "Kanit", sans-serif; font-weight: 500; }
.kanit-semibold { font-family: "Kanit", sans-serif; font-weight: 600; }
.kanit-bold { font-family: "Kanit", sans-serif; font-weight: 700; }
.kanit-extrabold { font-family: "Kanit", sans-serif; font-weight: 800; }
.kanit-black { font-family: "Kanit", sans-serif; font-weight: 900; }

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lang-btn {
    background: #f0f0f0;
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lang-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #D25353;
    color: white;
    border-color: #D25353;
}

.lang-btn.active:hover {
    background: #b84545;
}

/* Loading indicator */
#language-loader {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Language Dropdown Styles */
.dropdown .btn-outline-primary {
    border-radius: 50px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.dropdown .btn-outline-primary:hover {
    background: #f8f9fa;
    border-color: #D25353;
    transform: translateY(-2px);
}

.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    min-width: 200px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item.lang-btn {
    padding: 10px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item.lang-btn:hover {
    background-color: #f8f9fa;
    padding-left: 28px;
    color: #D25353;
}

.dropdown-item.lang-btn.active {
    background-color: #e3f2fd;
    color: #D25353;
    font-weight: bold;
}

.dropdown-item.lang-btn.active::before {
    content: "✓ ";
    font-weight: bold;
}

.dropdown-divider {
    margin: 8px 0;
}

#current-lang-flag {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dropdown .btn-outline-primary {
        padding: 6px 12px;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
    
    .dropdown-item.lang-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Success Page Styles */
.success-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.success-card h1 {
    color: #28a745;
    margin-bottom: 20px;
    font-weight: 600;
}

.booking-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.booking-summary h4 {
    color: #D25353;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    color: #6c757d;
    font-weight: 500;
}

.summary-item.highlight {
    background: #fff3cd;
    margin: 10px -25px;
    padding: 10px 25px;
    border-radius: 10px;
}

.summary-item.highlight strong {
    color: #D25353;
    font-size: 1.2em;
}

.contact-box {
    background: #e3f2fd;
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.contact-box h5 {
    color: #D25353;
    margin-bottom: 15px;
}

.contact-box p {
    margin-bottom: 8px;
}

.language-switcher-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .success-card {
        padding: 20px;
    }
    
    .summary-item {
        flex-direction: column;
    }
    
    .summary-item span:first-child {
        margin-bottom: 5px;
    }
    
    .language-switcher-top {
        top: 10px;
        right: 10px;
    }
}