/* ========================================
   Church Website Default Theme
   Traditional Orthodox design
   ======================================== */

/* CSS Variables - Church specific colors */
:root {
    --primary-color: #8b4513;
    --secondary-color: #d4a574;
    --accent-color: #c9a227;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #faf8f5;
    --bg-white: #ffffff;
    --border-color: #e0dcd5;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --header-height: 70px;
    --font-family: 'Georgia', 'Times New Roman', Times, serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font-family: inherit;
    line-height: inherit;
}

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

a:hover {
    color: var(--accent-color);
}

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

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-color);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: background var(--transition);
}

.site-header.scrolled {
    background: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.logo-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    transform: translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 998;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav .nav-menu {
    list-style: none;
    padding: 1rem;
}

.mobile-nav .nav-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav .nav-menu a,
.mobile-nav .dropdown-toggle {
    display: block;
    width: 100%;
    padding: 1rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav .dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 1rem;
}

.mobile-nav .dropdown-menu.active {
    display: block;
}

.mobile-nav .dropdown-menu a {
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 0;
}

/* Desktop Navigation - Large screens */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    .desktop-nav {
        display: block;
    }

    .desktop-nav .nav-menu {
        display: flex;
        list-style: none;
        gap: 0.5rem;
        align-items: center;
    }

    .desktop-nav .nav-menu > li {
        position: relative;
    }

    .desktop-nav .nav-menu > li > a,
    .desktop-nav .dropdown-toggle {
        display: block;
        padding: 0.5rem 1rem;
        line-height: 1.7;
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 500;
        background: none;
        border: none;
        cursor: pointer;
        border-radius: var(--radius-sm);
        transition: background var(--transition);
    }

    .desktop-nav .nav-menu > li > a:hover,
    .desktop-nav .dropdown-toggle:hover,
    .desktop-nav .nav-menu > li > a.active {
        background: rgba(255, 255, 255, 0.15);
    }

    .desktop-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        border-radius: var(--radius-md);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all var(--transition);
        list-style: none;
    }

    .desktop-nav li:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .desktop-nav .dropdown-menu a {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--text-color);
        font-size: 0.9rem;
    }

    .desktop-nav .dropdown-menu a:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: calc(var(--header-height) + 3rem) 0 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5d3a1a 100%);
    color: #ffffff;
    min-height: 400px;
    display: flex;
    align-items: center;
}

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

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero-motto {
    font-style: italic;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero {
        padding: calc(var(--header-height) + 5rem) 0 5rem;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: #b8931f;
    border-color: #b8931f;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 3rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Schedule Preview
   ======================================== */
.schedule-preview {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.schedule-highlight {
    margin-bottom: 1.5rem;
}

.schedule-day {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.schedule-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-service {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.schedule-time {
    font-weight: 600;
    color: var(--accent-color);
    min-width: 110px;
}

.schedule-name {
    color: var(--text-color);
}

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

/* ========================================
   News Grid
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card-image {
    aspect-ratio: 16/9;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-image svg {
    width: 60px;
    height: 60px;
    fill: var(--border-color);
}

.news-card-content {
    padding: 1.25rem;
}

.news-card-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.news-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.news-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Announcements
   ======================================== */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.announcement-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--border-color);
}

.announcement-card.pinned {
    border-left-color: var(--accent-color);
    background: linear-gradient(to right, rgba(201, 162, 39, 0.05), var(--bg-white));
}

.announcement-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.announcement-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.announcement-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.announcement-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Gallery
   ======================================== */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

@media (min-width: 768px) {
    .gallery-preview {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* ========================================
   Contact CTA Section
   ======================================== */
.contact-cta-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.contact-cta h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-cta p {
    color: var(--text-light);
    max-width: 500px;
}

.contact-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-cta {
        flex-direction: row;
        text-align: left;
    }

    .contact-cta-content {
        flex: 1;
    }

    .contact-cta h2 {
        font-size: 1.75rem;
    }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--primary-color);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-col p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: calc(var(--header-height) + 2rem) 0 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5d3a1a 100%);
    color: #ffffff;
    text-align: center;
}

.page-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
}

@media (min-width: 768px) {
    .page-header {
        padding: calc(var(--header-height) + 3rem) 0 3rem;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 0.75rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active span {
    color: var(--text-color);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--border-color);
}

/* ========================================
   Clergy Section
   ======================================== */
.clergy-section {
    padding: 3rem 0;
}

.clergy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.clergy-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    padding: 1.5rem;
}

.clergy-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
}

.clergy-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clergy-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-color);
}

.clergy-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.clergy-role {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.clergy-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.clergy-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.clergy-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

@media (min-width: 768px) {
    .clergy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .clergy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Schedule Section
   ======================================== */
.schedule-section {
    padding: 3rem 0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-day-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.schedule-day-name {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.schedule-service-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-service-item:last-child {
    border-bottom: none;
}

.schedule-service-info {
    flex: 1;
}

.schedule-service-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

.schedule-service-notes {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.schedule-note {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
    padding: 3rem 0;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery-filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-link {
    display: block;
}

.gallery-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    color: #fff;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-link:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-link img {
        height: 250px;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
}

.lightbox-title {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   Announcements Section
   ======================================== */
.announcements-section {
    padding: 3rem 0;
}

.announcements-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.announcements-grid .announcement-card {
    display: flex;
    flex-direction: column;
}

.announcements-grid .announcement-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.announcements-grid .announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcements-grid .announcement-content {
    padding: 1.5rem;
}

.announcements-grid .announcement-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.announcements-grid .announcement-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.announcements-grid .announcement-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* ========================================
   No Content Message
   ======================================== */
.no-content-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-content-message p {
    margin-bottom: 1rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-map-hero {
    height: 300px;
}

.contact-map-full {
    width: 100%;
    height: 100%;
}

.contact-map-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-page-content {
    padding: 3rem 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    text-align: center;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card-text {
    color: var(--text-color);
}

.contact-card-details {
    text-align: left;
}

.contact-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-detail-row:last-child {
    border-bottom: none;
}

.contact-detail-label {
    color: var(--text-light);
}

.contact-detail-value {
    color: var(--text-color);
    font-weight: 500;
}

.working-hours-list {
    text-align: left;
}

.working-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.working-hours-row:last-child {
    border-bottom: none;
}

.working-hours-row .day {
    color: var(--text-light);
}

.working-hours-row .hours {
    font-weight: 500;
}

.working-hours-row .hours.closed {
    color: var(--text-light);
}

.directions-buttons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.directions-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.directions-options {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.directions-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-color);
    background: var(--bg-light);
    transition: background var(--transition);
}

.directions-btn:hover {
    background: var(--border-color);
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Form */
.contact-form-section {
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group .required {
    color: #dc3545;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-checkbox {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-actions {
    text-align: center;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================
   Page Content
   ======================================== */
.page-content {
    padding: 3rem 0;
}

.page-article {
    max-width: 800px;
    margin: 0 auto;
}

.page-article h2,
.page-article h3,
.page-article h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.75rem;
}

.page-article p {
    margin-bottom: 1rem;
}

.page-article ul,
.page-article ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-article li {
    margin-bottom: 0.5rem;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-muted {
    color: var(--text-light);
}

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