/* General Body & Typography */
body {
    /* Fix for horizontal scrollbar caused by Bootstrap's negative margins on .row */
    overflow-x: hidden;
}

body {
    font-family: 'Assistant', sans-serif;
    background-color: #fdfdfd;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #2c3e50;
}

/* Accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
    background-color: #0d6efd;
    color: white;
    padding: 15px;
    text-decoration: none;
}

.skip-to-content:focus, .skip-to-content:active {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    overflow: auto;
    z-index: 10000;
    border-radius: 5px;
}

/* Navbar */
.navbar-brand {
    color: #a0522d !important; /* Sienna color */
    font-size: 1.5rem;
}
.nav-link {
    font-weight: 600;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: #a0522d !important;
}
.navbar .btn-success {
    background-color: #25D366;
    border-color: #25D366;
    transition: background-color 0.3s, border-color 0.3s;
}
.navbar .btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/deli-hero.webp') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    color: white;
}
.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.btn-primary {
    background-color: #a0522d;
    border-color: #a0522d;
}
.btn-primary:hover {
    background-color: #8b4513; /* SaddleBrown */
    border-color: #8b4513;
}

/* WebLite CTA Section */
.weblite-cta {
    background-color: #e9ecef;
}
.weblite-cta a {
    text-decoration: none;
}
.weblite-cta .btn-light {
    font-weight: bold;
    color: #a0522d;
}

/* Categories Section */
.category-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(160, 82, 45, 0.1);
    color: #a0522d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Product Card */
.product-card {
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}
.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Reviews Section */
.review-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #a0522d;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%;
}
.review-card .blockquote-footer {
    margin-top: 1rem;
    color: #6c757d;
}

/* Process & FAQ Section */
.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.step-number {
    width: 40px;
    height: 40px;
    background-color: #a0522d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-left: 1rem;
}
.accordion-button:not(.collapsed) {
    color: #2c3e50;
    background-color: rgba(160, 82, 45, 0.1);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(160, 82, 45, 0.25);
}

/* Location Section */
.map-responsive {
    overflow: hidden;
    padding-bottom: 75%; /* Aspect ratio 4:3 */
    position: relative;
    height: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* Footer */
footer {
    background-color: #2c3e50 !important;
}
footer a {
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}
.weblite-cta-footer .btn-outline-light {
    border-color: #a0522d;
    color: #a0522d;
}
.weblite-cta-footer .btn-outline-light:hover {
    background-color: #a0522d;
    color: white !important;
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}