/* ==========================================================
   STYLETTE BEAUTY SALON — Plum, Rose & Champagne Gold theme
   ========================================================== */
:root {
    --plum-950: #1d0a1f;
    --plum-900: #2b0f2e;
    --plum-800: #3d1640;
    --plum-700: #54215a;
    --rose: #c2577a;
    --rose-soft: #e8a3b8;
    --blush: #fdf1ee;
    --cream: #fffaf6;
    --gold: #c9a24d;
    --gold-light: #e6c981;
    --gold-grad: linear-gradient(135deg, #e6c981 0%, #c9a24d 50%, #a9822f 100%);
    --rose-grad: linear-gradient(135deg, #d9708f 0%, #b23a68 100%);
    --plum-grad: linear-gradient(135deg, #2b0f2e 0%, #54215a 100%);
    --text: #2e2230;
    --muted: #6f6272;
    --radius: 16px;
    --shadow-sm: 0 4px 16px rgba(61, 22, 64, 0.08);
    --shadow-md: 0 14px 36px rgba(61, 22, 64, 0.14);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.top-bar {
    background: var(--plum-950);
    color: #dccbe0;
    font-size: 0.8rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(201, 162, 77, 0.25);
}
.top-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-info span { margin-right: 22px; }
.top-info i { color: var(--gold); margin-right: 6px; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; margin-left: 6px; border-radius: 50%;
    color: #fff; font-size: 0.75rem; background: rgba(255,255,255,0.08);
    transition: all .25s;
}
.social-links a:hover { background: var(--gold); color: var(--plum-950); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.main-header {
    background: rgba(43, 15, 46, 0.96);
    backdrop-filter: blur(10px);
    color: #fff;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 6px 24px rgba(29, 10, 31, 0.35);
    border-bottom: 2px solid transparent;
    border-image: var(--gold-grad) 1;
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }

.logo-main {
    font-family: var(--font-head);
    font-size: 1.75rem; font-weight: 700; letter-spacing: 3px; color: #fff;
}
.logo-main span {
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-sub { font-size: 0.66rem; color: var(--rose-soft); letter-spacing: 1.5px; text-transform: uppercase; }

.navbar ul { display: flex; list-style: none; align-items: center; gap: 4px; }
.navbar li { position: relative; }
.navbar a {
    color: #f3e8f5; padding: 10px 16px; display: block;
    font-weight: 500; font-size: 0.93rem; border-radius: 30px; transition: all .25s;
}
.navbar a:hover, .dropdown:hover .dropbtn { background: rgba(255,255,255,0.1); color: var(--gold-light); }

.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--plum-900); min-width: 200px; padding: 8px;
    border-radius: 14px; box-shadow: var(--shadow-md);
    border: 1px solid rgba(201,162,77,0.3);
}
.dropdown-content a { padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; }
.dropdown-content a:hover { background: var(--plum-700); }
.dropdown:hover .dropdown-content { display: block; }

.navbar a.btn-book-nav {
    background: var(--gold-grad); color: var(--plum-950) !important;
    font-weight: 600; padding: 10px 22px; margin-left: 8px;
    box-shadow: 0 6px 18px rgba(201,162,77,0.35);
}
.navbar a.btn-book-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,77,0.5); background: var(--gold-grad); }

.nav-toggle {
    display: none; background: none; border: 1px solid rgba(255,255,255,0.3);
    color: #fff; font-size: 1.2rem; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(194,87,122,0.45), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(201,162,77,0.25), transparent 40%),
        var(--plum-grad);
    padding: 90px 0 110px;
}
.hero::after {
    content: ""; position: absolute; right: -120px; top: -120px;
    width: 420px; height: 420px; border-radius: 50%;
    border: 1px solid rgba(230,201,129,0.25); box-shadow: 0 0 0 60px rgba(230,201,129,0.04);
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
    display: inline-block; padding: 6px 18px; border-radius: 30px; font-size: 0.78rem;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px;
    color: var(--gold-light); border: 1px solid rgba(230,201,129,0.5); background: rgba(255,255,255,0.06);
}
.hero h1 { font-size: 3.1rem; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: 1.05rem; color: #eadcee; margin-bottom: 32px; max-width: 580px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-block; padding: 13px 30px; border-radius: 40px;
    font-weight: 600; font-size: 0.95rem; transition: all .25s; cursor: pointer; border: 0;
}
.btn-gold { background: var(--gold-grad); color: var(--plum-950); box-shadow: 0 8px 22px rgba(201,162,77,0.4); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(201,162,77,0.55); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--plum-900); }

/* Trust strip */
.trust-strip { margin-top: -50px; position: relative; z-index: 2; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden;
}
.trust-item { padding: 22px 16px; text-align: center; border-right: 1px solid #f0e4e6; }
.trust-item:last-child { border-right: 0; }
.trust-item i { font-size: 1.4rem; color: var(--rose); margin-bottom: 6px; display: block; }
.trust-item strong { display: block; font-size: 0.92rem; color: var(--plum-800); }
.trust-item span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Layout ---------- */
.main-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 36px; margin: 56px auto; align-items: start; }

.section-eyebrow {
    color: var(--rose); font-size: 0.78rem; letter-spacing: 3px;
    text-transform: uppercase; font-weight: 600; margin-bottom: 6px;
}
.hero-title { font-size: 2.3rem; color: var(--plum-800); margin-bottom: 14px; }
.hero-subtitle { font-size: 1.02rem; margin-bottom: 8px; color: var(--muted); }

/* ---------- Service cards ---------- */
.service-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0 40px; }
.service-icon-card {
    text-align: center; background: #fff; padding: 30px 14px 24px;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid #f4e6e8; position: relative; overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-icon-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: var(--gold-grad); transform: scaleX(0); transition: transform .35s;
}
.service-icon-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--rose-soft); }
.service-icon-card:hover::before { transform: scaleX(1); }

