/* Mobil Yan Çevirmede Otomatik Yazı Büyütmeyi Engelleme */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Genel Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFF1E7;
    color: #111;
    overflow-x: hidden;
}

/* Header / Menü Yapısı */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4%;
    background: rgba(255, 241, 231, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left-container, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left-container {
    justify-content: flex-start;
    z-index: 101;
}

.nav-right {
    justify-content: flex-end;
    gap: 18px;
    z-index: 101;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #111;
    padding: 5px;
}

.nav-left {
    display: flex;
    gap: 8px;
}

.nav-left a, .nav-right a {
    text-decoration: none;
    color: #111;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-left a:hover, .nav-right a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-right i {
    font-size: 16px;
}

/* LOGO MERKEZLEME */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
}

.logo h1 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 12px;
    margin-right: -12px;
}

.logo span {
    font-size: 8px;
    letter-spacing: 4px;
    margin-right: -4px;
    display: block;
    margin-top: 2px;
    color: #555;
}

/* Başlık Bölümü */
.title-section {
    text-align: center;
    padding: 50px 20px 30px 20px;
}

.title-section h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-right: -8px;
}

/* Görsel Grid (Ana Sayfa) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.grid-card {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2.5s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.8s ease;
    filter: brightness(0.85);
}

.grid-card:hover .card-bg {
    transform: scale(1.12);
    filter: brightness(0.45);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.card-title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 6px;
    margin-right: -6px;
    margin-bottom: 0;
    text-transform: uppercase;
    transition: margin-bottom 0.4s ease;
}

.treatment-list {
    list-style: none;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, visibility 0.4s;
}

.treatment-list li {
    margin: 8px 0;
}

.treatment-list a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 300;
    transition: color 0.2s;
    display: inline-block;
    padding: 2px 0;
}

.treatment-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.grid-card:hover .card-title {
    margin-bottom: 15px;
}

.grid-card:hover .treatment-list {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* -------------------------------------------------- */
/* SERVICES SAYFASI DÜZ/SADE STİLLERİ                */
/* -------------------------------------------------- */

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 80px 20px;
}

.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #111;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5d7cd;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    gap: 10px;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #111;
}

.service-price {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    background: #FFF1E7;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.service-body {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    font-weight: 300;
}

.service-block {
    margin-bottom: 12px;
}

.service-block strong {
    font-weight: 500;
    color: #111;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.book-btn-wrapper {
    margin-top: 20px;
}

/* SADE / EFEKTSİZ BOOK NOW BUTONU */
.service-book-btn {
    display: block;
    text-align: center;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.service-book-btn:hover {
    background: #333333;
    color: #ffffff;
}

/* -------------------------------------------------- */
/* ABOUT BÖLÜMÜ                                       */
/* -------------------------------------------------- */

.about-section {
    padding: 90px 20px;
    background-color: #FFF1E7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.about-container h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-right: -8px;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.about-content p {
    font-size: 14px;
    line-height: 1.9;
    color: #333333;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* -------------------------------------------------- */
/* FOOTER BÖLÜMÜ                                      */
/* -------------------------------------------------- */

.footer {
    background-color: #F8E6DA;
    padding: 60px 20px 30px 20px;
    border-top: 1px solid #EADAD0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.footer-brand h2 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 10px;
    margin-right: -10px;
}

.footer-brand span {
    font-size: 7px;
    letter-spacing: 3px;
    margin-right: -3px;
    display: block;
    margin-top: 3px;
    color: #555;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.footer-socials a {
    color: #111;
    font-size: 16px;
    transition: opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 0.5;
}

.footer-bottom p {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #666;
    font-weight: 300;
}

/* -------------------------------------------------- */
/* RESPONSIVE & MOBİL YAN ÇEVİRME DÜZENLEMELERİ       */
/* -------------------------------------------------- */

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-card {
        height: 480px;
    }
}

/* 992px altı: Hem tabletler hem de yan çevrilmiş büyük akıllı telefonlar için mobil menü */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .logo h1 {
        font-size: 16px;
        letter-spacing: 6px;
        margin-right: -6px;
    }

    .logo span {
        font-size: 6px;
        letter-spacing: 2px;
        margin-right: -2px;
    }

    .nav-left {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 241, 231, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    }

    .nav-left.active {
        max-height: 320px;
        opacity: 1;
        padding: 20px 0;
        overflow-y: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-card {
        height: 400px;
    }

    .card-title {
        margin-bottom: 12px;
    }

    .treatment-list {
        max-height: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .card-bg {
        filter: brightness(0.45);
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-content p {
        font-size: 13px;
    }
}

/* Mobil Cihaz Dikey Ekranlar (600px ve altı) */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-card {
        height: 380px;
    }
}

/* Mobil Cihaz Yan Çevirme Özel Ayarları (Ekran yüksekliği azaldığında) */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-left.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    .title-section {
        padding: 30px 20px 15px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-card {
        height: 320px;
    }

    .card-overlay {
        padding: 15px 10px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .treatment-list li {
        margin: 4px 0;
    }

    .treatment-list a {
        font-size: 11px;
    }

    .about-section {
        padding: 40px 20px;
    }
}