* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pale-sky: #5f7584;
    --pickled-bluewood: #223345;
    --napa: #b0a89b;
    --blue-dianne: #1e5051;
    --cascade: #88afa0;
    --glass: rgba(255, 255, 255, 0.75);
    --header-bg-mobile: rgba(255, 255, 255, 0.98);
    --font-main: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    background: #eceff1;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #eceff1;
    color: var(--pickled-bluewood);
    font-family: var(--font-main);
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cascade);
    outline-offset: 4px;
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

p,
.text-content,
.subtext {
    font-weight: 300;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: transparent;
    transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.header.scrolled {
    padding: 10px 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.header .logo {
    color: var(--pickled-bluewood);
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.subtext {
    display: block;
    color: var(--pale-sky);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-image {
    width: 50px;
    height: auto;
}

.logo-image.desktop-only {
    display: none;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header nav a {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--pickled-bluewood);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: var(--pale-sky);
    transition: width 0.25s ease;
}

.header nav a:hover::after,
.header nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    min-width: 44px;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--pickled-bluewood);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding: 20px;
    background: var(--pickled-bluewood);
    color: #fff;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-icon,
.contact-info a,
.phone-link,
.email-link,
.general-email,
.whatsapp-link,
.address-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-icon {
    min-width: 44px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: var(--cascade);
    transform: translateY(-2px);
}

.x-social-icon {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.copyright {
    font-size: 12px;
    opacity: 0.8;
}

.contact-info,
.contact-info p,
.contact-info a {
    color: #ddd;
    font-size: 13px;
}

.contact-info a {
    text-decoration: none;
}

.contact-info a:hover {
    color: #fff;
    text-decoration: underline;
}

.slider,
.slides,
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
}

.slide {
    z-index: 1;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide.active {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
}

.slide picture,
.slide-img {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-img {
    object-fit: cover;
}

.controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateX(-50%);
}

.arrow {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.progress-bar {
    width: 150px;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.progress {
    width: 0;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.text-overlay {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 5;
    color: rgba(255, 255, 255, 0.48);
    font-size: 28px;
    font-style: italic;
    font-weight: 300;
    pointer-events: none;
}

.services-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 25px 50px;
    background: rgba(34, 51, 69, 0.9);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.service-item {
    flex: 1;
    padding: 0 10px;
    text-align: center;
}

.service-item i {
    margin-bottom: 10px;
    color: var(--cascade);
    font-size: 24px;
}

.service-item h3 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
}

.service-item p {
    color: #ccc;
    font-size: 12px;
}

.video-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #223345 url("video.gif") center / cover no-repeat;
    pointer-events: none;
}

.video-background .background-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.18);
}

.mission-vision {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

.section {
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(34, 51, 69, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #f7eadc;
}

.text-content {
    color: #f7eadc;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

.text-content h2 {
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--napa);
    color: #fff;
    font-size: 28px;
    text-align: center;
}

.contact-page {
    background:
        radial-gradient(circle at 15% 20%, rgba(136, 175, 160, 0.22), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(95, 117, 132, 0.2), transparent 38%),
        #f3f6f8;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 130px 20px 48px;
}

.map-and-info {
    width: 100%;
    max-width: 1200px;
    min-height: 500px;
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    background: var(--glass);
    box-shadow: 0 24px 48px rgba(34, 51, 69, 0.16);
}

.map-container {
    position: relative;
    flex: 1.5;
    min-height: 400px;
}

.map-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(34, 51, 69, 0.2), rgba(34, 51, 69, 0));
    pointer-events: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(12%) contrast(102%);
}

.map-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    background: rgba(34, 51, 69, 0.92);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    background: linear-gradient(160deg, #fff, #f8fafc);
}

.info-box h2 {
    align-self: center;
    display: inline-block;
    margin-bottom: 26px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(176, 168, 155, 0.55);
    font-size: 30px;
    text-align: center;
}

.founders {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.person {
    padding: 16px 14px;
    border: 1px solid rgba(34, 51, 69, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    text-align: center;
}

.person h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.person .role {
    display: block;
    margin-bottom: 8px;
    color: var(--pale-sky);
    font-size: 13px;
}

.email-link,
.phone-link,
.general-email {
    color: var(--pickled-bluewood);
    font-size: 15px;
    text-decoration: none;
}

.contact-details {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(34, 51, 69, 0.12);
    text-align: center;
}

.whatsapp-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #25d366, #1cae57);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.parallax-section {
    position: relative;
    min-height: 600px;
    height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 0 10%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
}

.content-box {
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding: 40px;
    border-left: 5px solid var(--pale-sky);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-card-link {
    color: var(--pickled-bluewood);
    text-decoration: none;
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.project-card-link::after {
    content: "Projeyi İncele";
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-top: 4px;
    color: var(--blue-dianne);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.project-card-link:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
}

.right-align {
    justify-content: flex-end;
}

.right-side {
    border-right: 5px solid var(--pale-sky);
    border-left: 0;
    text-align: right;
}

.year {
    position: absolute;
    top: -50px;
    right: 20px;
    z-index: 0;
    color: #000;
    font-size: 80px;
    font-weight: 700;
    opacity: 0.1;
}

.right-side .year {
    right: auto;
    left: 20px;
}

.content-box h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.content-box p {
    margin-bottom: 25px;
    color: #444;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.tags span {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 15px;
    border: 1px solid var(--pickled-bluewood);
    border-radius: 20px;
    color: var(--pickled-bluewood);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-detail-page {
    background: #f3f6f8;
}

.project-detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 128px 0 56px;
}

.back-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--pickled-bluewood);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    color: var(--blue-dianne);
}

.project-detail-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: stretch;
}

.project-detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    border-left: 5px solid var(--cascade);
    background: #fff;
    box-shadow: 0 18px 44px rgba(34, 51, 69, 0.12);
}

.project-kicker {
    margin-bottom: 10px;
    color: var(--pale-sky);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-detail-copy h1 {
    margin-bottom: 18px;
    color: var(--pickled-bluewood);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.05;
}

.project-detail-copy p {
    color: #405261;
    font-size: 17px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.project-tags span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid rgba(34, 51, 69, 0.16);
    border-radius: 999px;
    color: var(--pickled-bluewood);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.project-gallery {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #dfe6ea;
    box-shadow: 0 18px 44px rgba(34, 51, 69, 0.16);
}

.project-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--pickled-bluewood);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transform: translateY(-50%);
}

.gallery-prev {
    left: 18px;
}

.gallery-next {
    right: 18px;
}

.project-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.thumbnail-button {
    min-height: 88px;
    overflow: hidden;
    padding: 0;
    border: 3px solid transparent;
    background: #fff;
    box-shadow: 0 10px 28px rgba(34, 51, 69, 0.1);
    cursor: pointer;
}

.thumbnail-button.active {
    border-color: var(--cascade);
}

.thumbnail-button img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 88px;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
        background: var(--header-bg-mobile);
    }

    .header.scrolled {
        padding: 12px 20px;
    }

    .header .logo {
        font-size: 18px;
    }

    .logo-image {
        width: 45px;
    }

    .hamburger {
        display: flex;
    }

    .header nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1001;
        width: min(75%, 340px);
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 80px 24px;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.25s ease;
    }

    .header nav.active {
        right: 0;
    }

    .header nav a {
        width: 100%;
        justify-content: center;
        font-size: 20px;
    }

    .header nav a::after {
        bottom: 4px;
    }

    .text-overlay {
        bottom: 50%;
        left: 0;
        width: 100%;
        font-size: 22px;
        text-align: center;
        transform: translateY(50%);
    }

    .controls {
        bottom: 80px;
    }

    .services-bar {
        display: none;
    }

    .section {
        margin-top: 20px;
        padding: 30px 20px;
    }

    .text-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .map-and-info {
        flex-direction: column;
        margin-top: 20px;
        border-radius: 18px;
    }

    .map-container {
        min-height: 300px;
        height: 300px;
    }

    .info-box {
        padding: 30px 20px;
    }

    .parallax-section {
        height: auto;
        min-height: 520px;
        padding: 100px 20px;
        background-attachment: scroll;
    }

    .content-box,
    .right-side {
        width: 100%;
        border: 0;
        border-top: 5px solid var(--pale-sky);
        text-align: left;
    }

    .project-detail-shell {
        width: min(100% - 24px, 760px);
        padding-top: 108px;
    }

    .project-detail-hero {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .project-detail-copy {
        padding: 26px 20px;
    }

    .project-gallery,
    .project-gallery img {
        min-height: 420px;
    }

    .year {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .header {
        padding: 12px 14px;
    }

    .header .logo {
        font-size: 15px;
    }

    .subtext {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .logo-image {
        width: 40px;
    }

    .mission-vision {
        padding: 110px 14px 40px;
    }

    .main-content {
        padding: 110px 14px 36px;
    }

    .map-button {
        right: 16px;
        left: 16px;
    }

    .social-media {
        gap: 6px;
    }

    .contact-info a,
    .whatsapp-link,
    .address-link {
        width: 100%;
        padding: 4px 0;
        text-align: center;
    }

    .project-detail-shell {
        width: calc(100% - 20px);
    }

    .project-gallery,
    .project-gallery img {
        min-height: 320px;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
    }

    .project-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}
