/* ATELIER GROEN */

:root {
    --green-dark: #19372c;
    --green: #315b47;
    --green-light: #dfe8df;
    --cream: #f5f3ed;
    --white: #ffffff;
    --black: #17201b;
    --gray: #69716c;
    --border: rgba(25, 55, 44, 0.15);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--black); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: 130px 0; }

h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--serif); }
.eyebrow, .section-label, .footer-title { font-size: .7rem; font-weight: 600; letter-spacing: .14em; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: .3s ease; }
.header.scrolled { background: rgba(245,243,237,.92); backdrop-filter: blur(15px); box-shadow: 0 1px 0 var(--border); }
.navbar { height: 90px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 11px; font-size: .95rem; font-weight: 600; letter-spacing: -.02em; }
.logo-symbol { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--green-dark); border-radius: 50%; font-family: var(--serif); font-size: 1rem; }
.nav-menu { display: flex; align-items: center; gap: 38px; }
.nav-menu a { font-size: .8rem; font-weight: 500; transition: .2s ease; }
.nav-menu a:not(.nav-button):hover { color: var(--green); }
.nav-button { color: var(--white); background: var(--green-dark); padding: 12px 21px; border-radius: 50px; }
.nav-button:hover { background: var(--green); }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; }
.menu-toggle span { width: 25px; height: 1.5px; background: var(--green-dark); display: block; margin: 6px 0; }

.hero { min-height: 850px; position: relative; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-background { position: absolute; inset: 0; background: radial-gradient(circle at 78% 40%, rgba(184,205,185,.7), transparent 30%), var(--cream); z-index: -1; }
.hero-content { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: center; }
.hero-text { padding-bottom: 20px; }
.eyebrow { color: var(--green); margin-bottom: 25px; }
.hero h1 { font-size: clamp(4rem, 6vw, 6.4rem); line-height: .95; letter-spacing: -.045em; color: var(--green-dark); }
.hero h1 em, .section-heading h2 em, .intro-content h2 span, .contact-intro h2 em { font-style: italic; color: var(--green); }
.hero-description { max-width: 460px; margin-top: 32px; color: var(--gray); font-size: 1rem; }
.hero-buttons { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; gap: 25px; padding: 16px 22px; border-radius: 50px; border: 1px solid transparent; font-size: .78rem; font-weight: 600; transition: transform .25s ease, background .25s ease; }
.button span { font-size: 1rem; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: var(--white); background: var(--green-dark); }
.button-dark:hover { background: var(--green); }
.text-link { font-size: .78rem; font-weight: 600; border-bottom: 1px solid var(--green-dark); padding-bottom: 4px; }
.hero-visual { position: relative; padding-right: 35px; }
.hero-image { height: 600px; overflow: hidden; border-radius: 2px; }
.hero-image img { transition: transform 1s ease; }
.hero-image:hover img { transform: scale(1.04); }
.hero-card { position: absolute; right: -5px; bottom: 35px; width: 190px; padding: 23px; background: var(--green-dark); color: var(--white); }
.card-number { display: block; font-size: .65rem; opacity: .6; margin-bottom: 28px; }
.hero-card p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; }
.scroll-indicator { position: absolute; left: 30px; bottom: 35px; display: flex; align-items: center; gap: 14px; transform: rotate(-90deg); transform-origin: left center; font-size: .6rem; letter-spacing: .15em; }
.scroll-indicator div { width: 50px; height: 1px; background: var(--green-dark); }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.section-label { display: flex; gap: 25px; color: var(--green); }
.section-label span:first-child { opacity: .5; }
.intro-content { max-width: 730px; }
.intro-content h2 { font-family: var(--serif); font-size: clamp(3rem,5vw,5rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 42px; }
.intro-content p { max-width: 600px; color: var(--gray); margin-bottom: 18px; }
.circle-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 30px; font-size: .75rem; font-weight: 600; }
.circle-arrow { width: 45px; height: 45px; border: 1px solid var(--green-dark); border-radius: 50%; display: grid; place-items: center; transition: .25s ease; }
.circle-link:hover .circle-arrow { background: var(--green-dark); color: white; }

.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; margin-bottom: 70px; }
.section-heading h2 { font-size: clamp(3rem,5vw,5rem); line-height: 1; letter-spacing: -.04em; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); }
.service-card { position: relative; min-height: 400px; padding: 38px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: .3s ease; }
.service-card:first-child { border-left: 1px solid var(--border); }
.service-card:hover { background: var(--white); }
.service-featured { background: var(--green-dark); color: var(--white); }
.service-featured:hover { background: var(--green); }
.service-number { font-size: .7rem; opacity: .55; }
.service-icon { margin-top: 70px; font-size: 2.5rem; font-family: var(--serif); }
.service-card h3 { font-family: var(--serif); font-size: 2.1rem; margin-top: 25px; }
.service-card p { color: var(--gray); font-size: .9rem; max-width: 280px; margin-top: 12px; }
.service-featured p { color: rgba(255,255,255,.7); }
.service-card a { position: absolute; bottom: 35px; font-size: .7rem; font-weight: 600; }
.service-card a span { margin-left: 12px; }

