/* Theme 2: Nocturnal Clinic (Temná intimní) */

body.theme-nocturnal_clinic {
    background-color: #08090c;
    color: #e2e8f0;
    font-family: var(--font-serif);
}

.theme-nocturnal_clinic ::selection {
    background-color: rgba(155, 28, 49, 0.4);
    color: #ffffff;
}

/* Header */
.theme-nocturnal_clinic header {
    background: rgba(8, 9, 12, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.theme-nocturnal_clinic .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.theme-nocturnal_clinic .logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    color: #c92a42;
    letter-spacing: 0.5px;
}

.theme-nocturnal_clinic .logo span {
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
}

.theme-nocturnal_clinic .nav-lang a {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.theme-nocturnal_clinic .nav-lang a.active,
.theme-nocturnal_clinic .nav-lang a:hover {
    color: #ffffff;
    border-color: #c92a42;
    background-color: rgba(201, 42, 66, 0.15);
    box-shadow: 0 0 10px rgba(201, 42, 66, 0.2);
}

/* Banner / Carousel */
.theme-nocturnal_clinic .hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    background-color: #000;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 42, 66, 0.15);
}

.theme-nocturnal_clinic .carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.theme-nocturnal_clinic .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.theme-nocturnal_clinic .carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.theme-nocturnal_clinic .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.15) saturate(0.85);
}

.theme-nocturnal_clinic .carousel-overlay {
    position: absolute;
    bottom: 12%;
    left: 8%;
    right: 8%;
    z-index: 10;
    color: #ffffff;
    max-width: 650px;
    animation: fadeInGlow 1.5s ease-out forwards;
}

.theme-nocturnal_clinic .carousel-overlay h1 {
    font-size: 3.3rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #ffffff;
    font-family: var(--font-serif);
    text-shadow: 0 0 15px rgba(201, 42, 66, 0.3);
}

.theme-nocturnal_clinic .carousel-overlay p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.theme-nocturnal_clinic .carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 8%;
    display: flex;
    gap: 0.8rem;
    z-index: 15;
}

.theme-nocturnal_clinic .dot {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.theme-nocturnal_clinic .dot.active {
    background: #c92a42;
    box-shadow: 0 0 8px #c92a42;
}

/* About / Intro */
.theme-nocturnal_clinic .intro-section {
    padding: 7rem 0;
    text-align: center;
    background: linear-gradient(180deg, #08090c 0%, #101219 100%);
    position: relative;
}

.theme-nocturnal_clinic .intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c92a42, transparent);
}

.theme-nocturnal_clinic .intro-section h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    text-shadow: 0 0 10px rgba(201, 42, 66, 0.2);
}

.theme-nocturnal_clinic .intro-section p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    font-family: var(--font-serif);
    font-style: italic;
}

/* Inquiry Form */
.theme-nocturnal_clinic .inquiry-section {
    padding: 7rem 0;
    background-color: #0b0c10;
}

.theme-nocturnal_clinic .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.theme-nocturnal_clinic .section-header h2 {
    font-size: 2.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.theme-nocturnal_clinic .section-header p {
    color: rgba(255,255,255,0.4);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.theme-nocturnal_clinic .form-container {
    max-width: 650px;
    margin: 0 auto;
    background: #101219;
    padding: 3.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 42, 66, 0.03);
}

.theme-nocturnal_clinic .form-group input,
.theme-nocturnal_clinic .form-group textarea {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    color: #ffffff;
    font-family: var(--font-sans);
}

.theme-nocturnal_clinic .form-group input:focus,
.theme-nocturnal_clinic .form-group textarea:focus {
    border-color: #c92a42;
    box-shadow: 0 0 15px rgba(201, 42, 66, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

.theme-nocturnal_clinic .form-group label {
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-sans);
}

.theme-nocturnal_clinic .form-group input:focus ~ label,
.theme-nocturnal_clinic .form-group input:not(:placeholder-shown) ~ label,
.theme-nocturnal_clinic .form-group textarea:focus ~ label,
.theme-nocturnal_clinic .form-group textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-2.2rem) scale(0.85);
    color: #c92a42;
    font-weight: 500;
}

.theme-nocturnal_clinic button[type="submit"] {
    background-color: #c92a42;
    color: #ffffff;
    padding: 1.1rem 2rem;
    width: 100%;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-sans);
    box-shadow: 0 4px 15px rgba(201, 42, 66, 0.3);
}

.theme-nocturnal_clinic button[type="submit"]:hover {
    background-color: #9b1c31;
    box-shadow: 0 0 20px rgba(201, 42, 66, 0.5);
}

/* Contacts */
.theme-nocturnal_clinic .contact-section {
    padding: 7rem 0;
    background-color: #08090c;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.theme-nocturnal_clinic .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.theme-nocturnal_clinic .contact-info h2 {
    font-size: 2.1rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

.theme-nocturnal_clinic .contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.theme-nocturnal_clinic .contact-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
    font-family: var(--font-sans);
}

.theme-nocturnal_clinic .contact-item p,
.theme-nocturnal_clinic .contact-item a {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
}

.theme-nocturnal_clinic .contact-item a:hover {
    color: #c92a42;
}

.theme-nocturnal_clinic .contact-map {
    background: #101219;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.theme-nocturnal_clinic .map-placeholder {
    height: 100%;
    min-height: 250px;
    background-color: #08090c;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
    font-family: var(--font-sans);
}

.theme-nocturnal_clinic .map-placeholder::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(201, 42, 66, 0.015) 15px, rgba(201, 42, 66, 0.015) 30px);
}

.theme-nocturnal_clinic .map-placeholder-title {
    font-weight: 700;
    color: #c92a42;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(201, 42, 66, 0.2);
}

/* Footer */
.theme-nocturnal_clinic footer.main-footer {
    background: #050608;
    color: rgba(255,255,255,0.4);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.02);
    font-size: 0.85rem;
    font-family: var(--font-sans);
}

.theme-nocturnal_clinic footer.main-footer p {
    margin-bottom: 0.6rem;
}

.theme-nocturnal_clinic footer.main-footer a {
    color: rgba(255,255,255,0.7);
}

.theme-nocturnal_clinic footer.main-footer a:hover {
    color: #c92a42;
}

/* Form Message */
.theme-nocturnal_clinic .form-message {
    padding: 1rem;
    border-radius: 2px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.theme-nocturnal_clinic .form-message.success {
    background-color: rgba(6, 95, 70, 0.25);
    color: #a7f3d0;
    border: 1px solid rgba(167, 243, 208, 0.2);
}

.theme-nocturnal_clinic .form-message.error {
    background-color: rgba(153, 27, 27, 0.25);
    color: #fecaca;
    border: 1px solid rgba(254, 202, 202, 0.2);
}

/* Animations */
@keyframes fadeInGlow {
    from {
        opacity: 0;
        text-shadow: 0 0 0px rgba(201, 42, 66, 0);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 15px rgba(201, 42, 66, 0.3);
    }
}

@media (max-width: 768px) {
    .theme-nocturnal_clinic .carousel-overlay h1 {
        font-size: 2.3rem;
    }
    .theme-nocturnal_clinic .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .theme-nocturnal_clinic .form-container {
        padding: 2rem;
    }
}
