/* ============================================
   Jenny Wren's Hair — Stylesheet
   ============================================ */

:root {
    --accent:       #d4007a;
    --accent-hover: #b00068;
    --bg-dark:      #111111;
    --bg-pink:      #e8a0ae;
    --bg-light:     #ffffff;
    --bg-footer:    #f5edef;
    --text-dark:    #1a1a1a;
    --text-mid:     #555555;
    --text-light:   #ffffff;
    --text-muted:   #888888;
    --border-dark:  #2a2a2a;
    --border-light: #e0d0d4;
    --nav-height:   72px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid var(--border-dark);
    backdrop-filter: blur(12px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaaaaa;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }
.nav-links .active-page { color: var(--accent) !important; }
.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.nav-social a {
    color: #aaaaaa;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.nav-social a:hover { color: var(--accent); }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero — Dark
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    background-color: var(--bg-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(212, 0, 122, 0.08) 0%, transparent 65%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    max-width: 820px;
}
.hero-logo {
    width: min(425px, 80vw);
    height: auto;
    margin: 0 auto 32px;
}
.hero-logo-placeholder {
    width: min(280px, 60vw);
    height: min(280px, 60vw);
    margin: 0 auto 32px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.hero-specialist {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    color: #d0d0d0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
    line-height: 1.1;
}
.hero-since {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    color: #777;
    margin-bottom: 0;
}

/* ============================================
   Section shared
   ============================================ */
.section { padding: 100px 0; }

/* Display headings — large uppercase centred */
.display-heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    font-size: clamp(2.4rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 56px;
}

/* ============================================
   About — White background
   ============================================ */
.section-about {
    background: var(--bg-light);
    padding: 100px 0;
}
.section-about .display-heading { color: var(--accent); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.about-images {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}
.about-img {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.about-content-col { padding-top: 8px; }
.about-content-col .display-heading {
    text-align: left;
    margin-bottom: 32px;
    line-height: 0.9;
}
.about-text p {
    color: var(--text-mid);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.85;
}
.about-text p:last-child { margin-bottom: 0; }

/* ============================================
   Services — Pink background
   ============================================ */
.section-services {
    background: var(--bg-pink);
    padding: 100px 0;
}
.section-services .display-heading { color: rgba(255,255,255,0.55); }

.services-list {
    border-top: 1px solid rgba(255,255,255,0.4);
    max-width: 800px;
    margin: 0 auto;
}
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    gap: 24px;
}
.service-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 400;
    font-style: italic;
}
.service-price-tag {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.services-cta {
    text-align: center;
    margin-top: 44px;
}
.services-cta a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}
.services-cta a:hover { opacity: 0.75; }

/* ============================================
   Gallery — White background
   ============================================ */
.section-gallery {
    background: var(--bg-light);
    padding: 100px 0;
}
.section-gallery .display-heading { color: var(--accent); }

.gallery-frame {
    border: 3px solid var(--accent);
    padding: 10px;
    margin-top: 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0e8ea;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   Reviews — Dark background
   ============================================ */
.section-reviews {
    background-color: var(--bg-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    padding: 100px 0;
}
.section-reviews .display-heading { color: var(--accent); }

.reviews-summary {
    text-align: center;
    margin-top: -24px;
    margin-bottom: 48px;
}
.reviews-stars,
.review-stars {
    color: var(--accent);
    font-size: 1.05rem;
    letter-spacing: 3px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #181818;
    border: 1px solid var(--border-dark);
    padding: 32px 28px;
}
.review-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.75;
    flex-grow: 1;
}
.review-quote::before { content: '\201C'; }
.review-quote::after { content: '\201D'; }
.review-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border-dark);
    padding-top: 14px;
}
.review-author {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.review-date {
    color: #666666;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.reviews-cta {
    text-align: center;
    margin-top: 48px;
}
.reviews-cta a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s;
}
.reviews-cta a:hover { opacity: 0.75; }

/* ============================================
   Contact — Pink background
   ============================================ */
.section-contact {
    background: var(--bg-pink);
    padding: 100px 0;
}
.section-contact .display-heading { color: rgba(255,255,255,0.55); }

.contact-form-wrap { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.85);
    border: none;
    color: var(--text-dark);
    padding: 14px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { background: rgba(255,255,255,1); }
.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #999; }
.form-submit {
    text-align: center;
    margin-top: 8px;
}
.btn-submit {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-submit:hover { background: #ffffff; color: var(--bg-pink); }
.form-note {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin-top: 12px;
    text-align: center;
}

/* ============================================
   Footer info — Light cream
   ============================================ */
.footer-info {
    background: var(--bg-footer);
    padding: 64px 0 0;
}
.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    padding-bottom: 48px;
}
.footer-col h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.footer-col p,
.footer-col a {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
    display: block;
}
.footer-col a:hover { color: var(--accent); }
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}
.footer-social a {
    color: var(--text-mid);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }

.footer-bottom {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-light);
    padding: 20px 32px;
    text-align: center;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 0.78rem;
    color: #999;
}
.footer-bottom-inner a {
    color: #999;
    transition: color 0.2s;
}
.footer-bottom-inner a:hover { color: var(--accent); }
.footer-bottom-inner span { color: #ccc; }

/* ============================================
   Book Now button (Goldie)
   ============================================ */
.hero-actions {
    margin-top: 36px;
}
.btn-book {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 16px 44px;
    transition: background 0.2s, transform 0.2s;
}
.btn-book:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.btn-book-large {
    font-size: 0.9rem;
    padding: 20px 56px;
}

/* Booking block in contact section */
.booking-block {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.booking-intro {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}
.booking-question {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 32px;
    font-style: italic;
}
.contact-direct {
    display: flex;
    justify-content: center;
    gap: 32px 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.contact-direct-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-direct-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.contact-direct-item a {
    color: #ffffff;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}
.contact-direct-item a:hover { opacity: 0.75; }
.contact-direct-break { width: 100%; }

/* ============================================
   Buttons (for other pages)
   ============================================ */
.btn {
    display: inline-block;
    padding: 13px 30px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.22s;
    border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline-dark {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline-dark:hover { background: var(--accent); color: #fff; }

/* ============================================
   Inner page hero (pricelist, policy pages)
   ============================================ */
.page-hero {
    padding: calc(var(--nav-height) + 60px) 0 60px;
    text-align: center;
    background: var(--bg-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    border-bottom: 1px solid var(--border-dark);
}
.page-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
}
.page-hero p { color: #888; margin-top: 14px; font-size: 0.95rem; }

/* Price tables */
.price-page-body { background: var(--bg-light); padding: 64px 0 80px; }
.price-section { margin-bottom: 60px; }
.price-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.price-section .price-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.price-table th {
    background: #f9f0f2;
    color: var(--accent);
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}
.price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-mid);
}
.price-table td:first-child { font-weight: 600; color: var(--text-dark); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: #fdf5f7; }
.price-amount { color: var(--text-dark); font-weight: 600; }
.price-table--services .price-amount::before {
    content: 'from ';
    font-size: 0.75em;
    font-weight: 400;
    color: var(--text-muted);
}
.price-notes {
    background: #fdf5f7;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}
.price-notes strong { color: var(--text-dark); }

/* Policy pages */
.policy-page-body { background: var(--bg-light); }
.policy-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 24px 80px;
}
.policy-content h2 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 44px 0 14px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
    color: var(--text-mid);
    margin-bottom: 14px;
    line-height: 1.85;
    font-size: 0.95rem;
}
.policy-content ul {
    color: var(--text-mid);
    margin: 0 0 14px 20px;
    line-height: 2;
    font-size: 0.95rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-images { position: static; max-width: 480px; margin: 0 auto 40px; }
    .about-content-col .display-heading { text-align: center; font-size: clamp(2.2rem, 10vw, 4rem); }
    .footer-info-grid { grid-template-columns: 1fr; gap: 36px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-social { display: none; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(20, 20, 20, 0.99);
        flex-direction: column;
        padding: 24px 32px;
        gap: 20px;
        border-bottom: 1px solid var(--border-dark);
    }
    .nav-links.open { display: flex; }
    .section { padding: 72px 0; }
    .section-about,
    .section-services,
    .section-gallery,
    .section-reviews,
    .section-contact { padding: 72px 0; }
    .display-heading { font-size: clamp(2rem, 9vw, 3.5rem); margin-bottom: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .price-table { min-width: 560px; }
    .price-table th,
    .price-table td { padding: 12px 12px; font-size: 0.85rem; }
}

@media (max-width: 600px) {
    .btn-book { display: block; width: 100%; text-align: center; }
    .contact-direct { gap: 24px 32px; }
    .contact-direct-item { min-width: 120px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .service-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; }
    .footer-bottom-inner span { display: none; }
    .contact-direct { flex-direction: column; align-items: center; gap: 20px; }
    .contact-direct-break { display: none; }
}
