/* Custom CSS Variables */
:root {
    --primary-black: #1a1a1a;
    --harley-orange: #ff6600;
    --chrome-silver: #e0e0e0;
    --dark-gray: #333333;
    --light-gray: #aaaaaa;
    --text-color: #f0f0f0;
    --leather-texture: url('https://placehold.co/100x100/3a2a1a/ffffff?text='); /* Placeholder for leather texture */
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    line-height: 1.6;
}

/* Container for content */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* Increased padding for better spacing */
    padding-right: 1.5rem;
}

/* Typography */
.text-h1 { font-size: 2.75rem; line-height: 1.1; } /* Slightly larger, tighter line height */
.text-h2 { font-size: 2.25rem; line-height: 1.2; }
.text-h3 { font-size: 1.875rem; }
.text-h4 { font-size: 1.5rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-harley-orange { color: var(--harley-orange); }
.text-chrome-silver { color: var(--chrome-silver); }
.text-light-gray { color: var(--light-gray); }
.text-primary-black { color: var(--primary-black); }

/* Spacing */
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.space-x-4 > *:not(:first-child) { margin-left: 1rem; }
.space-x-8 > *:not(:first-child) { margin-left: 2rem; }
.space-y-3 > *:not(:first-child) { margin-top: 0.75rem; }
.space-y-4 > *:not(:first-child) { margin-top: 1rem; }

/* Layout */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.h-screen { height: 100vh; }
.h-96 { height: 24rem; }
.w-1\/2 { width: 50%; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.h-auto { height: auto; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.opacity-60 { opacity: 0.6; }
.opacity-20 { opacity: 0.2; }
.opacity-10 { opacity: 0.1; }

/* Borders & Shadows */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: 0.375rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-harley-orange { border-color: var(--harley-orange); }
.border-chrome-silver { border-color: var(--chrome-silver); }
.border-dark-gray { border-color: var(--dark-gray); }
.border-t { border-top-width: 1px; border-top-style: solid; }

/* Backgrounds */
.bg-primary-black { background-color: var(--primary-black); }
.bg-dark-gray { background-color: var(--dark-gray); }
.bg-harley-orange { background-color: var(--harley-orange); }
.bg-chrome-silver { background-color: var(--chrome-silver); }

/* Transitions and Transforms */
.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.transform { transform: var(--tw-transform); }
.hover\:bg-orange-700:hover { background-color: #cc5200; } /* Darker orange */
.hover\:bg-light-gray:hover { background-color: #cccccc; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:text-harley-orange:hover { color: var(--harley-orange); }

/* Form Inputs */
.form-input {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); /* Inset shadow for depth */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem; /* rounded-md */
    width: 100%;
    padding: 0.75rem 1rem;
    color: var(--primary-black);
    line-height: 1.25;
    background-color: var(--chrome-silver);
    border: 1px solid var(--dark-gray); /* More subtle border */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: var(--harley-orange); /* Orange border on focus */
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.4); /* Orange glow on focus */
}

/* About Section Specifics */
.about-section-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    object-fit: cover; /* Ensure image covers area */
}

/* Service & Why Choose Us Cards - Consistent, cleaner look */
.service-card, .why-choose-card, .testimonial-card, .review-card {
    background-color: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-gray); /* Subtle dark gray border */
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover, .why-choose-card:hover, .testimonial-card:hover, .review-card:hover {
    transform: translateY(-5px);
    border-color: var(--harley-orange); /* Orange border on hover */
}
.service-card i {
    font-size: 3.5rem; /* Slightly larger icons */
    color: var(--harley-orange); /* Orange icons */
    margin-bottom: 1rem;
}
.why-choose-card i {
    font-size: 3rem; /* Slightly larger icons */
    color: var(--harley-orange); /* Orange icons */
    margin-bottom: 0.75rem;
}

/* Testimonials & Reviews Section Specifics */
.testimonial-card .author-info, .review-card .author-info {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}
.testimonial-card .author-info i, .review-card .author-info i {
    font-size: 1.8rem; /* Larger user icon */
    margin-right: 0.75rem;
    color: var(--chrome-silver); /* Silver user icon */
}
.testimonial-card .rating, .review-card .rating {
    margin-bottom: 0.75rem;
}

/* FAQ Section Specifics (Accordion) */
.faq-item {
    background-color: var(--dark-gray);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--dark-gray); /* Subtle dark border */
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.faq-item:hover {
    border-color: var(--chrome-silver); /* Silver border on hover */
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--harley-orange);
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background */
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-question.active i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: var(--light-gray); /* Lighter gray for answer text */
}
.faq-answer.open {
    max-height: 200px; /* Adjust as needed, should be large enough for content */
    padding-bottom: 1.5rem;
}

/* Subtle Animations */
@keyframes tireRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-tire-rotate {
    animation: tireRotate 10s linear infinite;
}

@keyframes chromeShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-chrome-shine {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: chromeShine 3s infinite linear;
}

/* Custom scrollbar for a biker feel */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--harley-orange);
    border-radius: 10px;
    border: 3px solid var(--primary-black);
}

