/**
 * Walker's Auto Services - Main Stylesheet
 * Mobile-First Design with State-of-the-Art Mobile Menu
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #ffd700;
    --primary-dark: #ffb700;
    --secondary-color: #1976d2;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;

    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e0e0e0;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #ffd700;
    --primary-dark: #ffb700;
    --secondary-color: #448aff;
    --dark-color: #e0e0e0;
    --light-color: #1a1a1a;
    --white: #121212;
    --text-color: #e0e0e0;
    --border-color: #333333;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);

    /* Background colors */
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    transition: var(--transition);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   Dark Mode Toggle
   ============================================ */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline-block;
}

[data-theme="light"] .theme-toggle .fa-sun,
:root:not([data-theme]) .theme-toggle .fa-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-moon,
:root:not([data-theme]) .theme-toggle .fa-moon {
    display: inline-block;
}

/* ============================================
   Accessibility
   ============================================ */
/* Skip to main content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Enhanced focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Focus visible (modern browsers) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Remove focus for mouse users (keeps it for keyboard) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Selection color */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    font-size: 0.875rem;
    background-color: #000000 !important;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* ============================================
   Main Header
   ============================================ */
.main-header {
    z-index: 1000;
    background-color: #000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-img {
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    color: #ffffff !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: bold !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   MEGA MENU - Services Dropdown
   ============================================ */

.mega-menu-item {
    position: static;
}

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 2rem 0;
    margin-top: 0;
    border-radius: 0;
    border-top: 3px solid var(--primary-color);
}

.mega-menu .container {
    max-width: 1200px;
}

.mega-menu-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.5rem;
}

.mega-menu-list .dropdown-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.mega-menu-list .dropdown-item i.fa-chevron-right {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: var(--transition);
}

.mega-menu-list .dropdown-item:hover i.fa-chevron-right {
    opacity: 1;
    transform: translateX(3px);
}

.mega-menu-cta {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    height: 100%;
}

.mega-menu-cta h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-color);
}

/* Mega Menu - Mobile Adjustments */
@media (max-width: 991px) {
    .mega-menu {
        position: relative;
        width: auto;
        padding: 1rem;
    }

    .mega-menu .row {
        margin: 0;
    }

    .mega-menu .col-lg-4 {
        padding: 0.5rem 0;
    }

    .mega-menu-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .mega-menu-list .dropdown-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.5rem;
    }

    .mega-menu-cta {
        margin-top: 1rem;
        padding: 1rem;
    }
}

/* ============================================
   STATE-OF-THE-ART MOBILE MENU
   Full-Screen Slide-Out (NOT half-screen!)
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    padding: 0.5rem;
    font-size: 1.5rem;
    border: 2px solid var(--primary-color) !important;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: var(--primary-color);
}

.mobile-menu-toggle:hover .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Full-Screen Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    /* FULL SCREEN WIDTH */
    height: 100vh;
    /* FULL SCREEN HEIGHT */
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    z-index: 9999;
    transform: translateX(100%);
    /* Start off-screen */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Menu Open State */
.mobile-menu.active {
    transform: translateX(0);
    /* Slide in */
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.mobile-logo {
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.mobile-menu-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 2rem 1.5rem;
}

/* PROMINENT Click-to-Call & Map Buttons */
.mobile-cta-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    min-height: 70px;
    /* Touch-friendly 60px+ height */
}

.mobile-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.mobile-cta-btn i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.call-btn i {
    background: var(--primary-color);
    color: var(--white);
}

.map-btn i {
    background: var(--secondary-color);
    color: var(--white);
}

.mobile-cta-btn div {
    flex: 1;
}

.mobile-cta-btn small {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.mobile-cta-btn strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Mobile Navigation Links */
.mobile-nav {
    margin-top: 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    min-height: 60px;
    /* Touch-friendly 44px+ tap target */
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
    color: var(--white);
}

.mobile-nav-link i {
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    color: var(--primary-color);
}

.mobile-nav-link.highlight {
    background: var(--primary-color);
    border-radius: 8px;
    margin-top: 1rem;
    border: none;
}

.mobile-nav-link.highlight:hover {
    background: var(--primary-dark);
}

/* Mobile Submenu */
.mobile-nav-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: flex;
    align-items: center;
}