.icon-circle {
    width: 78px; height: 78px; border-radius: 50%; background: var(--rose-grad);
    color: #fff; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(178,58,104,0.35), 0 0 0 6px var(--blush);
    transition: transform .3s;
}
.service-icon-card:hover .icon-circle { transform: scale(1.08) rotate(-4deg); }
.service-icon-card h4 { font-family: var(--font-body); font-size: 0.88rem; color: var(--plum-800); letter-spacing: 1.2px; font-weight: 600; }

/* ---------- Content sections ---------- */
.service-detail-section {
    background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 26px;
    box-shadow: var(--shadow-sm); border: 1px solid #f4e6e8; border-left: 4px solid var(--gold);
}
.service-detail-section h2 { color: var(--plum-800); margin-bottom: 14px; font-size: 1.5rem; }
.service-detail-section h2 i { color: var(--rose); margin-right: 8px; font-size: 1.2rem; }
.service-detail-section h3 { color: var(--plum-800); margin: 18px 0 6px; }
.service-detail-section p { color: var(--muted); margin-bottom: 8px; }
.service-detail-section strong { color: var(--text); }
.service-detail-section a { color: var(--rose); font-weight: 500; }

.faq-item { padding: 14px 18px; background: var(--blush); border-radius: 12px; margin-bottom: 12px; }
.faq-item p { margin: 0; }
.faq-item p strong { color: var(--plum-800); }

/* ---------- Forms ---------- */
.form-input, .appointment-form-box input, .appointment-form-box select {
    width: 100%; padding: 13px 16px; margin-bottom: 14px;
    border: 1.5px solid #ecdde0; border-radius: 12px; font-size: 0.93rem;
    font-family: var(--font-body); background: #fff; color: var(--text); transition: all .2s;
}
.form-input:focus, .appointment-form-box input:focus, .appointment-form-box select:focus {
    outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(194,87,122,0.15);
}
.form-label { display: block; font-weight: 500; font-size: 0.88rem; color: var(--plum-800); margin-bottom: 5px; }

