/* ==========================================
   Thansinee Thaimassage - Stylesheet
   Farbschema: Lila / Violett Töne
   ========================================== */

/* ==========================================
   CSS Variables
   ========================================== */
:root {
    --primary-color: #7B2CBF;
    --primary-dark: #5A189A;
    --primary-light: #9D4EDD;
    --accent-color: #C77DFF;
    --accent-light: #E0AAFF;
    --text-dark: #2D1B4E;
    --text-light: #6B5B7C;
    --background-light: #F8F5FF;
    --white: #FFFFFF;
    --shadow: rgba(123, 44, 191, 0.15);
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

h4 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Header & Navigation
   ========================================== */
header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        box-shadow: -2px 0 10px var(--shadow);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    height: 600px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.8) 0%, rgba(90, 24, 154, 0.9) 100%),
                url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================
   Gallery Section (Carousel)
   ========================================== */
.gallery {
    padding: 80px 0;
    background-color: var(--background-light);
}

.gallery-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    aspect-ratio: 3 / 4;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-caption {
    background: linear-gradient(135deg, rgba(90, 24, 154, 0.95), rgba(123, 44, 191, 0.95));
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.slide-caption h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.slide-caption p {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin: 0;
    line-height: 1.6;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--white);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--background-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   Prices Section
   ========================================== */
.prices {
    padding: 80px 0;
    background-color: var(--background-light);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.price-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: scale(1.03);
}

.price-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-card h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.price-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: 10px;
}

.price-item span {
    color: var(--text-light);
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    height: 450px;
}

.contact-map iframe {
    border-radius: 15px;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* ==========================================
   Legal Pages (Impressum, Datenschutz)
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .divider {
    background: linear-gradient(90deg, var(--accent-light), var(--white));
}

.legal-content {
    padding: 60px 0;
    background-color: var(--background-light);
}

.legal-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-box h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--background-light);
}

.legal-box h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-box h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-box ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.legal-box ul li {
    margin-bottom: 0.5rem;
}

.legal-box a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-box a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.legal-box strong {
    color: var(--text-dark);
}

/* ==========================================
   Cookie Banner
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px var(--shadow);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--accent-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-accept:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .gallery-slides {
        height: 400px;
    }

    .slide-image {
        padding: 1.5rem;
    }

    .slide-caption {
        padding: 1.5rem;
    }

    .slide-caption h3 {
        font-size: 1.5rem;
    }

    .slide-caption p {
        font-size: 0.95rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .contact-map {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        height: 400px;
    }
    
    .container {
        padding: 0 15px;
    }

    .services-grid,
    .price-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .price-card {
        padding: 1.5rem;
    }
    
    .price-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-caption h3 {
        font-size: 1.5rem;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
    }
}
