@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

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

.nav-logo {
    flex-shrink: 0;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.main-nav.scrolled .nav-logo-img {
    height: 40px;
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav.scrolled .nav-link {
    color: #2c2c2c;
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    opacity: 0.8;
}

.nav-cta-button {
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.main-nav.scrolled .nav-cta-button {
    background: #8b5a3b;
    border-color: #8b5a3b;
    color: #fff;
    text-shadow: none;
}

.nav-cta-button:hover {
    background: #fff;
    color: #8b5a3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-nav.scrolled .nav-cta-button:hover {
    background: #6d4429;
    border-color: #6d4429;
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.main-nav.scrolled .nav-toggle span {
    background: #2c2c2c;
}

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

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/c4.jpg');
    background-size: 85% auto;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f5e6d3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 90, 43, 0.72) 0%, 
        rgba(118, 82, 56, 0.77) 50%, 
        rgba(90, 58, 30, 0.82) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    max-width: 900px;
    margin: 0 auto;
}

.logo-container {
    animation: fadeIn 1.2s ease-out;
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.1;
}

.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-bottom: 2.5rem;
    color: #fff;
}

.hero-intro {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.9;
    max-width: 750px;
    margin: 0 auto 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.9s both;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.98);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cta-button:hover {
    background: #fff;
    color: #8b5a3b;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #fff;
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    animation: bounce 2s infinite;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.scroll-indicator svg {
    animation: bounceArrow 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f8f6f3 0%, #ffffff 50%, #f8f6f3 100%);
    position: relative;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #8b5a3b;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5a3b, transparent);
    border-radius: 2px;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
    text-align: center;
}

/* Services Section */
.services-section {
    position: relative;
    padding: 6rem 0;
    background-image: url('img/c4.jpg');
    background-size: 85% auto;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #f5e6d3;
    color: #fff;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 90, 43, 0.72) 0%, 
        rgba(118, 82, 56, 0.77) 50%, 
        rgba(90, 58, 30, 0.82) 100%);
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section .section-title {
    color: #fff;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-icon {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateZ(5deg);
}

.service-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.services-booking {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-booking.visible {
    opacity: 1;
    transform: translateY(0);
}

.booking-button-large {
    display: inline-block;
    padding: 1.35rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #a0704a 0%, #8b5a3b 50%, #6d4429 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(90, 58, 30, 0.4);
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.booking-button-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.booking-button-large:hover::before {
    left: 100%;
}

.booking-button-large:hover {
    background: linear-gradient(135deg, #6d4429 0%, #8b5a3b 50%, #a0704a 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(90, 58, 30, 0.5);
}

.booking-button-large:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 6px 20px rgba(90, 58, 30, 0.4);
}

.booking-button {
    cursor: pointer;
    border: none;
}

/* Portfolio Section */
.portfolio-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #faf9f7 0%, #f5f3f0 100%);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    aspect-ratio: 3/4;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.portfolio-item.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: scale(1.02) translateY(-8px);
}

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

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(90, 58, 30, 0.1) 50%, 
        rgba(90, 58, 30, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #f5f3f0 0%, #ffffff 50%, #f8f6f3 100%);
}

.contact-booking {
    margin-top: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.3rem;
    color: #8b5a3b;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border: 2.5px solid #8b5a3b;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #8b5a3b;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.contact-link:hover::before {
    width: 100%;
}

.contact-link:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(90, 58, 30, 0.35);
    border-color: #8b5a3b;
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #2c2c2c;
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-credit {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-credit a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        color: #2c2c2c;
        text-shadow: none;
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    .nav-cta-button {
        width: 100%;
        text-align: center;
        background: #8b5a3b;
        border-color: #8b5a3b;
        text-shadow: none;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .service-card-treatments {
        display: none;
    }

    .hero-section {
        background-attachment: scroll;
        background-size: 100%;
        background-position: center center;
        min-height: 100vh;
    }

    .services-section {
        background-attachment: scroll;
        background-size: 100%;
    }

    .about-section,
    .portfolio-section,
    .contact-section {
        padding: 5rem 0;
    }

    .services-section {
        padding: 4rem 0;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        gap: 1.5rem;
    }

    .contact-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.8rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2.5rem;
        font-size: 1.05rem;
    }

    .hero-intro {
        margin-bottom: 2rem;
    }

    .booking-button-large {
        padding: 1.15rem 2.5rem;
        font-size: 1.15rem;
        width: 100%;
        max-width: 320px;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .service-name {
        font-size: 1.15rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 35px;
    }

    .hero-title {
        font-size: 2.75rem;
        letter-spacing: 1.5px;
    }

    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .logo {
        max-width: 130px;
    }

    .hero-intro {
        font-size: 1rem;
        margin-bottom: 1.75rem;
        line-height: 1.75;
    }

    .cta-button {
        padding: 0.95rem 2rem;
        font-size: 1rem;
    }

    .booking-button-large {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }

    .about-text {
        font-size: 1.05rem;
    }

    .contact-link {
        font-size: 1rem;
        padding: 0.9rem 1.75rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        font-size: 2.25rem;
        margin-bottom: 0.65rem;
    }

    .service-name {
        font-size: 1.05rem;
        letter-spacing: 0.3px;
    }

    .about-section,
    .portfolio-section,
    .contact-section {
        padding: 4rem 0;
    }

    .services-section {
        padding: 3rem 0;
    }

    .services-grid {
        margin-top: 1.5rem;
    }

    .services-booking {
        margin-top: 2rem;
    }
}

/* Smooth transitions for service cards */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
