* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066CC;
    --secondary-color: #004999;
    --accent-color: #00AAFF;
    --text-color: #333333;
    --text-light: #666666;
    --background: #FFFFFF;
    --background-light: #F8F9FA;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: sticky;
    top: 0;
    background: var(--background);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    padding: 8px 15px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.1);
}

.nav-link.special {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
}

.nav-link.special:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background);
    box-shadow: var(--shadow);
    border-radius: 8px;
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.clinic-showcase {
    padding: 80px 0;
    background-color: var(--background-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.showcase-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.services-preview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    margin: 0 auto;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

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

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

/* Social icons: size and brand colors */
.social-icon {
    width: 22px !important;
    height: 22px !important;
    vertical-align: middle;
    margin-right: 8px;
    fill: currentColor;
}

/* Brand colors based on link href */
a[href*="wa.me"] .social-icon,
.contact-card .social-icon { color: #25D366; }
a[href*="instagram.com"] .social-icon { color: #E1306C; }
a[href*="youtube.com"] .social-icon { color: #FF0000; }
a[href*="facebook.com"] .social-icon { color: #1877F2; }

/* Slightly larger icons in footers on larger screens */
@media (min-width: 768px) {
    .social-icon { width: 24px !important; height: 24px !important; }
}

/* Instagram specific sizing and svg handling (uses its own gradient fills) */
.instagram-icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    vertical-align: middle;
    margin-right: 8px;
}
.instagram-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Ensure whatsapp icons with circle visuals sit correctly */
.whatsapp-icon {
    width: 26px !important;
    height: 26px !important;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.footer {
    display: flex;
    justify-content: center;
     align-items: center;
     flex-direction: column;
       text-align: center;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #cccccc;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-list,
.footer-social {
    list-style: none;
}

.footer-list li,
.footer-social li {
    margin-bottom: 12px;
}

.footer-link {
    color: #cccccc;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.icon {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--background-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .hero {
        height: 70vh;
    }

    .showcase-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
         display: flex;
         justify-content: center;
        grid-template-columns: 1fr;
        gap: 30px;
          flex-wrap: wrap;
           max-width: 1200px;
    width: 100%;
}


    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }


@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .hero {
        height: 60vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .clinic-showcase,
    .services-preview {
        padding: 50px 0;
    }

    .service-card {
        padding: 30px 20px;
    }
    
    
}
/*.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: -2px;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: scale(0.95);
}/*

/* Sol alta sabit WhatsApp ikonu */
.wh-float-left {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  text-decoration: none;

  transition:
    transform .18s ease,
    opacity .18s ease,
    box-shadow .18s ease;
}

/* SVG tam oturması için */
.wh-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hover efekti (yukarı kaldır + gölge) */
.wh-float-left:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

/* Scroll sırasında ikonun davranışı */
.wh-float-left.show {
  opacity: 1;
  transform: scale(1);
}

.wh-float-left.hide {
  opacity: 0.45;
  transform: scale(0.86);
}
