/*
Theme Name: Medical Theme
Description: Tema profesională pentru site-uri medicale și clinici
Author: Your Name
Version: 1.0
Text Domain: medical-theme
*/

/* Reset și stiluri de bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo h1 {
    color: #2c5aa0;
    font-size: 2rem;
    font-weight: bold;
}

.site-logo h1 a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #2c5aa0;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle:hover {
    color: #2c5aa0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.0rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    background: #28a745;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #218838;
    color: white;
}

/* Hero Text Section */
.hero-text-section {
    padding: 0px 0;
    background: #f8f9fa;
    color: #333;
}

.hero-text-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e9ecef;
}

.hero-text-content {
    text-align: center;
}

.hero-text-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c5aa0;
}

.hero-text-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.0;
    color: #555;
}

/* Login Section */
.login-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
}

.login-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}


.login-options {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.btn-large i {
    font-size: 1.2rem;
}

.btn-primary {
    background: white;
    color: #2c5aa0;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-logout {
    background: white;
    color: #2c5aa0;
    border: 2px solid white;
}

.btn-logout:hover {
    background: #f8f9fa;
    color: #1e3a5f;
    border-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.patient-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.login-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 200px;
}

.login-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.login-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.login-info li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.login-info li i {
    color: #4CAF50;
    font-size: 1.2rem;
    width: 20px;
}

.login-info-left {
    text-align: center;
}

.login-info-right {
    text-align: left;
}

/* Cabinets Section */
.cabinets-section {
    padding: 20px 0 4rem 0;
    background: #f8f9fa;
}

.cabinets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

.cabinet-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.cabinet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cabinet-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.cabinet-header h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}


.cabinet-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cabinet-info {
    margin-bottom: 2rem;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.info-item i {
    color: #2c5aa0;
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.info-item span {
    color: #333;
    font-size: 0.95rem;
}


.cabinet-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-shrink: 0;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h3 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Main Content */
.site-main {
    padding-bottom: 4rem;
}

/* Footer */
.site-footer {
    background: #1e3a5f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #87CEEB;
    padding-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-column h5 {
    color: #87CEEB;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
    font-weight: bold;
}

.footer-column h5:first-child {
    margin-top: 0;
}

.footer-column p {
    opacity: 0.9;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cabinet-details,
.services-list {
    text-align: left;
    flex: 1;
}

.contact-info,
.schedule-info,
.doctors-info {
    margin-bottom: 1.2rem;
}

.contact-info p,
.doctors-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.4rem;
    gap: 0.5rem;
}

.contact-info i,
.doctors-info i {
    color: #87CEEB;
    width: 16px;
    font-size: 0.8rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 1;
}

.services-list li {
    padding: 0.15rem 0;
    opacity: 0.9;
    font-size: 0.85rem;
    position: relative;
    padding-left: 0.8rem;
    line-height: 1.3;
    break-inside: avoid;
}

.services-list li:before {
    content: "•";
    color: #87CEEB;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #87CEEB;
    padding-top: 1rem;
    margin-top: 2rem;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-toggle {
        display: block;
        align-self: flex-end;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        width: 100%;
        margin-top: 1rem;
        padding: 1rem 0;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cabinets-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: stretch;
    }
    
    .cabinet-header h4 {
        font-size: 1.2rem;
    }
    
    .cabinet-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cabinet-actions .btn-primary,
    .cabinet-actions .btn-secondary {
        width: 100%;
        max-width: 200px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-column p {
        font-size: 0.9rem;
    }
    
    .services-list li {
        font-size: 0.9rem;
    }
    
    .login-content h2 {
        font-size: 2rem;
    }
    
    .login-options {
        align-items: center;
    }
    
    .btn-large {
        min-width: 250px;
    }
    
    .login-info {
        padding: 20px;
    }
    
    .login-info li {
        font-size: 1rem;
    }
    
    .login-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .login-info-left {
        order: 2;
        text-align: center;
    }
    
    .login-info-right {
        order: 1;
    }
}

/* Stiluri pentru hărțile Google Maps */
.cabinet-map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cabinet-map iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
}
