/* Koçak Yapı - Modern Kurumsal CSS */
:root {
    --primary: #E53935;
    --primary-hover: #C62828;
    --dark: #121214;
    --light-bg: #F8F9FA;
    --text-main: #333336;
    --text-muted: #666670;
    --white: #FFFFFF;
    --success: #25D366;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.btn-quote {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Mobil Menü Butonu */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #B71C1C 100%);
    color: var(--white);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-tag {
    background-color: var(--white);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main {
    background-color: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.btn-main:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

.btn-wp {
    background-color: var(--success);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-wp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

/* SADECE ANA EKRAN BİNA FOTOĞRAFI İÇİN */
.hero-img-box {
    flex: 1;
    min-width: 300px;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections General */
section {
    padding: 60px 20px;
    width: 100%;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-title .bar {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto;
    border-radius: 20px;
}

/* -------------------------------------------
   YENİ: PLİSE PERDE İÇİN ÖZEL SABİT AYARLAR 
   ------------------------------------------- */
.plise-section {
    background-color: #FFF;
    border-radius: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.plise-left {
    width: 100%;
    max-width: 100%; /* Taşmayı engeller */
}

/* Plise Büyük Fotoğraf */
.plise-main-img {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.plise-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.plise-main-img:hover img {
    transform: scale(1.03);
}

/* Plise Albüm Resimleri */
.plise-thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}
.plise-thumb {
    width: 100%;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}
.plise-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.plise-thumb:hover img {
    transform: scale(1.1);
}

.plise-badge {
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

/* Projects Grid */
.projects-grid, .references-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-img {
    height: 220px;
    overflow: hidden;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}
.project-tag {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.project-info h3 {
    margin: 5px 0;
    font-size: 18px;
}

/* Referans Kartları */
.ref-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stars {
    color: #FFC107;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #0A0A0B;
    color: #A0A0AB;
    padding: 50px 20px 20px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
}

.footer-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #1F1F23;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
}

/* Sabit Butonlar */
.wp-sticky {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
    color: var(--white);
}

/* ==========================================================================
   📱 MOBİL KORUMA VE KAYMA ENGELLEME MEDYA SORGULARI
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-img-box {
        width: 100%;
        height: 300px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .plise-section {
        grid-template-columns: 1fr; /* Tablette alt alta geçer */
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    .nav-links.show {
        display: flex;
    }
    .btn-quote {
        margin: 0 !important;
        border-radius: 8px;
    }
    .plise-main-img {
        height: 250px; /* Mobilde ana perde fotosu biraz küçülür */
    }
    .projects-grid, .references-grid {
        grid-template-columns: 1fr !important; 
        gap: 20px;
    }
    section {
        padding: 40px 15px;
    }
    .hero h1 {
        font-size: 24px;
    }
    .wp-sticky {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }
}