body {
    font-family: 'Noto Sans Thai', 'Inter', sans-serif;
    background-color: #0f172a; /* Darker modern background */
    color: #f8fafc;
    margin: 0;
    overflow-x: hidden;
}

/* Premium Navbar Styling */
.premium-nav {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism Card (for premium feel) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Modern Button */
.btn-modern {
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border: none;
    color: white;
}

.btn-primary-modern:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* === Parking Page Specific Styles === */

/* Full screen container with Rice Background */
.parking-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/bg-rice.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1000;
    overflow: hidden;
}

/* Animated gradient overlay for "สีวิ่งๆ" effect */
.parking-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        45deg, 
        rgba(15, 23, 42, 0.85), 
        rgba(6, 182, 212, 0.4), 
        rgba(59, 130, 246, 0.5), 
        rgba(245, 158, 11, 0.2), /* Golden touch */
        rgba(2, 6, 23, 0.9)
    );
    background-size: 400% 400%;
    animation: gradientRun 15s ease infinite;
    z-index: -1;
}

@keyframes gradientRun {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- New Parking Page UI Elements --- */
.parking-card {
    padding: 4rem 5rem !important;
    max-width: 900px;
    width: 100%;
    margin: 0 20px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 32px;
}

.logo-icon {
    min-width: 84px;
    max-width: 84px;
    height: 84px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    overflow: hidden;
    background-color: transparent;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.85); /* Zoom in to hide the white padding from the generated image */
}

.text-gradient-cyan {
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.separator-glow {
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.feature-item {
    transition: transform 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 28px;
    color: #38bdf8;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(129, 140, 248, 0.1) 100%);
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.footer-badge {
    padding-top: 1rem;
}

/* Text Gradient for HBE DryPilot */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Separator Line */
.separator {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    border-radius: 2px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
