/* 
    Danışman Clinic - Modern Boutique Dental Clinic 
    Design System & Styles
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Primary Colors */
    --navy: #001F3F;
    --navy-light: #003366;
    --gold: #C5A059;
    --gold-light: #D4B67C;
    --cream: #FAF9F6;
    --white: #FFFFFF;
    
    /* Text Colors */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --text-on-navy: #FFFFFF;
    
    /* UI Elements */
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(0, 31, 63, 0.1);
    
    /* Spacing */
    --section-padding: 100px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}

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

.logo img {
    height: 50px;
    transition: 0.3s ease;
}

nav:not(.scrolled) .logo img {
    /* No filter - use original colors */
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
}

nav.scrolled .nav-links a {
    color: var(--navy);
}

nav:not(.scrolled) .nav-links a {
    color: var(--white);
}

nav:not(.scrolled) .btn-appointment {
    border-color: var(--white);
    background: transparent;
    color: var(--white);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: 0.3s;
}

nav:not(.scrolled) .mobile-toggle span {
    background: var(--white);
}

.btn-appointment {
    background: var(--navy);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid var(--navy);
}

.btn-appointment:hover {
    background: transparent;
    color: var(--navy);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 100px;
    background-image: linear-gradient(rgba(0, 31, 63, 0.4), rgba(0, 31, 63, 0.7)), url('assets/clinic_interior.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding-left: 0;
}

.hero h1 {
    font-size: 5rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-white:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--white);
}

.gold-span {
    color: var(--gold);
    font-style: italic;
}

/* --- Services --- */
.services {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

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

.service-card {
    background: var(--cream);
    padding: 50px 40px;
    border-radius: 15px;
    transition: 0.5s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow-strong);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}

/* --- Boutique Section --- */
.boutique {
    padding: var(--section-padding);
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 80px;
}

.boutique-content {
    flex: 1;
}

.boutique-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.boutique-content p {
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.boutique-image {
    flex: 1;
}

.boutique-image img {
    width: 100%;
    border-radius: 20px;
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    background: var(--cream);
    font-family: inherit;
    outline: none;
}

.contact-form button {
    background: var(--gold);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--navy);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile --- */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px 5%;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--navy) !important;
        font-size: 1rem !important;
        letter-spacing: 2px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .mobile-toggle.active span {
        background: var(--navy) !important;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 0.9rem;
        margin: 0 auto 30px;
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-appointment {
        width: 80%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    .subhero h1 {
        font-size: 2rem !important;
    }

    .boutique h2 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

/* --- WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BA5A;
    color: #fff;
    animation: none;
}

@media (max-width: 992px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