.mobile-nav-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-nav-toggle.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu-link {
    display: block;
    padding: 1rem 1rem 1rem 3.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    min-height: 50px;
}

.mobile-submenu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding-left: 4rem;
}

/* Mobile Hours */
.mobile-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--white);
}

.mobile-hours h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mobile-hours p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
}

.footer h5,
.footer h6 {
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    line-height: 1.8;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Hide desktop nav on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
}

/* Show desktop nav, hide mobile toggle on desktop */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }

    .logo-img {
        height: 50px !important;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-home {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Car background image overlay */
.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/hero-car-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    opacity: 0.4;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.85) 0%, rgba(33, 33, 33, 0.9) 100%);
    z-index: 2;
}

.hero-home .container {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero buttons */
.hero-home .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-home .btn-danger:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.hero-home .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.feature-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #1565c0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
}

.feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-box p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   Review Cards
   ============================================ */
.review-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.review-author {
    color: var(--dark-color);
    font-size: 0.95rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .btn-danger {
    background-color: var(--primary-color);
    border: none;
}

.cta-section .btn-danger:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.cta-section .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #000 100%);
    padding: 4rem 0 2rem;
    position: relative;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary-dark), #cc9900);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* ============================================
   Lazy Loading Images
   ============================================ */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* ============================================
   Loading States
   ============================================ */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Mobile Optimizations
   ============================================ */
@media (max-width: 768px) {

    /* Larger touch targets */
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
    }

    /* Better mobile typography */
    body {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Mobile-friendly cards */
    .service-card,
    .review-card {
        padding: 1.5rem;
    }

    /* Scroll to top button position */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Hero section mobile */
    .hero-home {
        min-height: 750px;
        /* Increased by 100px to prevent button overflow */
        padding: 2rem 0;
        /* Add padding to prevent overlap */
    }

    .hero-home h1 {
        font-size: 2.5rem;
    }

    .hero-home .lead {
        font-size: 1.125rem;
    }

    .hero-home .btn {
        font-size: 0.9rem !important;
        /* Smaller button text */
        padding: 0.75rem 1.25rem !important;
        /* Smaller button padding */
        min-height: 44px;
        /* Minimum touch target */
    }

    /* Mobile: Stack logo below text and center it */
    .hero-home .row {
        flex-direction: column-reverse;
        /* Logo comes first, text second */
    }

    .col-lg-4.text-center {
        margin-bottom: 2rem;
        /* Add space between logo and text */
    }

    /* Optimize hero logo size for mobile */
    .hero-home .col-lg-4.text-center img {
        max-width: 200px !important;
        /* More proportional logo on mobile */
        height: auto !important;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-home h1 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* Tablet landscape and desktop */
@media (min-width: 992px) {

    /* Hover effects only on desktop */
    .service-card:hover,
    .review-card:hover {
        transform: translateY(-10px);
    }
}

/* Print styles */
@media print {

    .mobile-menu,
    .scroll-to-top,
    .theme-toggle,
    .btn,
    header nav,
    footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ============================================
   Dark Mode Form Styles
   ============================================ */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

[data-theme="dark"] .form-label {
    color: var(--text-color);
}

[data-theme="dark"] .card {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .card-header {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .table {
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .accordion-button {
    background-color: var(--bg-secondary);
    color: var(--text-color);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
}

[data-theme="dark"] .accordion-body {
    background-color: var(--bg-primary);
    color: var(--text-color);
}

[data-theme="dark"] .modal-content {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-menu {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-color);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background-color: var(--bg-tertiary);
    color: var(--text-color);
}

[data-theme="dark"] .alert {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-color);
}

/* ============================================
   Services Page Styles
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #111 0%, #000 100%);
}

.service-card-large {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon-col {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.service-icon-large i {
    font-size: 3rem;
    color: white;
}

.service-content {
    padding: 2rem;
}

.service-category-badge {
    display: inline-block;
    background: #f5f5f5;
    color: #d32f2f;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.service-title-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.service-description-large {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-price,
.service-time {
    font-size: 0.9rem;
    color: #666;
}

.service-price i,
.service-time i {
    color: #d32f2f;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.breadcrumb-item a {
    color: #d32f2f;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .service-icon-col {
        padding: 2rem;
    }

    .service-content {
        padding: 1.5rem;
    }
}