@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary-color: #5E8C6A;
    --secondary-color: #D1CFC0;
    --background-color: #F8F7F0;
    --footer-bg-color: #2F4858;
    --button-color: #6B9B7E;
    --text-color: #333;
    --heading-font: 'Lora', serif;
    --body-font: 'Inter', sans-serif;
    --border-radius-base: 0.5rem;
    --shadow-subtle: rgba(0, 0, 0, 0.06) 0px 5px 15px;

    /* Section background colors */
    --section-bg-1: #F8F7F0;
    --section-bg-2: #E8E4D7;
    --section-bg-3: #F0EFEB;
    --section-bg-4: #DEDAD2;
    --section-bg-5: #EDEBE7;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: calc(1.8rem + 1.5vw);
    letter-spacing: -0.03em;
}

h2 {
    font-size: calc(1.5rem + 0.9vw);
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: #4a7254; /* Slightly darker primary */
    text-decoration: underline;
}

/* Custom Utilities */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.text-footer-custom { color: var(--footer-bg-color) !important; }
.bg-footer-custom { background-color: var(--footer-bg-color) !important; }

/* Buttons */
.btn-custom {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-base);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--body-font);
}

.btn-custom:hover {
    background-color: #5a8767; /* Darker shade of button color */
    color: white;
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px;
}

.btn-custom:active {
    transform: translateY(0);
    box-shadow: var(--shadow-subtle);
}

.btn-outline-custom {
    color: var(--button-color);
    border: 2px solid var(--button-color);
    background-color: transparent;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-base);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--body-font);
}

.btn-outline-custom:hover {
    background-color: var(--button-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px;
}

/* Cards and Sections */
.card-custom {
    background-color: white;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-subtle);
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 25px;
}

.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Images */
.img-fluid-custom {
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-subtle);
    object-fit: cover;
}

/* Forms */
.form-control-custom {
    border-radius: var(--border-radius-base);
    border: 1px solid var(--secondary-color);
    padding: 0.75rem 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(94, 140, 106, 0.25);
    outline: none;
}

/* Navbar */
.navbar-custom {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--secondary-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand-custom {
    font-family: var(--heading-font);
    color: var(--primary-color) !important;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.nav-link-custom {
    color: var(--text-color) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-base);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary-color) !important;
    background-color: rgba(94, 140, 106, 0.1);
}

.dropdown-menu-custom {
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-subtle);
    border: none;
    background-color: white;
}

.dropdown-item-custom {
    color: var(--text-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item-custom:hover {
    background-color: rgba(94, 140, 106, 0.1);
    color: var(--primary-color);
}

/* Footer */
.footer-custom {
    background-color: var(--footer-bg-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: white;
    text-decoration: underline;
}

.footer-custom h5 {
    color: white;
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Specific component styling for natural minimalist theme */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--section-bg-3);
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(45%) sepia(19%) saturate(1008%) hue-rotate(97deg) brightness(89%) contrast(85%); /* Adjust arrow color */
}

.accordion-item {
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-base);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.accordion-body {
    background-color: white;
    padding: 1.5rem;
}

.modal-content-custom {
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-subtle);
    border: none;
}

.modal-header-custom {
    border-bottom: 1px solid var(--secondary-color);
    padding: 1.5rem;
    background-color: var(--section-bg-1);
    border-top-left-radius: var(--border-radius-base);
    border-top-right-radius: var(--border-radius-base);
}

.modal-footer-custom {
    border-top: 1px solid var(--secondary-color);
    padding: 1.5rem;
    background-color: var(--section-bg-1);
    border-bottom-left-radius: var(--border-radius-base);
    border-bottom-right-radius: var(--border-radius-base);
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Subtle modern touches for active/selected states */
.list-group-item-custom {
    border-radius: var(--border-radius-base);
    margin-bottom: 0.5rem;
    border: 1px solid var(--secondary-color);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.list-group-item-custom:hover {
    background-color: rgba(94, 140, 106, 0.05);
    transform: translateX(3px);
}

.list-group-item-custom.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-subtle);
    transform: translateX(0);
}

.list-group-item-custom.active .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Image style: soft, organic edges, no sharp cuts */
.img-organic {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: border-radius 0.5s ease;
}

.img-organic:hover {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

/* Icon style: line-art or minimal solid icons */
.icon-minimal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(94, 140, 106, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-minimal:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Spacing and layout adjustments for a cleaner look */
.container, .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 992px) {
    .container, .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}