/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    left: 0;
    right: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    left: 0;
    right: 0;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 123, 167, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Ensure page content is centered on load */
.page-wrapper {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Force sections to maintain visibility */
section {
    scroll-snap-align: start;
    /* Ensure content is always visible */
    visibility: visible;
    opacity: 1;
    /* Gentle overflow control */
    overflow: visible;
}

/* Prevent scroll contexts from forming in sections */
section {
    transform: translateZ(0);
    will-change: auto;
    /* Simple overflow control to prevent scroll contexts */
    overflow: visible;
    /* Ensure content is always accessible */
    min-height: fit-content;
    display: block;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.header-hidden {
    transform: translateY(-100%);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    object-fit: cover;
    opacity: 1 !important;
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff7ba7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-right: 2rem;
}

.nav-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.8rem;
}

.nav-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.nav-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.nav-facebook {
    background: #1877f2;
}

.nav-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background: url('./assets/salon.jpg');
    background-size: cover;
    background-position: center center;
    filter: brightness(1.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: 1;
    max-width: 100vw;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Scrolling nail images */
.scrolling-nails {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
    z-index: 50;
    pointer-events: none;
}

.scrolling-nails-container {
    display: flex;
    gap: 3rem;
    animation: scrollNails 90s linear infinite;
    width: max-content;
    align-items: center;
    height: 100%;
    will-change: transform;
    position: relative;
    -webkit-animation: scrollNails 90s linear infinite;
    -moz-animation: scrollNails 90s linear infinite;
    -o-animation: scrollNails 90s linear infinite;
}

.scrolling-nail {
    width: 250px;
    height: 250px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    position: relative;
    opacity: 1;
    visibility: visible;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.scrolling-nail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scrolling-nail img:not([src]), 
.scrolling-nail img[src=""],
.scrolling-nail img[src*="data:image/svg+xml"] {
    opacity: 0;
}

.scrolling-nail img:not([src]) + .scrolling-nail::before,
.scrolling-nail img[src=""] + .scrolling-nail::before,
.scrolling-nail img[src*="data:image/svg+xml"] + .scrolling-nail::before {
    opacity: 1;
}

.scrolling-nail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 300px;
    min-height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

@keyframes scrollNails {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollNailsMobile {
    0% {
        transform: translateX(0) translateZ(0);
    }
    100% {
        transform: translateX(-50%) translateZ(0);
    }
}


.hero-content {
    position: relative;
    z-index: 100;
    max-width: 600px;
    padding: 1.5rem 2rem;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    z-index: -1;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: white;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Gift Certificate Info */
.gift-certificate-info {
    margin-top: 1rem;
    text-align: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.gift-certificate-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gift-certificate-banner {
    background: linear-gradient(135deg, rgba(255, 123, 167, 0.1), rgba(212, 85, 121, 0.1));
    border: 1px solid rgba(255, 123, 167, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 123, 167, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gift-certificate-banner p {
    color: #ff7ba7;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.btn-facebook {
    background: #1877f2;
    color: white;
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Spacer */
.hero-spacer {
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 0;
    background: transparent;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    background: white;
    z-index: 1;
    /* Ensure content fits without creating scroll contexts */
    box-sizing: border-box;
    /* Prevent scroll contexts during animations */
    overflow: visible;
    min-height: fit-content;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* About Section */
.about {
    background: #fafafa;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-awards {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.about-awards h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mark-photo {
    width: 700px;
    height: 700px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid #ff7ba7;
    box-shadow: 0 8px 25px rgba(255, 123, 167, 0.3);
    display: block;
    max-width: 100%;
    height: auto;
}

.awards-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.award-detail {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff7ba7;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Services Section */
.services {
    background: white;
}

.services-featured {
    text-align: center;
    margin-bottom: 2rem;
}

.services-featured h3 {
    color: #ff7ba7;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: 1rem;
}

.services-featured .btn {
    margin-top: 0.5rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.feature {
    background: rgba(255, 123, 167, 0.1);
    color: #ff7ba7;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 123, 167, 0.2);
}

.service-price {
    display: inline-block;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    background: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile responsive gallery - side by side on small screens */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Mobile responsive gallery items */
@media (max-width: 768px) {
    .gallery-item {
        border-radius: 10px;
        font-size: 1rem;
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        border-radius: 8px;
        font-size: 0.9rem;
        min-height: 120px;
    }
}

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

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

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

.gallery-more {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    border-top: 1px solid #f0f0f0;
}

.gallery-more p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.gallery-more .btn {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.lightbox-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox-content {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    object-fit: contain;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    transform: translateY(-2px);
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    transform: scale(1.1);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 150px;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    background: #fafafa;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #ff7ba7;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-item:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.author-service {
    color: #ff7ba7;
    font-size: 0.8rem;
}





/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .testimonial-item {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        padding: 0 0.5rem;
    }
    
    .testimonial-item {
        padding: 0.875rem 1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
}

/* Hours Section */
.hours {
    background: #fafafa;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hours-day {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 0.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.hours-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hours-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 123, 167, 0.2);
}

.hours-day:hover::before {
    transform: scaleX(1);
}

.day {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time {
    color: #666;
    font-size: 0.75rem;
    font-weight: 500;
}

.hours-note {
    text-align: center;
    background: linear-gradient(135deg, #ff7ba7, #d45579);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 123, 167, 0.3);
}

.hours-note p {
    color: white;
    margin: 0;
}

.hours-note i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Location Section */
.location {
    background: white;
}

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

.location-info {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.location-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.1);
}

.location-item i {
    font-size: 1.5rem;
    color: #ff7ba7;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.location-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.location-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.location-map {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    background: #fafafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-embeds {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.instagram-embed,
.facebook-embed {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.facebook-embed {
    background: #f8f9fa;
}

.facebook-embed h3 {
    color: #1877f2;
}

.instagram-embed h3 {
    color: #e4405f;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff7ba7;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    min-height: 80px;
    flex: 1;
    min-width: 250px;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.25rem;
    color: #ff7ba7;
    min-width: 20px;
    text-align: center;
}

.contact-item h3 {
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff7ba7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #ff7ba7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #d45579;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
    will-change: opacity, transform;
    /* Prevent scroll contexts during animation */
    overflow: visible;
}

.fade-in-up.animate,
.fade-in-up[style*="opacity: 1"] {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.slide-in-left {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.slide-in-left.animate {
    opacity: 1;
    transform: scale(1);
}

.slide-in-right {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.slide-in-right.animate {
    opacity: 1;
    transform: scale(1);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    .container {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Fix section scrolling issues on mobile */
    section {
        height: auto;
        max-height: none;
    }
    
    .services, .gallery, .testimonials, .location {
        height: auto;
        max-height: none;
    }
    
    .services-grid, .gallery-grid, .testimonials-grid, .location-content {
        height: auto;
        max-height: none;
    }
    
    /* Fix hero scrolling on mobile */
    .hero {
        position: fixed;
        height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-spacer {
        height: 100vh;
    }
    .nav-menu {
        position: fixed;
        left: 0;
        top: -100vh;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    


    .nav-menu.active {
        top: 70px;
    }

    .nav-toggle {
        display: flex;
        padding-right: 1rem;
    }
    
    .nav-social {
        display: none;
    }
    
    .nav-logo-img {
        height: 32px;
        opacity: 1 !important;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-logo {
        padding-left: 1rem;
    }
    
    /* Mobile social media button styling */
    .nav-social-btn {
        width: auto;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        display: inline-block;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
        color: white;
        font-weight: 600;
        text-align: center;
    }
    
    .nav-instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        color: white;
    }
    
    .nav-facebook {
        background: #1877f2;
        color: white;
    }
    
    .nav-social-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        margin-top: 0;
        z-index: 10;
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 90vw;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .scrolling-nails {
        display: none;
    }
    
    .scrolling-nail {
        display: none;
    }
    
    .scrolling-nail img {
        display: none;
    }
    
    .scrolling-nails-container {
        display: none;
    }
    
    /* Fallback for when animations are disabled */
    .scrolling-nails-container.no-animation {
        animation: none;
        -webkit-animation: none;
        -moz-animation: none;
        -o-animation: none;
        transform: translateX(0);
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-awards {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .mark-photo {
        width: 300px;
        height: 300px;
    }

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

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



    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hours-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }

    .hours-day {
        padding: 0.8rem 0.3rem;
    }

    .day {
        font-size: 0.75rem;
    }

    .time {
        font-size: 0.65rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-embeds {
        gap: 1.5rem;
    }
    
    .instagram-embed,
    .facebook-embed {
        padding: 1rem;
    }

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
        height: auto;
        max-height: none;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-logo-img {
        height: 28px;
        opacity: 1 !important;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .nav-logo {
        gap: 0.5rem;
    }
}

/* Services Menu Page Styles */
.services-menu {
    padding: 3rem 0 2rem 0;
    background: white;
    margin-top: 40px;
}

.menu-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

/* Services page header override */
body:has(.services-menu) .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.menu-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.menu-header p {
    color: #666;
    font-size: 1.1rem;
}

.menu-section {
    margin-bottom: 1.5rem;
}

.menu-section h2 {
    color: #ff7ba7;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #ff7ba7;
    padding-bottom: 0.5rem;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.service-price {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    background: #ff7ba7;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.spa-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.spa-item {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ff7ba7;
}

.spa-item h3 {
    color: #ff7ba7;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.spa-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.spa-item p:last-child {
    margin-bottom: 0;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #ff7ba7;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .hero-scroll,
    .btn,
    .social-links {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    body {
        color: black;
        background: white;
    }
} 