/* ===================================
   WILDFLOWER - Beauty & Hair Salon
   Vibrant Modern with Terracotta & Sand
=================================== */

/* CSS Custom Properties */
:root {
    --terracotta: #C4654A;
    --terracotta-dark: #A8523A;
    --terracotta-light: #D4846A;
    --sand: #F4E8D5;
    --sand-light: #FBF5EC;
    --sand-dark: #E8D5BC;
    --charcoal: #2D2D2D;
    --charcoal-light: #4A4A4A;
    --cream: #FFFAF5;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(45, 45, 45, 0.1);
    --shadow-lg: 0 10px 40px rgba(45, 45, 45, 0.15);
    --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(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', 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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Accent Color */
.accent {
    color: var(--terracotta);
}

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

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

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

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

.btn-outline:hover {
    background: var(--white);
    color: var(--terracotta);
    transform: translateY(-2px);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--sand);
    color: var(--terracotta);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
}

/* ===================================
   GEOMETRIC SHAPES
=================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--terracotta);
    top: -100px;
    right: -100px;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--sand-dark);
    bottom: 20%;
    left: -80px;
}

.geo-square-1 {
    width: 150px;
    height: 150px;
    background: var(--terracotta-light);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--sand);
    top: 60%;
    left: 3%;
    transform: rotate(-15deg);
}

/* ===================================
   NAVBAR
=================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-dark);
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--charcoal);
}

.logo svg {
    flex-shrink: 0;
}

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

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

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

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

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

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

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

.nav-cta:hover {
    background: var(--terracotta-dark);
    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(--charcoal);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 2px solid var(--sand-dark);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 12px 0;
    border-bottom: 1px solid var(--sand);
}

.mobile-menu a:last-child {
    border-bottom: none;
    background: var(--terracotta);
    color: var(--white);
    text-align: center;
    border-radius: 50px;
    padding: 14px;
}

/* ===================================
   HERO
=================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--terracotta) 0%, #D4846A 30%, var(--sand) 70%, var(--sand-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(196, 101, 74, 0.85) 0%,
        rgba(212, 132, 106, 0.7) 40%,
        rgba(244, 232, 213, 0.6) 100%
    );
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-title .accent {
    color: var(--sand);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hero Geometric Decorations */
.hero-geo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.geo-diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    top: 20%;
    left: 10%;
}

.geo-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 25%;
    right: 12%;
}

.geo-stripe {
    position: absolute;
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    top: 35%;
    right: 5%;
    transform: rotate(30deg);
}

/* ===================================
   SERVICES
=================================== */
.services {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    transition: var(--transition);
    border: 1px solid var(--sand-dark);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--sand);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--terracotta);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-card p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-tag {
    display: inline-block;
    background: var(--sand-light);
    color: var(--terracotta);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Geometric Accents */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

.geo-accent-1 {
    width: 200px;
    height: 200px;
    background: var(--sand);
    border-radius: 50%;
    top: 10%;
    left: -60px;
    opacity: 0.5;
}

.geo-accent-2 {
    width: 100px;
    height: 100px;
    background: var(--terracotta-light);
    transform: rotate(45deg);
    bottom: 15%;
    right: -30px;
    opacity: 0.3;
}

.geo-accent-3 {
    width: 150px;
    height: 150px;
    border: 3px solid var(--sand-dark);
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    opacity: 0.4;
}

.geo-accent-4 {
    width: 100px;
    height: 100px;
    background: var(--terracotta);
    transform: rotate(30deg);
    top: 20%;
    left: -40px;
    opacity: 0.2;
}

.geo-accent-5 {
    width: 60px;
    height: 60px;
    border: 3px solid var(--terracotta-light);
    transform: rotate(45deg);
    bottom: 30%;
    right: 10%;
    opacity: 0.4;
}

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

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge span {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-badge strong {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
}

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

.about-text {
    color: var(--charcoal-light);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

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

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ===================================
   GALLERY
=================================== */
.gallery {
    position: relative;
    padding: 100px 0;
    background: var(--sand-light);
    overflow: hidden;
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:nth-child(1) img,
.gallery-item:nth-child(4) img {
    height: 300px;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img,
.gallery-item:nth-child(5) img,
.gallery-item:nth-child(6) img {
    height: 200px;
}

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

.gallery-overlay span {
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

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

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

/* ===================================
   CTA
=================================== */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #3D3D3D 50%, var(--charcoal-light) 100%);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-title .accent {
    color: var(--terracotta-light);
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

/* CTA Geometric Decorations */
.cta-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-diamond-1 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(196, 101, 74, 0.3);
    transform: rotate(45deg);
    top: 15%;
    left: 8%;
}

.cta-diamond-2 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(244, 232, 213, 0.2);
    transform: rotate(30deg);
    bottom: 20%;
    right: 12%;
}

.cta-circle-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(244, 232, 213, 0.15);
    border-radius: 50%;
    top: 10%;
    right: 20%;
}

.cta-circle-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(196, 101, 74, 0.3);
    border-radius: 50%;
    bottom: 15%;
    left: 15%;
}

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

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

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--sand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.contact-item p,
.contact-item a {
    color: var(--charcoal-light);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--terracotta);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 32px;
    box-shadow: var(--shadow);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--sand-light);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--sand-dark);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--charcoal);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196, 101, 74, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

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

.form-success h4 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--charcoal-light);
}

/* ===================================
   FOOTER
=================================== */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 24px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

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

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

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

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

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

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(4) img {
        height: 200px;
    }
    
    .about-img-secondary {
        width: 150px;
        right: -10px;
        bottom: -20px;
    }
    
    .about-badge {
        left: -10px;
        top: -10px;
        padding: 14px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px !important;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square-1 {
        width: 80px;
        height: 80px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .service-card:hover {
        transform: translateY(-8px);
    }
    
    .gallery-item:hover img {
        transform: scale(1.1);
    }
}
