/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #F5F0E8;
    --warm-white: #FDFAF5;
    --dark: #1A1510;
    --dark-mid: #2C2418;
    --wood-brown: #8B5E3C;
    --wood-light: #C49A6C;
    --wood-pale: #E8D5BC;
    --gold: #C8973A;
    --gold-light: #E8C06A;
    --text-muted: #7A6E62;
    --text-light: #A89E94;
    --green-accent: #3D6B4F;
    --red-accent: #8B2E2E;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
    background: rgba(26, 21, 16, 0.97);
    box-shadow: 0 1px 0 rgba(200, 151, 58, 0.2);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    mix-blend-mode: multiply;
    transition: opacity 0.3s;
}
.navbar.scrolled .logo-img {
    mix-blend-mode: normal;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    line-height: 1;
}
.logo-wood {
    color: #fff;
    font-weight: 700;
}
.logo-design {
    color: var(--gold);
    font-weight: 400;
}
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-links a:hover {
    color: var(--gold);
}
.nav-links a:hover::after {
    width: 100%;
}

/* Nav contact */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-phone {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}
.nav-phone:hover {
    color: var(--gold);
}
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: background 0.3s, transform 0.2s;
}
.nav-icon-btn:hover {
    transform: scale(1.1);
}
.nav-wa {
    color: #25D366;
}
.nav-wa:hover {
    background: rgba(37, 211, 102, 0.15);
}
.nav-ig {
    color: #E1306C;
}
.nav-ig:hover {
    background: rgba(225, 48, 108, 0.15);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: var(--transition);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(26,21,16,0.98);
    padding: 16px 48px 24px;
    gap: 16px;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:hover {
    color: var(--gold);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=1800&q=80') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}
.hero-bg.loaded {
    transform: scale(1);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 21, 16, 0.85) 0%,
        rgba(44, 36, 24, 0.65) 60%,
        rgba(26, 21, 16, 0.4) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    padding-top: 80px;
}
.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.05;
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}
.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.08em;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}
.btn-primary {
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(200, 151, 58, 0.1);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(200,151,58,0.8), transparent);
    animation: scrollPulse 2s infinite;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 32px 48px;
    flex: 1;
    max-width: 240px;
}
.stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--cream);
    padding: 120px 48px;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}
.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wood-brown);
    margin-bottom: 16px;
}
.section-eyebrow.light {
    color: var(--gold-light);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.gallery-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 80px;
}
.project-card {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s, transform 0.7s;
}
.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.project-number {
    position: absolute;
    top: -20px;
    left: 0;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(139, 94, 60, 0.08);
    line-height: 1;
    z-index: 0;
    user-select: none;
}
.comparison-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.img-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.img-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--transition);
    filter: brightness(0.97);
}
.img-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.03);
}
.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,21,16,0.3) 0%, transparent 40%);
    pointer-events: none;
}
.tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
}
.tag-before {
    background: rgba(139, 46, 46, 0.9);
    color: #fff;
}
.tag-after {
    background: rgba(61, 107, 79, 0.9);
    color: #fff;
}
.comparison-arrow {
    color: var(--wood-brown);
    width: 32px;
    flex-shrink: 0;
}
.comparison-arrow svg {
    width: 32px;
    height: 32px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--warm-white);
    padding: 120px 48px;
}
.about-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 28px;
}
.about-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}
.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-list li {
    font-size: 0.95rem;
    color: var(--dark-mid);
    display: flex;
    align-items: center;
    gap: 12px;
}
.check {
    color: var(--green-accent);
    font-size: 1rem;
    font-weight: 700;
}
.about-visual {
    position: relative;
    height: 480px;
}
.wood-texture-block {
    position: absolute;
    inset: 0;
    background:
        url('https://images.unsplash.com/photo-1504148455328-c376907d081c?w=800&q=80') center/cover no-repeat;
    border-radius: 4px;
    filter: saturate(0.8);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 2;
    background: var(--gold);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(200,151,58,0.35);
}
.badge-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}
.badge-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark);
    text-align: center;
    line-height: 1.4;
    margin-top: 4px;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--dark);
    padding: 120px 48px;
}
.contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}
.contact-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 24px 28px;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.contact-card:hover {
    background: rgba(200, 151, 58, 0.08);
    border-color: rgba(200, 151, 58, 0.3);
    transform: translateX(6px);
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(200, 151, 58, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
}
.insta-icon {
    background: rgba(200, 100, 150, 0.12);
}
.insta-icon svg {
    stroke: #E1306C;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}
.contact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 48px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}
.footer-insta {
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}
.footer-insta:hover {
    color: #E1306C;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, padding 0.3s;
    animation: waBounce 0.6s 1.5s both;
}
.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.whatsapp-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
@keyframes waBounce {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-inner { padding: 20px 24px; }
    .nav-phone { display: none; }
    .hero-content { padding: 0 24px; padding-top: 80px; }
    .stats-bar { flex-wrap: wrap; gap: 0; }
    .stat { padding: 24px 28px; min-width: 50%; }
    .stat-divider { display: none; }
    .gallery { padding: 80px 24px; }
    .comparison-wrap {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .img-card img { height: 280px; }
    .comparison-arrow {
        transform: rotate(90deg);
        margin: 4px auto;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about { padding: 80px 24px; }
    .about-visual { height: 320px; }
    .about-badge { right: 8px; bottom: -16px; }
    .contact { padding: 80px 24px; }
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer { padding: 20px 24px; }
    .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
    .mobile-menu { padding: 16px 24px 24px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3rem; }
    .hero-cta { flex-direction: column; }
    .btn-primary, .btn-outline { text-align: center; }
    .gallery-grid { gap: 60px; }
    .contact-card { padding: 18px 20px; }
}

/* ===== KATEGORİ GALERİ ===== */
.gallery {
    background: var(--cream);
    padding: 100px 0 120px;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto 52px;
    padding: 0 40px;
}
.filter-btn {
    background: transparent;
    border: 1.5px solid var(--wood-pale);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}
.filter-btn:hover {
    border-color: var(--wood-brown);
    color: var(--wood-brown);
    background: rgba(139,94,60,0.05);
}
.filter-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

/* Cat Grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.cat-item {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}
.cat-item.hidden {
    display: none;
}
.cat-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--wood-pale);
}
.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.cat-item:hover .cat-img-wrap img {
    transform: scale(1.06);
}
.cat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,21,16,0.72) 0%, transparent 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 28px 10px 8px;
    opacity: 0;
    transition: opacity 0.25s;
}
.cat-item:hover .cat-label {
    opacity: 1;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,8,5,0.96);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lb-caption {
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-prev, .lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.18); }

/* Responsive */
@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); padding: 0 16px; gap: 8px; }
    .filter-bar { padding: 0 16px; gap: 6px; }
    .filter-btn { font-size: 0.7rem; padding: 6px 12px; }
}
