:root {
    /* Colors */
    --primary-color: #8A9A5B;
    --secondary-color: #F0EAD6;
    --background-color: #FCFCFA;
    --footer-bg-color: #36454F;
    --button-color: #8A9A5B;
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --accent-color: #C0C5B0; /* A slightly lighter shade of primary for subtle accents */

    /* Section Backgrounds */
    --section-bg-1: #FCFCFA;
    --section-bg-2: #F0EAD6;
    --section-bg-3: #E6E0D2;
    --section-bg-4: #F7F4EC;
    --section-bg-5: #DED7C8;

    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-soft: 12px;
    --border-radius-btn: 25px;

    /* Shadows */
    --shadow-subtle: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    --shadow-medium: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal scroll from subtle animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Header Styles */
.navbar-custom {
    background-color: transparent !important;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.navbar-custom.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-subtle);
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.navbar-custom .navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.navbar-custom .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 var(--spacing-sm);
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease-out;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

/* Hero Section (assuming a hero section exists) */
.hero-section {
    background-color: var(--background-color); /* Or an image */
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Button Styles */
.btn-custom {
    background-color: var(--button-color);
    color: var(--light-text-color);
    border: none;
    border-radius: var(--border-radius-btn);
    padding: 0.8rem 2.2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
}

.btn-custom:hover {
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background-color: var(--accent-color); /* Fallback for no gradient */
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-custom:hover::before {
    opacity: 1;
}

.btn-custom:active {
    transform: translateY(0);
    box-shadow: var(--shadow-subtle);
}

/* Card Styles */
.card-custom {
    border: none;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-custom .card-title {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-weight: 600;
}

.card-custom .card-text {
    font-family: var(--font-primary);
    color: #555;
}

/* Section Backgrounds */
.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);
}

/* Footer Styles */
.footer-custom {
    background-color: var(--footer-bg-color);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0;
    font-family: var(--font-primary);
}

.footer-custom h5 {
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-custom .social-icon {
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
    color: rgba(255, 255, 255, 0.7);
}

.footer-custom .social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Utility classes for spacing */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Image styles */
.img-fluid-custom {
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease-in-out;
}

.img-fluid-custom:hover {
    transform: scale(1.02);
}

/* Iconography (assuming a font icon library like Font Awesome is used) */
.icon-custom {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.icon-custom:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-custom .nav-link {
        margin: 0.5rem 0;
    }

    .navbar-custom.scrolled {
        background-color: rgba(255, 255, 255, 0.98) !important;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 6rem 0;
    }

    .btn-custom {
        padding: 0.6rem 1.8rem;
        font-size: 1rem;
    }
}


/* 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);
}