/* ===================================
   Reset & Base Styles
   =================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --dark-orange: #E85A2A;
    --light-orange: #FF8555;
    --black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --medium-gray: #2A2A2A;
    --light-gray: #FFFFFF;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-shadow {
    text-shadow: 1px 1px 2px black;
}

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

section {
    padding: 100px 0;
}

.site-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('/img/logo.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    
    /* Glass effect */
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: overlay;
    filter: blur(5px);
}

[x-cloak] {
    display: none !important;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-orange);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #F5F5F5;
    /* backdrop-filter: blur(10px); */
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    height: 100px;
    width: auto;
    margin-top: -25px;
    margin-bottom: -25px;
    margin-left: -22px;
    margin-right: -15px;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: color 0.3s ease;
    color: var(--black);
}

.logo:hover .logo-text {
    color: var(--primary-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

/* Profile & Utility Styles */
.profile-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark-gray);
    color: var(--white);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.profile-icon-btn:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
    border-color: var(--white);
}

.profile-icon-btn svg {
    width: 24px;
    height: 24px;
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.mobile-actions {
    display: none;
    align-items: center;
    gap: 15px;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary, .btn-secondary, .service-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary, .service-book-btn {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover, .service-book-btn:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--primary-orange);
    line-height: 1.7;
    text-shadow: 1px 1px 2px black;
}

.time-slot-btn {
    display: block;
    padding: 0.5rem;
    text-align: center;
    background: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
    color: white;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: rgba(26, 26, 26, 0.75);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* backdrop-filter: blur(10px); */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo .logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
}

.footer-description {
    color: var(--light-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-orange);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
    font-size: 14px;
}

.footer-contact svg {
    color: var(--primary-orange);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-orange);
}

/* ===================================
   Utility Classes
   =================================== */
.blur-background {
    background-color: rgba(26, 26, 26, 0.75);
    /* backdrop-filter: blur(10px); */
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .logo img {
        height: 75px;
        width: auto;
        margin-top: -25px;
        margin-bottom: -25px;
        margin-left: -22px;
        margin-right: -10px;
    }

    .logo-text {
        font-size: 1rem;
        font-size: large;
    }
    .nav-menu .nav-link {
        color: var(--black);
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: color 0.3s ease;
        position: relative;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-text {
        margin-top: 1.5em;
    }

    .hero-description {
        text-shadow: 1px 1px 2px black;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 42px;
    }

    .booking-cta .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-cta .step-arrow {
        margin: 10px 0;
    }
    
    .booking-cta .step-arrow svg {
        animation: arrowPulseVertical 2s infinite;
    }
    
    @keyframes arrowPulseVertical {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(5px); }
    }
}

@media (max-width: 768px) {
    .hero-background {
        background-image: url('../img/home-background-mobile-light.jpeg');
        background-size: 100% 100%;
    }

    .logo img {
        height: 75px;
        width: auto;
        margin-top: -20px;
        margin-bottom: -20px;
    }

    .logo-text {
        color: var(--black);
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 30px 0;
        align-items: center;
    }

    .nav-link {
        color: var(--white);
    }

    .nav-menu .nav-link {
        color: var(--white);
    }

    .nav-menu.active {
        left: 0;
    }

    .desktop-actions {
        display: none;
    }
    
    .mobile-actions {
        display: flex;
    }
    
    .nav-menu.active .desktop-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    
    .nav-menu.active .profile-icon-btn {
        width: auto;
        padding: 12px 24px;
        border-radius: 50px;
        gap: 10px;
    }
    
    .nav-menu.active .profile-icon-btn svg {
        width: 20px;
        height: 20px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-text {
        margin-top: 1.5em;
    }

    .hero-description {
        font-size: 18px;
        text-shadow: 1px 1px 2px black;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .call-us-container {
        width: 100%;
    }
    
    .phone-number {
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-description {
        font-size: 16px;
    }

    .book-cta-link-home {
        margin-left: 13em;
    }

    .booking-cta {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
    }

    .cta-content h3 {
        font-size: 28px;
    }
    
    .booking-cta .process-step {
        padding: 25px 15px;
    }
    
    .booking-cta .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .booking-cta .step-title {
        font-size: 18px;
    }
    
    .booking-cta .payment-icon {
        height: 20px;
        max-width: 50px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .tire-brands {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-contact-container {
        align-items: center;
        width: 100%;
    }
    
    .contact-info {
        text-align: center;
    }

    .service-image-container {
        height: 180px;
    }
    
    .service-title-overlay {
        font-size: 20px;
        padding: 15px;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-text {
        margin-top: 1.5em;
    }

    .hero-description {
        font-size: 14px;
        text-shadow: 1px 1px 2px black;
    }

    .section-title {
        font-size: 28px;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .book-cta-link-home {
        margin-left: 0;
    }

    .stat-number {
        font-size: 36px;
    }

    .summary-number {
        font-size: 36px;
    }

    .tire-size-with-guide {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 75px;
        width: auto;
        margin-top: -10px;
        margin-bottom: -10px;
        margin-left: -22px;
        margin-right: -18px;
    }

    .hero-title {
        font-size: 25px;
    }

    .hero-text {
        margin-top: 1.5em;
    }

    .hero-description {
        font-size: 14px;
        text-shadow: 1px 1px 2px black;
    }

    .section-title {
        font-size: 28px;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 36px;
    }

    .summary-number {
        font-size: 36px;
    }
}

@media (max-width: 425px) {
    .logo img {
        height: 75px;
        width: auto;
        margin-top: -10px;
        margin-bottom: -10px;
        margin-left: -22px;
        margin-right: -18px;
    }

    .logo-text {
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .hero-title {
        font-size: 25px;
    }

    .hero-text {
        margin-top: 1.5em;
    }

    .hero-description {
        font-size: 14px;
        text-shadow: 1px 1px 2px black;
    }

    .section-title {
        font-size: 28px;
    }

    .btn-large {
        width: 80%;
        justify-content: center;
    }

    .book-cta-link-home {
        margin-left: 35px;
    }

    .stat-number {
        font-size: 36px;
    }

    .summary-number {
        font-size: 36px;
    }
}


@media (max-width: 375px) {
    .logo img {
        height: 75px;
        width: auto;
        margin-top: -10px;
        margin-bottom: -10px;
        margin-left: -18px;
    }

    .logo-text {
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-text {
        margin-top: 1em;
    }

    .hero-description {
        font-size: 14px;
        text-shadow: 1px 1px 2px black;
    }

    .section-title {
        font-size: 28px;
    }

    .btn-large {
        width: 80%;
        justify-content: center;
    }

    .book-cta-link-home {
        margin-left: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .summary-number {
        font-size: 36px;
    }
}
