/*
    Praxis Dr. Gessner - Custom Theme
    Basierend auf TemplateMo 590 Topic Listing
    Angepasst für eine medizinische Arztpraxis
*/

/*---------------------------------------
  CUSTOM PROPERTIES - PRAXIS THEME
-----------------------------------------*/
:root {
    --white-color:                  #ffffff;
    --primary-color:                #1a5f7a;
    --secondary-color:              #57c5b6;
    --section-bg-color:             #f0f9f8;
    --custom-btn-bg-color:          #57c5b6;
    --custom-btn-bg-hover-color:    #1a5f7a;
    --dark-color:                   #002b3d;
    --p-color:                      #555555;
    --border-color:                 #57c5b6;
    --link-hover-color:             #1a5f7a;
    --accent-color:                 #159895;
    --success-color:                #28a745;
    --warning-color:                #ffc107;
}

/* Praxis-spezifische Anpassungen */
.hero-section {
    background-image: linear-gradient(135deg, #1a5f7a 0%, #57c5b6 100%);
    min-height: 400px;
}

.hero-section h1 {
    font-size: 42px;
}

.hero-section h6 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

/* Praxis Info Box im Hero */
.praxis-info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-medium);
    padding: 25px 30px;
    margin-top: 30px;
}

.praxis-info-box p {
    color: var(--white-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.praxis-info-box .phone-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--white-color);
}

/* Quick Action Cards */
.quick-action-card {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.quick-action-card .icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.quick-action-card h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.quick-action-card p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Service Cards */
.service-card {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--secondary-color);
}

.service-card:hover h5,
.service-card:hover p,
.service-card:hover li {
    color: var(--white-color);
}

.service-card h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--section-bg-color);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}

.service-card li::before {
    content: "\f26a";
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.service-card:hover li::before {
    color: var(--white-color);
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius-medium);
    padding: 30px;
    color: var(--white-color);
}

.info-card h4 {
    color: var(--white-color);
    margin-bottom: 15px;
}

.info-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.info-card a {
    color: var(--white-color);
    text-decoration: underline;
}

/* Sprechzeiten Page - Fix column height issue */
.section-bg .row {
    align-items: flex-start;
}

/* Sprechzeiten Table */
.sprechzeiten-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.sprechzeiten-table th,
.sprechzeiten-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.sprechzeiten-table th {
    background: var(--section-bg-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

.sprechzeiten-table td {
    font-size: 16px;
}

.sprechzeiten-table tr:hover td {
    background: var(--section-bg-color);
}

/* Contact Form Styling */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-small);
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(87, 197, 182, 0.2);
}

.contact-form label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 12px;
}

/* Alert Boxes */
.alert-info-custom {
    background: var(--section-bg-color);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--border-radius-small);
    padding: 20px 25px;
}

.alert-info-custom p {
    margin-bottom: 0;
    font-size: 16px;
}

.alert-warning-custom {
    background: #fff8e6;
    border-left: 4px solid var(--warning-color);
    border-radius: var(--border-radius-small);
    padding: 20px 25px;
}

/* Page Header for Subpages */
.page-header-section {
    background-image: linear-gradient(135deg, #1a5f7a 0%, #57c5b6 100%);
    padding: 120px 0 60px 0;
}

.page-header-section h1 {
    color: var(--white-color);
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.page-header-section .breadcrumb-item,
.page-header-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.page-header-section .breadcrumb-item.active {
    color: var(--white-color);
}

.page-header-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Sidebar Navigation */
.sidebar-nav {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-nav h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--section-bg-color);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: block;
    padding: 12px 15px;
    color: var(--p-color);
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    font-size: 16px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: var(--section-bg-color);
    color: var(--primary-color);
}

/* Google Maps Consent */
.maps-consent {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-medium);
    padding: 30px;
    text-align: center;
}

.maps-consent p {
    font-size: 15px;
    margin-bottom: 20px;
}

/* Footer Adjustments */
.site-footer {
    background: var(--dark-color);
}

.site-footer .navbar-brand {
    color: var(--white-color);
}

.site-footer h6 {
    color: var(--secondary-color);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Sticky Navigation Adjustment */
.sticky-wrapper.is-sticky .navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.sticky-wrapper.is-sticky .navbar-nav .nav-link {
    color: var(--white-color);
}

.sticky-wrapper.is-sticky .navbar-nav .nav-link.active,
.sticky-wrapper.is-sticky .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* Fix für Dropdown-Toggle im Sticky-Menü */
.sticky-wrapper.is-sticky .navbar-nav .dropdown-toggle {
    color: var(--white-color);
}

.sticky-wrapper.is-sticky .navbar-nav .dropdown-toggle.active,
.sticky-wrapper.is-sticky .navbar-nav .dropdown-toggle:hover {
    color: var(--secondary-color);
}

/* Custom Button Colors */
.btn-praxis {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--white-color);
    border-radius: var(--border-radius-large);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-praxis:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.btn-praxis-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: var(--border-radius-large);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-praxis-outline:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .page-header-section {
        padding: 100px 0 40px 0;
    }

    .page-header-section h1 {
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 26px;
    }

    .praxis-info-box .phone-number {
        font-size: 22px;
    }
}

/*---------------------------------------
  URLAUB VORANKÜNDIGUNGS-BANNER (gelb)
-----------------------------------------*/
.urlaub-vorankuendigung-banner {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #212529;
    padding: 10px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.urlaub-vorankuendigung-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.urlaub-vorankuendigung-content i {
    font-size: 18px;
}

.urlaub-vorankuendigung-content span {
    font-size: 15px;
}

.urlaub-vorankuendigung-content strong {
    font-weight: 700;
}

/* Responsive */
@media screen and (max-width: 576px) {
    .urlaub-vorankuendigung-content {
        flex-direction: column;
        gap: 5px;
    }

    .urlaub-vorankuendigung-content span {
        font-size: 14px;
    }
}

/*---------------------------------------
  URLAUB BANNER (rot)
-----------------------------------------*/
.urlaub-banner {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: #ffffff;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.urlaub-banner .urlaub-banner-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
}

.urlaub-banner-icon {
    font-size: 24px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.urlaub-banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.urlaub-banner-text strong {
    font-size: 18px;
    font-weight: 700;
}

.urlaub-nachricht {
    font-size: 15px;
    opacity: 0.95;
}

.urlaub-vertretungen {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.urlaub-vertretungen > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.urlaub-vertretung {
    display: block;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 8px;
    text-align: center;
}

.urlaub-vertretung:last-child {
    margin-bottom: 0;
}

.urlaub-adresse {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}

.urlaub-telefon {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.urlaub-telefon:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.urlaub-telefon i {
    margin-right: 5px;
}

/* Responsive Urlaub Banner */
@media screen and (max-width: 767px) {
    .urlaub-banner {
        padding: 12px 0;
    }

    .urlaub-banner-text strong {
        font-size: 16px;
    }

    .urlaub-nachricht {
        font-size: 14px;
    }
}
