/* ===================================
   Misty's Cuts and Curls - Styles
   Deep Navy + Warm Gold Palette
   =================================== */

/* CSS Variables */
:root {
    --navy-900: #0A192F;
    --navy-800: #112240;
    --navy-700: #1a365d;
    --navy-600: #234e82;
    --gold-400: #D4AF37;
    --gold-500: #C9A227;
    --gold-600: #B8941F;
    --cream-50: #FAFAF8;
    --cream-100: #F5F5F0;
    --cream-200: #E8E8E0;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.08);
    --shadow-md: 0 8px 30px rgba(10, 25, 47, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 25, 47, 0.15);
    --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Decorative Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.bg-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gold-400);
    top: -200px;
    right: -200px;
}

.bg-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--navy-700);
    bottom: 20%;
    left: -100px;
}

.bg-shape.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--gold-400);
    bottom: -100px;
    right: 10%;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gold Text Utility */
.gold {
    color: var(--gold-400);
}

/* Section Tags */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-500);
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

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

.btn-primary:hover {
    background: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

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

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

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 25, 47, 0.08);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-900);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--gold-400);
}

.logo-text {
    font-family: 'Playfair Display', serif;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--navy-900);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

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

/* Mobile Toggle */
.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(--navy-900);
    transition: 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);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out 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);
    color: var(--navy-900);
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 480px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
}

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

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

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

/* Floating Stat Cards */
.stat-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.stat-card-1 {
    top: 10%;
    left: -40px;
    animation-delay: 0s;
}

.stat-card-2 {
    bottom: 25%;
    right: -30px;
    animation-delay: 1s;
}

.stat-card-3 {
    bottom: 8%;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    flex-shrink: 0;
}

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

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

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

.service-card {
    background: var(--cream-50);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-400);
    background: var(--white);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    color: var(--navy-900);
}

.service-title {
    font-size: 1.25rem;
    color: var(--navy-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--cream-50);
    overflow: hidden;
}

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

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    height: 600px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    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-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

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

.about-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold-400);
    color: var(--navy-900);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.badge-number {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
}

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

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--navy-900);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--navy-900);
}

.gallery .section-tag {
    background: rgba(212, 175, 55, 0.2);
}

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

.gallery .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, transparent 100%);
    color: var(--white);
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--cream-100);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-md);
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 32px;
}

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

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

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    flex-shrink: 0;
}

.contact-text-item strong {
    display: block;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.contact-text-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text-item a {
    color: var(--gold-500);
}

.contact-text-item a:hover {
    color: var(--gold-600);
    text-decoration: underline;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--cream-200);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

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

.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: 40px;
    color: var(--navy-900);
}

.form-success svg {
    color: var(--gold-400);
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-medium);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    position: relative;
    z-index: 1;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

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

.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

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

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .stat-card-1 {
        left: -20px;
    }

    .stat-card-2 {
        right: -10px;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-stack {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: flex;
    }

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

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .stat-card {
        padding: 12px 16px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .stat-number {
        font-size: 0.95rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

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

    .about-image-stack {
        height: 400px;
    }

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

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

    .contact-wrapper {
        padding: 24px;
    }

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

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

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .stat-card {
        display: none;
    }

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
