/* ===== GLOBAL RESET ===== */

:root{

    --background: #F8F6F1;
    --surface: #FFFFFF;
    --surface-soft: #F1EFE8;
    --stone: #D9D3C7;

    /* ===== BRAND ===== */

    --primarycolor: #6D7844;
    --primarycolor-hover: #59623A;
    --primarycolor-light: #B9C78B;

    /* ===== TEXT ===== */

    --text: #252525;
    --text-light: #6F6F6F;

    /* ===== BORDERS ===== */

    --border: #E6E1D8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;

    background:
    linear-gradient(
        rgba(248, 246, 241, 0.85),
        rgba(248, 246, 241, 0.85)
    ),
    url("../img/terrazzo.png");

    background-repeat: repeat;
    background-size: auto, 400px;
    background-attachment: scroll;
}

/* ===== BUTTONS ===== */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 30px;

    background: var(--primarycolor);
    color: var(--surface);

    border: 1px solid var(--primarycolor);
    border-radius: 999px;

    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;

    cursor: pointer;

    transition:
        background-color .35s ease,
        border-color .35s ease,
        color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.primary-button:hover {
    color: var(--text);
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(89, 98, 58, .18);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 30px;

    background: transparent;
    color: var(--primary);

    border: 1px solid var(--primary);
    border-radius: 999px;

    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;

    transition:
        background-color .35s ease,
        color .35s ease,
        transform .35s ease;
}

.secondary-button:hover {
    background: var(--primary);
    color: var(--surface);

    transform: translateY(-2px);
}








/* ===== NAVBAR ===== */
nav {
    width: calc(100% - 48px);
    max-width: 1400px;
    margin: 24px auto 0;
    padding: 18px 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;

    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* ===== NAVBAR LOGO ===== */

.nav-logo {
    color: #1d1d1d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        letter-spacing 0.3s ease;
}

.nav-logo:hover {
    color: var(--primarycolor-hover);
    letter-spacing: 5px;
}

/* ===== NAVBAR LINKS ===== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    position: relative;
    color: #1d1d1d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.35s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;

    width: 0;
    height: 2px;

    background-color: #9caf9f;
    border-radius: 999px;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #9caf9f;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}








/* ===== FOOTER ===== */

footer {
    background-color: #1d1d1d;
    color: #f7f7f5;
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 25px;
}

/* ===== FOOTER LOGO ===== */

.footer-logo {
    margin-bottom: 45px;
}

.footer-logo a {
    color: #f7f7f5;
    text-decoration: none;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-logo p {
    max-width: 450px;
    color: #9d9d9d;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== FOOTER LINKS ===== */

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.footer-navigation,
.footer-services,
.footer-contact,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

/* ===== FOOTER TITLES ===== */

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

/* ===== FOOTER LINKS & TEXT ===== */

.footer-navigation a,
.footer-contact a,
.footer-social a {
    text-decoration: none;
    color: #9d9d9d;
    transition: color 0.3s ease;
}

.footer-navigation a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: #9caf9f;
}

.footer-services p {
    margin: 0;
    color: #9d9d9d;
}

/* ===== FOOTER SOCIAL ICONS ===== */

.footer-social a {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #9d9d9d;
    text-decoration: none;

    transition:
        color .3s ease,
        transform .3s ease;
}

.footer-social a:hover {
    color: #9caf9f;
    transform: translateX(4px);
}

.footer-social i {
    width: 18px;
    font-size: 1rem;
}

/* ===== FOOTER BOTTOM ===== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #7d7d7d;
}