/* seraphairdesign-studio CSS Stylesheet */

/* Custom CSS Variables for Design Consistency */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: #1c1c1e;
    --accent-gold: #d4af37;
    --accent-gold-gradient: linear-gradient(135deg, #f3e5ab, #d4af37, #aa7c11);
    --text-primary: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --border-color: rgba(212, 175, 55, 0.25);
    --border-hover: rgba(212, 175, 55, 0.6);
    --glass-bg: rgba(18, 18, 18, 0.8);
    --glass-blur: blur(12px);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Core Layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

html, body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

/* Premium Gold Accent Colors */
.gold-icon {
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--accent-gold-gradient);
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    opacity: 0.95;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Top bar Header */
.top-bar {
    background-color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-content a:hover {
    color: var(--accent-gold);
}

.separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.1);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container {
    display: flex;
    align-items: center;
    transition: none !important;
}

.logo-container:hover {
    transform: none !important;
    opacity: 1 !important;
}

.header-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Scrolled state for compact view */
.main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.96);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.main-header.scrolled .header-container {
    height: 85px;
}

.main-header.scrolled .header-logo {
    height: 65px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold-gradient);
    transition: var(--transition-smooth);
}

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

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

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

.hero {
    position: relative;
    height: calc(100vh - 120px);
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 25%; /* Focuses on faces and hair models */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.55)), 
                radial-gradient(circle at center, rgba(212, 175, 55, 0.02) 0%, transparent 70%);
    z-index: 1;
}

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

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

.hero-description {
    color: #e0e0e0;
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 24px;
    color: var(--text-muted);
}

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

/* Sections General Styling */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.subheading {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.heading-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gold-gradient);
    margin: 15px auto 0;
}

.heading-line.align-left {
    margin: 15px 0 0;
}

/* Services Section */
.services-section {
    background-color: var(--bg-secondary);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(212, 175, 55, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

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

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img-frame {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    background-color: rgba(212, 175, 55, 0.02);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: var(--transition-smooth);
}

.about-img:hover {
    transform: scale(1.02);
}

.about-content p {
    color: var(--text-muted);
    font-size: 15.5px;
    margin-top: 25px;
}

.about-badges {
    display: flex;
    gap: 30px;
    margin-top: 35px;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* Instagram Section */
.instagram-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
}

.instagram-handle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-gold-gradient);
    color: #000000;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
    line-height: 1;
}

.instagram-handle-btn i {
    font-size: 18px;
    line-height: 1;
    margin-top: -1px; /* Optical centering adjustment */
}

.instagram-handle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: #000000;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.instagram-item {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #121212;
    display: block;
}

.instagram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
    display: block;
}

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

.instagram-overlay {
    display: none !important;
}

.instagram-stats {
    display: flex;
    gap: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.instagram-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.instagram-stats i {
    color: var(--accent-gold);
}

.instagram-icon-hover {
    font-size: 32px;
    color: var(--accent-gold);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 5px;
}

.salon-subtext {
    color: var(--accent-gold);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-details-list li i {
    font-size: 20px;
    margin-top: 4px;
}

.contact-details-list strong {
    display: block;
    font-size: 15px;
    color: var(--text-muted);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-link i {
    font-size: 16px;
    margin-top: -1px;
}

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

.opening-hours-box {
    margin-top: 40px;
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.opening-hours-box h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.hours-table {
    width: 100%;
}

.hours-table td {
    padding: 8px 0;
    font-size: 14.5px;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-muted);
}

.hours-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* Footer styling */
.footer {
    background-color: #000000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    height: 90px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: var(--bg-card);
    border-radius: 50%;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--accent-gold-gradient);
    color: #000000;
    transform: translateY(-2px);
}

.footer-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.footer-content ul li {
    margin-bottom: 12px;
}

.footer-content ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-content ul li a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 13.5px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.form-success-msg {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    font-size: 60px;
    color: #4caf50;
    margin-bottom: 20px;
}

.form-success-msg h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 10px;
}

.form-success-msg p {
    color: var(--text-muted);
}

/* Legal Pages (Datenschutz / Impressum) Extra Styling */
.legal-page {
    background-color: var(--bg-primary);
}

.legal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-main {
    padding: 60px 20px 100px;
    max-width: 800px;
}

.legal-main h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.legal-section-block {
    margin-bottom: 40px;
}

.legal-section-block h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.legal-section-block h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

.legal-section-block p {
    color: var(--text-muted);
    font-size: 15.5px;
    margin-bottom: 15px;
}

.legal-section-block a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .about-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu, .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Services Details Page Specific Styles */
.services-hero {
    position: relative;
    padding: 120px 0 80px 0;
    background-image: url('assets/salon.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.leistungen-details-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.leistungen-category-block {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-premium);
}

.category-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.category-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-header p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 5px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
}

.prices-table th {
    text-align: left;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-color);
}

