/**
 * Lisa's Sedan Service - Main Stylesheet
 * Mobile-first, modern design
 * Colors: Yellow #FFFF00, Dark Blue #000099, Cream #F5E9B1, Light Blue #6EC1E4, Green #61CE70
 * AppWT LLC
 */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #000099;
    --primary-light: #1a1aad;
    --accent-blue: #6EC1E4;
    --accent-yellow: #FFFF00;
    --accent-cream: #F5E9B1;
    --accent-green: #61CE70;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --border: #dee2e6;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-blue); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}
h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

/* === SKIP LINK === */
.skip-link {
    position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
    z-index: 9999; padding: 12px 20px; background: var(--primary); color: var(--white);
    font-weight: 600;
}
.skip-link:focus { position: fixed; left: 10px; top: 10px; width: auto; height: auto; }

/* === TOP BAR === */
.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-link { color: var(--white); font-weight: 500; }
.top-bar-link:hover { color: var(--accent-yellow); }
.top-bar-link i { margin-right: 5px; }
.top-bar-sep { margin: 0 10px; opacity: 0.4; }
.top-bar-text { opacity: 0.9; }
.top-bar-right { display: flex; gap: 12px; }
.social-icon { color: var(--white); font-size: 1rem; }
.social-icon:hover { color: var(--accent-yellow); transform: scale(1.2); }

/* === NAVIGATION === */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 50px; width: auto; }
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
}
.nav-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
    background: rgba(0, 0, 153, 0.05);
}
.btn-cta {
    background: var(--accent-green) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
}
.btn-cta:hover { background: #4db85a !important; transform: translateY(-2px); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a i { font-size: 0.7rem; margin-left: 4px; transition: var(--transition); }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    list-style: none;
    z-index: 1001;
}
.dropdown-menu a { padding: 10px 20px; font-size: 0.85rem; }
.dropdown-menu a:hover { background: var(--off-white); }
.nav-dropdown:hover .dropdown-menu { display: block; }
.nav-dropdown:hover > a i { transform: rotate(180deg); }

/* Mobile Nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 26px; height: 3px; background: var(--primary);
    border-radius: 3px; transition: var(--transition); position: relative;
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column; padding: 20px;
        box-shadow: var(--shadow-lg); gap: 4px;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 14px 16px; font-size: 1rem; }
    .dropdown-menu { position: static; box-shadow: none; padding-left: 20px; display: none; }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .btn-cta { text-align: center; margin-top: 8px; }
    .top-bar-text { display: none; }
    .top-bar-sep { display: none; }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--accent-blue); color: var(--white); }
.btn-secondary:hover { background: #5ab0d3; color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-green { background: var(--accent-green); color: var(--white); }
.btn-green:hover { background: #4db85a; color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }

/* === HERO === */
.hero {
    background: linear-gradient(135deg, rgba(0,0,153,0.88) 0%, rgba(26,26,46,0.92) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 80px 0 90px;
    text-align: center;
}
.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.hero-tagline {
    color: var(--accent-yellow);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.hero-text {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-phone {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
}
.hero-phone a { color: var(--accent-yellow); }
.hero-phone a:hover { color: var(--white); }

@media (max-width: 768px) {
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero-tagline { font-size: 1.1rem; }
    .hero-text { font-size: 1rem; }
}

/* === SECTIONS === */
.section { padding: 70px 0; }
.section-light { background: var(--off-white); }
.section-cream { background: var(--accent-cream); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header p { color: var(--text-light); font-size: 1.1rem; margin-top: 0.5rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.85); }

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-blue); }
.service-card .icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--white);
    font-size: 1.6rem;
}
.service-card h3 { color: var(--primary); margin-bottom: 0.6rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.service-card .price { color: var(--accent-green); font-weight: 700; font-size: 1.1rem; margin-top: 0.8rem; }

/* === TESTIMONIAL CARDS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); border-left: 4px solid var(--accent-blue);
}
.testimonial-stars { color: var(--accent-yellow); font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial-text { font-style: italic; color: var(--text); margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { font-weight: 700; color: var(--primary); }
.testimonial-source { color: var(--text-muted); font-size: 0.85rem; }

/* === INFO BOXES === */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.info-box {
    background: var(--white); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow); border-top: 4px solid var(--primary);
}
.info-box h3 { margin-bottom: 1rem; }
.info-box ul { list-style: none; }
.info-box li { padding: 6px 0; padding-left: 24px; position: relative; color: var(--text-light); }
.info-box li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--accent-green); font-size: 0.8rem; }

/* === FORMS === */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; margin-bottom: 6px;
    font-weight: 600; font-size: 0.9rem; color: var(--text);
}
.form-group label .required { color: #dc3545; }
.form-control {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 1rem;
    transition: var(--transition); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(110,193,228,0.2); }
.form-control.error { border-color: #dc3545; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 0.82rem; color: #dc3545; margin-top: 4px; }
.form-note {
    background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius-sm);
    padding: 16px; margin-bottom: 1.5rem; font-size: 0.9rem; color: #856404;
}
.form-note i { margin-right: 6px; }

/* === ALERTS === */
.alert {
    padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 1.5rem;
    font-size: 0.95rem; font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { opacity: 0.9; font-size: 1.1rem; }

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-green) 0%, #4db85a 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 0.8rem; }
.cta-banner p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 1.5rem; }
.cta-banner .btn-outline:hover { color: var(--accent-green); }

/* === FOOTER === */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; padding-bottom: 40px; }
.footer-logo { height: 45px; width: auto; margin-bottom: 1rem; filter: brightness(1.1); }
.footer-tagline { color: var(--accent-yellow); font-weight: 600; margin-bottom: 0.5rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; }
.footer-col h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent-blue); display: inline-block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-yellow); padding-left: 4px; }
.footer-contact { list-style: none; }
.footer-contact li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact i { color: var(--accent-blue); width: 20px; margin-right: 8px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--accent-yellow); }
.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent-blue); color: var(--white); transform: translateY(-3px); }
.footer-payment { margin-top: 1rem; font-size: 0.85rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    font-size: 0.85rem;
}
.footer-credit a { color: var(--accent-blue); }
.footer-credit a:hover { color: var(--accent-yellow); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { margin: 0 auto 1rem; }
    .footer-col h3 { display: block; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    border: none; cursor: pointer; font-size: 1.2rem;
    display: none; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); transition: var(--transition); z-index: 999;
}
.back-to-top:hover { background: var(--accent-blue); transform: translateY(-3px); }
.back-to-top.visible { display: flex; }

/* === RESERVATION TYPE CARDS === */
.reservation-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.reservation-card {
    background: var(--white); border-radius: var(--radius); padding: 40px 30px;
    text-align: center; box-shadow: var(--shadow); border: 2px solid var(--light-gray);
    transition: var(--transition);
}
.reservation-card:hover { border-color: var(--accent-blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.reservation-card .icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.reservation-card h3 { margin-bottom: 0.8rem; }
.reservation-card p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* === CONTENT PAGES === */
.content-section { padding: 50px 0; }
.content-section h2 { margin-bottom: 1.2rem; }
.content-section p { margin-bottom: 1rem; color: var(--text-light); }
.content-section ul { margin-bottom: 1rem; padding-left: 24px; }
.content-section li { margin-bottom: 0.5rem; color: var(--text-light); }

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* === LOADING SPINNER === */
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: var(--white); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === ANIMATIONS === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeInUp 0.6s ease forwards; }

/* === PRINT === */
@media print {
    .top-bar, .navbar, .site-footer, .back-to-top, .cta-banner { display: none; }
    body { font-size: 12pt; color: #000; }
}
