/*
Theme Name: NailStudio
Theme URI: https://example.com/
Author: NailStudio
Description: Nail art, manicure, pedicure ve güzellik stüdyoları için özel WordPress teması.
Version: 0.4.2
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: nailstudio
*/

:root {
    --ns-bg: #fffaf8;
    --ns-surface: #fff;
    --ns-text: #211d1c;
    --ns-muted: #746b68;
    --ns-border: #eadfda;
    --ns-accent: #c97884;
    --ns-accent-dark: #ad5d6a;
    --ns-accent-soft: #f7e7e8;
    --ns-radius: 26px;
    --ns-container: 1180px;
    --ns-shadow: 0 18px 50px rgba(71, 45, 40, .08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ns-bg);
    color: var(--ns-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.ns-container {
    width: min(calc(100% - 32px), var(--ns-container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 248, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(234, 223, 218, .85);
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-branding {
    font-weight: 850;
    letter-spacing: -.035em;
    font-size: 1.2rem;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ns-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--ns-text);
    background: var(--ns-text);
    color: #fff;
    font-weight: 750;
    transition: transform .2s ease, opacity .2s ease;
}

.ns-button:hover {
    transform: translateY(-1px);
    opacity: .94;
}

.ns-button--ghost {
    background: transparent;
    color: var(--ns-text);
}

.ns-hero {
    padding: clamp(64px, 10vw, 120px) 0;
}

.ns-hero__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.ns-kicker {
    color: var(--ns-accent-dark);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .76rem;
    font-weight: 850;
}

.ns-hero h1 {
    margin: 12px 0 18px;
    max-width: 760px;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: .95;
    letter-spacing: -.065em;
}

.ns-hero p {
    max-width: 620px;
    color: var(--ns-muted);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.ns-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ns-hero__visual {
    min-height: 520px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 72% 20%, rgba(201,120,132,.34), transparent 32%),
        linear-gradient(145deg,#f2dfdb,#fff);
    border: 1px solid var(--ns-border);
    box-shadow: var(--ns-shadow);
}

.ns-section {
    padding: 88px 0;
}

/* Premium service section */
.ns-services {
    position: relative;
    overflow: hidden;
}

.ns-services::before,
.ns-services::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    background: rgba(201, 120, 132, .08);
}

.ns-services::before {
    width: 260px;
    height: 260px;
    right: -150px;
    top: 30px;
}

.ns-services::after {
    width: 180px;
    height: 180px;
    left: -120px;
    bottom: 30px;
}

.ns-services__head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 42px;
}

.ns-services__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    font-weight: 700;
}

.ns-services__title span {
    color: var(--ns-accent-dark);
}

.ns-services__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 12px;
    color: var(--ns-accent);
}

.ns-services__ornament::before,
.ns-services__ornament::after {
    content: "";
    width: 110px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e6bec4);
}

.ns-services__ornament::after {
    background: linear-gradient(90deg, #e6bec4, transparent);
}

.ns-services__subtitle {
    margin: 0;
    color: var(--ns-muted);
    font-size: 1.08rem;
}

.ns-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ns-service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ns-border);
    background: var(--ns-surface);
    border-radius: var(--ns-radius);
    box-shadow: var(--ns-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ns-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(71,45,40,.12);
}

.ns-service-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #f2dfdb, #fff7f4);
    overflow: hidden;
}

.ns-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.ns-service-card:hover .ns-service-card__media img {
    transform: scale(1.035);
}

