/**
 * Custom stylesheet for RKC Farnosť Dunajská Lužná website
 * This overrides the default styles
 */

/* Main verse banner */
.main-verse-banner {
    padding: 28px 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #e8eef5 100%);
    border-bottom: 3px solid #1e88e5;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bible-verse {
    font-size: 1.9rem;
    font-weight: 500;
    color: #1e88e5;
    line-height: 1.5;
    margin-bottom: 0.7rem;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

/* Header Styles */
.site-header {
    background: linear-gradient(to bottom, #ffffff, #fafbfc);
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

.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.9rem;
    font-weight: 500;
    color: #5d4e7a;
    letter-spacing: 0.3px;
}

.parish-name {
    font-weight: 700;
    color: #1e88e5;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

.main-nav {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    padding: 0;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.2);
}

.navbar {
    padding: 0;
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 22px;
    display: block;
    text-decoration: none;
    transition: all 0.35s 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, #ffd54f, #ffb300);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    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.18);
    color: #fff;
    font-weight: 600;
}

/* Quick Links Section */
.quick-links-section {
    background: linear-gradient(to bottom, #fafbfc, #f0f4f8);
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #e1e8ed;
}

.quick-link-box {
    background-color: transparent;
    padding: 1.2rem 0.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    position: relative;
}

.quick-link-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(93, 78, 122, 0.05));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.quick-link-box:hover::before {
    opacity: 1;
}

.quick-link-box a {
    text-decoration: none;
    color: #1e88e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.quick-link-icon {
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.quick-link-box:hover .quick-link-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.35);
}

.quick-link-box:hover .quick-link-icon::before {
    width: 200px;
    height: 200px;
}

.quick-link-icon i {
    font-size: 1.7rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.quick-link-box h3 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    color: #2c3e50;
    line-height: 1.4;
    transition: all 0.35s ease;
    letter-spacing: 0.5px;
}

.quick-link-box:hover h3 {
    color: #1e88e5;
    transform: scale(1.05);
}

/* Update card styles */
.announcement-card, 
.activity-card, 
.sacrament-card, 
.service-location-card,
.article-card {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    position: relative;
}

.announcement-card::before,
.activity-card::before,
.sacrament-card::before,
.service-location-card::before,
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #ffd54f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.announcement-card:hover, 
.activity-card:hover, 
.sacrament-card:hover, 
.service-location-card:hover,
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(30, 136, 229, 0.15);
    border-color: #1e88e5;
}

.announcement-card:hover::before,
.activity-card:hover::before,
.sacrament-card:hover::before,
.service-location-card:hover::before,
.article-card:hover::before {
    transform: scaleX(1);
}

/* Update buttons and links */
.btn-more {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.2);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-more::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-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
    text-decoration: none;
    color: #fff;
}

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

/* Update section titles */
.section-title {
    position: relative;
    padding-bottom: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3e50;
    letter-spacing: 1px;
}

.section-title.text-center:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #ffd54f);
    border-radius: 2px;
}