:root {
    --paper: #F2F2ED;
    --paper-deep: #DADDDC;
    --surface: #F7F6F0;
    --ink: #25292B;
    --muted: #626A6D;
    --forest: #30383B;
    --forest-deep: #1D2325;
    --orange: #E1B62D;
    --accent-ink: #80630C;
    --line: rgba(37, 41, 43, .18);
    --display: 'Playfair Display', Georgia, serif;
    --body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.65;
}
body.menu-open { margin-left: 0; overflow: hidden; }
body.project-gallery-open { overflow: hidden; }
body.menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(29, 35, 37, .55);
    content: '';
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }

header {
    position: fixed;
    z-index: 900;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(20px, 5vw, 76px);
    border-bottom: 1px solid rgba(37, 41, 43, .12);
    background: rgba(242, 242, 237, .95);
    backdrop-filter: blur(14px);
}
.logo {
    flex: 0 0 auto;
    color: var(--ink);
    font-family: var(--display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}
.logo span { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.main-nav a {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.menu-btn { display: none; }
.sidebar {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    display: flex;
    width: min(340px, 88vw);
    height: 100dvh;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 30px;
    border: 0;
    background: var(--forest-deep);
    box-shadow: 18px 0 55px rgba(0, 0, 0, .22);
    transform: translateX(-105%);
    transition: transform .3s ease;
}
.sidebar.active { transform: translateX(0); }
.sidebar .logo, .sidebar .logo span { color: var(--paper); }
.sidebar .close-btn { color: var(--paper); }
.sidebar-nav a { color: var(--paper); text-decoration: none; }
.sidebar-nav a:hover { color: var(--orange); }

.hero {
    position: relative;
    display: flex;
    min-height: 690px;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 150px max(24px, calc((100% - 1200px) / 2)) 100px;
    text-align: left;
    color: #f5f3e9;
    background: var(--forest-deep);
}
.hero-collage-bg {
    position: absolute;
    z-index: 0;
    inset: 0;
    filter: none;
    background: linear-gradient(90deg, rgba(29, 35, 37, .92) 0%, rgba(29, 35, 37, .72) 48%, rgba(29, 35, 37, .16) 100%), url('assets/bahcelievler-hero.jpg') center 48% / cover no-repeat;
}
.hero > :not(.hero-collage-bg) { position: relative; z-index: 1; }
.hero-tag {
    display: inline-flex;
    margin: 0 0 24px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--orange);
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-tag::before { width: 28px; height: 2px; background: var(--orange); content: ''; }
.hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #f5f3e9;
    font-family: var(--display);
    font-size: 62px;
    font-weight: 600;
    line-height: 1.12;
}
.hero p { max-width: 560px; margin: 0; color: rgba(245, 243, 233, .8); font-size: 16px; }

.stats-strip {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 24px;
    background: var(--paper);
}
.stats-container { max-width: 1200px; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { padding: 8px 26px; border-right: 1px solid var(--line); text-align: left; }
.stat-item:last-child { border: 0; }
.stat-item h3 { margin: 0 0 3px; color: var(--forest); font-family: var(--display); font-size: 25px; }
.stat-item p { color: var(--muted); font-size: 11px; font-weight: 700; }
.projects-section { max-width: 1260px; padding: 100px 30px 110px; }
.section-title { margin: 0 0 12px; color: var(--ink); font-family: var(--display); font-size: 42px; font-weight: 600; }
.section-desc { margin: 0 0 42px; color: var(--muted); }
.project-grid { gap: 20px; }
.project-card, .process-card, .contact-info-card, .contact-form, .quote-form {
    border: 1px solid var(--line);
    border-radius: 3px;
    box-shadow: none;
}
.project-card { background: #f7f6f0; }
.card-img-box { height: 230px; }
.card-img-box img { display: block; }
.badge-tag { border: 0; border-radius: 0; background: var(--forest); color: #fff; }
.card-content { padding: 23px; }
.location-label { color: var(--orange); font-size: 11px; letter-spacing: .3px; }
.card-content h3, .process-card h3 { color: var(--ink); font-family: var(--display); font-size: 21px; }
.card-content p, .process-card p { color: var(--muted); }
.btn-action {
    border: 1px solid var(--forest);
    border-radius: 2px;
    background: transparent;
    color: var(--forest);
    cursor: pointer;
    font: inherit;
}
.project-card:hover .btn-action { border-color: var(--forest); background: var(--forest); color: var(--paper); }
.more-projects-card {
    min-height: 350px;
    border: 1px solid var(--forest);
    border-radius: 3px;
    background: var(--forest);
}
.more-projects-card:hover { background: var(--forest-deep); }
.plus-icon, .more-projects-card:hover .plus-icon { color: var(--orange); }
.more-text, .more-subtext, .more-projects-card:hover .more-text, .more-projects-card:hover .more-subtext { color: #f5f3e9; }
.process-section { border: 0; padding: 90px 30px; background: var(--paper-deep); }
.process-container { max-width: 1200px; }
.process-card { background: var(--paper); }
.process-number { color: var(--orange); }
.quote-section { max-width: 840px; padding: 100px 24px; }
.quote-section > p { color: var(--muted); }
.quote-form { padding: 32px; border-radius: 3px; background: #f7f6f0; }
.quote-form input, .quote-form select, .contact-form input, .contact-form textarea {
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 13px 15px;
    background: var(--paper);
    color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(225, 182, 45, .28); border-color: var(--orange); }
.btn-submit, .btn-send {
    min-height: 52px;
    border: 0;
    border-radius: 2px;
    background: var(--orange);
    box-shadow: none;
    color: var(--ink);
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}
.btn-submit:hover, .btn-send:hover { transform: translateY(-2px); background: #B99118; }
.whatsapp-btn {
    right: 24px;
    bottom: 24px;
    border-radius: 2px;
    padding: 13px 18px;
    background: #287c54;
    box-shadow: 0 8px 22px rgba(13, 40, 26, .2);
    font-size: 13px;
}

.page-header {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 130px 24px 55px;
    color: #f5f3e9;
    background: linear-gradient(rgba(29, 35, 37, .75), rgba(29, 35, 37, .84)), url('assets/bahcelievler-hero.jpg') center 48% / cover no-repeat;
}
.page-header h1 { margin: 0 0 8px; color: #f5f3e9; font-family: var(--display); font-size: 48px; font-weight: 600; }
.page-header p { max-width: 640px; margin: 0; color: rgba(245, 243, 233, .78); }
.portfolio-container { max-width: 1260px; margin: 0 auto; padding: 75px 30px 110px; }
.portfolio-grid { gap: 22px; }
.portfolio-grid .project-card { overflow: hidden; }
.portfolio-grid .card-img-box { height: auto; aspect-ratio: 1 / 1; }
.portfolio-grid .card-img-box img { object-position: center 35%; }
.portfolio-grid .card-content { padding: 22px; }
.portfolio-grid .card-content p { min-height: 68px; }
.project-slideshow { position: relative; }
.project-slides { display: flex; width: 100%; height: 100%; transition: transform .55s ease; }
.card-img-box.project-slideshow .project-slides img {
    display: block;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    object-fit: cover;
    object-position: center 35%;
}
.project-slide-indicators {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 18px 10px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .48));
}
.project-slide-indicator {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .65);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.project-slide-indicator[aria-pressed="true"] { transform: scale(1.3); background: #fff; }
.project-slide-indicator:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.project-gallery-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    padding: 64px 76px 78px;
    overflow: hidden;
    background: #111;
    color: #fff;
}
.project-gallery-dialog[open] { display: grid; place-items: center; }
.project-gallery-dialog::backdrop { background: rgba(0, 0, 0, .94); }
.project-gallery-title {
    position: absolute;
    top: 24px;
    left: 28px;
    max-width: calc(100% - 110px);
    overflow: hidden;
    color: #fff;
    font: 600 16px/1.4 var(--body);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    cursor: pointer;
}
.project-gallery-close, .project-gallery-arrow {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}
.project-gallery-close svg, .project-gallery-arrow svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.project-gallery-close {
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
}
.project-gallery-arrow {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
}
.project-gallery-previous { left: 18px; }
.project-gallery-next { right: 18px; }
.project-gallery-counter {
    position: absolute;
    bottom: 45px;
    left: 50%;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    transform: translateX(-50%);
}
.project-gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}
.project-gallery-indicator {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}
.project-gallery-indicator[aria-pressed="true"] { background: #fff; }
.project-gallery-dialog button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.contact-container { max-width: 1160px; margin: 0 auto; padding: 75px 30px 110px; gap: 24px; }
.contact-info-card, .contact-form { padding: 34px; background: #f7f6f0; }
.contact-info-card h3 { color: var(--forest); font-family: var(--display); }
.info-item label { color: var(--muted); }
.info-item p { color: var(--ink); }
.contact-form { gap: 14px; }
.contact-form textarea { resize: vertical; }

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px clamp(24px, 5vw, 76px);
    background: var(--forest-deep);
    color: rgba(245, 243, 233, .72);
    font-size: 12px;
}
.site-footer a { color: #f5f3e9; font-weight: 700; text-decoration: none; }
.site-footer p { margin: 0; }

.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent-ink); }
.logo span { color: var(--accent-ink); }
.sidebar .logo span { color: var(--paper); }
.hero-collage-bg {
    background-image: linear-gradient(90deg, rgba(29, 35, 37, .92) 0%, rgba(29, 35, 37, .72) 48%, rgba(29, 35, 37, .16) 100%), url('assets/bahcelievler-hero.jpg');
    background-position: center, center 40%;
}
.hero-tag { animation: rise-in .6s both; }
.hero h1 { animation: rise-in .7s .12s both; }
.hero p { animation: rise-in .7s .24s both; }
.page-header {
    background-image: linear-gradient(rgba(29, 35, 37, .75), rgba(29, 35, 37, .84)), url('assets/bahcelievler-hero.jpg');
}
.project-card, .quote-form, .contact-info-card, .contact-form { background-color: var(--surface); }
.location-label, .process-number { color: var(--accent-ink); }
.plus-icon, .more-projects-card:hover .plus-icon { color: var(--orange); }
.card-img-box img { transition: transform .7s ease; }
.project-card:hover .card-img-box img { transform: scale(1.045); }
.project-card:hover .project-slideshow img:not(.is-active) { transform: none; }
.quote-form input:focus, .quote-form select:focus, .contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid rgba(225, 182, 45, .28);
    border-color: var(--accent-ink);
}
.btn-submit:hover, .btn-send:hover { background: #B99118; }
.scroll-reveal {
    opacity: 1;
    transform: translateY(18px);
    transition: transform .65s ease var(--reveal-delay, 0ms);
}
.scroll-reveal.is-visible { transform: translateY(0); }

@keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form select {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 13px 15px;
    background: var(--paper);
    color: var(--ink);
}
.contact-form select:focus { outline: 2px solid rgba(225, 182, 45, .28); border-color: var(--accent-ink); }
.contact-cta-link {
    display: inline-flex;
    width: auto;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border-color: var(--forest);
    padding: 10px 24px;
    background: var(--forest);
    color: var(--paper);
    text-decoration: none;
}
.contact-cta-link:hover { background: var(--forest-deep); color: var(--paper); }

@media (max-width: 900px) {
    header { min-height: 70px; }
    .main-nav { gap: 18px; }
    .main-nav a { font-size: 12px; }
    .hero { min-height: 630px; }
    .hero h1 { max-width: 650px; font-size: 52px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
    header { min-height: 66px; padding: 10px 18px; }
    header > .logo { margin-right: auto; }
    .main-nav { display: none; }
    .menu-btn {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 2px;
        padding: 8px 11px;
        background: transparent;
        color: var(--ink);
        font-size: 12px;
        font-weight: 700;
    }
    .hero { min-height: 630px; padding: 130px 24px 78px; }
    .hero-collage-bg { background-position: 58% center; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 14px; }
    .stats-strip { padding: 20px 14px; }
    .stats-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-item { padding: 13px 12px; }
    .stat-item h3 { font-size: 19px; }
    .stat-item p { font-size: 10px; }
    .projects-section { padding: 72px 20px; }
    .section-title { font-size: 34px; }
    .section-desc { margin-bottom: 30px; font-size: 14px; }
    .project-grid, .process-grid, .form-row, .portfolio-grid, .contact-container { grid-template-columns: 1fr; }
    .more-projects-card { min-height: 250px; }
    .process-section { padding: 70px 20px; }
    .quote-section { padding: 72px 20px; }
    .quote-form { padding: 20px; }
    .whatsapp-btn { right: 14px; bottom: 14px; padding: 11px 13px; font-size: 11px; }
    .page-header { min-height: 300px; padding: 110px 22px 40px; }
    .page-header h1 { font-size: 38px; }
    .page-header p { font-size: 13px; }
    .portfolio-container { padding: 48px 20px 72px; }
    .portfolio-grid .card-content p { min-height: 0; }
    .project-gallery-dialog { padding: 70px 48px 78px; }
    .project-gallery-title { top: 20px; left: 18px; font-size: 14px; }
    .project-gallery-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .project-gallery-arrow { width: 38px; height: 38px; font-size: 30px; }
    .project-gallery-previous { left: 6px; }
    .project-gallery-next { right: 6px; }
    .contact-container { margin: 0; padding: 40px 20px 72px; }
    .contact-info-card, .contact-form { padding: 24px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .scroll-reveal { opacity: 1; transform: none; }
}

/* --- Logo amblemi --- */
.logo { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; }
.logo-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    margin-right: 10px;
}
.sidebar .logo-mark, .site-footer .logo-mark { width: 40px; height: 40px; }
@media (max-width: 640px) {
    .logo { font-size: 19px; }
    .logo-mark { margin-right: 8px; }
    .logo-mark { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
    .logo { font-size: 17px; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: clamp(30px, 9.4vw, 42px); overflow-wrap: break-word; }
}
