/* =============================================
   Kit on Rent — Main Stylesheet
   Design: Navy Blue + Amber + Slate White
   ============================================= */

:root {
    --navy:        #0d1b3e;
    --navy-mid:    #1a2f5e;
    --navy-light:  #253a72;
    --amber:       #e8a020;
    --amber-dark:  #c8880e;
    --amber-light: #fdf3e0;
    --slate:       #f4f6fb;
    --white:       #ffffff;
    --text-dark:   #0d1b3e;
    --text-mid:    #3a4a6b;
    --text-light:  #6b7a99;
    --border:      #dde3f0;
    --success:     #1a7a4a;
    --danger:      #c0392b;
    --warn:        #d97706;
    --radius:      8px;
    --radius-sm:   5px;
    --radius-lg:   14px;
    --shadow:      0 4px 20px rgba(13,27,62,0.10);
    --shadow-sm:   0 2px 8px rgba(13,27,62,0.07);
    --font-body:   'Inter', 'Segoe UI', sans-serif;
    --font-display:'Poppins', 'Segoe UI', sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 15px; color: var(--text-dark); background: var(--white); line-height: 1.7; }
a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

/* LAYOUT */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-slate  { background: var(--slate); }
.bg-navy   { background: var(--navy); }
.bg-amber-light { background: var(--amber-light); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
    background: var(--navy);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 3px solid var(--amber);
    box-shadow: 0 2px 12px rgba(13,27,62,0.2);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; max-width: 220px; }
.logo-icon {
    width: 40px; height: 40px; background: var(--amber);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--navy); font-weight: 900;
    font-family: var(--font-display); letter-spacing: -1px; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; overflow: hidden; }
.logo-main {
    font-family: var(--font-display); font-size: 0.82rem; font-weight: 800;
    color: var(--white); white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; display: block;
}
.logo-sub  { font-size: 0.65rem; color: var(--amber); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav a {
    color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 500;
    padding: 0.4rem 0.6rem; border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s; white-space: nowrap;
    text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--amber); background: rgba(232,160,32,0.1); text-decoration: none; }
.main-nav a.nav-cta {
    background: var(--amber); color: var(--navy) !important; font-weight: 700;
    padding: 0.4rem 1rem; margin-left: 0.5rem; border-radius: var(--radius-sm);
}
.main-nav a.nav-cta:hover { background: var(--amber-dark); color: var(--white) !important; text-decoration: none; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: transparent; border: none; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; transition: 0.3s; }

/* =============================================
   HERO / PAGE HERO
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0a1530 100%);
    padding: 6rem 0 5rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 45%; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(232,160,32,0.07) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-badge {
    display: inline-block; background: rgba(232,160,32,0.15); color: var(--amber);
    border: 1px solid rgba(232,160,32,0.35); border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 0.35rem 1rem; margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white) !important; margin-bottom: 1.1rem; }
.hero h1 span { color: var(--amber) !important; }
.hero p { color: rgba(255,255,255,0.78) !important; font-size: 1.05rem; max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 2.5rem; margin-top: 3.5rem;
    padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--amber) !important; display: block; }
.hero-stat .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.65) !important; text-transform: uppercase; letter-spacing: 0.05em; }

.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 3.5rem 0 3rem;
}
.page-hero h1  { color: var(--white) !important; margin-bottom: 0.5rem; }
.page-hero p   { color: rgba(255,255,255,0.78) !important; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-size: 0.82rem; }
.breadcrumb a  { color: var(--amber) !important; text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.5) !important; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
    padding: 0.7rem 1.6rem; border-radius: var(--radius); border: 2px solid transparent;
    transition: all 0.2s; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-amber  { background: var(--amber); color: var(--navy) !important; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: var(--white) !important; }
.btn-navy   { background: var(--navy); color: var(--white) !important; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-outline { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }
.btn-outline-amber { background: transparent; color: var(--amber) !important; border-color: var(--amber); }
.btn-outline-amber:hover { background: var(--amber); color: var(--navy) !important; }
.btn-white  { background: var(--white); color: var(--navy) !important; border-color: var(--white); }
.btn-white:hover { background: var(--amber); border-color: var(--amber); }
.btn-sm     { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg     { padding: 0.9rem 2rem; font-size: 1rem; }

/* =============================================
   CARDS
   ============================================= */
.card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
    width: 52px; height: 52px; background: var(--amber-light);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.25rem;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-label {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--amber-dark); margin-bottom: 0.6rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { background: var(--navy-mid); padding: 1rem 0; }
.trust-bar .container { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.9) !important; font-weight: 500; }
.trust-item span { font-size: 1.1rem; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.step-card { text-align: center; position: relative; }
.step-num {
    width: 52px; height: 52px; background: var(--amber); color: var(--navy);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
    margin: 0 auto 1.25rem;
}
.step-card h4 { margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.9rem; }

/* =============================================
   PRICING TABLE
   ============================================= */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
    background: var(--navy); color: var(--white) !important;
    font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    padding: 1rem 1.25rem; text-align: left;
}
.price-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; vertical-align: middle; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--slate); }
.price-cell { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1rem; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }

