:root {
            --primary-brown: #8B4513;
            --light-brown: #D2B48C;
            --dark-brown: #654321;
            --cream: #F5F5DC;
            --warm-beige: #F7F3E9;
            --coffee: #6F4E37;
            --golden-brown: #B8860B;
            --text-dark: #3C3C3C;
            --text-light: #666666;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: linear-gradient(135deg, var(--warm-beige) 0%, var(--cream) 100%);
        }

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

        .floating-menu {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            display: flex;
            flex-direction: column-reverse; /* toggle altta, menüler üstte */
            align-items: center;
        }

        .menu-toggle {
            background: var(--golden-brown);
            color: white;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            transition: background 0.3s ease, transform 0.2s ease;
        }

        .menu-toggle:hover {
            background: #5c3a18;
            transform: scale(1.05);
        }


        .menu-items {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        }

        .menu-items a {
            background: var(--golden-brown);
            color: white;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin: 5px 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: background 0.3s ease, transform 0.2s ease;
            text-decoration: none;
        }

        .menu-items a:hover {
            background: #5c3a18;
            transform: scale(1.05);
        }

        .floating-menu.active .menu-items {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }



        header {
            background: rgba(255, 255, 255, 0.95);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            padding: auto 1rem auto 0;
            box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 3px solid var(--light-brown);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-brown);
            text-decoration: none;
        }
        .logo-image {
            display: inline-block;
            width: 70px;
            height: 70px;
            background-image: url('images/icon_header.png');
            background-size: contain;
            background-position: center;
            margin-left: 5px;
            margin-right: 21px;
            vertical-align: baseline;
            color: var(--primary-brown);
        }
        .logo-group {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            padding: 0.5rem 1rem;
            border-radius: 25px;
        }

        .nav-links a:hover {
            color: var(--primary-brown);
            background: var(--warm-beige);
        }

        .hero {
            position: relative;
            width: 100%;
            height: 95vh;
            background-image: url('images/logo.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-color: rgba(255, 255, 255, 0.6);
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
            z-index: 1;
        }

        .hero .container {
            position: relative;
            z-index: 2;
            width: 100%;
        }

        .hero-content {
            padding: 40px;
            border-radius: 15px;
            color: #000;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }  

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero .subtitle {
            font-size: 1.3rem;
            font-weight: 500;
            font-style: normal;

            margin-bottom: 0.5rem;
            color: var(--golden-brown);
        }

        .hero p {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }

        .modal-content {
        max-height: 90vh;
        overflow-y: auto;
        }


        .modal {
        overflow-y: auto;
        }


        .cta-button {
            display: inline-block;
            background: var(--golden-brown);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
            cursor: pointer;
            border: none;
            font-size: 1rem;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(184, 134, 11, 0.6);
            background: var(--dark-brown);
        }

        .section {
            background: white;
            margin: 2rem 0;
            padding: 4rem 0;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
            border: 1px solid var(--light-brown);
        }

        .light-italic {
            font-family: 'Open Sans', sans-serif;
            font-weight: 300;
            font-style: normal;
        }

        .section h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: var(--primary-brown);
            position: relative;
        }

        .section h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: var(--golden-brown);
            margin: 1rem auto;
            border-radius: 2px;
        }

        .about-section {
            background: var(--warm-beige);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: center;
            margin-top: 2rem;
        }

        .doctor-photo {
            width: 100%;
            max-width: 350px;
            height: 400px;
            background: var(--light-brown);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-brown);
            font-size: 1.2rem;
            text-align: center;
            border: 3px solid var(--primary-brown);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
            background-image: url('images/doctor.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }


        .doctor-info h3 {
            font-size: 2rem;
            color: var(--primary-brown);
            margin-bottom: 1rem;
        }

        .credentials {
            background: var(--light-brown);
            color: white;
            padding: 1.5rem;
            border-radius: 20px;
            margin: 2rem 0;
            color: var(--primary-brown);
            border: 3px solid var(--primary-brown);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
        }

        .credentials h4 {
            color: var(--light-brown);
            margin-bottom: 1rem;
        }

        .credentials ul {
            list-style: none;
        }

        .credentials li {
            padding: 0.3rem 0;
            padding-left: 1.5rem;
            position: relative;
        }

        .credentials li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--golden-brown);
            font-weight: bold;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.service-card {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--text-dark);
    background: var(--warm-beige);
}


        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 3px;
            background: var(--golden-brown);
            transition: left 0.3s ease;

        }

        .service-card:hover::before {
            left: 0;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(139, 69, 19, 0.2);
            border-color: var(--primary-brown);
            background: white;
            opacity: 0.80;
        }

        .service-card::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: var(--bg);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.50;
            z-index: 0;
        }
        .service-card > * {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }


        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--primary-brown);
        }

        .service-card h3 {
            font-weight: 700;
            font-size: 1.4rem;
            margin-bottom: 0.8rem;
            color: var(--primary-brown);
            
        }
        .service-card p {
            font-weight: 600;
            font-size: 1rem;
        }

        .testimonials {
            background: var(--primary-brown);
            color: white;
            padding: 4rem 0;
            margin: 2rem 0;
            border-radius: 20px;
        }

        .testimonials h2 {
            color: white;
        }

        .testimonials h2::after {
            background: var(--golden-brown);
        }

        .testimonial-card {
            background: rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            margin: 1rem 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            font-size: 4rem;
            color: var(--golden-brown);
            position: absolute;
            top: -10px;
            left: 20px;
            font-family: serif;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1rem;
            padding-top: 1rem;
        }

        .testimonial-author {
            color: var(--light-brown);
            font-weight: bold;
        }

        .contact-section {
            background: var(--coffee);
            color: white;
            padding: 4rem 0;
            border-radius: 20px;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 2rem;
        }

        .contact-info {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }

        .contact-info h3 {
            color: var(--light-brown);
            margin-bottom: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin: 1rem 0;
            padding: 0.5rem;
            border-radius: 8px;
            transition: background 0.3s ease;
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .contact-icon {
            font-size: 1.5rem;
            margin-right: 1rem;
            color: var(--golden-brown);
        }

        .appointment-form {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--light-brown);
            font-weight: bold;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-dark);
            font-size: 1rem;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        footer {
            background: var(--dark-brown);
            color: var(--light-brown);
            text-align: center;
            padding: 3rem 0;
            margin-top: 4rem;
        }

        .map-footer { 
            background: var(--light-brown);
            padding: 2rem 0;
            border-radius: 20px;
            margin-top: 2rem;
            overflow: hidden; /* taştığında kırpma */
        }

        .map-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 oran */
            height: 0;
            overflow: hidden;
            border-radius: 20px;
        }

        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 20px;
        }


        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            color: var(--golden-brown);
            margin-bottom: 1rem;
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background-color: rgba(0,0,0,0.5);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }
        .modal-content {
            background: white;
            margin: 5% auto;
            padding: 3rem;
            border-radius: 20px;
            width: 90%;
            max-width: 600px;
            position: relative;
            border: 3px solid var(--light-brown);
            animation: modalSlideIn 0.3s ease;
        }
        @keyframes modalSlideIn {
            from {opacity:0; transform: translateY(-50px) scale(0.9);}
            to {opacity:1; transform: translateY(0) scale(1);}
        }
        .close {
            color: var(--text-light);
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            position: absolute;
            right: 1.5rem;
            top: 1.5rem;
            transition: color 0.3s ease;
        }
        .close:hover {
            color: var(--primary-brown);
        }