/* Global Styles */
:root {
    --dark: #1a1a1a;
    --darker: #111111;
    --light: #f5f5f5;
    --red: #e31e24;
    --red-dark: #b91c21;
    --gray: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--red);
}

section {
    padding: 5rem 0;
}

.placeholder-section {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--gray);
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.9);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 5px;
    object-fit: cover;
}

.logo h2 {
    color: var(--light);
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--red);
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--light);
    transition: var(--transition);
}

/* Hero Section */
#home {
    height: 100vh;
    background-image: url('../images/landing-page.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    padding: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 1rem;
}

.hero-logo h1 {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--red);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* About Section */
#about {
    background-color: var(--darker);
}

.about-content {
    max-width: 800px;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Brand Showcase */
#brands {
    padding: 4rem 0;
    background-color: var(--gray);
    overflow: hidden;
}

.title-container {
    position: relative;
    margin-bottom: 3rem;
}

.brand-subtitle {
    font-style: italic;
    font-size: 0.9rem;
    color: #cccccc;
    position: absolute;
    bottom: -6px; /* Adjusted to align with the middle of the 4px red line */
    left: 90px; /* Position after the red line width (80px) + a little space */
}

.brand-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brand-container {
    display: flex;
    animation: scrollBrands 60s linear infinite;
    width: fit-content;
}

.brand {
    flex: 0 0 auto;
    min-width: 150px;
    margin: 0 2rem;
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.1);
    -webkit-filter: contrast(1.1) brightness(1.1);
}

.brand img:hover {
    transform: scale(1.1);
}

/* Specific logo sizing */
.brand img[alt="Benelli"] {
    max-height: 120px; /* Even larger for better visibility */
    transform: scale(1.4);
}

.brand img[alt="Harley-Davidson"] {
    max-height: 115px; /* Bigger than before */
    transform: scale(1.35);
}

.brand img[alt="Kawasaki"],
.brand img[alt="Honda"] {
    max-height: 95px; /* Slightly larger than the standard 80px */
    transform: scale(1.15);
}

.brand img[alt="Suzuki"] {
    max-height: 95px;
    transform: scale(1.2);  /* 40% bigger */
}
/* Suzuki back to standard size - no special rule needed */

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%)); /* Moves exactly half the width, creating perfect loop */
    }
}

/* Mechanic Spotlight */
#mechanic {
    background-color: var(--darker);
    padding: 6rem 0;
}

/* Services Section */
#services {
    background-color: var(--dark);
    padding: 6rem 0;
}

/* Reviews Section */
#reviews {
    background-color: var(--darker);
    padding: 6rem 0;
}

/* Instagram Section */
#instagram {
    background-color: var(--gray);
    padding: 6rem 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.instagram-card {
    background-color: var(--darker);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-decoration: none;
    color: var(--light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.instagram-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.instagram-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.instagram-card-image img,
.instagram-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-sound-btn {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    z-index: 2;
}

.video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.instagram-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.instagram-card-label {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
}

.instagram-card-label i {
    color: #833ab4;
    font-size: 1rem;
}

.instagram-view-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--red);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.instagram-card:hover .instagram-view-btn {
    background-color: var(--red-dark);
}

.instagram-cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.instagram-cta-wrapper .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-slider-container {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 3rem;
    overflow: hidden;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.review-card {
    flex: 0 0 calc(25% - 1.5rem);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 280px;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.review-nav-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.review-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.review-dot.active {
    background-color: var(--red);
}

/* Responsive styles for reviews slider */
@media screen and (max-width: 1200px) {
    .review-card {
        flex: 0 0 calc(33.33% - 1.33rem);
    }
}

@media screen and (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media screen and (max-width: 576px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.review-stars {
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.review-text {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
}

.review-author {
    font-weight: 700;
    font-size: 0.85rem;
    text-align: right;
    margin-top: auto;
    color: var(--red);
}

.google-reviews-link {
    text-align: center;
    margin-top: 2rem;
}

.google-reviews-link .btn {
    background-color: var(--red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.google-reviews-link .btn:hover {
    background-color: var(--red-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 0 0 2rem 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
    padding: 0 2rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    padding: 0 2rem;
}

.service-more-btn {
    background-color: transparent;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 2rem;
    transition: var(--transition);
    align-self: flex-start;
}

.service-more-btn:hover {
    background-color: var(--red);
    color: var(--light);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(0,0,0,0.3);
    padding: 0 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.service-details.show {
    max-height: 500px;
    padding: 1rem;
}

.service-list {
    list-style: none;
    padding-left: 0.5rem;
    margin: 1rem 0;
}

.service-list li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1rem;
}

.service-list li::before {
    content: '•';
    color: var(--red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-details ul {
    list-style-type: none;
    padding: 0;
}

.service-details ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.service-details ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--red);
}

.mechanic-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.mechanic-image {
    flex: 1;
    max-width: 500px;
}

.mechanic-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mechanic-info {
    flex: 1;
    max-width: 90%;
}

.mechanic-info p {
    max-width: 85%;
    line-height: 1.6;
}

.mechanic-info h3 {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 1.5rem;
}

/* Contact Section */
#contact {
    background-color: var(--gray);
    padding: 5rem 0;
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 450px;
    flex: 1;
    position: relative;
    height: auto;
    min-height: 450px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--darker);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.skeleton-loader {
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, var(--darker) 0%, #222 50%, var(--darker) 100%);
    background-size: 400% 400%;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: -135% 0%;
    }
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
}

.contact-card {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--red);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.3rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--light);
}

address {
    font-style: normal;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.copy-address {
    background-color: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.copy-address:hover {
    background-color: var(--red);
    color: white;
}

.hours-container {
    margin-bottom: 1rem;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.day-hours.current {
    color: var(--red);
    font-weight: 500;
}

.business-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #888;
}

.status-indicator.open {
    background-color: #28a745;
}

.status-indicator.closed {
    background-color: var(--red);
}

.special-note {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
}

.phone-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--light);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.phone-number:hover {
    color: var(--red);
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-methods a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.whatsapp-button:hover {
    background-color: #25D366;
    color: white;
}

.directions-button:hover {
    background-color: #4285F4;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--red);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--darker);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Hide brands section on mobile */
    #brands {
        display: none;
    }
    
    /* Fix hero background on mobile devices */
    #home {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--darker);
        transition: var(--transition);
        z-index: 1001;
        padding: 5rem 2rem;
    }
    
    /* Contact responsive styles */
    .contact-wrapper {
        flex-direction: column;
    }
    
    .map-container {
        display: none;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .contact-methods a {
        width: 100%;
        justify-content: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
        z-index: 1002;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-logo h1 {
        font-size: 3rem;
    }

    .mechanic-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .mechanic-info {
        max-width: 100%;
    }

    .mechanic-info p {
        max-width: 100%;
        margin: 0 auto;
    }

    .mechanic-info .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 480px) {
    .hero-logo h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    /* Header logo and text smaller for phone */
    .logo-img {
        height: 40px;
    }
    
    .logo h2 {
        font-size: 1.4rem;
    }
    
    .logo-container {
        gap: 5px;
    }
}

/* Tablet media query */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .contact-wrapper {
        gap: 1.5rem;
    }
    
    .map-container {
        flex: 1;
    }
    
    .contact-details {
        flex: 1;
    }
}
