/* TS Mimari Danışmanlık — Architectural UI */

:root {
    --bg: #000000;
    --text: #ffffff;
    --text-soft: #e2e2e2;
    --text-muted: #dbdbdb;
    --border: #ffffff;
    --border-subtle: rgba(255, 255, 255, 0.15);
    --overlay: rgba(0, 0, 0, 0.9);
    --font: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --container: 1140px;
    --radius-sm: 8px;
    --radius-md: 9px;
    --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease), opacity var(--ease);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container--padded {
    padding: 25px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    z-index: 9999;
}

.skip-link:focus { top: 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ─── Header ─── */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 90px;
}

.logo {
    display: block;
    flex-shrink: 0;
    padding: 0;
}

.logo img {
    width: auto;
    max-width: 200px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.01em;
    padding: 4px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-muted);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    background: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    transition: var(--ease);
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero-section {
    margin-top: 40px;
    margin-bottom: 0;
    width: 100%;
}

.hero-section .container {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-swiper {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    width: 100%;
}

.hero-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
}

.hero-swiper--mobile { display: none; }

.page-intro {
    padding: 48px 0 32px;
}

.page-intro--centered {
    text-align: center;
}

.page-intro--centered .about-heading {
    margin-bottom: 0;
}

/* ─── Sections ─── */
.section {
    padding: 50px 0;
}

.page-header {
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--border-subtle);
}

.page-title {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-soft);
    margin: 0;
}

.prose {
    color: var(--text-soft);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
}

.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ─── About (homepage) ─── */
.about-section {
    padding-top: 50px;
    padding-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.about-eyebrow {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.4;
}

.about-heading {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.3;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.about-page-image img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ─── Services ─── */
.services-section {
    margin: 50px 0;
    padding: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 24px 16px 28px;
    min-height: 100%;
    transition: border-color var(--ease);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
}

.service-card__icon img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0 auto 20px;
}

.service-card__title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.35;
}

.service-card__text {
    color: var(--text-soft);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 22px;
    flex-grow: 1;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
}

.service-detail-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-detail-card__image img {
    width: 100%;
    border-radius: var(--radius-sm);
}

.service-detail-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 16px;
}

.service-detail-card p {
    color: var(--text-soft);
    margin: 0 0 24px;
}

.service-detail-header {
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.service-detail-header .about-heading {
    margin-bottom: 0;
}

.service-detail-section {
    padding: 48px 0 56px;
    border-bottom: 1px solid var(--border-subtle);
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(200px, 300px) 1fr;
    gap: 48px 72px;
    align-items: center;
}

.service-detail__icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-detail__icon img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.service-detail__content {
    max-width: 760px;
}

.service-detail__text {
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.service-detail__text p {
    margin: 0;
}

.service-detail__block + .service-detail__block {
    margin-top: 28px;
}

.service-detail__subheading {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text);
}

.service-detail__list {
    margin: 0;
    padding-left: 1.35rem;
    display: grid;
    gap: 12px;
}

.service-detail__list li {
    padding-left: 0.25rem;
    line-height: 1.7;
}

.service-detail__list li strong {
    font-weight: 600;
    color: var(--text);
}

.service-detail__list--alpha {
    list-style-type: upper-alpha;
}

/* ─── Projects carousel ─── */
.projects-section {
    padding: 50px 0 70px;
    overflow: hidden;
}

.projects-swiper {
    overflow: visible;
    padding: 0 4px;
}

.projects-swiper .swiper-slide {
    height: auto;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
}

.project-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background var(--ease);
    z-index: 1;
    border-radius: var(--radius-md);
}

.project-card:hover::before {
    background: var(--overlay);
}

.project-card:hover .project-card__bg {
    transform: scale(1.04);
}

.project-card__content {
    position: relative;
    z-index: 2;
    padding: 28px 20px;
    width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--ease), transform var(--ease);
}

.project-card:hover .project-card__content {
    opacity: 1;
    transform: translateY(0);
}

.project-card h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.35;
}

.project-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--text-soft);
}

.project-meta--header {
    flex-direction: row;
    gap: 16px;
    margin-top: 12px;
}