.ns-service-card__icon {
    position: absolute;
    top: calc((100% * .45) - 4px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    z-index: 2;
    border-radius: 50%;
    border: 3px solid #fff;
    background: linear-gradient(145deg, #d88a96, #c36b79);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(142, 83, 92, .2);
    font-size: 1.4rem;
    font-weight: 800;
}

.ns-service-card__body {
    position: relative;
    padding: 48px 28px 28px;
    text-align: center;
}

.ns-service-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.ns-service-card__mini-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0;
    color: var(--ns-accent);
    font-size: .8rem;
}

.ns-service-card__mini-ornament::before,
.ns-service-card__mini-ornament::after {
    content: "";
    height: 1px;
    width: 58px;
    background: #efc8ce;
}

.ns-service-card__excerpt {
    min-height: 50px;
    margin: 0;
    color: var(--ns-muted);
}

.ns-service-card__meta {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: 18px;
    margin: 24px 0 18px;
    padding-top: 18px;
    border-top: 1px solid #f0e5e1;
}

.ns-service-card__divider {
    width: 1px;
    height: 32px;
    background: #ead7d3;
}

.ns-service-card__meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 750;
}

.ns-service-card__price {
    color: var(--ns-accent-dark);
    font-size: 1.05rem;
}

.ns-service-card__action {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid #d99aa4;
    color: var(--ns-accent-dark);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease;
}

.ns-service-card__action:hover {
    background: var(--ns-accent);
    color: #fff;
}

.ns-services__footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.ns-services__all {
    min-width: 250px;
    background: linear-gradient(135deg, #cf7f8b, #ba6572);
    border-color: transparent;
}

.ns-staff-card {
    overflow: hidden;
    border: 1px solid var(--ns-border);
    background: var(--ns-surface);
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(55,35,31,.04);
}

.ns-staff-card__media {
    aspect-ratio: 4/3;
    background: #f7ece8;
    overflow: hidden;
}

.ns-staff-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-staff-card__body { padding: 24px; }
.ns-staff-card h3 { margin: 0 0 8px; }
.ns-staff-card p { margin: 0; color: var(--ns-muted); }

.ns-card {
    padding: 28px;
    border: 1px solid var(--ns-border);
    background: var(--ns-surface);
    border-radius: 18px;
}

.ns-empty {
    padding: 28px;
    border: 1px dashed var(--ns-border);
    border-radius: 18px;
    color: var(--ns-muted);
    text-align: center;
}

.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--ns-border);
    color: var(--ns-muted);
}

@media (max-width: 980px) {
    .ns-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .site-nav { display: none; }
    .ns-hero__grid { grid-template-columns: 1fr; }
    .ns-hero__visual { min-height: 360px; }
}

@media (max-width: 680px) {
    .ns-section { padding: 64px 0; }
    .ns-card-grid { grid-template-columns: 1fr; }
    .ns-service-card__body { padding-inline: 22px; }
    .ns-services__title { font-size: 2.7rem; }
}


/* Booking */
.ns-booking-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.ns-booking-shell {
    border: 1px solid var(--ns-border);
    border-radius: 30px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--ns-shadow);
    overflow: hidden;
}

.ns-booking-head {
    padding: 34px 34px 24px;
    text-align: center;
    border-bottom: 1px solid #f0e5e1;
    background:
        radial-gradient(circle at 90% 10%, rgba(201,120,132,.12), transparent 30%),
        #fff;
}

.ns-booking-head h1,
.ns-booking-head h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -.04em;
}

.ns-booking-head p {
    margin: 0;
    color: var(--ns-muted);
}

.ns-booking-form {
    padding: 30px 34px 36px;
}

.ns-booking-step {
    margin-bottom: 26px;
}

.ns-booking-step:last-child {
    margin-bottom: 0;
}

.ns-booking-label {
    display: block;
    margin-bottom: 9px;
    font-weight: 800;
    color: var(--ns-text);
}

.ns-booking-form select,
.ns-booking-form input[type="text"],
.ns-booking-form input[type="tel"],
.ns-booking-form input[type="email"],
.ns-booking-form input[type="date"],
.ns-booking-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #dfd2ce;
    border-radius: 14px;
    background: #fff;
    color: var(--ns-text);
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ns-booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

.ns-booking-form select:focus,
.ns-booking-form input:focus,
.ns-booking-form textarea:focus {
    border-color: var(--ns-accent);
    box-shadow: 0 0 0 4px rgba(201,120,132,.12);
}

