/* ============================= */
/* GENEL AYARLAR */
/* ============================= */
/* ============================= */
/* RENK VE FONT DEĞİŞKENLERİ */
/* ============================= */
:root {
    --primary-color: #d01c1c;
    --secondary-color: #000000;
    --accent-color: #f1c40f;
    --text-color: #333;
    --light-color: #ffffff;
    --heading-color: #555;
}

/* ============================= */
/* GENEL AYARLAR */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
}

/* GENEL CONTAINER (ORTAK HİZALAMA) */
.container {
    width: 85%;
    max-width: 1250px;
    margin: 0 auto;
}

/* ============================= */
/* EN ÜST İNCE NAVBAR */
/* ============================= */
.top-strip {
    width: 100%;
    height: 30px; /* İncelik ayarı */
    background-color: #041f31; /* Lacivert renk */
}
/* ============================= */
/* ÜST NAVBAR (LOGO) */
/* ============================= */
/* ============================= */
/* ÜST NAVBAR (LOGO VE TELEFON) */
/* ============================= */
/* ============================= */
/* ÜST NAVBAR (LOGO VE TELEFON) */
/* ============================= */
.top-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--light-color);
    border-bottom: 2px solid #f1f1f1;
    padding: 0;
}

/* Navbar hizalama */
.top-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px; /* Navbar yüksekliği */
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    
}

.logo-container img {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Telefon bilgisi */
.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Telefon ikonu */
.contact-info i {
    font-size: 20px;
    color: var(--primary-color);
}

/* ============================= */
/* ALT NAVBAR (MENÜ) */
/* ============================= */
.bottom-navbar {
  background: linear-gradient(
        90deg,
        #041f31 0%,
        #170a42 50%,
        #570707 100%
    );
    
    padding: 35px 0;
}

/* Menü container ile hizalandı */
.menu {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}

.menu li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #6e6f6a;
}

/* Aktif Menü */
.menu li a.active {
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 5px;
}
/* ============================= */
/* İLETİŞİM SAYFASI */
/* ============================= */
.contact-section {
    padding: 60px 0;
    background: #ffffff;
}

.contact-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* SOL TARAF */
.contact-left {
    flex: 1;
}

.section-tag {
    color: #5d0e0e;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

.contact-left h1 {
    font-size: 32px;
    margin: 10px 0 25px;
    color: #222;
}

.contact-box {
    margin-bottom: 25px;
}

.contact-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #000;
}

.contact-box p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.contact-box i {
    color: #aa1623;
    margin-right: 8px;
}

/* SAĞ TARAF */
.contact-right iframe {
    width: 100%;
    height: 450px; /* Harita büyütüldü */
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ============================= */
/* WHATSAPP VE TELEFON BUTONLARI */
/* ============================= */
.whatsapp-btn,
.call-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.whatsapp-btn {
    background: #25D366;
    bottom: 20px;
    right: 20px;
}

.call-btn {
    background: #3498db;
    bottom: 20px;
    left: 20px;
}

/* ============================= */
/* RESPONSIVE TASARIM */
/* ============================= */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-left h1 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        gap: 10px;
    }

    .top-navbar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo-container img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-left h1 {
        font-size: 22px;
    }

    .contact-description {
        font-size: 14px;
    }
}

/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
    background-color:#041f31;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #dcdcdc;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #dcdcdc;
}

.footer-logo {
    width: 280px;
    height: 120px;
    margin-bottom: 15px;
    background-color: #ffffff;
    padding:0%;
    border-radius: 15px;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    text-decoration: none;
    color: #dcdcdc;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #7f7ca3;
}

/* İkonlar */
.footer-box i {
    margin-right: 8px;
    color: #dcdcdc;
}

/* Sosyal Medya */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #962615;
    color: #0b1d3a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #ffffff;
}

/* Alt Footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }
}


.whatsapp-nav {
    margin-left: 35px;
}

/* ============================= */
/* SAYFA BAŞLIK ALANI */
/* ============================= */
.page-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-section h1 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #041f31;
    font-weight: 300;   /* Yazıyı inceltir */
    text-align: left;   /* Sola hizalar */
}

/* ============================= */
/* SERTİFİKA GALERİSİ */
/* ============================= */
.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
}

/* Sertifika Kartları */
/* ============================= */
/* SERTİFİKA GALERİSİ */
.certificate-gallery img {
    width: 100%;
    height: 220px;      /* biraz daha yüksek */
    object-fit: contain; /* tamamı görünsün */
    border-radius: 12px;
    background: #fff;   /* boş alanlar beyaz */
}

.certificate-gallery img:hover {
    transform: scale(1.05);
}


/* Açılış animasyonu */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================= */
/* MOBİL UYUMLULUK */
/* ============================= */
@media (max-width: 992px) {
    .certificate-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certificate-gallery {
        grid-template-columns: 1fr;
    }

    .page-section h1 {
        font-size: 24px;
    }
}



/* ============================= */
/* CTA ALANI */
/* ============================= */
.cta {
    background:white ;
    color: rgb(10, 3, 3);
    text-align: center;
    padding: 30px 20px;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}




#topBtn {
  position: fixed;
  bottom: 60px;   /* biraz yukarı */
  right: 60px;    /* kenardan uzak */
  display: none;

  background-color: #353333a2;
  color: white;
  border: none;

  padding: 25px 32px; /* büyüdü */
  border-radius: 48%;
  font-size: 30px;    /* ok büyüdü */

  cursor: pointer;
  z-index: 1000;
}

#topBtn:hover {
  background-color: #353333c6;
}


.certificate-title {
    margin-top: 12px;
    font-size: 17px;
    font-weight: 400;
    color: #222;
}