﻿ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafb;
}

/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/

/* Header */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

    .logo::before {
        content: "🏥";
        margin-right: 10px;
        font-size: 2rem;
    }

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
    }

        .nav a:hover {
            opacity: 0.8;
        }

/* Page Title */
.page-title {
    background: white;
    padding: 2rem 0;
    border-bottom: 3px solid #e8f4f8;
}

    .page-title h1 {
        color: #2c5aa0;
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .page-title p {
        color: #666;
        font-size: 1.1rem;
    }

/* Tab Navigation */
.tab-navigation {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e8f4f8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tab {
    padding: 1rem 2rem;
    background: #f8fafb;
    border: 2px solid #e8f4f8;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .tab.active {
        background: #2c5aa0;
        color: white;
        border-color: #2c5aa0;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    }

    .tab:hover:not(.active) {
        background: #e8f4f8;
        border-color: #2c5aa0;
    }

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.gallery-section {
    display: none;
}

    .gallery-section.active {
        display: block;
    }

/* Photo Gallery */
.photo-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e8f4f8;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: #2c5aa0;
        color: white;
        border-color: #2c5aa0;
    }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.photo-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .photo-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.photo-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #e8f4f8, #d1e7dd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #2c5aa0;
    position: relative;
    overflow: hidden;
}

    .photo-placeholder::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: rotate(45deg);
        transition: transform 0.6s ease;
    }

.photo-item:hover .photo-placeholder::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.photo-info {
    padding: 1.5rem;
}

.photo-title {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.photo-description {
    color: #666;
    font-size: 0.9rem;
}

/* Video Gallery */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .video-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #2c5aa0, #1e3f73);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    position: relative;
}

.play-button {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5aa0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.video-item:hover .play-button {
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-duration {
    background: #e8f4f8;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.news-category {
    background: #e8f4f8;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.news-title {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .read-more:hover {
        color: #1e3f73;
    }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

    .modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.modal-content {
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

    .close-modal:hover {
        color: #333;
    }

.modal-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #e8f4f8, #d1e7dd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #2c5aa0;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1e3f73;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e8f4f8;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .footer-section a:hover {
        opacity: 0.7;
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c5aa0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .tabs {
        gap: 1rem;
    }

    .tab {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .photo-grid,
    .video-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-content {
        padding: 1rem;
        margin: 1rem;
    }

    .modal-image {
        height: 250px;
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-title {
        padding: 1.5rem 0;
    }

        .page-title h1 {
            font-size: 1.8rem;
        }

    .photo-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
 