.portfolio { background: var(--white); }
.portfolio-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; margin-bottom: 70px; }
.portfolio-heading > p { max-width: 480px; color: var(--gray); }
.portfolio-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 65px 25px; align-items: start; }
.project-large { grid-row: span 2; }
.project-image { height: 370px; overflow: hidden; }
.project-large .project-image { height: 700px; }
.project-image img { transition: transform .7s ease; }
.project:hover .project-image img { transform: scale(1.04); }
.project-info { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 15px; }
.project-info h3 { font-family: var(--serif); font-size: 1.45rem; }
.project-info p { color: var(--gray); font-size: .7rem; margin-top: 3px; }
.project-info > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; transition: .25s ease; }
.project:hover .project-info > span { background: var(--green-dark); color: white; }
.portfolio-more { text-align: center; margin-top: 70px; }
.button-outline { border-color: var(--green-dark); }
.button-outline:hover { background: var(--green-dark); color: white; }

.quote-section { background: var(--green-dark); color: white; padding: 150px 0; }
.quote-container { text-align: center; max-width: 900px; }
.quote-mark { display: block; font-family: var(--serif); font-size: 5rem; line-height: .5; opacity: .35; }
blockquote { font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.8rem); line-height: 1.08; letter-spacing: -.035em; }
blockquote em { color: #b8cdb9; }
.quote-container p { margin-top: 35px; font-size: .7rem; letter-spacing: .12em; opacity: .55; }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; }
.contact-intro h2 { font-family: var(--serif); font-size: clamp(3.5rem,5vw,5.5rem); line-height: .95; margin-top: 55px; }
.contact-intro p { color: var(--gray); max-width: 400px; margin-top: 35px; }
.contact-form { padding-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: .7rem; font-weight: 600; margin-bottom: 10px; }
.form-group input, .form-group textarea { width: 100%; border: 0; border-bottom: 1px solid var(--border); background: transparent; padding: 13px 0; outline: none; font-size: .9rem; color: var(--black); resize: vertical; transition: .2s ease; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green-dark); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9ca39e; }
.form-message { display: none; margin-top: 18px; color: var(--green); font-size: .8rem; }

.footer { background: var(--green-dark); color: white; padding: 80px 0 25px; }
.footer-top { display: flex; justify-content: space-between; gap: 80px; padding-bottom: 80px; }
.logo-light .logo-symbol { border-color: white; }
.footer-brand > p { max-width: 260px; margin-top: 22px; color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 1.2rem; }
.footer-links { display: flex; gap: 120px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.footer-title { color: rgba(255,255,255,.4); margin-bottom: 12px; }
.footer-links a, .footer-links span:not(.footer-title) { color: rgba(255,255,255,.7); font-size: .78rem; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,.4); font-size: .65rem; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-text { animation: fadeUp .8s ease forwards; }
.hero-visual { animation: fadeUp .8s .15s ease both; }

@media (max-width: 900px) {
    .section { padding: 90px 0; }
    .hero { min-height: auto; padding: 150px 0 100px; }
    .hero-content { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 650px; }
    .intro-grid, .section-heading, .portfolio-heading, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card, .service-card:first-child { border-left: 1px solid var(--border); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .project-large { grid-row: auto; }
    .project-large .project-image { height: 550px; }
    .project-image { height: 450px; }
    .contact-grid { gap: 70px; }
    .footer-top { flex-direction: column; }
}

@media (max-width: 650px) {
    .container { width: min(100% - 32px, var(--container)); }
    .navbar { height: 75px; }
    .menu-toggle { display: block; position: relative; z-index: 1001; }
    .nav-menu { position: fixed; inset: 0; background: var(--cream); flex-direction: column; justify-content: center; gap: 30px; transform: translateX(100%); transition: transform .35s ease; }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu a { font-size: 1.2rem; }
    .nav-button { padding: 14px 30px; }
    .hero { padding: 120px 0 70px; }
    .hero h1 { font-size: clamp(3.4rem,17vw,5rem); }
    .hero-description { font-size: .9rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero-image { height: 450px; }
    .hero-visual { padding-right: 15px; }
    .hero-card { width: 160px; right: -1px; bottom: 20px; }
    .scroll-indicator { display: none; }
    .intro-content h2, .section-heading h2 { font-size: 3.1rem; }
    .service-card { min-height: 350px; padding: 28px; }
    .service-icon { margin-top: 50px; }
    .project-large .project-image, .project-image { height: 430px; }
    .quote-section { padding: 100px 0; }
    blockquote { font-size: 2.7rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-intro h2 { margin-top: 40px; font-size: 4rem; }
    .footer { padding-top: 60px; }
    .footer-links { flex-direction: column; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}
