/* ============================================
   A Hair Different — Styles
   Charcoal + Coral Palette
   ============================================ */

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

:root {
    --charcoal-900: #1a1a2e;
    --charcoal-800: #2d2d44;
    --charcoal-700: #3d3d5c;
    --charcoal-600: #4a4a6a;
    --charcoal-500: #5a5a7a;
    
    --coral-50: #fff5f0;
    --coral-100: #ffe8dc;
    --coral-200: #ffd0b8;
    --coral-300: #ffb088;
    --coral-400: #ff8a55;
    --coral-500: #ff6b35;
    --coral-600: #e85a2a;
    --coral-700: #c44720;
    
    --warm-white: #faf8f6;
    --warm-cream: #f5f0eb;
    --warm-light: #ede7e0;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #7a7a9a;
    --text-light: #ffffff;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.12);
    --shadow-xl: 0 16px 60px rgba(26, 26, 46, 0.16);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

em {
    font-style: italic;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--coral-500);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 16px;
}

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

/* ---- Header ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 246, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    transition: box-shadow var(--transition-base);
}

.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;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--charcoal-900);
}

.logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--coral-500);
    border-radius: var(--radius-sm);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

.nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal-800);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.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);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link:hover {
    color: var(--coral-600);
    background: var(--coral-50);
}

.nav__link--cta {
    background: var(--coral-500);
    color: white;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--coral-600);
    color: white;
}

/* ---- Hero ---- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--warm-cream) 50%, var(--coral-50) 100%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--coral-600);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--charcoal-900);
}

.hero__title-accent {
    color: var(--coral-500);
    font-style: italic;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero__trust-item svg {
    color: var(--coral-500);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral-200);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

.hero__floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero__floating-card-icon {
    width: 44px;
    height: 44px;
    background: var(--coral-500);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero__floating-card-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-900);
}

.hero__floating-card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral-500);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn--primary:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.btn--ghost {
    background: white;
    color: var(--charcoal-800);
    box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
    background: var(--warm-cream);
    transform: translateY(-2px);
}

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

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

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.section-header__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-header__desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Services ---- */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.service-card:hover {
    background: white;
    border-color: var(--coral-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--coral-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--coral-500);
    color: white;
}

.service-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal-900);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- About ---- */
.about {
    padding: 100px 0;
    background: var(--warm-cream);
}

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

.about__image-stack {
    position: relative;
}

.about__image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about__image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--warm-cream);
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--coral-500);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about__experience-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.about__experience-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 4px;
}

.about__content-side {
    padding: 20px 0;
}

.about__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 24px;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

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

.about__value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--coral-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
}

.about__value strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--charcoal-900);
    margin-bottom: 2px;
}

.about__value span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ---- Gallery ---- */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: white;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-style: italic;
}

/* ---- Contact ---- */
.contact {
    padding: 100px 0;
    background: var(--charcoal-900);
}

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

.contact .section-header__tag {
    color: var(--coral-300);
}

.contact__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: white;
    margin-bottom: 16px;
}

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

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

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

.contact__detail a,
.contact__detail span {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
}

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

/* ---- Form ---- */
.contact__form-side {
    background: var(--charcoal-800);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact__form-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 28px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-500);
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    background: var(--charcoal-900);
    border: 1px solid var(--charcoal-700);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input::placeholder {
    color: var(--charcoal-600);
}

.form__input:focus {
    outline: none;
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%237a7a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form__select option {
    background: var(--charcoal-900);
    color: white;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---- Success Message ---- */
.contact__success {
    text-align: center;
    padding: 40px 20px;
}

.contact__success-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--coral-400);
}

.contact__success-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 12px;
}

.contact__success p {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
}

/* ---- Footer ---- */
.footer {
    background: var(--charcoal-900);
    border-top: 1px solid var(--charcoal-800);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__tagline {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact a {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer__contact p {
    color: var(--charcoal-500);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer__bottom {
    border-top: 1px solid var(--charcoal-800);
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    color: var(--charcoal-600);
    font-size: 0.8125rem;
}

/* ---- Scroll Reveal (Progressive Enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero__inner {
        gap: 40px;
    }
    
    .about__inner {
        gap: 48px;
    }
    
    .contact__inner {
        gap: 48px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid rgba(26, 26, 46, 0.06);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav__link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav__link--cta {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
    }
    
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__trust {
        justify-content: center;
    }
    
    .hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero__floating-card {
        left: 10px;
        bottom: 20px;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
    }
    
    .about__image-stack {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about__image-secondary {
        right: -20px;
        bottom: -20px;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery__item--wide {
        grid-column: span 2;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
    }
    
    .contact__form-side {
        padding: 28px;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__floating-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery__item,
    .gallery__item--large,
    .gallery__item--wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 240px;
    }
}
