@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Header Tasarımı */
header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; 
    position: relative;
    height: 80px;
    border: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-left: 275px;
    height: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 55px;
}

.nav-links{
    padding-left: 75px;
}

.header-contact{
    padding-right: 55px;
}

.logo {
    position: absolute;
    left: 0;
    z-index: 1002;
}

.logo img {
    height: 250px;
    width: auto;
    position: absolute;
    top: -80px;
    left: 0;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

/* --------------------------------------------- */
/* MOBİL MENÜ STILLERİ */
/* --------------------------------------------- */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #b8860b;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #b8860b;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e0e5e8;
}

.header-contact.desktop-only {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact.desktop-only:hover {
    background: rgba(184, 134, 11, 0.05);
    transform: translateX(5px);
}

.header-contact.desktop-only:hover .phone-icon {
    background: #333;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.header-contact.desktop-only:hover .phone-icon i {
    color: #e0e5e8;
}


.header-contact.mobile-only {
    display: none;
}

.phone-icon {
    background: #b0b9c0;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.phone-info span {
    display: block;
    font-size: 12px;
    color: #333;
}

.phone-icon i {
    transform: rotate(-40deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('img/unnamed_Nero_AI_Image_Upscaler_Photo_Face.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: 85px;
}

.container {
    display: flex;
    width: 90%;
    margin: 0 auto;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.sub-title {
    color: #b8860b;
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #222;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #b8860b;
    transform: translateY(-3px);
}

.rating-section {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-info {
    position: relative;
    padding-left: 1.5rem;
    padding-top: 20px;
}

.rating-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

.user-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #e0e5e8;
    margin-left: -15px;
}

.user-avatars img:first-child { margin-left: 0; }

.stars i { color: #f1c40f; }
.stars span { font-weight: bold; margin-left: 5px; }

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* --- GELİŞMİŞ SLIDER EFEKTLERİ --- */

.rotating-info {
    position: relative;
    min-height: 180px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.info-item {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: 
        opacity 0.8s ease, 
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), 
        visibility 0.8s;
    pointer-events: none;
}

.info-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.info-item h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #222;
}

.hero-image {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cleaner-img {
    max-width: 100%;
    height: auto;
    position: absolute;
    opacity: 0;
    scale: 0.9;
    filter: blur(10px) drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    transition: 
        opacity 1s ease, 
        scale 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
        filter 1s ease;
    z-index: 1;
}

.cleaner-img.active {
    opacity: 1;
    scale: 1;
    filter: blur(0) drop-shadow(0 20px 30px rgba(0,0,0,0.2));
    z-index: 2;
    position: relative;
}

/* --------------------------------------------- */
/* RESPONSIVE TASARIM (Mobil ve Tablet) - TEK BİR MEDIA SORGUSU */
/* --------------------------------------------- */
@media (max-width: 992px) {
    /* Header düzenlemeleri */
    .nav-content {
        margin-left: 0px;
        justify-content: flex-end;
        margin-top: 0px;
    }

    .nav-links{
        padding-left: 0px;
    }

    .header-contact{
        padding-right: 0px;
    }

    header.scrolled .logo img {
        height: 70px;
        top: -30px;
    }

    header.scrolled .menu-toggle .bar{
        width: 20px;
        height: 2px;
    }

    .logo img {
        height: 100px;
        top: -50px;
    }

    /* Hamburger menü */
    .menu-toggle {
        display: flex;
    }

    .header-contact.desktop-only {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-bottom: 30px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-contact.mobile-only {
        display: flex;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
        width: 100%;
    }

    /* Hero section düzenlemeleri */
    .hero {
        padding-top: 125px;
        overflow-x: hidden;
    }

    .container {
        flex-direction: column;
        width: 90%;
    }

    /* ANA DÜZELTME: Hero içeriğini flex column yap ve sıralamayı değiştir */
    .hero-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
        
        /* Flex düzeni */
        display: flex;
        flex-direction: column;
    }

    /* Dönen bilgi her zaman en üstte */
    .rotating-info {
        order: 1;
        min-height: 150px;
        text-align: center;
        justify-content: center;
        margin-bottom: 20px;
        width: 100%;
    }

    /* Buton ikinci sırada */
    .btn-primary {
        order: 2;
        margin: 0 auto 25px auto; /* Üst:0, sağ-sol:auto, alt:25px */
        display: inline-block;
        width: auto;
        align-self: center;
    }

    /* Rating bölümü üçüncü sırada (görselden sonra) */
    .rating-section {
        order: 4; /* 4 yaptık çünkü hero-image 3. sırada olacak */
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Görseli 3. sıraya al (buton ile rating arasına) */
    .hero-image {
        order: 3;
        min-height: 300px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
    }

    .cleaner-img.active {
        position: relative;
        max-width: 80%;
    }

    .info-item h2 {
        font-size: 2rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .rating-info {
        padding-left: 0;
        padding-top: 0;
    }

    .rating-info::before {
        display: none;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-icon{
        margin-right: 11px;
    }
}

/* Daha küçük telefonlar için (480px) */
@media (max-width: 480px) {
    .info-item h2 {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .nav-menu {
        width: 60%;
        padding: 80px 20px 20px 20px;
    }

    .rating-section {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 1450px) and (min-width: 1151px) {
    header {
        padding: 20px 3%;
    }

    .nav-content {
        margin-left: 240px;
    }

    .nav-links {
        padding-left: 40px;
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .header-contact {
        padding-right: 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .info-item h2 {
        font-size: 2.5rem;
    }
}

/* 1150px ile 900px arası - Tablet ve küçük masaüstü */
@media (max-width: 1150px) and (min-width: 901px) {
    header {
        padding: 20px 2%;
    }

    .logo img {
        height: 200px;
        top: -60px;
    }

    .nav-content {
        margin-left: 180px;
        margin-top: 40px;
    }

    .nav-links {
        padding-left: 20px;
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .header-contact {
        padding-right: 15px;
    }

    .phone-info span {
        font-size: 10px;
    }

    .phone-info strong {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .info-item h2 {
        font-size: 2.2rem;
    }

    .rotating-info {
        min-height: 160px;
    }
}



/* Hakkımızda Bölümü Stilleri */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
}

.about-container {
    flex-direction: column;
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 60px;
}

.about-header-left { flex: 0 0 70%; }

.about-header-left h2 {
    font-size: 2.8rem;
    color: #222;
    line-height: 1.2;
}

.btn-secondary {
    display: inline-block;
    background: #b8860b; 
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease; 
}

.btn-secondary:hover {
    background: #9e7409;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
}

/* İstatistikler */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    width: 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    display: block;
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.stat-item p {
    color: #666;
    line-height: 1.6;
}

/* Kartlar */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.about-card {
    height: 400px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.about-card:hover { transform: translateY(-10px); }

.card-icon {
    background: white;
    color: #222;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card h4 { font-size: 1.4rem; font-weight: 600; }

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .about-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .stats-grid, .about-cards { grid-template-columns: 1fr; gap: 30px; }
    .about-header-left h2 { font-size: 2rem; }
    .about-card { height: 300px; }
}




.services-section {
    padding: 100px 0;
    background-color: #fdfaf2;
}

.services-container {
    flex-direction: column;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.8rem;
    color: #222;
    margin-top: 10px;
}

.services-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-item {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    gap: 30px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.service-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    transform: translateY(-2px);
}

.service-left h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Buton Tasarımı - Ekran görüntüsündeki gibi */
.btn-service {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #b8860b;
    color: #b8860b;
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Hover ve Aktif durumu (Resimdeki mor buton efekti altın rengi ile) */
.btn-service:hover, .btn-service.active {
    background: #b8860b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.service-middle p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Etiketler (Tags) */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    padding: 5px 12px;
    border: 1px solid #e0e5e8;
    color: #555;
    border-radius: 6px;
    font-size: 0.8rem;
    background-color: #faf9f5;
    transition: all 0.3s ease;
}

.service-item:hover .service-tags span {
    border-color: #b8860b;
    color: #b8860b;
}

.service-right {
    display: flex;
    justify-content: flex-end;
}

.service-right img {
    width: 100%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.service-item:hover .service-right img {
    transform: scale(1.05);
}

/* Hizmetler Mobil Uyumluluk */
@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 15px;
    }
    
    .service-left h3 {
        font-size: 1.6rem;
    }
    
    .service-right {
        justify-content: flex-start;
    }
    
    .service-right img {
        max-width: 100%;
        height: auto;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
}



/* =========================================
   SERTİFİKALAR BÖLÜMÜ
   ========================================= */
.certificates-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
    position: relative;
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.certificates-header {
    text-align: center;
    margin-bottom: 60px;
}

.certificates-header .sub-title {
    color: #b8860b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.certificates-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
}

.certificates-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Yapısı */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Sertifika Kartı */
.cert-card {
    background: #ffffff;
    border: 1px solid rgba(184, 134, 11, 0.15);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.12);
    border-color: #b8860b;
}

/* Resim Konteynırı */
.cert-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.3s;
}

.cert-card:hover .cert-image-container {
    border-color: #b8860b;
}

.cert-photo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* PDF önizlemesi gibi durması için */
    padding: 10px;
    transition: transform 0.5s ease;
}

/* Hover Overlay (PDF İkonu) */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 134, 11, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: 0.4s;
    text-decoration: none;
}

.cert-image-container:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.cert-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* İçerik */
.cert-content h3 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 3.5rem; /* Başlıkların aynı hizada durması için */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Buton */
.btn-cert-download {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #b8860b;
    color: #b8860b;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-cert-download:hover {
    background: #b8860b;
    color: #fff;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-header h2 {
        font-size: 2rem;
    }

    .cert-card {
        max-width: 400px;
        margin: 0 auto;
    }
}



/* =========================================
   İLETİŞİM BÖLÜMÜ (CONTACT SECTION)
   ========================================= */
.contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.contact-container {
    flex-direction: column;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin: 10px 0;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    align-items: center;
}

/* Sol Taraf - Bilgiler ve Harita */
.contact-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.c-item:hover {
    transform: translateX(10px);
}

.c-item .icon-box {
    width: 50px;
    height: 50px;
    background: #b8860b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #222;
}

.c-text p, .c-text a {
    color: #666;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.c-text a:hover {
    color: #b8860b;
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 250px;
}

/* Sağ Taraf - Form */
.contact-form-box {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #b8860b;
    margin-top: 20px;
}

.contact-form-box h3 {
    margin-bottom: 30px;
    color: #222;
    font-size: 1.8rem;
}

/* Input Animasyonlu Stil */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group select {
    color: #555;
    cursor: pointer;
    appearance: none; /* Standart ok işaretini kaldırır */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23b8860b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.7-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.input-group textarea + label {
    top: 20px;
    transform: translateY(0);
}

/* Input Focus Efektleri */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.8rem;
    color: #b8860b;
    background: white;
    transform: translateY(-50%);
    z-index: 2;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {

    .contact-section{
        overflow-x: hidden;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-form-box {
        order: 1; /* Mobilde form üstte olsun istersen 1, altta istersen 2 yap */
    }
    
    .contact-info-box {
        order: 2;
    }
}


.social-media-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid rgba(184, 134, 11, 0.15);
    transition: all 0.3s ease;
}

.social-media-box:hover {
    border-color: #b8860b;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.15);
}

.social-media-box h5 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Platform Bazlı Renkler */
.social-link.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #000; } /* X için siyah */
.social-link.linkedin { background: #0077b5; }

/* Hover Efekti */
.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobil uyumluluk */
@media (max-width: 480px) {
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .social-media-box h5 {
        font-size: 1rem;
    }
}



/* =========================================
   FOOTER BÖLÜMÜ (Animasyonlu)
   ========================================= */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%); /* Koyu ve şık bir arka plan */
    color: #f0f0f0;
    padding: 60px 0 20px;
    position: relative;
    border-top: 3px solid #b8860b; /* Üstte ince bir altın çizgi */
}

.footer-container {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr; /* Sütun genişliklerini ayarlayın */
    gap: 40px;
    width: 100%;
    margin-bottom: 40px;
}

/* Footer Sütunları */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #b8860b; /* Altın renkli alt çizgi */
}

/* Sütun 1: Logo ve Açıklama */
.footer-about .footer-logo {
    margin-bottom: 15px;
}

.footer-about .footer-logo img {
    height: 150px; /* Logoyu footer'a uygun boyutlandırın */
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-about .footer-logo img:hover {
    opacity: 1;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #aaa;
    margin: 0;
}

/* Sütun 2 & 3: Linkler ve İletişim Listesi */
.footer-links ul,
.footer-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-links li,
.footer-contact-info li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #b8860b;
    transform: translateX(5px); /* Hover'da hafif sağa kayma */
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #aaa;
    font-size: 0.95rem;
}

.footer-contact-info li i {
    color: #b8860b;
    font-size: 1rem;
    width: 20px; /* İkonlar için sabit genişlik */
    text-align: center;
}

.footer-contact-info li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info li a:hover {
    color: #b8860b;
}

/* Sütun 4: Sosyal Medya */
.footer-social {
    align-items: flex-start;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.footer-social-link:hover {
    background: #b8860b;
    transform: translateY(-5px);
    border-color: #b8860b;
}

.footer-contact-btn {
    display: inline-block;
    background: transparent;
    color: #b8860b;
    border: 2px solid #b8860b;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-contact-btn:hover {
    background: #b8860b;
    color: #1a1a1a;
}

/* Alt Kısım */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Telif hakkı ve geliştirici arasındaki boşluk */
}

.footer-bottom p {
    color: #777;
    font-size: 0.85rem;
    margin: 0;
}

/* Geliştirici Bilgisi Stili */
.developer-credit {
    font-size: 0.8rem !important; /* Biraz daha küçük */
    color: #888 !important;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}

/* İsteğe bağlı: Geliştirici bilgisinin üzerine gelince renk değişimi */
.developer-credit:hover {
    color: #b8860b !important;
    transition: color 0.3s ease;
}

/* ========================================= */
/* FOOTER MOBİL UYUM (Tek bir media sorgusu) */
/* ========================================= */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 30px;
    }

    .footer-col {
        align-items: center; /* Mobilde içeriği ortala */
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); /* Başlık çizgisini ortala */
        width: 50px;
    }

    /* Sütun 1: Mobilde logo ve metin ortalanır */
    .footer-about .footer-logo img {
        height: 80px; /* Mobilde logo boyutunu küçült */
        margin: 0 auto;
    }

    /* Sütun 2: Linkler */
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Sütun 3: İletişim bilgilerini ortala */
    .footer-contact-info li {
        justify-content: center;
    }

    /* Sütun 4: Sosyal medyayı ortala ve butonu gizle/göster */
    .footer-social {
        align-items: center;
    }
    .footer-social-links {
        justify-content: center;
    }

    /* Mobilde iletişim butonunu gizle/göster - zaten mobil-only class'ı var */
    .footer-contact-btn.mobile-only {
        display: inline-block;
        margin-top: 10px;
    }
}

/* Çok küçük telefonlar için ek düzenleme */
@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 15px;
    }
    .footer-contact-info li {
        font-size: 0.9rem;
        flex-wrap: wrap; /* Uzun metinlerde sorun yaşamamak için */
    }
    .footer-contact-info li i {
        width: auto; /* İkon genişliğini serbest bırak */
    }
        .developer-credit {
        margin-top: 5px;
    }
}



/* =========================================
   WHATSAPP FLOAT BUTONU
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;       /* Sayfanın altından 25px yukarıda */
    left: 25px;         /* Sayfanın solundan 25px içeride */
    background-color: #25d366; /* WhatsApp'ın yeşil rengi */
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;       /* Butonun diğer elementlerin üstünde kalmasını sağlar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Butonun üzerine gelindiğindeki efekt */
.whatsapp-float:hover {
    background-color: #20b859; /* Daha koyu bir yeşil */
    transform: scale(1.1);      /* Hafifçe büyür */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Butonun içindeki ikonun boyutunu ayarlar */
.whatsapp-float i {
    line-height: 1;
}

/* Araç İpucu (Tooltip) - İsteğe Bağlı */
.whatsapp-tooltip {
    position: absolute;
    left: 70px; /* Butonun sağında görünmesi için left:70px; de yapabilirsiniz ama sol tarafa koyduk */
    bottom: 50%;
    transform: translateY(50%);
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none; /* Tooltip'in üzerine tıklanmasını engeller */
    z-index: 101;
}

/* Tooltip için küçük ok (konum butonun solunda olduğu için sağa bakan ok) */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: 100%; /* Ok, tooltip'in sağında olacak, yani butona bakacak */
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #333 transparent transparent; /* Sağa bakan ok */
}

/* Butona hover olunca tooltip'i göster */
.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

/* =========================================
   MOBİL UYUMLULUK (Tooltip ve Buton Boyutu)
   ========================================= */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 32px;
        bottom: 15px;
        left: 15px; /* Mobilde biraz daha kenarda dursun */
    }

    /* Mobilde tooltip'i tamamen kaldırabilir veya gizleyebilirsiniz */
    .whatsapp-tooltip {
        display: none; /* Mobilde yer kaplamasın */
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 10px;
        left: 10px;
    }
}



/* =========================================
   REFERANSLAR (SLIDER) BÖLÜMÜ
   ========================================= */
.references-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.references-container {
    flex-direction: column;
}

.references-header {
    text-align: center;
    margin-bottom: 50px;
}

.references-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin: 10px 0;
}

.references-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slider Wrapper - Okların pozisyonu için */
.references-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Referans Grid - Normalde grid, mobilde slider */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: transform 0.5s ease;
}

/* Referans Kartı Tasarımı */
.reference-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(184, 134, 11, 0.15);
    border-color: #b8860b;
}