/* Projects grid (projelerimiz page) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.projects-grid .project-card__content {
    opacity: 1;
    transform: none;
}

.projects-grid .project-card::before {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
}

.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
    color: #fff;
    width: 40px;
    height: 40px;
}

.projects-swiper .swiper-button-prev::after,
.projects-swiper .swiper-button-next::after {
    font-size: 18px;
}

/* ─── Gallery / Detail ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg);
}

.gallery-item__link {
    display: block;
    cursor: zoom-in;
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item--banner {
    grid-column: 1 / -1;
}

.gallery-item--banner img {
    height: auto;
    min-height: 80px;
    padding: 28px 40px;
    object-fit: contain;
    object-position: center;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-item--banner:hover img { transform: none; }

.gallery-item--banner .gallery-item__link {
    cursor: default;
}

.gallery-item--full img {
    height: auto;
    max-height: 600px;
    object-fit: contain;
    padding: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-image img {
    width: 100%;
    border-radius: var(--radius-sm);
}

.project-description { margin-bottom: 24px; }

.project-details {
    display: grid;
    gap: 14px;
    margin: 0 0 36px;
    padding: 24px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.project-details__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
}

.project-details dt {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-details dd {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.project-carousel-wrap {
    margin-bottom: 32px;
}

.project-gallery-swiper {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.project-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.project-carousel__link {
    display: block;
    cursor: zoom-in;
}

.project-gallery-swiper .swiper-button-prev,
.project-gallery-swiper .swiper-button-next {
    color: #fff;
}

.project-gallery-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

    .project-gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 767px) {
    .project-details__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .project-gallery-swiper .swiper-slide img {
        height: 260px;
    }
}

/* ─── Blog ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--ease);
}

.blog-card:hover { border-color: rgba(255,255,255,0.35); }

.blog-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-subtle);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.blog-card__content { padding: 24px; }

.blog-card__content time {
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 10px 0 12px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-soft);
    font-size: 14px;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.post-featured img {
    width: 100%;
    border-radius: var(--radius-sm);
}

.post-date {
    color: var(--text-muted);
    font-size: 14px;
}

/* ─── Contact ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contact-details {
    list-style: none;
    margin: 28px 0;
    padding: 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-soft);
    font-size: 15px;
}

.contact-details svg {
    flex-shrink: 0;
    margin-top: 4px;
    opacity: 0.75;
}

.contact-map {
    margin-top: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
    filter: grayscale(100%) invert(92%) contrast(90%);
}

.contact-form-wrap h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 24px;
}

.contact-form .form-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.contact-form .form-group { margin-bottom: 14px; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 11px 24px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--ease);
    border: 1px solid transparent;
    text-align: center;
    letter-spacing: 0.02em;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.btn-ghost:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--text);
}

.btn-block { width: 100%; }

.back-link { margin-top: 48px; }

/* ─── Alerts ─── */
.alert {
    padding: 14px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-soft);
}

.alert-error {
    background: rgba(207, 46, 46, 0.12);
    border: 1px solid rgba(207, 46, 46, 0.35);
    color: #f0a0a0;
}

.alert-error ul { margin: 0; padding-left: 18px; }

/* ─── Footer ─── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
}

.footer-brand img {
    width: auto;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-soft);
}

.footer-social a:hover { color: var(--text); }

/* ─── Lightbox ─── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
}

.lightbox__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(92vw, 1200px);
    max-height: 90vh;
    padding: 48px 60px;
    pointer-events: none;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(90vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    user-select: none;
}

.lightbox__caption {
    margin: 16px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    text-align: center;
    pointer-events: auto;
}

.lightbox__counter {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.05em;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease);
}

.lightbox__close:hover {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--ease), background var(--ease);
}

.lightbox__nav:hover {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__nav:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .lightbox__content {
        padding: 56px 16px 24px;
    }

    .lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }

    .lightbox__close {
        top: 12px;
        right: 12px;
    }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .header-grid {
        min-height: 72px;
    }

    .logo { padding: 0; }
    .logo img {
        max-width: 160px;
        height: 40px;
    }

    .about-grid,
    .about-page-grid,
    .detail-grid,
    .post-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .service-detail__content {
        max-width: none;
    }

    .service-detail__icon img {
        width: 200px;
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img { margin: 0 auto; }
    .footer-social { justify-content: center; }
}

@media (max-width: 767px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--ease);
        z-index: 100;
    }

    .site-header { position: relative; }

    .main-nav.open { max-height: 360px; }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 20px;
    }

    .main-nav li { border-bottom: 1px solid var(--border-subtle); }
    .main-nav li:last-child { border-bottom: none; }
    .main-nav a { display: block; padding: 14px 0; }

    .header-grid {
        position: relative;
    }

    .hero-swiper--desktop { display: none; }
    .hero-swiper--mobile { display: block; }

    .hero-section .container {
        padding: 0 20px;
    }

    .hero-swiper .swiper-slide img {
        height: 180px;
    }

    .section { padding: 36px 0; }
    .services-section { margin: 36px 0; }

    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .container--padded { padding: 16px; }
}

/* ========== Çerez bilgilendirme ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.97);
    color: #fff;
    border-top: 1px solid var(--border-subtle);
}

.cookie-consent[hidden] { display: none !important; }

.cookie-consent-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.cookie-consent-title {
    margin: 0;
    font-weight: 600;
    font-size: 0.9375rem;
}

.cookie-consent-text {
    margin: 0;
    flex: 1 1 16rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-soft);
}

.cookie-consent-text a { color: #fff; text-decoration: underline; }

.cookie-consent .btn-primary.cookie-consent-accept {
    flex-shrink: 0;
    white-space: nowrap;
}

.page-hero--compact { padding: 3rem 0 2rem; }

.page-hero__lead { color: var(--text-soft); max-width: 42rem; }

.section--legal { padding: 2.5rem 0 4rem; }

.legal-prose h2 {
    margin: 1.75rem 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-prose p,
.legal-prose ul {
    color: var(--text-soft);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-prose ul { padding-left: 1.25rem; }

.legal-prose code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.footer-legal {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-legal a { color: var(--text-soft); }

@media (max-width: 640px) {
    .cookie-consent-inner { flex-direction: column; align-items: stretch; }
    .cookie-consent-accept { width: 100%; }
}
