/* Global Styles */
:root {
    --primary-color: #6F4E37; /* Coffee Brown */
    --secondary-color: #A0522D; /* Sienna */
    --accent-color: #8B4513; /* Saddle Brown */
    --text-dark: #333333;
    --text-light: #F5F5DC; /* Beige */
    --light-bg: #F8F4F0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    padding-top: 70px; /* Adjust for fixed navbar */
}

* {
    box-sizing: border-box;
}

.site-title {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Adaptive Typography for Headings */
.hero-title {
    font-size: calc(1.8rem + 1.5vw);
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .site-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .site-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .site-title {
        font-size: 1.25rem;
    }
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Navbar */
.navbar-brand img {
    filter: brightness(0.8);
}

.navbar-brand .site-title {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-header .btn-close {
    filter: invert(1);
}

.cart-count {
    font-size: 0.75em;
    padding: 0.2em 0.5em;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Space for fixed navbar */
    padding-bottom: 50px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section .card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .card-title {
    color: white;
}

.hero-section .card-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

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

.product-card .card-img-top {
    height: 200px;
    object-fit: contain;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .card-text {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Product Slider */
#product-slider .carousel-item {
    padding-bottom: 2rem;
}

#product-slider .carousel-control-prev-icon,
#product-slider .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1rem;
}

/* Store Info */
.bg-light-brown {
    background-color: var(--primary-color);
}

#warum-uns .p-4 {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

#warum-uns .p-4 i {
    color: var(--text-light);
}

#warum-uns .p-4 h5 {
    color: var(--text-light);
}

#warum-uns .p-4 p {
    color: rgba(255, 255, 255, 0.9);
}

/* Delivery Info */
#delivery-info .table {
    border-radius: 10px;
    overflow: hidden;
}

#delivery-info .table thead th {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#delivery-info .table tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

#delivery-info .table tbody tr:hover {
    background-color: #f0f0f0;
}

/* Contact Section */
#kontakt .email-break {
    word-break: break-all;
}

/* Footer */
footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

footer .email-break {
    word-break: break-all;
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#cookieConsentModal .modal-header {
    background-color: var(--primary-color);
    color: white;
}

#cookieConsentModal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

#cookieConsentModal .btn-primary,
#cookieConsentModal .btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieConsentModal .btn-primary:hover,
#cookieConsentModal .btn-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

#cookieConsentModal .btn-outline-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieConsentModal .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cart Modal */
#cartModal .modal-header {
    background-color: var(--primary-color);
    color: white;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-price {
    font-size: 0.9rem;
    color: #666;
}

.cart-item-subtotal {
    font-weight: 600;
    color: var(--secondary-color);
}

.cart-item-quantity select {
    width: 60px;
    margin-right: 0.5rem;
}

#checkoutForm .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

#checkoutForm .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Product Added Confirmation Modal */
#productAddedModal .modal-header {
    background-color: #28a745;
    color: white;
}

#productAddedModal .modal-title {
    color: white;
}

#productAddedModal .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#productAddedModal .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Order Confirmation Modal */
#orderConfirmationModal .modal-header {
    background-color: #28a745;
    color: white;
}

#orderConfirmationModal .modal-title {
    color: white;
}

#orderConfirmationModal .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#orderConfirmationModal .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-toggler {
        display: block;
    }
    .offcanvas-body {
        padding-top: 1rem;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .btn {
        width: 100%;
        margin-top: 1rem;
    }
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: visible;
        background-color: transparent;
        border: none;
        position: static;
        transform: none;
        width: auto;
        height: auto;
        flex-grow: 1;
    }
    .offcanvas-header {
        display: none;
    }
    .offcanvas-body {
        display: flex;
        flex-grow: 1;
        padding: 0;
        justify-content: flex-end;
        align-items: center;
    }
    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
    .navbar-nav .nav-item {
        margin-left: 1rem;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        border-bottom: none;
    }
}
@media (max-width: 600px) {
    .carousel-control-next {
        top: -100%;
    }
    .carousel-control-prev  {
        top: -100%;
    }
    .cart-item {
        flex-direction: column;
    justify-content: center;
    text-align: center;
    }
}
/* Parent container for compliance core content */
.complianceCoreSlot {
    margin-top: 2rem; /* Top margin for spacing */
    padding: 2rem 1.5rem; /* Vertical and horizontal padding */
}

/* Heading 1 styles */
.complianceCoreSlot h1 {
    word-break: break-all;
    font-size: 2rem; /* Not too large, but prominent */
    line-height: 1.2; /* Improved readability */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1rem; /* Space below heading */
    font-weight: 700; /* Bold */
}

/* Heading 2 styles */
.complianceCoreSlot h2 {
    word-break: break-all;
    font-size: 1.75rem; /* Slightly smaller than h1 */
    line-height: 1.25;
    margin-top: 1.75rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Heading 3 styles */
.complianceCoreSlot h3 {
    word-break: break-all;
    font-size: 1.5rem; /* Standard h3 size */
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

/* Heading 4 styles */
.complianceCoreSlot h4 {
    word-break: break-all;
    font-size: 1.25rem; /* Smaller heading */
    line-height: 1.35;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

/* Heading 5 styles */
.complianceCoreSlot h5 {
    word-break: break-all;
    font-size: 1.1rem; /* Even smaller heading */
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Paragraph styles */
.complianceCoreSlot p {
    word-break: break-all;
    font-size: 1rem; /* Base font size */
    line-height: 1.6; /* Good for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
}

/* Unordered list styles */
.complianceCoreSlot ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indentation for bullet points */
}

/* List item styles */
.complianceCoreSlot li {
    font-size: 1rem; /* Inherit or explicitly set */
    line-height: 1.6; /* Consistent with paragraphs */
    margin-bottom: 0.5rem; /* Space between list items */
}
