/*PAGE----------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;

}

::-webkit-scrollbar {
    width: 12px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);

}

::-webkit-scrollbar-track {
    background-color: var(--second-color);

}

:root {
    --main-color: #7D0A0A;
    --second-color: #ffffff;
    --dark-text-color: #000000;
    --light-text-color: #ffffff;
    --hover-color: #f5b300;
}

body {
    background: var(--second-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

span {
    color: var(--hover-color);
}

/*PAGE-----------------------------------------------------------------------------------------------*/

/*NAVBAR-----------------------------------------------------------------------------------------------*/
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
    /* ŞEFFAF BAŞLANGIÇ */
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    /* Aşağıda koyu ve yarı saydam */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Hafif gölge */
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--main-color);
    padding: 10px 16px;
    border-bottom-right-radius: 12px;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0, 0);
    animation: slide-in-left 0.8s ease forwards;
    z-index: 999;
    text-decoration: none;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
}


/* Scroll olduğunda görünümü sadeleştir */
#navbar.scrolled .logo {
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    animation: none;
}




/* Navbar Menü */
#navbar nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-right: 12px;
    padding-right: 12px;
}

#navbar nav ul li {
    display: inline;
    padding-right: 12px;
}

#navbar nav ul li a {
    background-color: var(--main-color);
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid black;
    position: relative;
    transition:  0.2s ease-in-out;
}

/* Linklere Hover Efekti */
#navbar nav ul li a:hover {
    background-color: var(--light-text-color);
    color: var(--dark-text-color);
    /* Hover efekti (sarı ton) */
}

/* Hamburger (Mobil) */
.hamburger {
    display: none;
    font-size: 36px;
    color: var(--main-color);
    cursor: pointer;
    margin-right: 20px;

}

.menu-wrapper {

    margin-left: auto;
}

#mobileMenu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: var(--main-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 9999;
}

#mobileMenu.active {
    transform: translateX(0);
}

#mobileMenu a {
    color: var(--light-text-color);
    font-size: 24px;
    text-decoration: none;
    margin: 20px 0;
}

#mobileMenu .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: var(--light-text-color);
    cursor: pointer;
}

/* Menüleri sağa yaslamak için */
.desktop-menu {
    margin-left: auto;
}

/* Ekran küçüldüğünde ayarla */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/*NAVBAR------------------------------------------------------------------------------------------------*/

/*HOME ANİMATİON-----------------------------------------------------------------------------------------*/
.hero-container {
    background: url("img/bgg.png") no-repeat center center/cover;
    color: var(--light-text-color);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    padding: 24px;
    position: relative;
    flex-direction: column;
    overflow: hidden;
}
/*HOME ANİMATİON---------------------------------------------------------------------------------------------------*/


/*WHY HÜLTES------------------------------------------------------------------------------------------------------*/
/* "Neden Web Sitesi?" Bölümü */
.why-website {
    text-align: center;
    padding: 50px 20px;
    background: var(--second-color);
}

/* Başlık */
.why-website h2 {
    font-size: 48px;
    color: var(--dark-text-color);
    margin-bottom: 20px;
}

/* Kart Konteyneri */
.why-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Mobil uyum için */
    margin-top: 20px;
}

/* Kart Stili */
.why-card {
    background: var(--light-text-color);
    color: var(--dark-text-color);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid black;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: 0.2s ease-in-out !important;
}

/* Kart Hover Efekti */
.why-card:hover {
    transform: scale(1.05);
    background: var(--main-color);
    color: var(--light-text-color);
}

/* Kart Başlığı */
.why-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Kart İçeriği */
.why-card p {
    font-size: 14px;
    margin-top: 6px;
    padding: 6px;
}

/* İkon Stilleri */
.why-card i {
    font-size: 40px;

    /* Turuncu ikon rengi */
    margin-bottom: 10px;
    display: block;
}

/*WHY HÜLTES-------------------------------------------------------------------------------------------*/

/*HİZMETLER-----------------------------------------------------------------------------------------------*/
.services-section {
   padding: 24px;
    text-align: center;
    background-color: var(--second-color);
  }
  /* Başlık */
