/* 60KMPH v3 Modern CSS System */
:root {
    --navy-dark: #0b2a5b;
    --navy-deep: #071938;
    --gold-primary: #ffbf00;
    --gold-hover: #e0a800;
    --bg-light-1: #ffffff;
    --bg-light-2: #f8fafc;
    --bg-alt: #f1f5f9;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(11,42,91,0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light-1);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Section Theme Alternation */
.section-light {
    background-color: var(--bg-light-1);
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-alt);
    padding: 80px 0;
}

.section-navy {
    background-color: var(--navy-dark);
    color: #ffffff;
    padding: 80px 0;
}

/* Header & Nav */
.v3-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background: var(--navy-deep);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
}

.admin-link {
    color: var(--gold-primary) !important;
    font-weight: 600;
}

.main-nav {
    padding: 15px 0;
}

.brand-logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    min-width: 220px;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 8px 20px;
    display: block;
    font-size: 14px;

}

.btn-primary-gold {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-primary-gold:hover {
    background: var(--gold-hover);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Cards & Components */
.card-service {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-service i {
    font-size: 40px;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

/* Form & HTMX Alert Styling */
.form-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.form-control:focus {
    border-color: var(--navy-dark);
}

.sixty-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
}

.sixty-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.sixty-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Mobile Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy-dark);
    font-size: 13px;
    border-right: 1px solid var(--border-light);
}

.mobile-btn.whatsapp {
    color: #25d366;
}

.mobile-btn.primary {
    background: var(--navy-dark);
    color: #ffffff;
    border-right: none;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-action-bar {
        display: flex;
    }

    body {
        padding-bottom: 50px;
    }
}
