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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Mono', monospace;
    font-weight: 300;
    color: #2d2d2d;
    background: #faf9f7;
    line-height: 1.8;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    color: #2d2d2d;
    letter-spacing: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #2d2d2d;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.85rem;
    font-weight: 300;
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: #c49a6c;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 68px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 24px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'DM Mono', monospace;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #2d2d2d;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, color 0.3s;
}

.btn:hover {
    background: #c49a6c;
    color: #fff;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background: #fff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: #2d2d2d;
}

.section-sub {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    font-family: 'DM Mono', monospace;
    font-weight: 300;
    margin-bottom: 56px;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1rem;
    font-weight: 500;
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.card p {
    font-size: 0.85rem;
    color: #777;
    font-weight: 300;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    color: #666;
    margin-bottom: 16px;
    font-weight: 300;
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    font-size: 0.85rem;
    color: #555;
    font-weight: 300;
    margin-bottom: 8px;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.contact-info p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.8;
    font-weight: 300;
}

.contact-info a {
    color: #c49a6c;
    text-decoration: none;
}

.contact-info h4 {
    margin-top: 24px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid #e0d8ce;
    border-radius: 10px;
    font-family: 'DM Mono', monospace;
    font-weight: 300;
    font-size: 0.85rem;
    background: #fff;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c49a6c;
}

/* Footer */
.footer {
    background: #2d2d2d;
    color: #bbb;
    padding: 60px 0 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'DM Mono', monospace;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.8rem;
    max-width: 280px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.25s;
}

.footer-links a:hover {
    color: #c49a6c;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    font-weight: 300;
}

/* Legal pages */
.page-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f5f0eb, #e8ddd0);
}

.legal-text h2 {
    font-family: 'DM Mono', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #2d2d2d;
}

.legal-text h3 {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 28px;
    margin-bottom: 8px;
    color: #444;
}

.legal-text p {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.8;
    font-weight: 300;
}

.legal-text a {
    color: #c49a6c;
}

.legal-text strong {
    color: #444;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 247, 0.98);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

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

    .hero h1 {
        font-size: 2.2rem;
    }
}
