/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Header ve Menü */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #03c7f8, #007acc);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
}

header .logo {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}


header nav {
    display: flex;
    gap: 20px;
}

header nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 10px 0px;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
}

header nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e0f7ff;
}

header .logo img {
    max-width: 200px;
}

/* Logo Stilini Güncelleme */
.logo a{
    display: inline-block; /* Tıklanabilir alanı logo boyutunda tutar */
    text-decoration: none; /* Link altını çizmeden */
}

.logo img {
    width: 200px; /* Logo boyutunu gerektiği gibi ayarlayabilirsiniz */
    height: auto;
    transition: transform 0.3s ease; /* Hover efekti ekleyebilirsiniz */
}

.logo a:hover img {
    transform: scale(1.1); /* Hover efekti: logo büyür */
}


/* Menü */
nav ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

textarea {
    width: 300px; /* Sabit genişlik */
    height: 150px; /* Sabit yükseklik */
    resize: none; /* Kullanıcının boyut değiştirmesini engeller */
  }

  nav ul li {
    margin: 0 20px; /* Menü öğeleri arasına boşluk */
}
nav ul li a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px; /* Menü öğelerine daha modern bir görünüm */
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #20386d; /* Hoverda renk değişimi */
    transform: translateY(-5px); /* Hoverda menü öğeleri yukarı kayar */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #20386d;
    transition: width 0.3s ease; /* Alt çizgi animasyonu */
}

nav ul li a:hover::after {
    width: 100%; /* Hoverda alt çizgi genişler */
}

/* Menü Toggle (Mobil) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Ana Sayfa İçeriği */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),  
    url("../resimler/hastanearkaplan.jpg") no-repeat center center/cover;
    position: relative;
    text-align: center;
    color: #fff;
    background-attachment: fixed;
}
.intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease-out;
}

.intro p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease-out;
}

.cta-btn {
    padding: 15px 40px;
    background-color: #007bff;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Özellikler */
.features {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.features h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #003366;
}

.feature-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature {
    flex: 1 1 calc(33.333% - 40px);
    max-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* İletişim */
.contact-info {
    padding: 60px 20px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

.contact-info ul li {
    margin-bottom: 15px;
}

.contact-info strong {
    color: #e0f7fa;
}

/* Footer */
footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    position: relative;
}

footer .social-icons {
    margin: 20px 0;
}

footer .social-icons img {
    width: 40px;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
}

footer .social-icons img:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

/* Animasyon */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Kategoriler Bölümü */
.categories {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #004a8f, #1e88e5);
    color: white;
    position: relative;
    z-index: 1;
}

.categories h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.category-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.category {
    background-color: #fff;
    padding: 30px;
    width: 30%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.category-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.category h3 {
    font-size: 24px;
    margin-top: 20px;
    color: #003366;
    font-weight: bold;
}

.category p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

.category:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.category:hover .btn {
    transform: scale(1.1);
}

/* Butonlar */
.btn {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #1565c0;
    transform: translateY(-5px);
}

/* Ürün Listesi */
.product-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.product {
    width: 48%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.product:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product h3 {
    font-size: 20px;
    color: #003366;
    margin-top: 20px;
    font-weight: bold;
}

.product p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.product .btn {
    margin-top: 15px;
    background-color: #004a8f;
    font-size: 16px;
}

/* Ürün Detay Sayfası */

.category-detail {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#product-detail {
    padding: 60px 20px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#product-detail h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 20px;
    font-weight: bold;
}

#product-detail img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

#product-detail p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}

/* Genel Ayarlar */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

/* Tanıtım Bölümü */
#tanitim {
    padding: 160px 20px 60px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#tanitim h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

#tanitim .services {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 344px;
}

.service-card {
    width: 380px;
    background-color: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background-color: #e0f7fa;
}

.service-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.service-card h3 {
    font-size: 24px;
    color: #003366;
    margin-top: 20px;
}

.service-card p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

/* Hizmetler Bölümü */
.services {
    padding: 130px 20px;
    background-color: #fff;
    text-align: center;
}

.services h1 {
    font-size: 48px;
    color: #003366;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.service-list {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.service {
    width: 30%;
    padding: 30px;
    background-color: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.service:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background-color: #e0f7fa;
}

.service img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.service h2 {
    font-size: 24px;
    margin-top: 20px;
    color: #003366;
}

.service p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

/* İletişim Sayfası Stil */
.contact {
    padding: 130px 20px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #003366;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

form:hover {
    transform: scale(1.03);
}

form label {
    display: block;
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
    text-align: left;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #333;
}

form button {
    width: 100%;
    padding: 15px;
    background-color: #00aaff;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
    background-color: #0099cc;
    transform: translateY(-3px);
}

/* Footer */
.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #003366;
    padding: 20px 40px;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.1);
}

.contact-buttons {
    display: flex;
    gap: 20px;
}

.contact-btn {
    background-color: #00aaff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
    background-color: #0099cc;
    transform: translateY(-3px);
}

/* Responsive Düzenlemeler */
@media screen and (max-width: 768px) {
    .category-list, .product-list {
        flex-direction: column;
        align-items: center;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    header nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
    .category {
        width: 100%;
    }

    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .contact form {
        width: 80%;
    }

    .contact h1 {
        font-size: 28px;
    }
   
    .product {
        width: 100%;
    }

    .bottom-footer {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-bottom: 20px;
    }

    .contact-buttons {
        gap: 15px;
    }

    .contact-btn {
        font-size: 16px;
    }

    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 80%;
        margin-bottom: 30px;
    }

    .services h1 {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .service h2 {
        font-size: 20px;
    }

    .service p {
        font-size: 14px;
    }

    header {
        flex-direction: column;
        padding: 15px 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        display: none; /* Menü gizlendi */
        margin-top: 15px;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 20px;
        text-align: center;
    }

    nav ul li a::after {
        width: 0; /* Mobilde alt çizgi gizlendi */
    }

   #tanitim {
        padding: 100px 20px 40px;
    }

    #tanitim h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    #tanitim .services {
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 8px;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        bottom: 8px;
    }

    nav ul.active {
        display: flex;
    }
}

/* WhatsApp Icon Style */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.whatsapp-icon img {
    width: 35px;
    height: 35px;
}

/* WhatsApp Icon Style */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.whatsapp-icon img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}
.whatsapp-icon:hover img {
    transform: rotate(15deg);
}

/* Mobile menu styles */
.mobile-menu-trigger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    background-color: #333;
    color: white;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    border-radius: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Show menu trigger on smaller screens */
@media (max-width: 768px) {
    .mobile-menu-trigger {
        display: block;
    }
}

/* Enhanced Mobile Menu Styles */
.mobile-menu-trigger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    background-color: #333;
    color: white;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.mobile-menu-trigger:hover {
    transform: rotate(90deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    z-index: 999;
    overflow-y: auto;
    padding-top: 50px;
    animation: slideIn 0.5s ease-out;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #f39c12;
}

/* Slide-in animation for the menu */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Show menu trigger on smaller screens */
@media (max-width: 768px) {
    .mobile-menu-trigger {
        display: block;
    }
}

/* Enhanced mobile menu trigger styles */
.mobile-menu-trigger {
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-trigger:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Enhanced mobile menu styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    display: block;
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu ul li a:hover {
    background-color: white;
    color: #007BFF;
}

/* Backdrop blur for menu */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    z-index: -1;
}

/* Show trigger only on small screens */
@media (max-width: 768px) {
    .mobile-menu-trigger {
        display: block;
    }
}