/* Kartın Medya (Görsel/Video) Kısmı */
.card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reference-card:hover .card-media img {
    transform: scale(1.05);
}

/* Medya Linki (Video/Fotoğraf simgesi) */
.media-link {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #b8860b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-10px);
}

.reference-card:hover .media-link {
    opacity: 1;
    transform: translateY(0);
}

.media-link:hover {
    background: #b8860b;
    color: white;
    transform: scale(1.1);
}

/* Kart İçeriği */
.card-content {
    padding: 20px;
    flex: 1;
}

.card-category {
    display: inline-block;
    background: rgba(184, 134, 11, 0.08);
    color: #b8860b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Slider Okları (Masaüstünde gizli, mobilde görünür) */
.slider-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #b8860b;
    border-radius: 50%;
    color: #b8860b;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-arrow:hover {
    background: #b8860b;
    color: white;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

/* Slider Noktaları (Mobilde görünür) */
.slider-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #b8860b;
    width: 25px;
    border-radius: 10px;
}

/* =========================================
   REFERANSLAR - MOBİL SLIDER VERSİYONU
   ========================================= */
@media (max-width: 992px) {
    .references-grid {
        display: flex;
        gap: 0;
        width: 100%;
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px; /* Taşmaları engellemek için */
    }

    .references-grid::-webkit-scrollbar {
        display: none; /* Scrollbar'ı gizle */
    }
    .references-grid {
        -ms-overflow-style: none;  /* IE/Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .reference-card {
        flex: 0 0 calc(100% - 30px); /* Kart genişliği (yanlardan boşluk payı bırak) */
        max-width: 350px; /* Maksimum genişlik */
        margin: 0 10px; /* Kartlar arası boşluk */
        scroll-snap-align: center; /* Kaydırma merkeze hizalar */
    }

    .reference-card .media-link {
        opacity: 1; /* Mobilde ikonlar her zaman görünür olsun */
        transform: translateY(0); /* Başlangıç animasyonunu sıfırla */
    }

    /* İkonun arka planını hover efekti olmadan da hafif görünür yapalım */
    .reference-card .media-link {
        background: rgba(255, 255, 255, 0.95); /* Arka planı biraz daha belirgin yapalım */
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    /* Mobilde okları göster */
    .slider-arrow {
        display: flex;
    }

    /* Okların pozisyonunu ayarla */
    .prev-arrow {
        left: 5px;
    }
    .next-arrow {
        right: 5px;
    }

    /* Noktaları göster */
    .slider-dots {
        display: flex;
    }
}

/* Çok küçük telefonlar (480px altı) */
@media (max-width: 480px) {
    .reference-card {
        flex: 0 0 calc(100% - 20px);
        margin: 0 5px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}



/* =========================================
   ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR) TASARIMI
   ========================================= */

/* Tüm sayfa için scrollbar stilleri */
::-webkit-scrollbar {
    width: 12px; /* Dikey scrollbar genişliği */
    height: 12px; /* Yatay scrollbar yüksekliği */
}

/* Scrollbar arka planı (track) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Scrollbar'ın hareketli parçası (thumb) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #b8860b, #d4a017); /* Altın tonlarında gradient */
    border-radius: 10px;
    border: 2px solid #f1f1f1; /* Kenarlarda boşluk efekti */
    transition: all 0.3s ease;
}

/* Scrollbar thumb hover efekti */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d4a017, #f0b823);
    border: 2px solid #e0e0e0;
}

/* Scrollbar köşesi (hem yatay hem dikey scrollbar varsa) */
::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* =========================================
   FIREFOX İÇİN SCROLLBAR STİLLERİ
   ========================================= */
/* Firefox için scrollbar stilleri (daha sınırlı destek) */
* {
    scrollbar-width: thin; /* 'auto', 'thin', 'none' */
    scrollbar-color: #b8860b #f1f1f1; /* thumb color track color */
}

/* =========================================
   KARANLIK MOD SCROLLBAR (İsteğe bağlı)
   ========================================= */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #2d2d2d;
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #b8860b, #8b6508);
        border: 2px solid #2d2d2d;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #d4a017, #b8860b);
    }
    
    /* Firefox için karanlık mod */
    * {
        scrollbar-color: #b8860b #2d2d2d;
    }
}