/* ===================================================
   Aura by Joanna Gorczewska — Luxury Beauty Salon
   =================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ivory:      #FDFAF6;
    --cream:      #F5EDE0;
    --beige:      #E8D9C5;
    --dark:       #1A1410;
    --dark-2:     #2C2118;
    --gold:       #B8935A;
    --gold-light: #D4AE7A;
    --text:       #3A2E24;
    --text-light: #7A6A5A;
    --white:      #FFFFFF;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Lato', Arial, sans-serif;

    --max-w: 1200px;
    --section-py: 100px;
    --radius: 2px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.eyebrow--light { color: var(--gold-light); }

.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

.container--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section {
    padding: var(--section-py) 0;
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section--cream {
    background: var(--cream);
}

.section-title {
    margin-bottom: 56px;
    color: var(--dark);
}

.section-title--light {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn--gold {
    background: var(--gold);
    border-color: var(--gold);
    margin-top: 16px;
}

.btn--full { width: 100%; justify-content: center; }

.btn-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color var(--transition);
}

.btn-link:hover { color: var(--white); }

/* ---------- NAV ---------- */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    transition: background var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
    background: var(--dark);
    box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-logo span {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin-left: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    font-weight: 700 !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.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: 1.5px;
    background: var(--white);
    transition: var(--transition);
}

/* ---------- HERO ---------- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-2);
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,20,16,0.82) 0%, rgba(26,20,16,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 120px 32px 80px;
    color: var(--white);
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    max-width: 725px;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.hero-sub {
    font-size: 1.1rem;
    max-width: 520px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.6));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,100% { opacity: 0.4; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ---------- ABOUT ---------- */
.about-img-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.about-img::before,
.about-img-placeholder::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    right: -20px; bottom: -20px;
    border: 1px solid var(--beige);
    z-index: -1;
}

.about-text { padding: 24px 0; }

.about-text h2 { margin-bottom: 1.25rem; }

.about-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-icon {
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.08);
}

.service-card {
    background: rgba(255,255,255,0.04);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition);
}

.service-card:hover {
    background: rgba(255,255,255,0.07);
}

.service-card--featured {
    background: rgba(184,147,90,0.12);
    border-color: rgba(184,147,90,0.3);
}

.service-card__icon {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--white);
}

.service-card p {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    flex: 1;
}

.service-card__details {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.06em;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.service-price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold-light);
}

/* ---------- GALLERY ---------- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.gallery-filter {
    background: transparent;
    border: 1px solid var(--beige);
    color: var(--text-light);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity var(--transition);
}

.gallery-grid img:hover { opacity: 0.88; }

.gallery-placeholder {
    grid-column: 1 / -1;
    padding: 80px 40px;
    text-align: center;
    color: var(--text-light);
    border: 1px dashed var(--beige);
}

.gallery-placeholder a { color: var(--gold); text-decoration: underline; }

.gallery-instagram {
    text-align: center;
    margin-top: 48px;
}

.gallery-instagram .btn-outline {
    border-color: var(--beige);
    color: var(--text);
}

.gallery-instagram .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

/* ---------- PROMOTIONS ---------- */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.promo-card {
    background: var(--white);
    padding: 48px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 40px rgba(58,46,36,0.08);
}

.promo-badge {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 12px;
}

.promo-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.promo-card p {
    color: var(--text-light);
    flex: 1;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 32px;
}

.testimonial.active { display: block; }

.testimonial__quote {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial__author {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.t-btn {
    width: 44px; height: 44px;
    border: 1px solid var(--beige);
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.t-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.t-dots {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--beige);
    cursor: pointer;
    transition: background var(--transition);
}

.t-dot.active { background: var(--gold); }

/* ---------- CONTACT ---------- */
.contact-intro {
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.contact-details a {
    color: var(--gold-light);
    transition: color var(--transition);
}

.contact-details a:hover { color: var(--white); }

.contact-icon { flex-shrink: 0; }

.contact-social { margin-bottom: 1.5rem; }

.social-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: color var(--transition);
}

.social-link:hover { color: var(--white); }

/* Contact Form */
.contact-form-wrap {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 48px 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

input, select, textarea {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
    border-radius: var(--radius);
}

select option { background: var(--dark-2); color: var(--white); }

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
}

textarea { resize: vertical; min-height: 110px; }

.form-status {
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--gold-light);
    min-height: 1.4em;
}

/* Map */
.map-wrap {
    margin-top: 80px;
    height: 380px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%) contrast(1.05);
}

/* ---------- FOOTER ---------- */
#footer {
    background: #110D09;
    color: rgba(255,255,255,0.45);
    text-align: center;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 4px;
}

.footer-logo span {
    font-size: 0.9rem;
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.08em;
}

.footer-brand p:last-child { font-size: 0.82rem; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    justify-content: center;
}

.footer-nav a {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-social a {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color var(--transition);
}

.footer-social a:hover { color: var(--gold-light); }

.footer-copy {
    padding: 20px 32px;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- LIGHTBOX ---------- */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17,13,9,0.94);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#lightbox.open { display: flex; }

#lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
}

#lightboxClose {
    position: absolute;
    top: 24px; right: 32px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition);
}

#lightboxClose:hover { opacity: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .container--split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-wrap { order: -1; max-width: 400px; margin: 0 auto; }

    .promo-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    :root { --section-py: 64px; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--dark);
        padding: 24px 32px 32px;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .nav-links a { font-size: 0.9rem; }
    .nav-cta { align-self: flex-start; }

    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid  { grid-template-columns: 1fr 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 32px 24px; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .map-wrap { height: 280px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .container { padding: 0 20px; }
}
