/* ========================================
   AMELIA WITTMER BEATHY SALON
   Bold Editorial Style
   Deep Navy + Warm Gold Palette
   ======================================== */

/* CSS Custom Properties */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f2140;
    --navy-700: #162d54;
    --navy-600: #1e3a6b;
    --navy-500: #264a82;
    
    --gold-500: #C9A961;
    --gold-400: #D4B872;
    --gold-300: #E0C985;
    --gold-600: #B8944E;
    
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --cream: #FDF9F3;
    --gray-100: #F5F5F3;
    --gray-200: #E8E6E1;
    --gray-300: #D1CFC9;
    --gray-400: #A8A59E;
    --gray-500: #7A7770;
    --gray-600: #5C5954;
    --gray-700: #3D3A36;
    --gray-800: #2A2724;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

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

.nav-logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gold-500);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-300);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-900);
    background: var(--gold-500);
    padding: 10px 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

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

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/7447123/pexels-photo-7447123.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(15, 33, 64, 0.85) 50%,
        rgba(10, 22, 40, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-accent {
    color: var(--gold-500);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 0;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold-500);
    color: var(--gold-500);
}

.btn-dark {
    background: var(--navy-900);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-700);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-gold:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
}

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

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold-500), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-600);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-line {
    width: 60px;
    height: 2px;
    background: var(--gold-500);
    margin: 0 auto;
}

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

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

.service-card {
    padding: 48px 36px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold-500);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--navy-900);
    overflow: hidden;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-500);
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content .section-eyebrow {
    color: var(--gold-500);
    text-align: left;
}

.about-content .section-title {
    color: var(--white);
    text-align: left;
}

.about-content .section-line {
    margin: 0 0 40px 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-500);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-content .btn-dark {
    margin-top: 16px;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: 120px 0;
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 5; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 5; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--gold-500);
    padding-bottom: 4px;
}

/* ========================================
   TESTIMONIAL SECTION
   ======================================== */
.testimonial {
    padding: 120px 0;
    background: var(--navy-800);
    position: relative;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--gold-500);
    margin-bottom: 32px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 40px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.05em;
}

.testimonial-location {
    font-size: 0.8125rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-top: 8px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-500);
    border: 1px solid var(--gray-200);
}

.contact-details h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-details a {
    color: var(--gray-600);
    border-bottom: 1px solid transparent;
}

.contact-details a:hover {
    color: var(--gold-600);
    border-bottom-color: var(--gold-600);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

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

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    padding: 14px 16px;
    outline: none;
    transition: var(--transition-fast);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: var(--white);
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    gap: 16px;
}

.form-success svg {
    color: var(--gold-500);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

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

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-500);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--gold-500);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement — only below fold)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        gap: 48px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .gallery-item:nth-child(1) { grid-column: span 3; }
    .gallery-item:nth-child(2) { grid-column: span 3; }
    .gallery-item:nth-child(3) { grid-column: span 3; }
    .gallery-item:nth-child(4) { grid-column: span 3; }
    .gallery-item:nth-child(5) { grid-column: span 6; }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-image-accent {
        top: -12px;
        right: -12px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: span 1;
    }
    
    .gallery-item:nth-child(5) {
        grid-column: span 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services, .about, .gallery, .testimonial, .contact {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: span 1;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}
