/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0b1a3d;
    --secondary-color: #c09139;
    --text-color: #333;
    --light-bg: #f1f3f6; /* Göz yormayan soft gri geçişler */
    --white: #f8f9fb;    /* Göz yormayan inci beyazı ana arka plan */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(192, 145, 57, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    height: 100svh; /* Mobil tarayıcılar için optimize edilmiş yükseklik */
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* Daha derin overlay */
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    max-width: 1200px; /* Daha geniş ekranlar için artırıldı */
    width: 100%;
}

.slide-content h1 {
    font-size: clamp(2rem, 8vw, 4.5rem); /* Dinamik başlık boyutu */
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background: #a97e2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.filter-btn {
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(11, 26, 61, 0.2);
}

/* Slider Controls */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255,255,255,0.4);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Sections General */
section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Featured Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.project-img-wrapper {
    overflow: hidden;
    height: 220px;
    position: relative;
}

.project-img {
    height: 220px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.project-info h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.project-card:hover .project-info h3::after {
    width: 100%;
}

.project-info p {
    color: #666;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .slide-content h1 {
        font-size: 2rem;
    }
}

/* Project Detail Page */
.project-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    color: var(--white);
    margin-top: -80px; /* Header adjustment */
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.project-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.project-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin: 1rem 0;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .project-meta-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .project-hero {
        height: 40vh;
        min-height: 300px;
        padding-bottom: 2rem;
    }

    .project-hero h1 {
        font-size: 2rem;
    }

    .gallery-slide {
        height: 220px !important;
    }
    
    .gallery-nav-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 0;
        padding-right: 0;
    }

    .filter-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 0.5rem 0 1.5rem 0 !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.8rem !important;
    }

    .filter-container::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* Agency Mark in Footer */
.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.agency-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.agency-mark:hover {
    color: var(--white);
}

.agency-mark img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1); /* Siyah logoyu temiz bir beyaza çevir */
    opacity: 0.8;
    transition: var(--transition);
}

.agency-mark:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .copyright {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 5%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* --- YENİ KURUMSAL TASARIM SINIFLARI (HAKKIMIZDA BÖLÜMÜ) --- */
.page-hero {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 80px;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(11, 26, 61, 0.9), rgba(11, 26, 61, 0.6));
}
.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1200px;
}
.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: -15px -15px 0 var(--secondary-color), 0 5px 25px rgba(0,0,0,0.1);
}

.vision-banner {
    background-color: var(--light-bg);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5rem 5%;
}
.vision-banner p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.value-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}
.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.value-card p {
    color: #666;
    font-size: 0.95rem;
}

/* --- HOME PAGE MODERN SECTIONS --- */
.service-card-modern {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary-color);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(11, 26, 61, 0.2);
}

.service-card-modern:hover .service-icon-box {
    background: var(--secondary-color);
    color: #fff;
    transform: rotate(10deg);
}

.service-card-modern h3 {
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.service-card-modern p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

.why-us-modern {
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.why-us-modern:hover {
    background: rgba(192, 145, 57, 0.05);
}

.why-us-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.why-us-modern:hover .why-us-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.why-us-modern h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.why-us-modern p {
    color: #777;
    font-size: 0.95rem;
}

/* --- GENEL MOBİL OPTİMİZASYON VE JUSTIFY --- */
@media (max-width: 768px) {
    .about-grid p, .vision-banner > p, .project-info p {
        text-align: justify;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image {
        box-shadow: -10px -10px 0 var(--secondary-color);
    }
    section {
        padding: 3rem 5%;
    }
}


/* --- HAKKIMIZDA RESİM AKIŞI --- */
.about-flow-img {
    float: left;
    width: 45%;
    max-width: 500px;
    margin: 0.5rem 3rem 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-flow-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .about-flow-img {
        float: none;
        width: 100%;
        margin: 0 0 2rem 0;
    }
}
