/* Custom CSS for ILAVA Poultry LLP */

:root {
    --primary-color: #8B4513; /* Saddle Brown - main brand color */
    --secondary-color: #D2B48C; /* Tan - light brown for accents */
    --tertiary-color: #F5DEB3; /* Wheat - very light brown/cream for backgrounds */
    --text-color: #333333; /* Dark grey for general text */
    --light-text-color: #666666; /* Lighter grey for secondary text */
    --white-color: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--tertiary-color); /* Light brown background */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Utility classes for Bootstrap overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6a340e; /* Darker brown on hover */
    border-color: #6a340e;
}

.btn-outline-light {
    color: var(--white-color);
    border-color: var(--white-color);
}

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

.bg-light {
    background-color: var(--tertiary-color) !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem var(--shadow-light) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem var(--shadow-medium) !important;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color); /* Dark brown for navbar */
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 5px var(--shadow-light);
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.logo-img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

.logo-text {
    color: var(--white-color);
}

.cart-icon-btn {
    position: relative;
    color: var(--white-color) !important;
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 0.75em;
    padding: 0.3em 0.6em;
    line-height: 1;
}

/* Cookie Banner */
.cookie-banner {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.75rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

.cookie-banner p {
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: url('photos/uploads/in_chook_australian_with_on_poultry_a_agricultural_chicken_free_farm_range_farm_regenerative_tractors_spring_with.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    padding-top: 70px; /* Adjust for fixed navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
    z-index: 0;
}

.hero-section h1, .hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-btn {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.product-badge {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 8px var(--shadow-medium);
    z-index: 1;
    white-space: nowrap;
}

.product-badge i {
    font-size: 1.5rem;
}

/* About Farm Section */
.about-section {
    background-color: var(--white-color);
    padding: 80px 0;
}

.about-section h2 {
    color: var(--primary-color);
}

.about-section img {
    max-height: 450px;
    object-fit: cover;
}

/* Products Section */
.products-section {
    background-color: var(--tertiary-color);
    padding: 80px 0;
}

.products-section h2 {
    color: var(--primary-color);
}

.product-card {
    border: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem var(--shadow-medium) !important;
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.product-card .card-title {
    color: var(--primary-color);
}

.product-card .card-text {
    min-height: 90px; /* Ensure consistent height for descriptions */
    overflow: hidden;
}

/* Cart Offcanvas */
.offcanvas {
    background-color: var(--tertiary-color);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cart-item {
    background-color: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px var(--shadow-light);
}

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

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

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

.cart-item-details .text-muted {
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.cart-item-actions select {
    width: 70px;
    text-align: center;
}

.cart-item-actions .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.cart-item-actions .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.cart-summary {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.cart-summary h4 {
    color: var(--text-color);
}

.cart-summary #cart-total-price {
    color: var(--primary-color);
}

/* Checkout Modal */
.modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem var(--shadow-medium);
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

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

.modal-body label {
    font-weight: 600;
    color: var(--text-color);
}

.modal-body .form-control, .modal-body .form-select {
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
}

.modal-body .form-control:focus, .modal-body .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
}

.modal-footer {
    border-top: none;
}

/* Order Confirmation Modal */
#orderConfirmationModal .modal-body i {
    color: #28a745;
}

#orderConfirmationModal .modal-body #order-id {
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ, Payment, Shipping, Delivery Sections */
.faq-section, .payment-section, .shipping-section, .delivery-process-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.payment-section, .delivery-process-section {
    background-color: var(--tertiary-color);
}

.faq-section h2, .payment-section h2, .shipping-section h2, .delivery-process-section h2 {
    color: var(--primary-color);
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
    border-color: var(--primary-color);
}

.accordion-body {
    background-color: var(--white-color);
    padding: 1.25rem;
    color: var(--light-text-color);
}

.shipping-section .card {
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.shipping-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem var(--shadow-medium) !important;
}

.delivery-step {
    background-color: var(--white-color);
    border: 1px solid #e0e0e0;
}

.delivery-step i {
    color: var(--primary-color);
}

.delivery-step h4 {
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding-top: 60px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.logo-img-footer {
    height: 70px;
    width: 70px;
    object-fit: contain;
    margin-right: 10px;
}

.logo-text-footer {
    color: var(--white-color);
}

.footer h5 {
    color: var(--white-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul {
    padding-left: 0;
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: var(--white-color);
    font-size: 1.8rem;
    margin-right: 1rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.instagram-gallery img {
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.instagram-gallery img:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        height: 100vh;
        padding-top: 90px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .product-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .product-badge i {
        font-size: 1.2rem;
    }

    .product-badge-1 { top: 15%; left: 5%; }
    .product-badge-2 { top: 30%; right: 5%; }
    .product-badge-3 { bottom: 15%; left: 10%; }

    .about-section, .products-section, .faq-section, .payment-section, .shipping-section, .delivery-process-section {
        padding: 60px 0;
    }

    .footer {
        padding-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 100vh;
        padding-top: 80px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .product-badge {
        display: none; /* Hide floating badges on small screens */
    }

    .about-section img {
        max-height: 300px;
    }

    .products-section .row-cols-md-2 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .product-card .card-text {
        min-height: auto; /* Allow height to collapse on small screens */
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item img {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }

    .cart-item-actions {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        margin-top: 1rem;
    }

    .cart-item-actions select {
        width: auto;
    }

    .footer .col-lg-4 {
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
        display: flex;
    }

    .footer .list-unstyled {
        padding-left: 0;
        text-align: center;
    }
}
/* New styles for typography within .complianceVaultNode */
.complianceVaultNode {
    /* Container styles for padding and centering the content */
    padding: 2.5rem 1.5rem; /* Top/bottom padding, left/right padding */
    margin: 3rem auto; /* Top/bottom margin, center horizontally */
    max-width: 960px; /* Maximum width for readability, adjust as needed */
    background-color: var(--white-color); /* Light background for the content block */
    border-radius: 0.75rem; /* Slightly rounded corners */
    box-shadow: 0 0.5rem 1rem var(--shadow-medium); /* Subtle shadow for depth */
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

.complianceVaultNode h1 {
    /* Heading 1 styles - main section title */
    font-size: 2rem; /* Moderate size, not overly large */
    line-height: 1.2;
    margin-top: 0; /* Reset top margin as it's the first element in the container */
    margin-bottom: 1.2rem;
    color: var(--primary-color); /* Brand primary color for prominence */
    font-weight: 700; /* Bold */
}

.complianceVaultNode h2 {
    /* Heading 2 styles - sub-section titles */
    font-size: 1.7rem;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600; /* Semi-bold */
}

.complianceVaultNode h3 {
    /* Heading 3 styles - article titles or key points */
    font-size: 1.4rem;
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    color: var(--text-color); /* General text color */
    font-weight: 600;
}

.complianceVaultNode h4 {
    /* Heading 4 styles - minor sub-headings */
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 500; /* Medium weight */
}

.complianceVaultNode h5 {
    /* Heading 5 styles - very specific points or labels */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
    color: var(--text-color);
    font-weight: 500;
}

.complianceVaultNode p {
    /* Paragraph styles - standard text */
    font-size: 1rem; /* Base font size */
    line-height: 1.7; /* Good readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-color);
}

.complianceVaultNode ul,
.complianceVaultNode ol {
    /* List styles - general properties for both unordered and ordered lists */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 25px; /* Indent for list markers */
    color: var(--text-color);
}

.complianceVaultNode ul li,
.complianceVaultNode ol li {
    /* List item styles - spacing between individual items */
    margin-bottom: 0.6rem; /* Space between list items */
    line-height: 1.6;
}

.complianceVaultNode ul {
    /* Unordered list specific style */
    list-style: disc; /* Default bullet points */
}

.complianceVaultNode ol {
    /* Ordered list specific style */
    list-style: decimal; /* Default numbering */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .complianceVaultNode {
        padding: 1.5rem 1rem; /* Reduce padding on smaller screens */
        margin: 2rem 1rem; /* Adjust margin to prevent touching screen edges */
    }

    .complianceVaultNode h1 {
        font-size: 1.7rem;
    }

    .complianceVaultNode h2 {
        font-size: 1.5rem;
    }

    .complianceVaultNode h3 {
        font-size: 1.2rem;
    }

    .complianceVaultNode h4 {
        font-size: 1.1rem;
    }

    .complianceVaultNode h5 {
        font-size: 1rem;
    }

    .complianceVaultNode p {
        font-size: 0.95rem;
    }

    .complianceVaultNode ul,
    .complianceVaultNode ol {
        padding-left: 20px; /* Slightly less indent on small screens */
    }
}


.hero-card-2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}


.footer p, .footer li a, .footer li{
    color: #fff !important;
}

@media(max-width: 992px){
    .hero-section .row{
        gap: 40px;
    }
}

.delivery-step i {
    padding-bottom: 10px;
}

.cookie-banner .container{
    flex-wrap: wrap;
    gap: 10px;
}