:root {
    --bg: #f7f5f0;
    --surface: #ffffff;
    --surface-soft: #f0ece7;
    --text: #1f1c18;
    --muted: #5d5850;
    --accent: #8b6b43;
    --accent-soft: rgba(139,107,67,0.14);
    --border: #dfd6c8;
    --shadow: 0 28px 74px rgba(31,28,24,0.09);
}

* {
    box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}


main {
  flex: 1;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f8f6f1 0%, #ede9e2 100%);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container-main {
    background: transparent;
}


#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.4rem 0;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
}

#logo img {
    width: auto;
    max-width: 320px;
    height: 72px;
    object-fit: contain;
}

.navbar-customclass {
    background: transparent;
    padding: 0.75rem 0;
}

.navbar-customclass .navbar-nav,
.navbar-customclass .mr-auto {
    flex: 1;
    margin: auto !important;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.navbar-customclass .navbar-brand,
.navbar-customclass .navbar-text,
.navbar-customclass .navbar-nav .nav-link {
    color: var(--text);
}

.navbar-customclass .navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.navbar-customclass .nav-item .nav-link.active,
.navbar-customclass .nav-item:hover .nav-link {
    background: rgba(139,107,67,0.12);
    color: var(--accent);
}

.navbar-customclass .dropdown-menu {
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(31,28,24,0.12);
    border: 1px solid rgba(31,28,24,0.08);
}

.navbar-customclass .dropdown-item {
    font-weight: 500;
    color: var(--text);
}

.navbar-customclass .dropdown-item:hover {
    background: var(--accent-soft);
}

.navbar-toggler {
    border: none;
    color: var(--text);
}

.baniere {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    margin-top: 0;
    box-shadow: 0 24px 60px rgba(31,28,24,0.14);
    max-height: 520px;
}

.baniere::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23,21,18,0.12), rgba(23,21,18,0.28));
    pointer-events: none;
}

.ban {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 992px) {
    .baniere {
        max-height: 420px;
    }
}

@media screen and (max-width: 768px) {
    .baniere {
        max-height: 320px;
    }
}

#content {
    margin-top: 2.5rem;
    padding: 0 1.25rem;
}

footer {
    padding: 1.5rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(31,28,24,0.08);
}

footer a {
    color: var(--muted);
    font-size: 0.95rem;
}

.title-main {
    color: var(--text);
    text-align: center;
    margin: 0 auto 2rem;
    font-size: clamp(1.85rem, 2.2vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.fore-ground-main {
    color: var(--text);
}

.background-second {
    background-color: var(--surface-soft);
}

.nav-content {
    padding-top: 0;
}

@media screen and (max-width: 768px) {
    .navbar-customclass .navbar-nav {
        justify-content: center;
        gap: 0.45rem;
    }

    #logo {
        padding: 0.85rem 0;
    }
}

@media screen and (max-width: 574px) {
    #logo>img {
        height: auto;
        max-width: 220px;
        padding-top: 0;
    }

    .navbar-customclass .navbar-nav .nav-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.85rem;
    }
}
