/* CSS Custom Properties - Colors from AyurNails logo */
:root {
    --color-primary: #8faa9a;
    --color-secondary: #b89da8;
    --color-accent: #a3c4b3;
    --color-dark: #0a0a0a;
    --color-light: #1a1a1a;
    --color-white: #ffffff;
    --color-text: #e8e8e8;
    --color-text-muted: rgba(232, 232, 232, 0.7);
    
    /* Modern additions */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(143, 170, 154, 0.2);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-dark);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Scroll reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.reveal {
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }

/* Scroll reveal sections */
.reveal-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Individual element reveal animation (cards, etc.) */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up.reveal-delay {
    transition-delay: 0.1s;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: min(90%, 1200px);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Header & Navigation */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.header.scrolled .nav-links {
    display: none;
}

.header.scrolled .burger-menu {
    display: flex;
}

.header.menu-open {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-block: 1rem;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s var(--transition-smooth);
}

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

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.header.scrolled .burger-menu.active + .nav-links {
    display: flex;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        padding-block: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 101;
    }

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

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

/* Button */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(107, 142, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::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.5s var(--transition-smooth);
}

.btn:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 74, 66, 0.25);
}

.btn:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Ayurvedische-Massage-interlaken.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: blur(2px);
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, var(--color-dark) 100%);
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 5;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* Why Ayurveda Section */
.why-ayurveda {
    position: relative;
    padding-block: 5rem;
    padding-bottom: 8rem;
    background-color: var(--color-dark);
    text-align: center;
    overflow: hidden;
}

.why-ayurveda::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: min(540px, 45vw);
    height: min(540px, 45vw);
    background-image: url('../images/AyurNails-Interlaken-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .why-ayurveda::before {
        width: 60vw;
        height: 60vw;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.2;
    }
}

.why-ayurveda::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-light) 100%);
    pointer-events: none;
}


.why-ayurveda .container {
    position: relative;
    z-index: 1;
}

.why-ayurveda h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    color: var(--color-white);
}

.why-ayurveda p {
    max-width: 750px;
    margin-inline: auto;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.why-ayurveda .cta-text {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-top: 2.5rem;
    font-weight: 400;
}

/* Services Section */
.services {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--color-light);
    margin-bottom: -1px;
    position: relative;
    overflow: hidden;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-dark) 100%);
    pointer-events: none;
    z-index: 2;
}

.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.wave-background svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
}


.services h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 3.5rem;
    color: var(--color-white);
}

.services .container {
    max-width: 100%;
    width: 100%;
    padding-inline: 0;
    position: relative;
    z-index: 1;
}

.services .container h2 {
    padding-inline: 2rem;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-inline: 2rem;
}

.service-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 480px;
    height: 720px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.5s var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(61, 74, 66, 0.2);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, rgba(26, 26, 26, 0.8) 0%, transparent 20%),
        linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 30%);
    pointer-events: none;
}

.service-card:hover .service-overlay {
    background: 
        linear-gradient(to bottom, rgba(26, 26, 26, 0.6) 0%, transparent 15%),
        linear-gradient(to top, rgba(26, 26, 26, 0.7) 0%, transparent 25%);
}

.service-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.service-card:hover .service-content {
    transform: translateY(-10px);
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.service-card p {
    color: var(--color-white);
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 100%;
    padding-inline: 1rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 350px;
        height: 500px;
    }
}

/* About Section */
.about {
    padding-block: 6rem;
    background-color: var(--color-dark);
    text-align: center;
}

.about h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.about p {
    max-width: 650px;
    margin-inline: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* Contact Section */
.contact {
    position: relative;
    padding-block: 6rem;
    background-color: var(--color-dark);
    text-align: center;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, #050505 100%);
    pointer-events: none;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    color: var(--color-white);
}

.contact-info {
    background: linear-gradient(135deg, rgba(143, 170, 154, 0.1), rgba(184, 157, 168, 0.1));
    padding: 3rem;
    border-radius: 20px;
    max-width: 400px;
    margin-inline: auto;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(143, 170, 154, 0.15);
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    line-height: 1.8;
    color: var(--color-text);
}

.contact-info p strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
    display: block;
    margin-bottom: 1rem;
}

