@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a1a1a;
    --cappuccino: #9f7d61;
    --cappuccino-dark: #7f6048;
    --contact-bar-height: 48px;
    /* Anthracite */
    --secondary: #4a4a4a;
    --accent: #9f7d61;
    /* Cappuccino accent */
    --bg: #f7f7f7;
    /* Very light gray as requested */
    --bg-white: #ffffff;
    --border: #e5e5e5;
    --border-strong: #d4d4d8;
    --text: #1a1a1a;
    --text-muted: #737373;
    --container-width: 1100px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Typography Enhancements */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 5.5s ease;
}

.slide.active img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.28) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta:hover {
    background: #22c55e;
    border-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* Sticky Contact Elements */
.site-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1100;
}

.sticky-contact-bar {
    position: relative;
    background: var(--cappuccino);
    color: white;
    min-height: var(--contact-bar-height);
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    z-index: 1101;
    padding: 8px 0;
}

.sticky-contact-bar .container {
    width: 100%;
}

.sticky-contact-bar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.social-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-float-btn {
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: var(--transition);
}

.social-float-btn.whatsapp {
    background: #25d366;
}

.social-float-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-float-btn.facebook {
    background: #1877F2;
}

.social-float-btn:hover {
    transform: scale(1.1);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--cappuccino-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1200;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo-link {
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

/* Slide Text Animation */
.slide-text-container {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
    margin-bottom: 0;
}

.slide-text {
    grid-area: stack;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
    text-align: center;
    width: 100%;
}

.slide-text.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slide-text h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.slide-text p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    z-index: 5;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-cta:hover {
    background: #22c55e;
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .slide-text h2 {
        font-size: 36px;
    }

    .slide-text p {
        font-size: 17px;
    }

    .hero-content {
        padding: 0 24px;
    }
}

/* Structure & Grid */
.section {
    padding: 104px 0;
    background: var(--bg-white);
}

.section.alt {
    background: var(--bg);
}

.section-header {
    margin-bottom: 64px;
    max-width: 600px;
}

.section-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Trust Strip (Güven Şeridi) */
.trust-strip {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.trust-strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: #059669;
    font-size: 12px;
}

@media (max-width: 768px) {
    .trust-strip-content {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* Arbeitsweise (Process) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    background: transparent;
    padding: 36px 28px;
    text-align: center;
    border-radius: 0;
    border-right: 1px solid var(--border);
}

.process-step:last-child {
    border-right: none;
}

.step-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .process-step:last-child {
        border-bottom: none;
    }
}

/* Services */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card-clean {
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.service-card-clean i {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
}

.service-card-clean h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.service-card-clean ul {
    list-style: none;
}

.service-card-clean li {
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 8px;
    padding-left: 0;
}

@media (max-width: 900px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Visual Services Grid (Image-based) */
.services-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-visual-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-visual-card:hover {
    border-color: var(--border-strong);
}

.service-visual-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-visual-card:hover .service-visual-img img {
    transform: none;
}

.service-visual-label {
    padding: 22px;
    text-align: left;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.service-visual-label span {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.service-bullets {
    list-style: none;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 8px;
}

/* Prevent CSS display rules from overriding the HTML hidden attribute */
[hidden] {
    display: none !important;
}

.service-bullets li {
    position: relative;
    font-size: 13px;
    line-height: 1.5;
    color: var(--secondary);
    padding-left: 16px;
}

.service-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #059669;
}

@media (max-width: 900px) {
    .services-visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-visual-grid {
        grid-template-columns: 1fr;
    }

    .service-visual-label {
        padding: 16px;
    }
}

/* Portfolio (Simplified 4:3) */
.portfolio-list-clean {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.portfolio-item-clean {
    border: 1px solid var(--border);
    background: var(--bg-white);
}

.portfolio-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: var(--transition);
}

.portfolio-item-clean:hover img {
    transform: scale(1.02);
}

.portfolio-info-clean {
    padding: 24px;
}

.portfolio-info-clean h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.portfolio-info-clean p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Comparison */
.comparison-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
    align-items: center;
}

.comparison-text {
    max-width: 560px;
    order: 1;
}

/* Comparison Slider Clean */
.slider-clean-v2 {
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 520px;
    background: #000;
    overflow: hidden;
    cursor: col-resize;
    touch-action: none;
    order: 2;
    justify-self: end;
}

.slider-clean-v2 img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-after-clean {
    clip-path: inset(0 0 0 50%);
}

.handle-clean-v2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    z-index: 10;
    pointer-events: none;
}

.handle-clean-v2::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.35);
}

.handle-clean-v2::after {
    content: "\2194";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -54%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 900px) {
    .comparison-clean {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .comparison-text {
        order: 2;
        max-width: 100%;
    }

    .slider-clean-v2 {
        order: 1;
        aspect-ratio: 1/1;
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 600px) {
    .slider-clean-v2 {
        aspect-ratio: 1/1;
    }
}

/* Footer (Mini Kurumsal) */
.footer-clean {
    background: var(--bg-white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-bottom-clean {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Language Switcher Styles */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--cappuccino);
    border-color: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .header {
        /* No specific overrides needed now due to flexible sticky wrapper */
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: 0.4s ease;
        border-left: 1px solid var(--border);
        z-index: 1100;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 18px;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
    }

    .sticky-contact-bar .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 0 15px;
    }

    .sticky-contact-bar a {
        margin: 0 3px;
        font-size: 11px;
    }

    .sticky-contact-bar span#contact-bar-text {
        display: none;
        /* Hide on mobile to save space */
    }
}

html {
    scroll-behavior: smooth;
}

/* About Section Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    aspect-ratio: 3/4;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-img-wrap img {
        aspect-ratio: 4/3;
        max-height: 320px;
    }
}

/* Contact Buttons Group */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-btn {
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 16px;
}

.contact-btn:hover {
    transform: none;
    color: white;
}

.contact-btn.whatsapp {
    background: var(--cappuccino);
}

.contact-btn.whatsapp:hover {
    background: var(--cappuccino-dark);
}

.contact-btn.phone {
    background: var(--cappuccino);
}

.contact-btn.phone:hover {
    background: var(--cappuccino-dark);
}

.contact-btn.instagram {
    background: var(--cappuccino);
}

.contact-btn.instagram:hover {
    background: var(--cappuccino-dark);
    filter: none;
}

.contact-btn.facebook {
    background: var(--cappuccino);
}

.contact-btn.facebook:hover {
    background: var(--cappuccino-dark);
}

@media (max-width: 768px) {
    .contact-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Legal Pages */
.legal-page {
    background: #ffffff;
    color: var(--text);
}

.legal-main {
    padding: 24px 0 80px;
}

.legal-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.legal-topbar {
    display: none;
}

.legal-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.legal-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px 0 32px;
}

.legal-card h1 {
    font-size: 30px;
    margin-bottom: 12px;
}

.legal-card h2 {
    font-size: 18px;
    margin: 24px 0 8px;
}

.legal-card p {
    margin: 0 0 8px;
    color: var(--text-muted);
}

.legal-card ul {
    padding-left: 20px;
    margin: 0 0 12px;
}

.legal-card li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.legal-card a {
    color: var(--primary);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1400;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-banner__content {
    flex: 1;
    min-width: 0;
}

.cookie-banner__title {
    font-weight: 700;
    margin: 0 0 6px;
}

.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
}

.cookie-banner__text a {
    color: #93c5fd;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
}

.cookie-banner__btn--primary {
    background: var(--cappuccino);
    color: white;
}

.cookie-banner__btn--secondary {
    background: #334155;
    color: #f8fafc;
}

@media (max-width: 768px) {
    .legal-main {
        padding-top: 16px;
    }

    .legal-card {
        padding: 0 0 24px;
    }

    .legal-card h1 {
        font-size: 24px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}