/* ==================== CSS VARIABLES & RESET ==================== */
:root {
    --primary-color: #4A0E2E;
    --secondary-color: #6B1B47;
    --tertiary-color: #ae2872;
    --accent-color: #D4AF37;
    --light-bg: #F5F3F0;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --border-light: #E8E6E3;
    --white: #FFFFFF;
    --shadow: 0 8px 32px rgba(74, 14, 46, 0.15);
    --shadow-lg: 0 16px 48px rgba(74, 14, 46, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

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

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--border-light);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    max-width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-name h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.brand-name .tagline {
    font-size: 0.75rem;
    color: var(--tertiary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-link.active {
    color: var(--accent-color);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

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

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

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

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-link {
        display: block;
        padding: 1rem 20px;
    }

    .logo-section {
        gap: 0.7rem;
    }

    .logo {
        max-width: 40px;
        height: 40px;
    }

    .brand-name h1 {
        font-size: 1.1rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url('assets/images/maria-nahid-friseur.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(74, 14, 46, 0.35);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 700px;
    padding: 2rem 2.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 45px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
    background-color: transparent;
    color: var(--accent-color);
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 20px 0;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

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

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

    .cta-button {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

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

/* ==================== SECTION TITLES ==================== */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

/* ==================== LEISTUNGEN (SERVICES) SECTION ==================== */
.leistungen {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 14, 46, 0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-category {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.75rem;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.service-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
}

.price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .leistungen {
        padding: 60px 0;
    }

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

    .service-card {
        padding: 1.8rem;
    }
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 3/4;
    background-color: var(--border-light);
    box-shadow: 0 4px 12px rgba(74, 14, 46, 0.1);
    transition: all 0.3s ease;
}

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

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

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.image-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.gallery-item.before .image-label {
    background-color: rgba(212, 175, 55, 0.9);
    color: var(--primary-color);
}

.gallery-item.after .image-label {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0;
    }

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

/* ==================== SHOWCASE SECTION ==================== */
.showcase-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

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

.showcase-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.showcase-item.reverse .showcase-image {
    order: -1;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.showcase-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: justify;
}

.showcase-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(74, 14, 46, 0.15);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .showcase-item {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .showcase-title {
        font-size: 1.6rem;
    }

    .showcase-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 60px 0;
    }

    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .showcase-item.reverse .showcase-image {
        order: 0;
    }

    .showcase-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .showcase-description {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* ==================== MODAL LIGHTBOX ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.close {
    position: fixed;
    right: 30px;
    top: 20px;
    color: var(--accent-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s, transform 0.2s;
}

.close:hover {
    color: var(--white);
    transform: scale(1.2);
}

.modal-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2001;
}

.modal-prev,
.modal-next {
    background-color: rgba(212, 175, 55, 0.8);
    color: var(--primary-color);
    border: none;
    padding: 12px 18px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

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

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

@media (max-width: 768px) {
    .close {
        right: 15px;
        top: 10px;
        font-size: 30px;
    }

    .modal-nav {
        bottom: 15px;
        gap: 0.5rem;
    }

    .modal-prev,
    .modal-next {
        padding: 10px 14px;
        font-size: 1.2rem;
    }
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.credentials {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.credentials p {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about-text p {
        text-align: left;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

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

.contact-info-box {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-info-box h3,
.contact-form-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-intro {
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method .icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.method-label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-link:hover {
    color: var(--accent-color);
}

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

.social-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.social-btn.instagram:hover {
    border-color: #E1306C;
    color: #E1306C;
}

.social-btn.facebook:hover {
    border-color: #1877F2;
    color: #1877F2;
}

.contact-form-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-form-info h3 {
    color: var(--accent-color);
}

.opening-hours {
    margin-bottom: 1.5rem;
}

.opening-hours p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-note {
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

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

    .social-links {
        gap: 0.8rem;
    }

    .social-btn {
        flex: 0 1 calc(50% - 0.4rem);
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== LEGAL MODALS ==================== */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    padding: 2rem 0;
}

.legal-modal.active {
    display: block;
}

.legal-content {
    background-color: var(--white);
    max-width: 900px;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content ul {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.close-legal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--primary-color);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-legal:hover {
    color: var(--accent-color);
}

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

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1rem;
    }
}

/* ==================== UTILITY CLASSES & ANIMATIONS ==================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

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

    .service-card {
        padding: 1.5rem;
    }

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

/* Smooth transitions */
a,
button {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .menu-toggle,
    .close,
    .close-legal,
    .cta-button,
    .modal,
    .legal-modal {
        display: none !important;
    }
}

.mt-4 {
    margin-top: 1.5rem;
}

.ws-attribution {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.ws-attribution a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: opacity 0.3s ease;
}