/* ===================================
   Peggy's Hair Boutique - Styles
   Bold Editorial Style
   Navy + Gold Palette
=================================== */

:root {
    --navy: #0F172A;
    --navy-light: #1E293B;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray: #64748B;
    --light-gray: #E2E8F0;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--white);
}

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

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

.serif-italic {
    font-style: italic;
    font-weight: 400;
}

.gold-text {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo .gold {
    color: var(--gold);
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    font-size: 15px;
}

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

.btn-nav {
    padding: 10px 24px;
    background-color: var(--gold);
    color: var(--navy) !important;
    border-radius: 4px;
    font-weight: 700;
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 32px;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .serif-italic {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--gold);
    animation: scrollLine 2s infinite;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--navy);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
}

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

/* About Section */
.about {
    background-color: var(--off-white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--gold);
    border-radius: 8px;
    z-index: -1;
}

.about-content .lead {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 48px;
    color: var(--gold);
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--off-white);
    padding: 40px 32px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

.mt-5 {
    margin-top: 40px;
}

/* Gallery Section */
.gallery {
    background-color: var(--navy);
    padding: 100px 0;
}

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

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:nth-child(1) {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.gallery-item:nth-child(4) {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

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

/* Contact Section */
.contact {
    background-color: var(--off-white);
}

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

.contact-desc {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.info-item h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: var(--navy);
}

.info-item p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

.info-item a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--navy);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--navy);
    transition: var(--transition);
    background-color: var(--off-white);
}

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

.form-note {
    font-size: 13px;
    color: var(--gray);
    margin-top: 16px;
    text-align: center;
}

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

.success-message.hidden {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--navy);
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--navy);
}

.success-message p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* Map */
.map-container {
    height: 400px;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background-color: var(--navy);
    padding: 60px 0 20px;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

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

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-img {
        height: 400px;
    }
    
    .about-accent {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4) {
        grid-row: span 1;
        aspect-ratio: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
