/* 
   CuhavApp Executive Modern Design System
   Luxury VIP Transportation & Tour Platform
*/

:root {
    --primary-color: #F05A29;
    --primary-hover: #D94A1E;
    --primary-light: rgba(240, 90, 41, 0.1);
    --primary-gradient: linear-gradient(135deg, #F05A29 0%, #FF7B47 100%);
    
    --dark-bg: #0B132B;
    --dark-card: #1C2541;
    --bg-light: #FFFFFF;
    --bg-gray: #F8FAFC;
    --bg-accent: #F1F5F9;
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;
    
    --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    --card-hover-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-dark: rgba(15, 23, 42, 0.85);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Badge Chip Utility */
.badge-chip {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

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

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(240, 90, 41, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(240, 90, 41, 0.5);
    background: var(--primary-hover);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header & Glass Navbar */
.header-wrapper {
    position: relative;
    z-index: 1000;
    background: #0f172a;
}

.glass-header {
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.glass-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 14px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.glass-header:not(.scrolled) .logo-text {
    color: #ffffff;
}

.highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.glass-header.scrolled .nav-menu a {
    color: var(--text-main);
}

.nav-menu a:hover, .glass-header.scrolled .nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-btn {
    padding: 9px 20px;
    font-size: 0.92rem;
}

.glass-header:not(.scrolled) .header-btn.btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-header:not(.scrolled) .header-btn.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Card System */
.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--border-hover);
}

/* Fleet & Tours Grid */
.grid {
    display: grid;
    gap: 30px;
}

.fleet-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.fleet-card {
    overflow: hidden;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.06);
}

/* Footer Styling */
footer, .footer {
    background: linear-gradient(180deg, #0B132B 0%, #050914 100%);
    color: #94A3B8;
    padding-top: 75px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.8fr;
    gap: 40px;
}

footer h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
}

footer h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-top: 8px;
}

footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #64748B;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .section-header h2 { font-size: 2rem; }
}

@media (max-width: 640px) {
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.75rem; }
    .btn { width: 100%; }
}
