:root {
    --primary-forest: #1F2D26;
    --secondary-moss: #3A4A42;
    --warm-linen: #EFEDE7;
    --accent-gold: #B8A46C;
    --accent-blush: #D8BFC4;
    --white: #FFFFFF;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-forest);
    background-color: var(--warm-linen);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: var(--primary-forest);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

a {
    text-decoration: none;
    color: var(--primary-forest);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

header {
    position: sticky;
    top: 0;
    background-color: var(--warm-linen);
    z-index: 1000;
    border-bottom: 1px solid rgba(31, 45, 38, 0.1);
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--primary-forest);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li a {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-forest);
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

    
    .burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--warm-linen);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-bottom: 1px solid rgba(31, 45, 38, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    mix-blend-mode: difference;
}

section {
    padding: 6rem 0;
}

.footer {
    background-color: var(--primary-forest);
    color: var(--warm-linen);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--warm-linen);
}

.footer p,
.footer a {
    color: rgba(239, 237, 231, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(239, 237, 231, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(239, 237, 231, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-forest);
    color: var(--warm-linen);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-gold);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--primary-forest);
    color: var(--primary-forest);
    background-color: transparent;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn:hover {
    background-color: var(--primary-forest);
    color: var(--warm-linen);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(31, 45, 38, 0.3);
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary-forest);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.responsive-grid {
    display: grid;
}

.responsive-grid-3 {
    display: grid;
}

    section {
        padding: 3rem 0;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .responsive-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    h1 {
        font-size: clamp(2rem, 6vw, 3.5rem) !important;
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        max-width: 100% !important;
        padding: 2rem 0 !important;
    }

    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }


@media (max-width: 320px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 2rem 0;
    }

    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    }

    h2 {
        font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
        transform: none !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    .container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-content {
        max-width: 100% !important;
        padding: 1.5rem 0 !important;
    }
    
    
    .gallery-hero {
        padding: 2.5rem 0 2rem !important;
    }
    
    .irregular-grid {
        padding: 1.5rem 0 !important;
        gap: 0.5rem !important;
    }
    
    .gallery-item {
        min-height: 180px !important;
    }
}