.ns-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.ns-slot-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 10px;
}

.ns-slot {
    min-height: 44px;
    border: 1px solid #e5d5d1;
    border-radius: 999px;
    background: #fff;
    color: var(--ns-text);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: all .18s ease;
}

.ns-slot:hover,
.ns-slot.is-selected {
    border-color: var(--ns-accent);
    background: var(--ns-accent);
    color: #fff;
}

.ns-booking-note {
    color: var(--ns-muted);
    font-size: .92rem;
}

.ns-booking-status {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
}

.ns-booking-status.is-visible {
    display: block;
}

.ns-booking-status.is-success {
    background: #edf8f0;
    color: #26633a;
    border: 1px solid #cde8d5;
}

.ns-booking-status.is-error {
    background: #fff0f0;
    color: #8a3131;
    border: 1px solid #f0caca;
}

.ns-booking-summary {
    display: none;
    margin: 0 0 24px;
    padding: 18px;
    border-radius: 18px;
    background: var(--ns-accent-soft);
}

.ns-booking-summary.is-visible {
    display: block;
}

.ns-booking-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #cf7f8b, #ba6572);
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.ns-booking-submit:disabled,
.ns-slot:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ns-booking-loading {
    opacity: .6;
    pointer-events: none;
}

@media (max-width: 760px) {
    .ns-booking-form {
        padding: 24px 20px 28px;
    }

    .ns-booking-grid {
        grid-template-columns: 1fr;
    }

    .ns-slot-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}


/* =========================================================
   NailStudio v0.4.1 - Premium service detail + header
   ========================================================= */

.site-header {
    background: rgba(255,255,255,.96);
}

.site-header__inner {
    min-height: 86px;
}

.site-branding {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 800;
}

.site-branding__tagline {
    margin-top: 5px;
    color: var(--ns-accent-dark);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .01em;
}

.site-nav {
    margin-left: auto;
    margin-right: 18px;
}

.site-nav a {
    position: relative;
    font-weight: 650;
    color: #272120;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
    color: var(--ns-accent-dark);
}

.site-header__booking {
    background: linear-gradient(135deg,#d87988,#c46272);
    border-color: transparent;
    min-height: 46px;
    padding-inline: 20px;
}

.ns-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 22px 0 6px;
    color: #927d78;
    font-size: .9rem;
}

.ns-breadcrumb a {
    color: var(--ns-accent-dark);
}

.ns-breadcrumb__sep {
    opacity: .45;
}

.ns-service-page {
    padding: 34px 0 90px;
}

.ns-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 54px;
    align-items: start;
}

.ns-service-main {
    min-width: 0;
}

.ns-service-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}

.ns-service-heading .ns-kicker {
    margin-bottom: 8px;
}

.ns-service-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ns-service-heading__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px 0;
    color: var(--ns-accent);
}

.ns-service-heading__ornament::before,
.ns-service-heading__ornament::after {
    content: "";
    width: 62px;
    height: 1px;
    background: #e7bdc4;
}

.ns-service-heading__excerpt {
    margin: 0 auto;
    max-width: 620px;
    color: var(--ns-muted);
    font-size: 1.03rem;
}

.ns-service-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ns-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff6f4;
    border: 1px solid #f0dfda;
    color: #3f3431;
    font-weight: 750;
}

.ns-service-badge strong {
    color: var(--ns-accent-dark);
}

.ns-service-featured {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #f6ebe8;
    box-shadow: 0 16px 45px rgba(76,48,43,.08);
}

.ns-service-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-service-content {
    max-width: 820px;
    margin: 24px auto 0;
    text-align: center;
    color: #514744;
}

.ns-service-content > *:first-child {
    margin-top: 0;
}

.ns-service-content p {
    margin: 0 0 10px;
}

.ns-service-features {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
    max-width: 820px;
    margin: 32px auto 0;
}

.ns-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.ns-feature__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #e8bdc4;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ns-accent-dark);
    font-size: 1.1rem;
    background: #fff;
}