.services-section h2 {
    font-size: 48px;
    color: var(--dark-text-color);
    margin-bottom: 20px;
}
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .service-card {
    background-color:var(--light-text-color);
    color: var(--dark-text-color);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.07);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid black;
    padding: 20px;
    flex: 1 1 280px;
    max-width: 320px;
    transition: 0.2s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    transform: scale(1.05);
    background-color: var(--main-color);
    color: var(--light-text-color);
  }
  
  .service-image {
    width: 80%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .service-title {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    padding: 24px;
  }
  
  .services-button {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 25px;
    background-color: var(--main-color);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid black;
    font-weight: bold;
    transition:  0.3s ease;
  }
  
  .services-button:hover {
    background-color: var(--light-text-color);
    color: var(--dark-text-color);
  }
/*HİZMETLER-----------------------------------------------------------------------------------------------*/

/*TESTERELER-------------------------------------------------------------------------------------------------*/

.schema-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }
  
  .schema-title {
    text-align: center;
    font-size: 48px;
    color: #222;
    margin-top: 30px;
    padding: 12px;
    font-weight: bold;
  }
  .schema-card {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid black;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .schema-card img {
    width: 100%;
    max-height: 500px; /* YÜKSEKLİK SINIRI BURASI */
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  
  .schema-caption {
    padding: 20px 30px;
    text-align: left;
  }
  
  .schema-caption h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-text-color);
  }
  
  .schema-caption p {
    font-size: 16px;
    color: var(--dark-text-color);
    line-height: 1.6;
  }
/*TESTERELER-------------------------------------------------------------------------------------------------*/

/*GALERİ-------------------------------------------------------------------------------------------------*/
.gallery-section {
    padding: 60px 20px;
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
  }
  
  .gallery-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 50px;
    margin-top: 50px;
    padding: 24px;
    color: var(--dark-text-color);
  }
  
  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .gallery-grid a {
    display: block;
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid black;
    background-color: #eee;
    transition: 0.2s ease;
  }
  
  .gallery-grid a:hover {
    transform: scale(1.03);
  }
  
  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
/*GALERİ-------------------------------------------------------------------------------------------------*/

/*ABOUT-------------------------------------------------------------------------------------------------*/
.about-section {
    padding: 60px 20px;
    background-color: var(--second-color);
  }
  .about-section h3{
    font-size: 48px;
    text-align: center;
    padding: 24px;
    padding-top: 50px;
    color: var(--dark-text-color);
}
  .about-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--main-color);
    padding: 24px;
    margin-top: 50px;
    border-radius: 8px;
    border: 1px solid black;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  
  .about-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--light-text-color);
    padding: 24px;
  }
  
  .about-container p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    padding: 12px;
    color: var(--light-text-color);
  }
/*ABOUT-------------------------------------------------------------------------------------------------*/

/*CONTACT-------------------------------------------------------------------------------------------------*/
.contact h3{
    font-size: 48px;
    text-align: center;
    padding: 24px;
    padding-top: 50px;
    color: var(--dark-text-color);
}
.contact {
    background-color: var(--second-bg-color);
    padding: 24px;
    padding-top: 50px;
}

.contact-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box {
    flex: 1;
    background-color: var(--main-color);
    border: 1px solid black;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box .map-info {
    width: 100%;
    height: 100%;
    display: flex;
}

.contact-box .map-info iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-box .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: last baseline;
    padding: 24px;
    text-align: left;
}

.contact-box .contact-info h4 {
    font-size: 28px;
    font-weight: 600;
    line-height: 2;
    padding: 12px;
    color: var(--light-text-color);
}

.contact-box .contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    max-height: 100px;
    line-height: 2;
    padding: 12px;
    color: var(--light-text-color);
}

.contact-box .contact-info i {
    font-size: 18px;
    font-weight: 500;
    max-height: 100px;
    line-height: 2;
    padding-right: 24px;
    color: var(--light-text-color);
}
/*CONTACT-------------------------------------------------------------------------------------------------*/


