/**
 * Main stylesheet for RKC Farnosť Dunajská Lužná website
 */

/* Main verse banner */
.main-verse-banner {
    padding: 25px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.bible-verse {
    font-size: 1.8rem;
    font-weight: 400;
    color: #0056b3;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-align: left;
}

.verse-source {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-align: right;
    font-style: italic;
}

/* Base styles */
:root {
    --primary-color: #1e88e5;   /* Svieža modrá */
    --primary-dark: #1565c0;    /* Tmavšia modrá pre hover */
    --secondary-color: #5d4e7a; /* Jemná fialová */
    --secondary-light: #7a6b96; /* Svetlejšia fialová */
    --accent-color: #ffd54f;    /* Jasnejšia zlatá */
    --accent-dark: #ffb300;     /* Tmavšia zlatá */
    --text-color: #2c3e50;      /* Moderná tmavá textová farba */
    --text-light: #546e7a;      /* Svetlejší text */
    --light-bg: #f8f9fb;        /* Jemné svetlé pozadie */
    --dark-bg: #263238;         /* Moderné tmavé pozadie */
    --footer-bg: #1a2127;       /* Tmavšie pozadie päty */
    --border-color: #e1e8ed;    /* Jemnejšia šedá */
    --section-bg: #fafbfc;      /* Veľmi svetlé pozadie sekcií */
    --success-color: #43a047;   /* Svieža zelená */
    --error-color: #e53935;     /* Živá červená */
    --warning-color: #ffb300;   /* Živá žltá */
    --info-color: #29b6f6;      /* Moderná tyrkysová */
    --header-height: 80px;
    --transition-speed: 0.35s;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

a:not(.btn):not(.nav-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width var(--transition-speed) ease;
}

a:not(.btn):not(.nav-link):hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 10px 26px;
    font-weight: 500;
    background: transparent;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Header Styles */
.site-header {
    background: linear-gradient(to bottom, #ffffff, #fafbfc);
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
}

.top-bar {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.top-header {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 10px;
}

.site-info {
    line-height: 1.3;
}

.church-name {
    font-size: 0.85rem;
    font-weight: 400;
    color: #0275d8;
}

.parish-name {
    font-weight: 700;
    color: #0275d8;
    font-size: 1.1rem;
}

.main-nav {
    background-color: #0275d8;
    padding: 0;
}

.navbar {
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 22px;
    display: block;
    text-decoration: none;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-dark));
    transform: translateX(-50%);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 80%;
}

.nav-item.active .nav-link {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
}

.main-navigation {
    background-color: var(--light-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 0.75rem 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 1rem;
    border-top: 3px solid var(--accent-color);
}

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

.mobile-menu .nav-item {
    margin: 0.5rem 0;
}

.mobile-menu .nav-link {
    padding: 0.75rem 1rem;
    display: block;
    border-left: 3px solid transparent;
    transition: all var(--transition-speed) ease;
}

.mobile-menu .nav-link:hover,
.mobile-menu .active .nav-link {
    background-color: rgba(74, 38, 94, 0.05);
    border-left-color: var(--accent-color);
}

/* Media queries for responsive design */
@media (max-width: 991.98px) {
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 101;
    }
    
    .main-menu-container {
        display: none !important;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    color: #fff;
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: calc(var(--header-height) * -1);
    padding-top: var(--header-height);
}

.hero-section .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-section .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.hero-section .hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-section .hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 30, 69, 0.7);
}

.hero-section .hero-slide:nth-child(1) {
    background-image: url('../images/church-background.jpg');
}

.hero-section .hero-slide:nth-child(2) {
    background-image: url('../images/church-background-2.jpg');
}

.hero-section .hero-slide:nth-child(3) {
    background-image: url('../images/church-background-3.jpg');
}

.hero-section .hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-arrow:hover {
    background-color: rgba(74, 38, 94, 0.7);
}

.slider-arrow-left {
    left: 20px;
}

.slider-arrow-right {
    right: 20px;
}

/* Quick Links Section */
.quick-links-section {
    background-color: #fff;
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #e9e6d5;
}

.quick-link-box {
    background-color: transparent;
    padding: 1rem 0.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.quick-link-box:hover {
    transform: translateY(-5px);
}

.quick-link-box a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-link-icon {
    margin-bottom: 0.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.quick-link-box:hover .quick-link-icon {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.quick-link-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.quick-link-box h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.quick-link-box:hover h3 {
    color: var(--secondary-color);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-verse {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
}

/* Article Banner */
.article-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.article-title {
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 1rem;
}

.article-meta {
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-meta span {
    margin-right: 1rem;
}

.article-meta i {
    margin-right: 0.3rem;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Homepage dividers & spacers (spravuje admin → Sekcie) */
.homepage-section-divider {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
}

.homepage-section-divider--align-left {
    justify-content: flex-start;
}

.homepage-section-divider--align-center {
    justify-content: center;
}

.homepage-section-divider--align-right {
    justify-content: flex-end;
}

.homepage-section-divider__line {
    flex-shrink: 0;
}

.homepage-section-spacer {
    width: 100%;
    flex-shrink: 0;
}

.section {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title.text-center:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px;
    height: 4px;
    background-color: #d4af37;
}

.section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #666;
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
    border-bottom: none;
}

/* Announcement Cards */
.announcement-card {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.announcement-image {
    height: 200px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-content {
    padding: 1.5rem;
    text-align: center;
}

.announcement-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-more {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
    color: #fff;
}

/* Activities Section */
.activity-card {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.activity-image {
    height: 180px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    padding: 1.5rem;
    text-align: center;
}

.activity-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Sacraments Section */
.sacrament-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sacrament-card:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.sacrament-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #333;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.sacrament-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #FFD700;
}

.sacrament-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-more {
    display: inline-block;
    background-color: #6c1c33;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #5a1728;
    color: #fff;
    text-decoration: none;
}

/* Compact Sacrament Card Design */
.sacrament-card-compact {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 1.25rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    border: 3px solid #6c1c33;
    position: relative;
}

.sacrament-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.sacrament-title-compact {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #6c1c33;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.sacrament-title-compact:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FFD700;
}

.sacrament-description-compact {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sacrament-button-container {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid #e9e6d5;
}

.btn-sacrament {
    display: inline-block;
    background-color: #6c1c33;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sacrament:hover {
    background-color: #5a1728;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}
/* Service Cards */
.sacrament-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding-top: 0.5rem;
    border-top: 1px solid #e9e6d5;
}

.sacrament-link:hover {
    color: var(--secondary-color);
}

/* Service Location Cards */
.service-location-card {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.service-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.location-image {
    height: 180px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-title {
    font-size: 1.2rem;
    padding: 1rem;
    margin: 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.service-details {
    padding: 1.5rem;
}

.service-details strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.service-details p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Support Cards */
.support-card {
    background-color: #f9f8f5;
    border: 1px solid #e9e6d5;
    border-radius: 5px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.support-card:hover {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.support-icon img {
    width: 100%;
    height: auto;
}

.support-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.support-account {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f9f8f5;
    padding: 3rem;
    border-radius: 5px;
    border: 1px solid #e9e6d5;
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.newsletter-form .input-group {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

/* Articles */
.article-list {
    margin-top: 1.5rem;
}

.article-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.article-image {
    overflow: hidden;
    height: 180px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.article-meta span {
    margin-right: 1rem;
}

.article-excerpt {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Article Single */
.article-content {
    margin-bottom: 2rem;
}

.article-featured-image {
    margin-bottom: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.article-excerpt {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.article-body {
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.article-share {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.article-share h4 {
    margin-bottom: 1rem;
}

.social-share {
    display: flex;
    gap: 0.5rem;
}

.social-share .btn {
    padding: 0.5rem 1rem;
}

.related-articles {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
}

/* Services Styles */
.service-schedule {
    margin-bottom: 2rem;
}

.service-list {
    margin-top: 1.5rem;
}

.service-item {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
}

.service-date {
    background-color: var(--primary-color);
    color: white;
    width: 100px;
    min-width: 100px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
}

.service-details {
    padding: 1rem 1.5rem;
    flex-grow: 1;
}

.service-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.service-description {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Announcements Styles */
.announcements {
    margin-bottom: 2rem;
}

.announcement-list {
    margin-top: 1.5rem;
}

.announcement-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.announcement-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.announcement-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.announcement-meta span {
    margin-right: 1rem;
}

.announcement-content {
    font-size: 0.95rem;
}

/* Gallery Styles */
.gallery {
    margin-bottom: 2rem;
}

.gallery-item {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Sidebar */
.sidebar {
    margin-bottom: 2rem;
}

.sidebar-widget {
    background-color: var(--light-bg);
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.spiritual-thought {
    font-style: italic;
}

blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    margin-left: 0;
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote cite {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: #f5f2e9;
    color: #2c3e50;
    font-size: 0.95rem;
}

.footer-top {
    padding: 3rem 0 2rem;
    border-top: 4px solid #9d4b5a;
}

.footer-title {
    color: #9d4b5a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-list,
.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li,
.footer-hours-list li {
    padding: 0.5rem 0;
    color: #546e7a;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: #9d4b5a;
    width: 20px;
    margin-right: 10px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: 2px solid #9d4b5a;
    border-radius: 8px;
    color: #9d4b5a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-social a:hover {
    background: #9d4b5a;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(157, 75, 90, 0.3);
}

.footer-social i {
    font-size: 1.2rem;
}

.footer-subscribe-text {
    color: #546e7a;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    background: #9d4b5a;
    padding: 1.2rem 0;
}

.footer-copyright,
.footer-credits {
    color: #f5f2e9;
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
    
    .footer-credits {
        margin-top: 0.5rem;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
}

/* Header Social Icon */
.header-social {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.social-icon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon-header:hover {
    background: #ffffff;
    color: #0275d8;
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.3);
}

.social-icon-header i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .social-icons-footer {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
    
    .copyright-text {
        margin-bottom: 1rem;
    }
}

/* Login Page */
.login-page {
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
}

.login-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.login-logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.login-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

.back-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Error Pages */
.error-page {
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.error-message {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.error-actions {
    margin-top: 2rem;
}

.error-footer {
    margin-top: auto;
    text-align: center;
    padding: 1rem;
    color: #777;
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .site-header {
        padding: 0.75rem 0;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .main-menu .nav-item {
        margin-left: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-title, .article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    .main-menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 1000;
        display: none;
    }
    
    .main-menu-container.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
    }
    
    .main-menu .nav-item {
        margin: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-title, .article-title {
        font-size: 1.6rem;
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-date {
        width: 100%;
        padding: 0.5rem;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
    
    .social-share .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .sidebar {
        margin-top: 2rem;
    }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .sidebar {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .page-banner, .article-banner {
        background-color: transparent;
        color: #000;
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .page-title, .article-title {
        color: #000;
    }
    
    .main-content {
        padding: 0;
    }
    
    .content-section {
        border-bottom: 1px solid #000;
    }
    
    .btn {
        display: none;
    }
}
