:root {
    --color-body: #2A392C;
    --color-sage: #E2E6E2;
    --color-dark: #2A392C;
    --color-nav-text: #E5DCD7;
    --color-dropdown-bg: #697C69;
    --color-cta: #26661E;
    --color-secondary: #516953;
    --color-divider: #516953;
    --color-text-dark: #E2E6E2;

    --font-main: "Poppins", sans-serif;
    --font-hero: "Roboto", sans-serif;

    --nav-height: 80px;
    --max-width: 1200px;
}

/* RESET */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* HTML, BODY */

html {
    font-family: var(--font-main);
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--color-body);
    color: var(--color-text-dark);
}

html, body {
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

/* NAV */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, #0C100C 0%, #2A392C 100%);
    width: 100%;
}

/* Mobile nav bar */
.nav__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    min-height: 50px;
}

.nav__logo {
    width: 150px;
    height: auto;
    display: block;
}

.nav__logo-text {
    width: 180px;
    height: auto;
    display: block;
}

.nav__logo-link {
    display: inline-flex;
    align-items: center;
}

.nav__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    color: var(--color-nav-text);
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: 0.3s;
}

/* Desktop nav bar - hidden on mobile */
.nav__desktop-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0 6px 0;
    min-height: var(--nav-height);
}

@media (min-width: 768px) {
    .nav__mobile-bar {
        display: none;
    }

    .nav__desktop-bar {
        display: flex;
    }
}

.nav__links {
    display: flex;
    align-items: center;
}

.nav__link {
    color: var(--color-nav-text);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    padding: 0 21px;
    transition: opacity 0.2s;
}

.nav__link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Mobile dropdown menu */
.nav__menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, #0C100C 0%, #2A392C 100%);
    padding: 10px 0;
}

.nav__menu--open {
    display: flex;
}

.nav__menu-link {
    color: var(--color-nav-text);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    text-align: center;
    display: block;
    transition: background 0.2s;
}

.nav__menu-link:hover {
    background: rgba(255,255,255,0.05);
}

@media (min-width: 768px) {
    .nav__menu {
        display: none !important;
    }
}

/* Nav spacer */
.nav-spacer {
    height: var(--nav-height);
}

/* SECTIONS */

.section-sage {
    background-color: var(--color-sage);
    color: #333;
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-text-dark);
}

.content-wrapper {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 0;
}

@media (min-width: 768px) {
    .content-wrapper {
        padding: 60px 0;
    }
}

/* CTA SECTION */

.cta-section {
    background-color: var(--color-sage);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.cta-section__button {
    display: inline-block;
    background-color: var(--color-cta);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    text-align: center;
    transition: background-color 0.2s;
    line-height: 1.3;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .cta-section__button {
        font-size: 20px;
        padding: 18px 36px;
    }
}

@media (min-width: 1024px) {
    .cta-section__button {
        font-size: 24px;
    }
}

.cta-section__button:hover {
    background-color: #1e5018;
}

/* HERO SECTION */

.hero-section {
    background-image: url('../assets/hero.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 490px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 620px;
    }
}

.hero-section__title {
    font-family: var(--font-hero);
    font-size: 76px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

@media (max-width: 480px) {
    .hero-section__title {
        font-size: 52px;
    }
}

/* DIVIDER TEXT SECTION */

.divider-section {
    background-color: var(--color-sage);
    padding: 5px 0;
}

.divider-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 85%;
}

.divider-line {
    height: 1px;
    background-color: var(--color-divider);
    margin: 15px auto;
    width: 100%;
}

.divider-section__text {
    text-align: center;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-secondary);
    padding: 4px 0;
    margin: 0;
}

.divider-section__text b {
    font-weight: 600;
}

/* GALLERY SECTION */