/*WP BUTTON-------------------------------------------------------------------------------------------------*/
/* WhatsApp Teklif Al Butonu */
.whatsapp-offer-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: var(--light-text-color);
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    animation: pulse 0.5s infinite alternate;
    /* Loop efekti */
}

/* WhatsApp Buton İkonu */
.whatsapp-offer-btn i {
    font-size: 24px;
}

/* Hover Edince Animasyonu Durdur */
.whatsapp-offer-btn:hover {
    background: #1ebe5d;
}

/* Loop Animasyonu */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/*WP BUTTON-------------------------------------------------------------------------------------------------*/


/*SOCİAL-------------------------------------------------------------------------------------------------*/
/* Sosyal Medya Butonları Konteyneri */
.social-media-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* Sosyal Medya Butonları */
.social-icon {
    width: 50px;
    height: 50px;
    background: var(--main-color);
    color: var(--light-text-color);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid black;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* Hover Efekti */
.social-icon:hover {
    transform: scale(1.1);
}

/* Her Platform İçin Farklı Renk */
.social-icon:nth-child(1):hover {
    background: var(--hover-color);
    /* Instagram */
}

.social-icon:nth-child(2):hover {
    background: #E1306C;
    /* Instagram */
}

.social-icon:nth-child(3):hover {
    background: #0077B5;
    /* LinkedIn */
}

/*SOCİAL-------------------------------------------------------------------------------------------------*/


/*FOOTER-------------------------------------------------------------------------------------------------*/
.footer {
    background: var(--main-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 20px 10px;
    font-size: 16px;
}
.footer p{
    padding: 6px;
}
.footer a{
    color: var(--light-text-color);
    text-align: center;
    text-decoration: none;
    padding: 20px 10px;
    font-size: 16px;
    transition:  0.2s ease;
}
.footer a:hover{
    color: var(--hover-color);
}


/*FOOTER-------------------------------------------------------------------------------------------------*/

/*ANİMATİONS-------------------------------------------------------------------------------------------------*/
/* Genel Animasyon Efektleri */
.fade-in,
.slide-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Aktif Olduğunda Animasyonu Çalıştır */
.show {
    opacity: 1;
    transform: translateY(0);
}

/*ANİMATİONS-------------------------------------------------------------------------------------------------*/

/*MOBİL RESPONSİVE-------------------------------------------------------------------------------------------------*/

@media (max-width: 768px) {

    /*NAVBAR*/
    .logo {
        gap: 5px;
        /* logo ile yazı arası boşluk */
        padding-left: 6px;
    }

    .logo img {
        height: 32px;
    }

    .logo-text {
        font-size: 12px;
        font-weight: 500;
    }

    /*HOME*/
    .hero-container {
        
        padding: 20px;
        font-size: 28px;
    }

    /* WHY */

    /* Başlık */
    .why-website h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    /* Kart Stili */
    .why-card {
        padding: 12px;
    }

    /* Kart Başlığı */
    .why-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* Kart İçeriği */
    .why-card p {
        font-size: 14px;
        margin-top: 12px;
        padding: 12px;
    }   

    /*FOOTER*/
    .footer-container {
        padding: 24px;
        padding-bottom: 80px;
    }
    .footer a{
        padding: 12px;
    }
    .footer p{
        padding: 12px;
    }
    /*CONTACT*/
    .contact-container {
        flex-direction: column;
    }
    .contact-box .contact-info h4 {
        font-size: 18px;
    }

    .contact-box .contact-info p {
        font-size: 14px;

    }

    .contact-box .contact-info i {
        font-size: 14px;
    }

    

    .contact-box {
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-box .map-info {
        width: 100%;
        height: 100%;
        display: flex;
        width: 100%;
        height: 300px;
        border-radius: 12px;
    }

    .contact-box .map-info iframe {
        width: 100%;
        height: 100%;
        display: flex;
        border: none;
        object-fit: cover;
    }
    /*SOCİAL*/
    .social-media-icons {
        bottom: 10px;
        left: 10px;
    }
    
}
/*MOBİL RESPONSİVE-------------------------------------------------------------------------------------------------*/