/* Main styles */
:root {
    --primary-color: #198754;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--dark-text);
    padding-top: 80px;
}

/* Header styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.navbar-nav .nav-item {
    flex: 1;
    text-align: center;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 0.5rem !important;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

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

.breadcrumb {
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Footer styles */
.footer-main {
    background-color: var(--light-bg);
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-description {
    line-height: 1.6;
    color: var(--secondary-color);
}

.footer-address {
    margin-top: 1.5rem;
    font-style: normal;
}

.footer-address p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact page specific styles */
.contact-info-section .card,
.contact-form-section .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-info-section .card:hover,
.contact-form-section .card:hover {
    transform: translateY(-5px);
}

.contact-form-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.contact-form-section .btn-dark {
    background: linear-gradient(45deg, #198754, #20c997);
    border: none;
    padding: 0.75rem 1.5rem;
}

.contact-form-section .btn-dark:hover {
    background: linear-gradient(45deg, #20c997, #198754);
    transform: translateY(-2px);
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.faq-section .accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Cart and account buttons */
.snipcart-checkout {
    background: none;
    border: none;
    padding: 0.5rem;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.snipcart-checkout:hover {
    color: #198754;
}

.snipcart-items-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hero Section and Carousel */
.hero-section {
    margin-top: -80px;
    padding-top: 80px;
}

.carousel {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-image-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease-in-out;
}

.carousel-item:hover .carousel-image {
    transform: scale(1.05);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 600px;
    z-index: 10;
}

.carousel-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: none;
}

.carousel-description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-shadow: none;
    line-height: 1.6;
}

.carousel-btn {
    background: linear-gradient(45deg, var(--primary-color), #20c997);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
    background: linear-gradient(45deg, #20c997, var(--primary-color));
}

/* Special button styles for repair page */
.carousel-btn[data-bs-toggle="modal"] {
    background: linear-gradient(45deg, #dc3545, #fd7e14);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.carousel-btn[data-bs-toggle="modal"]:hover {
    background: linear-gradient(45deg, #fd7e14, #dc3545);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: invert(1) brightness(0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target]:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators .active {
    background-color: var(--primary-color);
    transform: scaleX(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-image-container {
        height: 50vh;
        min-height: 300px;
    }
    
    .carousel-content {
        padding: 1.5rem;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-description {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-image-container {
        height: 40vh;
        min-height: 250px;
    }
    
    .carousel-content {
        padding: 1rem;
    }
    
    .carousel-title {
        font-size: 1.5rem;
    }
    
    .carousel-description {
        font-size: 0.9rem;
    }
}