/* Service Page */
.service-page {
    position: relative;
    padding-block: 4rem;
    background: linear-gradient(
        to bottom,
        var(--color-dark) 0%,
        #1f1f1f 30%,
        #252525 50%,
        #1f1f1f 70%,
        var(--color-dark) 100%
    );
}

.service-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-dark) 100%);
    pointer-events: none;
}

.service-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
    align-items: start;
}

.service-text {
    padding-block: 2rem;
}

.service-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.service-text .intro {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.service-text p {
    color: var(--color-text-muted);
}

.service-text .cta-text {
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.service-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-option {
    padding: 1.5rem;
    background-color: var(--color-light);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
}

.service-option h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.service-option p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.service-option .price {
    font-weight: 500;
    color: var(--color-text);
    margin-top: 1rem;
}

.service-option .price span {
    float: right;
    color: var(--color-secondary);
}

.quality-note {
    background-color: var(--color-light);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(143, 170, 154, 0.15);
}

.quality-note p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.quality-note p strong {
    color: var(--color-primary);
}

.quality-note p:last-child {
    margin-bottom: 0;
}

/* About Page Certificate Box */
.about-certificate-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--color-light);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
}

.about-certificate-box h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.about-certificate-box img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.service-image {
    position: sticky;
    top: 100px;
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 60px 20px rgba(0, 0, 0, 0.8);
    mask-image: radial-gradient(ellipse 90% 90% at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, black 60%, transparent 100%);
}

@media (max-width: 900px) {
    .service-page-content {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-inline: 2rem;
    }

    .service-image {
        order: -1;
        position: static;
        width: 100%;
        text-align: center;
    }

    .service-image img {
        max-height: 450px;
        width: auto !important;
        max-width: 60% !important;
        object-fit: cover;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
    
    .service-text {
        text-align: left;
        width: 100%;
    }
    
    .about-certificate-box {
        text-align: left;
    }
}

/* Footer */
.footer {
    background-color: #050505;
    color: var(--color-white);
    padding-block: 2.5rem;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(143, 170, 154, 0.1);
}

.footer p {
    opacity: 0.6;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .services-grid {
        gap: 2rem;
        padding-inline: 1rem;
    }
    
    .service-card {
        width: 400px;
        height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .why-ayurveda h2,
    .services h2,
    .contact h2 {
        font-size: 2.2rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .nav {
        justify-content: flex-end;
        padding-block: 0.75rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
        z-index: 101;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .burger-menu {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        padding-block: 4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        padding-inline: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
        padding-inline: 1rem;
    }
    
    .why-ayurveda {
        padding-block: 3rem;
        padding-bottom: 5rem;
    }
    
    .why-ayurveda h2,
    .services h2,
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .why-ayurveda p {
        font-size: 0.95rem;
        line-height: 1.8;
        padding-inline: 0.5rem;
    }
    
    .why-ayurveda .cta-text {
        font-size: 1.1rem;
    }

    .services {
        padding-block: 3rem;
    }
    
    .services-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-inline: 1rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 350px;
        height: 450px;
    }
    
    .service-card h3 {
        font-size: 1.8rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .contact {
        padding-block: 3rem;
    }
    
    .contact-info {
        padding: 2rem;
        margin-inline: 1rem;
    }
    
    .footer {
        padding-block: 2rem;
    }
    
    /* Service pages mobile */
    .service-page {
        padding-block: 2rem;
    }
    
    .service-page-content {
        padding-inline: 1rem;
        gap: 2rem;
    }
    
    .service-text h1 {
        font-size: 2rem;
    }
    
    .service-text h2 {
        font-size: 1.5rem;
    }
    
    .service-text .intro {
        font-size: 0.95rem;
    }
    
    .service-option {
        padding: 1.25rem;
    }
    
    .service-option h3 {
        font-size: 1rem;
    }
    
    .service-image img {
        border-radius: 8px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .hero .subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
    }
    
    .service-card {
        height: 380px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .why-ayurveda h2,
    .services h2,
    .contact h2 {
        font-size: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}
