:root {
    --bg: #fff;
    --text: #222;
    --accent: linear-gradient(
        319deg,
        #d2b48c 0%,
        /* tan */ #8b4513 37%,
        /* saddle brown */ #a0522d 100% /* sienna */
    );
    --max: 1200px;
    --font:
        "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
        sans-serif;
    --font-body: "Open Sans", sans-serif;
    --font-heading: "Roboto Slab", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #addfad;
    background-image: linear-gradient(
        319deg,
        #addfad 0%,
        #525025 37%,
        #bab86c 100%
    );
    color: var(--text);
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem; /* consistent side padding */
}

main {
    flex: 1 0 auto;
    z-index: 1;
    width: 80%;
    margin: 2rem auto; /* centers it with top/bottom spacing */
    padding: 2rem; /* breathing room inside */
    background-color: #fcf5e5; /* parchment off-white */
    border-radius: 8px; /* soft corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* gentle shadow */
}

/* Header */
.site-header {
    background: var(--accent);
    color: #fff;
    position: relative;
    z-index: 1000;
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 2rem;
}
.brand {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Nav toggle */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    cursor: pointer;
    color: #fff;
    z-index: 1100;
}
.nav-toggle .bar {
    width: 24px;
    height: 2px;
    background: currentColor;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar nav (always hamburger-driven) */
.nav-collapsible {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: var(--accent);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem 1rem;
    z-index: 1050;
}
.nav-collapsible.open {
    transform: translateX(0);
}

/* Nav list */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.nav > li > a,
.dropbtn {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: block;
}
.nav a:hover,
.dropbtn:hover {
    text-decoration: underline;
}

/* Dropdowns inside sidebar */
.dropdown {
    position: relative;
}
.dropbtn {
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    color: #fff;
    text-align: left;
    width: 100%;
}
.menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 0.25rem;
    border-radius: 0.25rem;
    transition:
        max-height 0.3s ease,
        opacity 0.3s ease,
        padding 0.3s ease;
}
.menu li a {
    padding: 0.4rem 0.6rem;
    color: #fff;
}
.dropbtn[aria-expanded="true"] + .menu {
    max-height: 500px;
    opacity: 1;
    padding: 0.5rem 0;
}

/* Footer */
.site-footer {
    background: var(--accent);
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}
.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0 0 0.75rem 0;
    padding: 0;
    list-style: none;
}
.social a {
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}
.social a:hover,
.social a:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}
.footer-contact {
    margin-top: 0.75rem;
    text-align: center;
}
.footer-contact a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin: 0.25rem 0;
}
.footer-contact a:hover {
    text-decoration: underline;
}

/* General styles for carousel */
.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
    font-style: italic;
}

foot {
    margin-top: 1rem;
    font-weight: bold;
    color: #555;
}

/* Carousel navigation controls */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #8b4513; /* Accent color for the buttons */
    cursor: pointer;
    transition: color 0.3s ease;
}

button:hover {
    color: #525025; /* Darker color on hover */
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px; /* optional: rounded corners */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Screen reader utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1px, 1px);
    white-space: nowrap;
    border: 0;
}