/* =============================================
   BADGES
   ============================================= */
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 50px; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-amber  { background: var(--amber-light); color: var(--amber-dark); }
.badge-navy   { background: var(--navy); color: var(--white); }
.badge-green  { background: #d4edda; color: #1a7a4a; }
.badge-red    { background: #fdecea; color: #c0392b; }
.badge-gray   { background: #eef0f5; color: var(--text-mid); }

/* =============================================
   NOTICES / ALERTS
   ============================================= */
.notice { border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.9rem; margin-bottom: 1.25rem; }
.notice-amber  { background: var(--amber-light); border-left: 4px solid var(--amber); color: #7a5200; }
.notice-green  { background: #d4edda; border-left: 4px solid #1a7a4a; color: #1a7a4a; }
.notice-red    { background: #fdecea; border-left: 4px solid #c0392b; color: #c0392b; }
.notice-navy   { background: rgba(13,27,62,0.06); border-left: 4px solid var(--navy); color: var(--navy); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.4rem; }
.form-control {
    width: 100%; padding: 0.7rem 1rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 0.9rem; color: var(--text-dark);
    background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,160,32,0.15); }
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 0.25rem; display: block; }
.required { color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-full { grid-column: 1 / -1; }
textarea.form-control { resize: vertical; min-height: 110px; }

/* =============================================
   CONTENT BLOCK
   ============================================= */
.content-block {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
    margin-bottom: 2rem;
}
.content-block h3 { color: var(--navy); margin-bottom: 1.25rem; font-size: 1.1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--amber-light); }

/* =============================================
   ITEM CARD (booking checkboxes)
   ============================================= */
.item-card {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.85rem 1rem; background: var(--white);
    border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.item-card:hover { border-color: var(--amber); background: var(--amber-light); }
.item-card.selected { border-color: var(--navy); background: rgba(13,27,62,0.04); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 5rem 0; text-align: center;
}
.cta-section h2, .cta-section p { color: var(--white) !important; }
.cta-section p { max-width: 500px; margin: 0 auto 2rem; opacity: 0.85; }

/* =============================================
   ACCORDION (FAQ)
   ============================================= */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.accordion-btn {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.1rem 1.25rem; background: var(--white); border: none;
    font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
    color: var(--navy); cursor: pointer; text-align: left; gap: 1rem;
    transition: background 0.2s;
}
.accordion-btn:hover { background: var(--slate); }
.accordion-btn.open { background: var(--navy); color: var(--white); }
.accordion-btn .icon { font-size: 1.1rem; flex-shrink: 0; transition: transform 0.3s; }
.accordion-btn.open .icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 1.1rem 1.25rem; background: var(--slate); border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--navy); color: var(--white); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.75) !important; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber) !important; text-decoration: none; }
.footer-bottom { padding: 1.5rem 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5) !important; font-size: 0.8rem; margin: 0; }

/* =============================================
   TABLES (admin)
   ============================================= */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { background: var(--navy); color: var(--white) !important; padding: 0.85rem 1rem; text-align: left; font-weight: 600; }
.admin-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: var(--slate); }

/* =============================================
   ADMIN LAYOUT
   ============================================= */
.admin-sidebar {
    width: 230px; background: var(--navy); min-height: 100vh;
    position: fixed; top: 0; left: 0; padding: 1.5rem 0; z-index: 100;
}
.admin-sidebar .logo-area { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1rem; }
.admin-sidebar .logo-area span { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--white); display: block; }
.admin-sidebar .logo-area small { font-size: 0.72rem; color: var(--amber); }
.admin-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; color: rgba(255,255,255,0.75) !important; font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.admin-nav a:hover, .admin-nav a.active { color: var(--white) !important; background: rgba(232,160,32,0.15); border-right: 3px solid var(--amber); }
.admin-main { margin-left: 230px; padding: 2rem; min-height: 100vh; background: var(--slate); }
.admin-topbar { background: var(--white); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); }
.admin-topbar h1 { font-size: 1.3rem; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 1.25rem; }
.stat-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--amber-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-num  { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* =============================================
   UTILITIES
   ============================================= */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-amber   { color: var(--amber) !important; }
.text-navy    { color: var(--navy) !important; }
.text-light   { color: var(--text-light) !important; }
.text-white   { color: var(--white) !important; }
.fw-bold      { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.w-100 { width: 100%; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid  { grid-template-columns: 1fr 1fr; }
    .grid-4      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .site-header .container { position: relative; }
    .main-nav {
        display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: 68px; left: 0; right: 0;
        background: var(--navy-mid); padding: 1rem 0; gap: 0;
        border-top: 2px solid var(--amber); z-index: 999;
    }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; border-radius: 0; padding: 0.75rem 1.5rem; }
    .nav-toggle { display: flex; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
}
@media (max-width: 480px) {
    .section { padding: 3rem 0; }
    .hero { padding: 4rem 0 3rem; }
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
}
