/* ========================================
   Am'adorable Nails — Stylesheet
   Palette: Plum (#6B2F5B / #9B4D8A) + Amber (#F5A623 / #E8910C)
   Fonts: Playfair Display + Inter
======================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --plum-dark: #4A1F40;
    --plum: #6B2F5B;
    --plum-mid: #9B4D8A;
    --plum-light: #C97BB0;
    --plum-pale: #F3E5F5;
    --plum-bg: #FBF5FC;
    --amber: #F5A623;
    --amber-dark: #D4890A;
    --amber-light: #FDD87A;
    --amber-pale: #FFF8E7;
    --white: #FFFFFF;
    --off-white: #FEFCFF;
    --text-dark: #2D1525;
    --text-mid: #5A3D52;
    --text-light: #8A6078;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(107, 47, 91, 0.08);
    --shadow-md: 0 8px 30px rgba(107, 47, 91, 0.12);
    --shadow-lg: 0 16px 60px rgba(107, 47, 91, 0.16);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Decorative Fixed Geometric Shapes ── */
.geo {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.07;
}
.geo--top-right {
    width: 400px; height: 400px;
    background: var(--amber);
    border-radius: 50%;
    top: -100px; right: -100px;
}
.geo--bottom-left {
    width: 300px; height: 300px;
    background: var(--plum);
    border-radius: 50%;
    bottom: -80px; left: -80px;
}
.geo--mid-right {
    width: 150px; height: 150px;
    background: var(--plum-mid);
    top: 55%; right: -30px;
    transform: rotate(45deg);
    border-radius: var(--radius-sm);
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107, 47, 91, 0.08);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--plum);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__logo-icon {
    font-size: 1.1rem;
    color: var(--amber);
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--plum); background: var(--plum-pale); }
.nav__link--cta {
    background: var(--plum);
    color: var(--white) !important;
    margin-left: 8px;
}
.nav__link--cta:hover { background: var(--plum-dark); }

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav__toggle-bar {
    display: block;
    width: 24px; height: 2px;
    background: var(--plum);
    border-radius: 2px;
    transition: var(--transition);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav__menu.open { transform: translateY(0); }
    .nav__link { width: 100%; text-align: center; padding: 12px 16px; }
    .nav__link--cta { margin-left: 0; margin-top: 8px; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: var(--amber);
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}
.btn--primary:hover { background: var(--amber-dark); box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5); }
.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.7); }
.btn--amber {
    background: var(--amber);
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}
.btn--amber:hover { background: var(--amber-dark); box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4); }
.btn--full { width: 100%; justify-content: center; }

/* ── Section Shared ── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-mid);
    background: var(--plum-pale);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}
.section-tag--light { background: rgba(255, 255, 255, 0.15); color: var(--amber-light); }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-dark);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 31, 64, 0.88) 0%,
        rgba(107, 47, 91, 0.80) 40%,
        rgba(155, 77, 138, 0.70) 100%
    );
}
.hero__geo--circle {
    position: absolute;
    width: 600px; height: 600px;
    background: var(--amber);
    border-radius: 50%;
    top: -200px; right: -150px;
    opacity: 0.12;
    z-index: 1;
}
.hero__geo--rect {
    position: absolute;
    width: 200px; height: 200px;
    background: var(--plum-light);
    bottom: 10%; left: 5%;
    transform: rotate(30deg);
    opacity: 0.15;
    z-index: 1;
    border-radius: var(--radius-md);
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 120px 24px 80px;
}
.hero__greeting {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hero__title span { color: var(--amber); }
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
}
.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
}
.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum), var(--plum-mid), var(--amber), var(--plum-mid), var(--plum));
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(107, 47, 91, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-card__accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum), var(--amber));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:nth-child(even) .service-card__accent {
    background: linear-gradient(90deg, var(--amber), var(--plum-mid));
}
.service-card__icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-pale);
    border-radius: var(--radius-md);
    color: var(--plum);
    margin-bottom: 20px;
    transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-card__icon {
    background: var(--plum);
    color: var(--white);
}
.service-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services__grid { grid-template-columns: 1fr; }
    .services { padding: 70px 0; }
}

/* ── About ── */
.about {
    padding: 100px 0;
    background: var(--plum-bg);
    position: relative;
    overflow: hidden;
}
.about__geo--circle {
    position: absolute;
    width: 500px; height: 500px;
    background: var(--plum);
    border-radius: 50%;
    bottom: -200px; right: -150px;
    opacity: 0.04;
}
.about__geo--dot {
    position: absolute;
    width: 120px; height: 120px;
    background: var(--amber);
    border-radius: 50%;
    top: 15%; left: -30px;
    opacity: 0.08;
}
.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about__images {
    position: relative;
}
.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about__img-main img { width: 100%; height: 400px; object-fit: cover; }
.about__img-secondary {
    position: absolute;
    bottom: -40px; right: -20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}
