/* Best Way Rent A Car - Complete CSS File */
/* Mobile-First Responsive Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f4f6f9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-brand img {
    height: 67px;
    width: auto;
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    flex-direction: column;
    padding: 20px;
}

.nav-menu.active { display: flex; }

.nav-menu li { margin: 10px 0; }

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu a:hover { color: #007bff; }

/* Dropdown Navigation */
.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
    padding: 8px 12px;
    border-radius: 3px;
    margin: 2px 0;
}

.dropdown-menu a:hover {
    background: #e9ecef;
    color: #007bff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    line-height: 1.4;
    font-size: 16px;
}

.btn-primary {
    background: #e23838;
    color: #fff;
    /* border: 2px solid #007bff; */
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    border: 2px solid #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: #fff;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 0;
}

.hero-text {
    max-width: 800px;
    margin: 0;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: #fff;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    color: #fff;
    line-height: 1.4;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.hero-cta .btn {
    width: auto;
    min-width: 200px;
    display: inline-block;
    text-align: center;
}

/* Content Sections */
.services-section,
.vehicle-classes-section,
.location-info-section,
.faq-section,
.local-features-section {
    padding: 80px 0;
}

.services-section { background: #f8f9fa; }
.vehicle-classes-section { background: #fff; }
.location-info-section { background: #f8f9fa; }
.faq-section { background: #fff; }
.local-features-section { background: #f8f9fa; }

.services-section h2,
.vehicle-classes-section h2,
.location-info-section h2,
.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

/* Grid Layouts */
.services-grid,
.vehicle-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.vehicle-grid { gap: 25px; }
.faq-grid { gap: 25px; }

/* Cards */
.service-card,
.vehicle-card,
.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover { transform: translateY(-5px); }

.vehicle-card,
.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3,
.vehicle-card h3,
.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.vehicle-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.faq-item h3 { font-size: 1.2rem; margin-bottom: 10px; }

.service-card p,
.vehicle-card p,
.faq-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-item p { margin-bottom: 0; }

/* Location Info Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.location-details h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #333;
    text-align: left;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-item strong {
    color: #007bff;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.contact-item a:hover { color: #007bff; }

address {
    font-style: normal;
    line-height: 1.6;
}

.hours-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.hours-list {
    list-style: none;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0;
}

.hours-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.hours-list li:last-child { border-bottom: none; }

.cta-section {
    background: #007bff;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section ul li { margin-bottom: 8px; }

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover { color: #007bff; }

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer social icons */
.footer-social { margin-top: 1rem; }
.footer-social .footer-title { margin-bottom: .5rem; }

.social-list {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08); /* subtle against black footer */
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
  text-decoration: none;
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.social-link:hover,
.social-link:focus {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
  outline: none;
}

/* Optional: brand-ish hover accents (kept subtle) */
.social-link[aria-label*="Facebook"]:hover  .social-icon { fill: #1877f2; }
.social-link[aria-label*="Instagram"]:hover .social-icon { fill: #e1306c; }
.social-link[aria-label*="X"]:hover        .social-icon { fill: #1d9bf0; }
.social-link[aria-label*="YouTube"]:hover  .social-icon { fill: #ff0000; }
.social-link[aria-label*="LinkedIn"]:hover .social-icon { fill: #0a66c2; }
.social-link[aria-label*="TikTok"]:hover   .social-icon { fill: #25f4ee; }

/* Screen-reader only text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom p { margin-bottom: 0.5rem; }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Responsive Design */

/* Tablet Styles - 768px and up */
@media (min-width: 768px) {
    .container { padding: 0 30px; }
    
    /* Navigation */
    .nav-toggle { display: none; }
    
    .nav-menu {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        align-items: center;
    }
    
    .nav-menu li { margin: 0 20px 0 0; }
    .nav-menu a { padding: 0; }
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        margin-top: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Hero Section */
    .hero-title { font-size: 3.5rem; }
    .hero-cta { flex-direction: row; }
    
    /* Grids */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Location Content */
    .location-content { grid-template-columns: 2fr 1fr; }
    .contact-info { grid-template-columns: repeat(2, 1fr); }
    
    /* Footer */
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .social-links { flex-direction: row; }
}

/* Desktop Styles - 1024px and up */
@media (min-width: 1024px) {
    .container { padding: 0 40px; }
    
    /* Hero Section */
    .hero-title { font-size: 4rem; }
    .hero-section { height: 70vh; }
    
    /* Grids */
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .vehicle-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-info { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(4, 1fr); }
}

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .container { 
        max-width: 1200px;
        padding: 0 40px; 
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
}

/* Mobile Specific */
@media (max-width: 767px) {
    .container { padding: 0 15px; }
    
    /* Hero Section */
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content {
        padding: 40px 0;
        text-align: center;
        justify-content: center;
    }
    
    .hero-cta { align-items: center; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    
    /* Sections */
    .services-section,
    .vehicle-classes-section,
    .location-info-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .services-section h2,
    .vehicle-classes-section h2,
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .location-details h2 {
        font-size: 1.8rem;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .nav-toggle,
    .hero-cta,
    .btn { display: none; }
    
    .hero-content { background: none; color: #333; }
    * { background: #fff !important; color: #333 !important; }
}