.ns-feature strong {
    display: block;
    margin-bottom: 2px;
    font-size: .93rem;
}

.ns-feature span {
    color: var(--ns-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.ns-service-sidebar {
    position: sticky;
    top: 108px;
}

.ns-service-booking-card {
    overflow: hidden;
    border: 1px solid #efe2de;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(71,45,40,.09);
}

.ns-service-booking-card__head {
    padding: 26px 26px 22px;
}

.ns-service-booking-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}

.ns-service-booking-card__title span {
    color: var(--ns-accent);
}

.ns-service-booking-card__head p {
    margin: 0 0 18px;
    color: var(--ns-muted);
    font-size: .9rem;
}

.ns-service-booking-card .ns-button {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: linear-gradient(135deg,#d87988,#c46272);
}

.ns-service-card-row {
    display: flex;
    gap: 14px;
    padding: 22px 26px;
    border-top: 1px solid #f0e6e3;
}

.ns-service-card-row__icon {
    color: var(--ns-accent);
    font-size: 1.25rem;
    line-height: 1.2;
}

.ns-service-card-row strong {
    display: block;
    margin-bottom: 5px;
}

.ns-service-card-row p {
    margin: 0;
    color: var(--ns-muted);
    font-size: .9rem;
}

.ns-service-card-row .ns-price-large {
    display: block;
    margin-bottom: 2px;
    color: var(--ns-accent-dark);
    font-size: 1.2rem;
    font-weight: 850;
}

.ns-service-includes {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.ns-service-includes li {
    position: relative;
    padding-left: 22px;
    margin: 8px 0;
    color: #5f5552;
    font-size: .88rem;
}

.ns-service-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ns-accent);
    font-weight: 900;
}

.ns-related {
    max-width: 1180px;
    margin: 70px auto 0;
}

.ns-related__head {
    text-align: center;
    margin-bottom: 26px;
}

.ns-related__head h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem,4vw,3rem);
}

.ns-related__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 10px;
    color: var(--ns-accent);
}

.ns-related__ornament::before,
.ns-related__ornament::after {
    content: "";
    width: 52px;
    height: 1px;
    background: #e7bdc4;
}

.ns-related-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.ns-related-card {
    overflow: hidden;
    border: 1px solid var(--ns-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(68,44,40,.06);
}

.ns-related-card__image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f6ebe8;
}

.ns-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ns-related-card:hover img {
    transform: scale(1.035);
}

.ns-related-card__body {
    padding: 18px;
}

.ns-related-card h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.ns-related-card__meta {
    display: flex;
    gap: 10px;
    color: var(--ns-muted);
    font-size: .86rem;
}

@media (max-width: 1040px) {
    .ns-service-layout {
        grid-template-columns: 1fr;
    }

    .ns-service-sidebar {
        position: static;
        max-width: 820px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .site-header__inner {
        min-height: 74px;
    }

    .site-branding {
        font-size: 1.25rem;
    }

    .site-header__booking {
        padding-inline: 14px;
    }

    .ns-service-page {
        padding-top: 20px;
    }

    .ns-service-features {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ns-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ns-service-features {
        grid-template-columns: 1fr;
    }

    .ns-service-featured {
        aspect-ratio: 4/3;
        border-radius: 18px;
    }
}


/* v0.4.2 homepage hero visual */
.ns-hero__visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255,255,255,.02), rgba(255,255,255,.02)),
        url("assets/images/nailstudio-hero.jpg") center center / cover no-repeat;
    border: 1px solid var(--ns-border);
    border-radius: 32px;
    box-shadow: var(--ns-shadow);
}

.ns-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%, transparent 80%, rgba(44,25,23,.04));
}

@media (max-width: 820px) {
    .ns-hero__visual {
        min-height: 460px;
        background-position: center center;
    }
}

@media (max-width: 520px) {
    .ns-hero__visual {
        min-height: 390px;
        border-radius: 24px;
    }
}