.about__img-secondary img { width: 100%; height: 200px; object-fit: cover; }
.about__badge {
    position: absolute;
    top: -20px; left: 20px;
    background: var(--amber);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
    z-index: 2;
}
.about__content { padding-top: 20px; }
.about__text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}
.about__stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}
.about__stat {
    display: flex;
    align-items: center;
    gap: 14px;
}
.about__stat-number {
    font-size: 1.5rem;
    color: var(--plum);
}
.about__stat-label {
    font-size: 1rem;
    color: var(--text-mid);
    font-weight: 500;
}

@media (max-width: 900px) {
    .about__layout { grid-template-columns: 1fr; gap: 48px; }
    .about__img-secondary { right: 10px; bottom: -30px; }
}

/* ── Gallery ── */
.gallery {
    padding: 100px 0;
    background: var(--off-white);
}
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 16px;
}
.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 31, 64, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery__item:hover .gallery__item-overlay { opacity: 1; }
.gallery__item-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}
.gallery__item--wide { grid-column: span 6; }
.gallery__item:not(.gallery__item--wide) { grid-column: span 3; }

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .gallery__item--wide { grid-column: span 2; }
    .gallery__item:not(.gallery__item--wide) { grid-column: span 1; }
}
@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery__item, .gallery__item--wide { grid-column: span 1; }
    .gallery__item img { height: 220px; }
}

/* ── Hours ── */
.hours {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 50%, var(--plum-mid) 100%);
    position: relative;
    overflow: hidden;
}
.hours::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: var(--amber);
    border-radius: 50%;
    top: -150px; right: -100px;
    opacity: 0.06;
}
.hours__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.hours__left { padding-top: 8px; }
.hours__address, .hours__phone, .hours__email {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}
.hours__phone a, .hours__email a {
    color: var(--amber-light);
    transition: color var(--transition);
}
.hours__phone a:hover, .hours__email a:hover { color: var(--amber); }
.hours__right {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(12px);
}
.hours__schedule-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
}
.hours__schedule { display: flex; flex-direction: column; gap: 12px; }
.hours__day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hours__day:last-child { border-bottom: none; }
.hours__day-name {
    font-weight: 600;
    color: var(--white);
}
.hours__day-hours {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}
.hours__day.closed .hours__day-hours { color: var(--amber); font-weight: 600; }
.hours__note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

@media (max-width: 768px) {
    .hours__card { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--plum-bg);
    position: relative;
    overflow: hidden;
}
.contact__geo--circle {
    position: absolute;
    width: 350px; height: 350px;
    background: var(--amber);
    border-radius: 50%;
    bottom: -100px; left: -100px;
    opacity: 0.05;
}
.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.contact__text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
}
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact__details li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-mid);
}
.contact__details a {
    color: var(--plum);
    font-weight: 500;
    transition: color var(--transition);
}
.contact__details a:hover { color: var(--plum-mid); }
.contact__details svg { color: var(--amber); flex-shrink: 0; }

.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(107, 47, 91, 0.06);
}
.form__group { margin-bottom: 20px; }
.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(107, 47, 91, 0.12);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form__input:focus {
    border-color: var(--plum-mid);
    box-shadow: 0 0 0 4px rgba(155, 77, 138, 0.1);
}
.form__input::placeholder { color: var(--text-light); }
.form__select { appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 100px; }
.form__success {
    text-align: center;
    padding: 16px;
    background: var(--plum-pale);
    color: var(--plum);
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .contact__layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Footer ── */
.footer {
    background: var(--plum-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__logo-icon {
    font-size: 1.3rem;
    color: var(--amber);
}
.footer__name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}
.footer__tagline { font-size: 0.95rem; line-height: 1.7; }
.footer__heading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 20px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
    font-size: 0.95rem;
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__contact p { margin-bottom: 10px; font-size: 0.95rem; line-height: 1.6; }
.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}
.footer__contact a:hover { color: var(--amber-light); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer__bottom p:last-child { font-style: italic; }

@media (max-width: 768px) {
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
