/* ============================================
   RejuV U — Beauty & Hair Salon
   Charcoal + Coral | Confident Corporate
   ============================================ */

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

:root {
    --charcoal-900: #0f0f1a;
    --charcoal-800: #1a1a2e;
    --charcoal-700: #2a2a3e;
    --charcoal-600: #3a3a4e;
    --charcoal-500: #4a4a5e;
    --charcoal-400: #6a6a7e;
    --charcoal-300: #9a9aae;
    --charcoal-200: #c8c8d8;
    --charcoal-100: #ececf4;
    --charcoal-50:  #f6f6fb;

    --coral-500: #ff6b4a;
    --coral-400: #ff8566;
    --coral-300: #ffa082;
    --coral-600: #e5553a;
    --coral-700: #c44428;

    --white: #ffffff;
    --off-white: #f9f9fc;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(15,15,26,0.08);
    --shadow-md: 0 4px 16px rgba(15,15,26,0.10);
    --shadow-lg: 0 8px 32px rgba(15,15,26,0.14);
    --shadow-xl: 0 16px 48px rgba(15,15,26,0.18);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

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

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

body {
    font-family: var(--font-body);
    color: var(--charcoal-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,74,0.35);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal-800);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-300);
}

.btn-outline-dark:hover {
    background: var(--charcoal-800);
    color: var(--white);
    border-color: var(--charcoal-800);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,26,46,0.08);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--coral-500);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--charcoal-800);
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--coral-500);
    background: rgba(255,107,74,0.06);
}

.header-cta {
    display: flex;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(26,26,46,0.08);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    max-height: 400px;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
}

.mobile-nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mobile-nav-link:hover {
    background: rgba(255,107,74,0.06);
    color: var(--coral-500);
}

.mobile-nav-cta {
    margin-top: 8px;
    justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--charcoal-900);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,107,74,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,107,74,0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(100,100,140,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,74,0.12);
    color: var(--coral-400);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255,107,74,0.2);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.text-coral {
    color: var(--coral-500);
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--charcoal-300);
    margin-bottom: 40px;
    max-width: 520px;
}

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

.hero-visual {
    position: relative;
}

.hero-card-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 480/560;
}

.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.stat-card--accent {
    bottom: -20px;
    left: -30px;
    background: var(--charcoal-800);
    border: 1px solid rgba(255,255,255,0.08);
}

.stat-card--accent .stat-number {
    color: var(--coral-400);
}

.stat-card--accent .stat-label {
    color: var(--charcoal-200);
}

.stat-card--coral {
    top: 40px;
    right: -24px;
    background: var(--coral-500);
}

.stat-card--coral .stat-label {
    color: var(--white);
}

.stat-card--white {
    top: -16px;
    left: 20px;
    background: var(--white);
}

.stat-card--white .stat-number {
    color: var(--charcoal-800);
}

.stat-card--white .stat-label {
    color: var(--charcoal-500);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal-800);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--charcoal-500);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(26,26,46,0.06);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,107,74,0.2);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,107,74,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-800);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--charcoal-500);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 520/640;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
    aspect-ratio: 320/280;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    max-width: 520px;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--charcoal-500);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--charcoal-100);
    border-bottom: 1px solid var(--charcoal-100);
}

.about-stat {
    flex: 1;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal-800);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--charcoal-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--charcoal-200);
    flex-shrink: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--charcoal-900);
}

.gallery .section-title {
    color: var(--white);
}

.gallery .section-desc {
    color: var(--charcoal-300);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    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.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,26,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--charcoal-800);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(255,107,74,0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,107,74,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-box {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-box .section-label {
    margin-bottom: 16px;
}

.cta-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--charcoal-300);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal-500);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,107,74,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--coral-500);
}

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-800);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.5;
}

.contact-detail a:hover {
    color: var(--coral-500);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26,26,46,0.06);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26,26,46,0.06);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-800);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--charcoal-800);
    background: var(--charcoal-50);
    border: 1.5px solid var(--charcoal-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--charcoal-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255,107,74,0.1);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    margin-bottom: 16px;
}

.form-success p {
    font-size: 1rem;
    color: var(--charcoal-700);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal-900);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--charcoal-400);
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-300);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a,
.footer-col li {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--coral-400);
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--charcoal-500);
}

.footer-bottom a {
    color: var(--charcoal-400);
}

.footer-bottom a:hover {
    color: var(--coral-400);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 48px;
    }

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

    .about-grid {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .stat-card--accent {
        left: 0;
        bottom: -16px;
    }

    .stat-card--coral {
        right: 0;
        top: 24px;
    }

    .stat-card--white {
        left: 8px;
        top: -12px;
    }

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

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

    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-img-accent {
        right: -16px;
        bottom: -20px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

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

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

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-stat-divider {
        width: 48px;
        height: 1px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
