/* the complete styles.css */
/* --- RESET & SETUP --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #1A1A1A;
    --surface: #242424;
    --ink: #F1EDE7;
    --muted: #888888;
    --accent: #AE8A60;
    --line: #333333;

    --font-display: 'Six Caps', sans-serif;
    --font-body: 'IBM Plex Mono', monospace;

    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="10" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: 10;
    opacity: 0.5;
}

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

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
}

p {
    max-width: 65ch;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease-out;
}

a:hover, a:focus-visible {
    color: var(--ink);
}

/* --- LAYOUT & CONTAINER --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
}

section, footer {
    border-bottom: 1px solid var(--line);
}

/* --- TYPOGRAPHY --- */
.section-title {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(4rem, 15vw, 9rem);
    line-height: 0.9;
}

.hero-subhead {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 0.5rem;
}

/* --- BUTTONS & CTAs --- */
.button-primary, .button-secondary {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border: 1px solid;
    transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
    min-height: 44px;
    cursor: pointer;
    text-align: center;
}

.button-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.button-primary:hover, .button-primary:focus-visible {
    background-color: transparent;
    color: var(--accent);
}

.button-secondary {
    background-color: transparent;
    border-color: var(--line);
    color: var(--muted);
}

.button-secondary:hover, .button-secondary:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* --- SCROLL REVEAL ANIMATION --- */
.scroll-reveal.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal.reveal-hidden {
        opacity: 1;
        transform: none;
    }
    .scroll-reveal {
        transition: none;
    }
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    border-bottom: 1px solid var(--line);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* --- MANIFESTO --- */
.manifesto .grid-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .manifesto .grid-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.manifesto-text p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.manifesto-text p:last-child {
    margin-bottom: 0;
}

.manifesto-image-wrapper {
    border: 1px solid var(--line);
    padding: 1rem;
}

.manifesto-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- SERVICES --- */
.services {
    background-color: var(--surface);
}

.services-grid {
    display: grid;
    gap: 2rem;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}

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

.service-item {
    border: 1px solid var(--line);
    padding: 2rem;
}

.service-item p {
    color: var(--muted);
}

/* --- GALLERY --- */
.gallery p {
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
    .gallery-img-1 {
        grid-row: 1 / 3;
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--line);
}

/* --- THE SHOP --- */
.the-shop {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), url('assets/interior.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.shop-content {
    max-width: 60ch;
    padding: 2rem;
}

@media (prefers-reduced-motion: reduce) {
    .the-shop {
        background-attachment: scroll;
    }
}

/* --- CONTACT & FOOTER --- */
.contact {
    background-color: var(--surface);
    text-align: center;
    border-bottom: none;
}

.contact-content {
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}

.contact-content p {
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.location {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-bottom {
    padding-top: 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}