::-webkit-scrollbar-thumb:hover {
    background: #e65c00;
}

/* Facebook Messenger Chat Plugin Styling (basic placeholder) */
#fb-root {
    display: none; /* Hide until loaded by Facebook SDK */
}
.fb_dialog {
    z-index: 99999999 !important; /* Ensure it's on top */
}

/* Header Section */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.95); /* Semi-transparent black */
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between logo-area and nav */
    padding: 1rem 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.header-sticky .logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* space-x-3 */
}
/* Specific style for your image logo in the header */
.header-logo-image {
    height: 40px; /* Default height for small screens */
    width: auto;
    object-fit: contain;
    margin-right: 0.5rem; /* Small space after logo */
}

.header-sticky nav {
    display: flex; /* Default to flex for desktop */
    align-items: center;
    gap: 2rem; /* space-x-8 */
    margin-left: auto; /* Push nav to the right */
}
.header-sticky .nav-link {
    color: var(--text-color);
    text-decoration: none !important; /* !!! IMPORTANT: Removed underline !!! */
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap; /* Prevent wrapping */
    display: flex; /* To align icon and text if present */
    align-items: center;
    justify-content: center;
}
.header-sticky .nav-link:hover {
    background-color: var(--dark-gray);
    color: var(--harley-orange);
}
.header-sticky .social-proof {
    display: flex;
    align-items: center;
    color: var(--light-gray);
    font-size: 0.875rem;
    margin-left: 1.5rem; /* ml-6 */
}
.header-sticky .social-proof i {
    color: var(--harley-orange);
    margin-right: 0.25rem;
}

/* Hamburger Menu - Display on mobile only, hidden on desktop */
.hamburger-menu {
    display: none; /* Hidden by default (desktop) */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1100; /* Above header content */
    margin-left: auto; /* Push to the right on mobile */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--harley-orange);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation Overlay - Displayed on mobile when open */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98); /* More opaque */
    z-index: 1050;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-nav-overlay.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay .nav-link {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-decoration: none !important; /* Ensure no underline on mobile nav links */
    transition: color 0.3s ease;
}

.mobile-nav-overlay .nav-link:hover {
    color: var(--harley-orange);
}


/* Hero Section Parallax */
.parallax-bg {
    background-image: url('images/hero.jpg'); /* Placeholder for garage scene */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 1rem; /* Add some horizontal padding */
}
.hero-section .relative {
    position: relative;
    z-index: 10;
    padding: 2rem; /* Increased padding */
    border-radius: 0.75rem; /* Slightly more rounded */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* Stronger shadow */
}
.hero-section .mx-auto { margin-left: auto; margin-right: auto; }
.hero-section .w-1\/2 { width: 50%; }

/* Harley Davidson SVG Logo for Hero - Use if you want an animated logo, otherwise remove */
.harley-logo-svg {
    width: 100%;
    height: auto;
    max-width: 300px;
}
.harley-logo-svg path {
    fill: var(--text-color); /* Default fill */
}
.harley-logo-svg .bar {
    fill: var(--harley-orange); /* Orange bar */
}
.harley-logo-svg.w-24 { width: 6rem; }
.harley-logo-svg.w-32 { width: 8rem; }
.harley-logo-svg.w-48 { width: 12rem; }
.harley-logo-svg.w-64 { width: 16rem; }
.harley-logo-svg.w-80 { width: 20rem; }
.harley-logo-svg.cursor-pointer { cursor: pointer; }