.prices-table td {
    padding: 18px 15px;
    font-size: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prices-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.prices-table td:last-child {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 16px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .leistungen-category-block {
        padding: 20px 15px;
    }
    
    .prices-table, 
    .prices-table thead, 
    .prices-table tbody, 
    .prices-table th, 
    .prices-table td, 
    .prices-table tr {
        display: block;
        width: 100%;
    }
    
    .prices-table thead {
        display: none;
    }
    
    .prices-table tr {
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 15px;
    }
    
    .prices-table tr:last-child {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .prices-table td {
        padding: 6px 0 !important;
        border: none !important;
        font-size: 14px;
        white-space: normal !important;
        word-break: break-word;
        text-align: left;
    }
    
    .prices-table td:first-child {
        font-weight: 600;
        font-size: 16px;
        color: var(--accent-gold);
    }
}

/* Upload Gallery Section Specific Styles */
.gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item-upload {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.gallery-item-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

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

.upload-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.gallery-item-upload:hover .upload-item-overlay {
    opacity: 1;
}

.upload-item-overlay span {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 600;
}

.delete-upload-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(220, 53, 69, 0.85);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
    transition: var(--transition-smooth);
}

.delete-upload-btn:hover {
    background-color: #dc3545;
    transform: scale(1.1);
}

/* Upload Trigger Card */
.upload-trigger-card {
    height: 300px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(212, 175, 55, 0.02);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.upload-trigger-card:hover {
    border-color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-4px);
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    padding: 20px;
}

.upload-label i {
    font-size: 44px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.upload-trigger-card:hover .upload-label i {
    transform: scale(1.1);
}

.upload-label span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-label small {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Team Section Styles */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.main-team-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-premium);
    align-items: center;
    transition: var(--transition-smooth);
}

.main-team-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.main-team-img-wrapper {
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.main-team-card:hover .main-team-img-wrapper {
    border-color: var(--accent-gold);
}

.main-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.main-team-card:hover .main-team-img {
    transform: scale(1.03);
}

.main-team-content {
    padding: 10px;
}

.main-team-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.main-team-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* Individual Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.team-member-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.team-member-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.member-img-container {
    height: 280px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: #121212;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Centers the face and hair at the top */
    display: block;
    transition: var(--transition-smooth);
}

.member-img.placeholder-img {
    object-fit: contain;
    object-position: center center;
    padding: 35px;
    box-sizing: border-box;
    opacity: 0.95;
}

.team-member-card:hover .member-img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px 15px;
}

.member-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.member-info span {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .main-team-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .main-team-img-wrapper {
        height: 280px;
    }
    
    .main-team-content {
        padding: 0;
    }
}

/* Pflegeserie Preview Section */
.pflegeserie-preview-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.pflegeserie-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand-preview-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.brand-preview-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.brand-logo-img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: grayscale(1) invert(1) brightness(2);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.brand-preview-card:hover .brand-logo-img {
    opacity: 1;
    transform: scale(1.05);
}

.brand-preview-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.brand-preview-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer Attribution Mobile Formatting */
@media (max-width: 768px) {
    .footer-divider {
        display: none !important;
    }
    .footer-attribution {
        display: block !important;
        margin-top: 8px !important;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-container {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
    animation: zoomEffect 0.3s ease-in-out;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10001;
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    width: 52px;
    height: 52px;
    background: rgba(18, 18, 18, 0.85);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: -26px;
}

.lightbox-next {
    right: -26px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ffffff;
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px var(--accent-gold);
}

/* Adjust size on smaller screens */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 18px;
        width: 36px;
        height: 36px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}

@keyframes zoomEffect {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}

/* Booking Modal Styles */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-content {
    background-color: #1a1a1a;
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.booking-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.booking-modal-close:hover {
    color: var(--accent-gold);
}

.booking-modal h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.booking-form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.booking-form-group label {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.booking-form-group input,
.booking-form-group select,
.booking-form-group textarea {
    padding: 10px 12px;
    background-color: #121212;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.booking-form-group input:focus,
.booking-form-group select:focus,
.booking-form-group textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.booking-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-weight: 600;
}