.gallery-section {
    background-color: var(--color-sage);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    display: block;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-item--hidden {
    display: none;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-title {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.gallery-promo {
    text-align: center;
    margin-top: 32px;
    font-family: var(--font-main);
    font-size: 14px;
    color: #555;
}

.gallery-promo__link {
    color: var(--color-cta);
    text-decoration: underline;
}

.gallery-promo__link:hover {
    opacity: 0.8;
}

/* GALLERY DIVIDER */

.gallery-divider {
    background-color: var(--color-sage);
    padding: 20px 0;
}

.gallery-divider__line {
    height: 1px;
    background-color: var(--color-dark);
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    opacity: 0.3;
}

/* ABOUT (DARK CONTACT) SECTION */

.about-section {
    background-color: var(--color-dark);
}

/* TOP: text paragraphs + 2 buttons */
.about-section__top {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 50px 8% 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-section__top {
        padding: 60px 10% 50px;
    }
}

.about-section__text {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.8;
    text-align: center;
}

.about-section__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .about-section__buttons {
        grid-template-columns: 1fr;
    }
}

.about-section__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-secondary);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    padding: 14px 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.2s;
    line-height: 1.3;
}

.about-section__button:hover {
    background-color: #3d5040;
}

/* BOTTOM: 3-column row — socials | badge | contact */
.about-section__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 30px 8% 50px;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (max-width: 600px) {
    .about-section__bottom {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 30px 8% 50px;
    }
}

.about-section__socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

@media (min-width: 601px) {
    .about-section__socials {
        flex-direction: row;
        justify-content: center;
    }
}

.about-section__social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.about-section__social-icon:hover {
    opacity: 0.7;
}

.about-section__badge-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section__badge {
    width: 46%;
    max-width: 120px;
    display: block;
}

.about-section__contact {
    text-align: center;
    line-height: 2;
    font-size: 13px;
    font-family: var(--font-main);
}

.about-section__contact-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.about-section__contact-link:hover {
    text-decoration: underline;
}

/* LIVILINOMAT SECTION */

.livilinomat-section {
    background-color: var(--color-sage);
    color: #333;
}

.livilinomat-section--dark {
    background-color: var(--color-dark);
    color: var(--color-text-dark);
}

.livilinomat-title {
    font-family: var(--font-hero);
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.livilinomat-subtitle {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 24px;
    color: inherit;
    opacity: 0.9;
}

.livilinomat-description {
    font-family: var(--font-main);
    font-size: 15px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.livilinomat-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 32px;
}

@media (min-width: 768px) {
    .livilinomat-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.livilinomat-feature {
    text-align: center;
    padding: 20px 16px;
    background: rgba(0,0,0,0.1);
}

.livilinomat-feature__icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: inherit;
    opacity: 0.85;
}

.livilinomat-feature__title {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.livilinomat-feature__desc {
    font-family: var(--font-main);
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.5;
}

.livilinomat-location {
    text-align: center;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
}

.livilinomat-location i {
    margin-right: 6px;
}

/* CONTACT PAGE SECTION */

.contact-page {
    background-color: var(--color-sage);
    color: #333;
}

.contact-page__title {
    font-family: var(--font-main);
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: #2A392C;
}

.contact-page__text {
    font-family: var(--font-main);
    font-size: 15px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.7;
    color: #444;
}

.contact-page__note {
    font-family: var(--font-main);
    font-size: 13px;
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contact-page__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-page__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-secondary);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 32px;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.contact-page__button:hover {
    background-color: #3d5040;
}

.contact-page__divider {
    border-top: 1px solid var(--color-divider);
    margin: 40px auto;
    max-width: 700px;
}

.contact-page__subtitle {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #2A392C;
}

/* CONTACT PAGE CONTACT INFO */

.contact-page__contact {
    text-align: center;
    line-height: 1.8;
    font-size: 14px;
    margin-top: 20px;
}

.contact-page__contact-link {
    color: var(--color-cta);
    text-decoration: none;
    display: block;
}

.contact-page__contact-link:hover {
    text-decoration: underline;
}

/* FOOTER */

.footer {
    background-color: var(--color-dark);
    padding: 20px;
}

.footer__text {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-dark);
    text-align: center;
}
