/* --- Google Fonts & Variables --- */
:root {
    /* Pinterest / Clean White Theme Palette */
    --color-white: #ffffff;
    --color-bg-light: #f9fafb; /* Very subtle light gray */
    --color-bg-subtle: #f3f4f6;
    
    --color-text-dark: #111827; /* Near black for strong headings */
    --color-text-body: #4b5563; /* Soft gray for readable paragraphs */
    --color-text-muted: #9ca3af;
    
    --color-accent: #4e70ff; /* Elegant gold/amber accent */
    --color-border: #e5e7eb;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 40px -5px rgba(0,0,0,0.08);
    
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-body);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.logo-img-class {
    width: 33%;
}


ul {
    list-style: none;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-dark {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-text-dark);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

.logo-text strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    right: 171px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-body);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 40px;
}

.hero-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-card {
    background-color: var(--color-white);
    padding: 60px;
    max-width: 600px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--color-accent);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* --- Stats Section --- */
.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 24px;
    background: var(--color-white);
    transform: translateY(-50%);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 20;
    margin-bottom: -50px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item h3 {
    font-size: 3rem;
    display: inline-block;
    color: var(--color-text-dark);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: var(--color-border);
}

/* --- Services Section --- */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

.service-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: transparent;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 24px;
}

.service-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--color-accent);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.main-img {
    border-radius: var(--radius-lg);
    width: 85%;
}

.overlap-img {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    border: 10px solid var(--color-white);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    top: 40px;
    left: -30px;
    background-color: var(--color-text-dark);
    color: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-accent);
}

.experience-badge span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.feature-list i {
    width: 24px;
    height: 24px;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--color-text-dark);
}

/* --- Projects (Pinterest Style Grid) --- */
.projects .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.pinterest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
}

.project-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-item.tall { grid-column: span 2; grid-row: span 2; }
.project-item.short { grid-column: span 2; grid-row: span 1; }
.project-item.medium { grid-column: span 1; grid-row: span 1; }

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,24,39,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info span {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h4 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-top: 5px;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--color-accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--color-text-dark);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- FAQ Section Minimalist --- */
.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--color-text-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 24px 24px;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
}

.social-links a:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--color-text-dark);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-image-wrapper { width: 50%; }
    .hero-card { padding: 40px; }
    .pinterest-grid { grid-template-columns: repeat(2, 1fr); }
    .project-item.medium, .project-item.tall, .project-item.short { 
        grid-column: span 1; 
        grid-row: span 1; 
    }
}

@media (max-width: 992px) {
    .hero { flex-direction: column; padding-top: 70px; text-align: center; }
    .hero-image-wrapper { position: relative; width: 100%; height: 400px; margin-top: 40px; }
    .hero-bg { border-radius: var(--radius-lg); }
    .hero-card { margin: 0 auto; box-shadow: none; padding: 20px; }
    .hero-buttons { justify-content: center; }
    
    .stats { flex-wrap: wrap; gap: 40px; margin-bottom: 0; transform: none; box-shadow: none; border: none; padding: 40px 0; border-bottom: 1px solid var(--color-border); border-radius: 0;}
    .stat-divider { display: none; }
    .stat-item { flex: 0 0 40%; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .overlap-img { width: 40%; }
    
    .faq-wrapper { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .btn-header { display: none; }
    .menu-toggle { display: block; }

    .nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-list { flex-direction: column; gap: 15px; align-items: center; }
    
    .hero-title { font-size: 2.5rem; }
    
    .services-grid { grid-template-columns: 1fr; }
    .pinterest-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    
    .projects .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* --- Gelişmiş Mobil Uyumluluk Editleri --- */

/* Genel Boşluk Düzenlemesi */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Header & Navigasyon Revizesi */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .logo-img-class {
        width: 120px; /* Mobilde logo kontrolü */
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--color-bg-subtle);
        border-radius: 10px;
        font-size: 1.2rem;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        clip-path: none; /* Eski yapıyı override ediyoruz */
    }

    .nav.active {
        height: calc(100vh - 70px);
        padding-top: 40px;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav.active .nav-list {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        right: 0; /* Nav link'teki sapmayı sıfırlıyoruz */
    }

    /* Hero Alanı Mobil Dokunuşu */
    .hero {
        min-height: auto;
    }

    .hero-card {
        padding: 30px 20px;
        margin-top: -40px; /* Görselle kartı iç içe geçirerek derinlik katıyoruz */
        width: 92%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        box-shadow: var(--shadow-lg);
    }

    .hero-image-wrapper {
        height: 350px;
        margin-top: 0;
    }

    .hero-bg {
        border-radius: 0 0 30px 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    /* İstatistikler 2x2 Izgara */
    .stats {
        margin: 40px 10px 0 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 30px 15px;
        transform: none;
    }

    .stat-item {
        flex: none;
        padding: 10px;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    /* Hakkımızda Görselleri */
    .about-grid {
        gap: 40px;
    }

    .main-img {
        width: 100%;
    }

    .overlap-img {
        width: 50%;
        bottom: -20px;
        right: 10px;
    }

    .experience-badge {
        top: -20px;
        left: 10px;
        padding: 12px;
    }

    /* Pinterest Grid Mobilde Tek Sütun Ama Şık */
    .pinterest-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .project-item, 
    .project-item.tall, 
    .project-item.medium, 
    .project-item.short {
        height: 280px;
        width: 100%;
    }

    .project-overlay {
        opacity: 1; /* Mobilde her zaman görünür olması daha iyi kullanıcı deneyimi sağlar */
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    }

    /* Müşteri Yorumları */
    .testimonial-grid {
        gap: 20px;
    }

    .review-card {
        padding: 25px;
    }

    /* S.S.S. */
    .faq-wrapper {
        gap: 30px;
    }

    .faq-question {
        padding: 18px;
        font-size: 1rem;
    }

    /* Footer */
    .footer-top {
        gap: 40px;
        text-align: center;
        display: none;
    }

    .footer-brand p {
        margin: 0 auto 24px auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer {
        padding: 40px 0 30px;
    }

    .footer-bottom {
        border-top: none;
        padding: 0 !important;
    }
}

/* Küçük Telefonlar İçin Ekstra Ayar */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .badge {
        font-size: 0.75rem;
    }
}


@media(max-width:1024px){
    .about-images{
        display: none;
    }

    .about.section-padding{
        padding: 60px 40px;
    }
}