/* Rev Counter Loading Bar */
.rev-counter-bar {
    width: 0%;
    height: 8px;
    background-color: var(--harley-orange);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Buttons - Refined */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0.75rem 2rem; /* py-3 px-8 */
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Softer shadow */
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    cursor: pointer;
    border: none;
    text-decoration: none;
    letter-spacing: 0.05em; /* Slightly more spaced letters */
    text-transform: uppercase; /* Uppercase for buttons */
}
.btn-primary {
    background-color: var(--harley-orange);
    color: var(--primary-black);
}
.btn-primary:hover {
    background-color: #cc5200; /* Darker orange */
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Social Share Buttons - Consistent with new card style (used only in products.html now) */
/* These styles are kept here for consistency, but primarily apply to products.html if it links to this stylesheet */
.social-share-button {
    background-color: transparent; /* Transparent background */
    color: var(--chrome-silver); /* Chrome silver icon */
    padding: 0.6rem; /* Slightly larger touch target */
    border-radius: 9999px;
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--chrome-silver); /* Chrome silver border */
    cursor: pointer;
    font-size: 1.1rem; /* Slightly larger icon */
}
.social-share-button:hover {
    background-color: var(--chrome-silver); /* Chrome silver background on hover */
    color: var(--primary-black); /* Black icon on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


/* Responsive Styles (Media Queries) */
/* Mobile styles (up to 767px) */
@media (max-width: 767px) {
    .header-sticky {
        flex-direction: row; /* Keep logo and hamburger on one row */
        justify-content: space-between; /* Distribute space between them */
        align-items: center;
        padding: 1rem 1.5rem; /* Consistent padding */
    }
    .header-sticky .logo-area {
        width: auto; /* Allow logo area to take natural width */
        justify-content: flex-start; /* Align logo to start */
        margin-bottom: 0; /* No bottom margin */
    }
    .header-sticky nav {
        display: none; /* HIDE desktop nav on mobile */
    }
    .header-sticky .social-proof {
        display: none; /* Hide social proof on mobile header */
    }
    .hamburger-menu {
        display: flex; /* SHOW hamburger on mobile */
        margin-left: auto; /* Push to the right within header */
    }
    .hero-section .relative {
        padding: 1.5rem; /* Adjust padding for mobile hero */
    }
    .hero-section .text-h1 { font-size: 2rem; }
    .hero-section .text-h4 { font-size: 1.2rem; }
    .footer-quick-links {
        grid-template-columns: 1fr; /* Single column for footer links on mobile */
        text-align: center;
    }
    .footer-quick-links ul {
        margin-bottom: 1.5rem; /* Space between link groups */
    }
    .footer-quick-links ul li {
        margin-bottom: 0.5rem;
    }
    /* Mobile nav overlay links - ensure no underline */
    .mobile-nav-overlay .nav-link {
        text-decoration: none !important;
    }
}

/* Tablet and Desktop styles (768px and up) */
@media (min-width: 768px) {
    .text-h1 { font-size: 3.5rem; }
    .text-h2 { font-size: 2.5rem; }
    .text-h3 { font-size: 2rem; }
    .text-h4 { font-size: 1.75rem; }
    .px-md-12 { padding-left: 3rem; padding-right: 3rem; }
    .header-sticky {
        flex-direction: row; /* Desktop: row layout */
        padding: 1rem 3rem;
    }
    .header-sticky .logo-area {
        width: auto; /* Allow logo area to take natural width */
        justify-content: flex-start; /* Align logo to start */
    }
    .header-sticky nav {
        display: flex; /* SHOW desktop nav */
        flex-direction: row;
        align-items: center;
        margin-left: auto; /* Push nav to the right */
    }
    .header-sticky .hamburger-menu {
        display: none; /* HIDE hamburger on desktop */
    }
    /* Desktop nav links - ensure no underline */
    .header-sticky .nav-link {
        text-decoration: none !important;
    }
    .hero-section .p-md-8 { padding: 2rem; }
    .hero-section .w-md-1\/4 { width: 25%; }
    .grid-cols-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-cols-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md-col-span-2 { grid-column: span 2 / span 2; }
    .md-col-span-3 { grid-column: span 3 / span 3; }
    .about-section-content {
        display: grid;
        grid-template-columns: 1fr 2fr; /* Image on left, text on right */
        gap: 2rem;
        align-items: center;
    }
    .about-section-image {
        margin-bottom: 0;
    }
    .services-grid, .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for cards */
    }
    .footer-quick-links {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

@media (min-width: 1024px) { /* lg breakpoint */
    .harley-logo-svg.w-lg-80 { width: 20rem; }
    .grid-cols-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-cols-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}