:root {
    --primary: #bb86fc;
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}
html {
    scroll-behavior: smooth;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem 10%;
    background: rgba(15, 15, 15, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: var(--text-white); text-decoration: none; font-weight: bold; }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), transparent), url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&q=80');
    background-size: cover;
}

.hero h1 { font-family: 'Montserrat', sans-serif; font-size: 4rem; line-height: 1.1; }
.hero h1 span { color: var(--primary); }
.btn-primary { 
    display: inline-block; padding: 1rem 2rem; background: var(--primary); 
    color: #000; text-decoration: none; font-weight: bold; border-radius: 5px; margin-top: 2rem;
}

/* Services */
.services { padding: 5rem 10%; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; font-family: 'Montserrat'; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg-card); padding: 2rem; border-radius: 10px; border: 1px solid #333; }

/* Booking Form */
.booking { padding: 5rem 10%; background: #151515; }
.booking-container { max-width: 600px; margin: 0 auto; text-align: center; }
form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
input, select { padding: 1rem; background: #222; border: 1px solid #444; color: white; border-radius: 5px; }
.btn-submit { padding: 1rem; background: var(--primary); font-weight: bold; cursor: pointer; border: none; }
/* Ana Buton Stili */
.btn-primary, .btn-submit {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease; /* Yumuşak geçiş */
    cursor: pointer;
    border: 2px solid transparent;
    z-index: 1;
}


.btn-primary:hover, .btn-submit:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px); /* Hafif yukarı kalkma */
    box-shadow: 0 10px 20px rgba(187, 134, 252, 0.3); /* Parlama efekti */
}

.btn-primary:active, .btn-submit:active {
    transform: translateY(-1px);
}


.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
}

.service-card:hover {
    transform: scale(1.05); /* Kartın hafif büyümesi */
    border-color: var(--primary);
}.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--primary); /* İmleç efekti */
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary); }
}#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Responsive Tasarım Dokunuşları */
@media (max-width: 768px) {
    /* Navbar'ı dikey hale getir */
    .navbar {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }

    /* Hero bölümündeki yazıları küçült */
    .hero h1 {
        font-size: 2.5rem; 
    }

    .hero-content {
        padding-top: 80px;
    }

    /* Servis kartlarını tek sütun yap */
    .service-grid {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }

    /* Formu genişlet */
    .booking-container {
        width: 90%;
    }
    
    /* Daktilo efekti mobilde taşmasın diye ayar */
    .typewriter {
        font-size: 1.2rem;
        white-space: normal; 
        border-right: none;
        animation: none; 
    }
}