/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    background: #fefefe;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(218, 112, 149, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: #da7095;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #da7095;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #da7095;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #da7095;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #f5d0e0 0%, #f2c4d6 50%, #efb8cc 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerSweep 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #2d2d2d;
    font-weight: 300;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #da7095;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

.salon-note {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(184, 90, 122, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
    color: #b85a7a;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(184, 90, 122, 0.1);
    position: relative;
    overflow: hidden;
}

.salon-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: boutiquePill 2.5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes boutiquePill {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ===== BUTTONS ===== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #da7095 0%, #c084a1 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(218, 112, 149, 0.3);
}

.btn-outline {
    background: transparent;
    color: #da7095;
    border: 2px solid #da7095;
}

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

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 0;
    background: white;
}

.section-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2d2d2d;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    color: #da7095;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

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

.service-card {
    background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(218, 112, 149, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 112, 149, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 112, 149, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d2d2d;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2d2d2d;
    font-weight: 300;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-image {
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(218, 112, 149, 0.2);
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(218, 112, 149, 0.1) 0%, rgba(192, 132, 161, 0.1) 100%);
    z-index: 1;
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #da7095;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
}

/* ===== CONNECT SECTION ===== */
.connect {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    color: white;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.connect-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(218, 112, 149, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.connect-card:hover {
    transform: translateY(-5px);
    background: rgba(218, 112, 149, 0.1);
}

.connect-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #da7095;
}

.connect-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.connect-card a {
    color: #da7095;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.connect-card a:hover {
    color: #f8fafc;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(218, 112, 149, 0.1);
}

/* Portfolio Category Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #da7095;
    color: #da7095;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #da7095;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 112, 149, 0.3);
}

/* Portfolio Gallery Grid */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(218, 112, 149, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(218, 112, 149, 0.2);
}

.portfolio-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

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

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

.portfolio-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(218, 112, 149, 0.8), rgba(218, 112, 149, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Loading Skeleton Animation */
.portfolio-loading {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.loading-skeleton {
    aspect-ratio: 1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 15px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Portfolio Lightbox Modal */
.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.portfolio-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image-container {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
}

.lightbox-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.lightbox-picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 70vh;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(218, 112, 149, 0.8);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(218, 112, 149, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.lightbox-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

.lightbox-info p {
    margin: 0;
    color: #da7095;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Portfolio Item Categories */
.portfolio-item[data-category="hair"] {
    border-top: 3px solid #da7095;
}

.portfolio-item[data-category="lashes"] {
    border-top: 3px solid #8e44ad;
}

/* Filter Animation */
.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    border-top: 1px solid rgba(218, 112, 149, 0.2);
    padding-top: 2rem;
}

.footer-link {
    color: #da7095;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

/* ===== FLOWER ANIMATION ===== */
.flower {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 1000;
    animation: flowerPop 2s ease-out forwards;
    user-select: none;
}

@keyframes flowerPop {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    20% {
        transform: scale(1.2) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.8) rotate(180deg) translateY(-100px);
        opacity: 0;
    }
}

.flower.variant-1 {
    animation: flowerFloat1 2.5s ease-out forwards;
}

.flower.variant-2 {
    animation: flowerFloat2 2.2s ease-out forwards;
}

.flower.variant-3 {
    animation: flowerFloat3 2.8s ease-out forwards;
}

@keyframes flowerFloat1 {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    15% {
        transform: scale(1.3) rotate(30deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.6) rotate(360deg) translateY(-120px) translateX(30px);
        opacity: 0;
    }
}

@keyframes flowerFloat2 {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    20% {
        transform: scale(1.1) rotate(-45deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.7) rotate(-180deg) translateY(-90px) translateX(-20px);
        opacity: 0;
    }
}

@keyframes flowerFloat3 {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    18% {
        transform: scale(1.4) rotate(60deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.5) rotate(270deg) translateY(-140px) translateX(10px);
        opacity: 0;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .header-content {
        flex-direction: row;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        font-size: 1.2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 500;
    }

    /* Portfolio Mobile Styles */
    .portfolio-gallery,
    .portfolio-loading {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .portfolio-filters {
        gap: 0.5rem;
        margin: 1.5rem 0;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }

    .lightbox-info {
        padding: 1rem;
    }

    .lightbox-info h3 {
        font-size: 1rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .flower {
        font-size: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .portfolio-item {
        padding: 1.5rem;
    }
    
    .portfolio-icon {
        font-size: 2.5rem;
    }
}

/* ===== SPARKLE ANIMATIONS ===== */
.sparkle {
    position: fixed;
    pointer-events: none;
    user-select: none;
    z-index: 1000;
}

@keyframes sparkleOut {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 1;
    }
    20% {
        transform: translate(calc(var(--end-x) * 0.2), calc(var(--end-y) * 0.2)) scale(1) rotate(90deg);
        opacity: 1;
    }
    80% {
        transform: translate(calc(var(--end-x) * 0.8), calc(var(--end-y) * 0.8)) scale(1.2) rotate(270deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) scale(0) rotate(360deg);
        opacity: 0;
    }
}