/*
* RevTech Motors - Motorcycle Repair Shop Website
* Custom CSS Styles
*/

/* ---------- General Styles ---------- */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #444444;
    --dark-bg: #1a1a1a;
    --darker-bg: #121212;
    --light-text: #f5f5f5;
    --medium-text: #cccccc;
    --gray-text: #999999;
    --border-color: #333333;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff8c33;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e05f00;
    border-color: #e05f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section-title {
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center; /* Added to center align section titles */
}

.section-subtitle {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto;
    text-align: center; /* Added to center align section subtitles */
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.bg-darker {
    background-color: var(--darker-bg);
}

/* ---------- Navigation ---------- */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled {
    padding: 8px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--light-text);
}

.navbar-brand i {
    color: var(--primary-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--medium-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active  {
    color: var(--primary-color);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after, 
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 70%;
}

.nav-scooter-link{
    color: var(--medium-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    z-index: 1;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.hero-section h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ---------- About Section ---------- */
#about {
    padding: 100px 0;
}

.about-img {
    border: 5px solid var(--secondary-color); /* Fixed pixel border */
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* You might want to add a responsive width here if not already set by parent containers */
    /* For example: width: 100%; max-width: your_desired_max_width; */
}

.about-img img {
    display: block;
    width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio based on width initially */
    max-height: 600px; /* Set the maximum height */
    object-fit: cover; /* Crop image to fill container while maintaining aspect ratio */
}

.about-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.about-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.about-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ---------- Showcase Section ---------- */
#showcase {
    padding: 100px 0;
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100%;
    padding: 30px 0;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--secondary-color);
}

.work-info {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-top: 3px solid var(--primary-color);
}

.work-info h4 {
    margin-bottom: 8px;
    color: var(--light-text);
}

.work-info p {
    margin-bottom: 0;
    color: var(--medium-text);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet {
    background: var(--gray-text);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* ---------- Services Section ---------- */
#services {
    padding: 100px 0;
}

.service-card {
    background-color: var(--darker-bg);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 107, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--light-text);
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--light-text);
}

.service-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--medium-text);
}

.service-list li:last-child {
    border-bottom: none;
}

/* ---------- Reviews Section ---------- */
#reviews {
    padding: 100px 0;
    position: relative;
}

.reviews-carousel {
    position: relative;
}

.review-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.review-stars {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-text {
    color: var(--medium-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.reviewer-avatar i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.reviewer-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--light-text);
}

.reviewer-info small {
    color: var(--gray-text);
    font-size: 0.8rem;
}

.reviews-notice {
    background-color: rgba(255, 107, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed var(--primary-color);
}

.reviews-notice p {
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Google Reviews Button */
.google-review-btn {
    background: #232323;
    color: #ff6b00 !important;
    border: 2px solid #ff6b00;
    border-radius: 8px;
    padding: 14px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-top: 10px;
    display: inline-block;
    vertical-align: middle;
}

.google-review-btn:hover {
    background: #ff6b00;
    color: #232323 !important;
    border-color: #ff6b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
}

.google-review-btn i {
    margin-right: 8px;
}

/* ---------- Contact Section ---------- */
#contact {
    padding: 100px 0;
}

.contact-info {
    padding: 30px;
    background-color: var(--darker-bg);
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--light-text);
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--medium-text);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.hours {
    margin-top: 25px;
}

.hours h4 {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

.map-container {
    height: 100%;
    min-height: 400px;
}

.google-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--darker-bg);
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-placeholder i {
    color: var(--primary-color);
}

.map-code {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-size: 0.8rem;
    color: #aaa;
    display: block;
    text-align: left;
}

.contact-notice {
    background-color: rgba(255, 107, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed var(--primary-color);
}

.contact-notice p {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--darker-bg);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

footer p {
    margin-bottom: 5px;
    color: var(--gray-text);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .review-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        min-height: 500px;
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    #about, #services, #showcase, #reviews, #contact {
        padding: 70px 0;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .map-container {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .divider {
        width: 60px;
        height: 3px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
}

.mot-box {
    border: 3px dashed var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
  }

.nav-item.nav-link{
    color: var(--medium-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}