.btn-submit {
    width: 100%; background: var(--rose-grad); color: #fff; padding: 14px; border: 0;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 1px; cursor: pointer;
    border-radius: 40px; font-family: var(--font-body); transition: all .25s;
    box-shadow: 0 8px 20px rgba(178,58,104,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(178,58,104,0.45); }

.success-msg {
    background: #e7f6ec; color: #1d6b3a; padding: 12px 14px; border-radius: 10px;
    margin-bottom: 14px; font-size: 0.88rem; border-left: 4px solid #2fa35b;
}

/* ---------- Sidebar ---------- */
.booking-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }

.contact-box {
    background: var(--plum-grad); color: #eadcee; padding: 28px;
    border-radius: var(--radius); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-box::after {
    content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px;
    border-radius: 50%; background: rgba(230,201,129,0.12);
}
.contact-box h3 { font-size: 1.6rem; margin-bottom: 14px; color: var(--gold-light); }
.contact-box p { margin-bottom: 10px; font-size: 0.9rem; }
.phone-link { font-size: 1.15rem !important; font-weight: 600; color: #fff; }
.phone-link i { color: var(--gold-light); margin-right: 6px; }
.chat-link a {
    display: inline-block; background: #25d366; color: #fff; padding: 8px 18px;
    border-radius: 30px; font-weight: 600; font-size: 0.88rem; transition: transform .2s;
}
.chat-link a:hover { transform: translateY(-2px); }
.chat-link i { color: #25d366; margin-right: 4px; }

.appointment-form-box {
    background: #fff; padding: 28px; border-radius: var(--radius);
    box-shadow: var(--shadow-md); border-top: 4px solid var(--rose);
}
.form-header {
    font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; margin-bottom: 18px;
    color: var(--plum-800); display: flex; align-items: center; gap: 10px;
}
.form-header i { color: var(--rose); }

/* ---------- Page header ---------- */
.page-header {
    background:
        radial-gradient(circle at 80% 30%, rgba(194,87,122,0.4), transparent 50%),
        var(--plum-grad);
    color: #fff; padding: 60px 0; text-align: center; position: relative;
}
.page-header::after {
    content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 90px; height: 3px; background: var(--gold-grad); border-radius: 3px;
}
.page-header h1 { font-size: 2.5rem; color: var(--gold-light); margin-bottom: 6px; }
.page-header p { color: #e6d6ea; }

/* ---------- Gallery / Map ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.gallery-tile {
    height: 200px; overflow: hidden; border-radius: 14px; background: #f7f1f4; transition: transform .3s;
}
.gallery-tile img { width: 100%; height: 100%; display: block; object-fit: contain; }
.gallery-tile:hover { transform: scale(1.04); }

.map-placeholder {
    background: var(--blush); border: 2px dashed var(--rose-soft); padding: 44px;
    text-align: center; border-radius: 14px; margin-top: 15px; color: var(--plum-800);
}
.map-placeholder i { color: var(--rose); margin-bottom: 8px; }

/* ---------- Footer ---------- */
footer {
    background: var(--plum-900); color: #d9c8dd; padding-top: 56px; margin-top: 60px;
    border-top: 3px solid transparent; border-image: var(--gold-grad) 1;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px; padding-bottom: 36px; }
.footer-grid h3 { color: var(--gold-light); margin-bottom: 16px; font-size: 1.15rem; }
.footer-grid p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; font-size: 0.9rem; }
.footer-links a { transition: all .2s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-bottom { background: var(--plum-950); text-align: center; padding: 16px 0; font-size: 0.8rem; color: #9d8ba2; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .main-layout { grid-template-columns: 1fr; }
    .booking-sidebar { position: static; }
    .service-icon-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid #f0e4e6; }
    .hero h1 { font-size: 2.4rem; }

    .nav-toggle { display: block; }
    .navbar { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--plum-900); padding: 12px 20px 20px; }
    .navbar.open { display: block; }
    .navbar ul { flex-direction: column; align-items: stretch; }
    .dropdown-content { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
    .navbar a.btn-book-nav { margin: 8px 0 0; text-align: center; }
    .header-container { position: relative; }
}
@media (max-width: 560px) {
    .service-icon-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .hero { padding: 60px 0 90px; }
    .hero h1 { font-size: 2rem; }
    .top-bar { padding: 10px 0; font-size: 0.72rem; }
    .top-container { display: block; }
    .top-info {
        display: grid; grid-template-columns: minmax(0, 1fr) auto;
        align-items: center; gap: 6px 10px; width: 100%;
    }
    .top-info span { display: inline-flex; align-items: center; margin: 0; min-width: 0; }
    .top-info span:first-child {
        grid-column: 1 / -1; justify-content: center; text-align: center;
        line-height: 1.4; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .top-info span:nth-child(2) { justify-self: start; white-space: nowrap; }
    .top-info span:nth-child(3) { justify-self: end; font-size: 0.62rem; white-space: nowrap; }
    .top-info i { flex: 0 0 auto; }
    .social-links { display: none; }
    .logo-main { font-size: 1.35rem; }
    .logo-sub { display: none; }
}

/* ---------- Photo support (set URLs in includes/images.php) ---------- */
.hero.has-photo, .page-header.has-photo {
    background-size: cover; background-position: center;
}
.hero.has-photo::before, .page-header.has-photo::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(29,10,31,0.92) 0%, rgba(61,22,64,0.78) 50%, rgba(194,87,122,0.35) 100%);
}
.page-header .container, .page-header > * { position: relative; z-index: 1; }

.card-photo {
    height: auto; aspect-ratio: 3 / 2; margin: -30px -14px 18px; background-size: cover; background-position: center;
    transition: transform .5s;
}
.service-icon-card:hover .card-photo { transform: scale(1.06); }
.service-icon-card:has(.card-photo) .icon-circle { margin-top: -58px; position: relative; border: 4px solid #fff; }

.section-photo {
    height: auto; aspect-ratio: 3 / 2; border-radius: 12px; margin-bottom: 20px;
    background-size: cover; background-position: center; box-shadow: var(--shadow-sm);
}

.map-embed { margin-top: 15px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #f0e4e6; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Light header to showcase the teal/purple/magenta logo ---------- */
.main-header {
    background: rgba(255, 255, 255, 0.97);
    color: var(--plum-800);
    box-shadow: 0 6px 24px rgba(61, 22, 64, 0.10);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #1b8a94, #7b43a8, #c2347f) 1;
}
.logo { display: block; }
.logo-img { display: block; height: 52px; width: auto; max-width: 100%; }
.navbar a { color: var(--plum-800); }
.navbar a:hover, .dropdown:hover .dropbtn { background: var(--blush); color: var(--rose); }
.dropdown-content { background: #fff; border: 1px solid #f0e4e6; }
.dropdown-content a:hover { background: var(--blush); color: var(--rose); }
.navbar a.btn-book-nav { background: linear-gradient(135deg, #7b43a8, #c2347f); color: #fff !important; box-shadow: 0 6px 18px rgba(194,52,127,0.35); }
.navbar a.btn-book-nav:hover { background: linear-gradient(135deg, #8a52b7, #d63d90); color: #fff !important; box-shadow: 0 10px 24px rgba(194,52,127,0.5); }
.nav-toggle { color: var(--plum-800); border-color: #d9c8dd; }

@media (max-width: 960px) {
    .navbar { background: #fff; border-top: 1px solid #f0e4e6; box-shadow: var(--shadow-md); }
    .dropdown-content { background: transparent; }
}
@media (max-width: 560px) {
    .logo-img { height: 38px; }
}
