/* ===== CONTACTS PAGE STYLES ===== */
/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('{% static "image/church-hero.jpg" %}');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px;
    margin-top: 60px;
    position: relative;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
    border-radius: 2px;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-detail:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text p {
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-form h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--bg-lighter);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== BUTTON STYLES ===== */
.btn {
    background: linear-gradient(135deg, var(--accent-green), #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
}

.btn:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
    color: white;
}

.btn:active {
    transform: translateY(0);
}

/* ===== MAP CONTAINER ===== */
.map-container {
    margin: 50px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* ===== SERVICE TIMES ===== */
.service-times {
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.service-times h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.service-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    border-left: 4px solid var(--accent-orange);
}

.service-time:hover {
    background: rgba(243, 156, 18, 0.05);
    transform: translateX(5px);
}

.service-time:last-child {
    margin-bottom: 0;
}

.service-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.service-hour {
    color: var(--accent-red);
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ===== WHATSAPP NOTE ===== */
.whatsapp-note {
    text-align: center;
    margin-top: 15px;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and small desktops */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
        margin-top: 60px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .service-times {
        padding: 30px;
    }
    
    .service-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .service-hour {
        align-self: flex-start;
    }
}

/* Mobile devices */
@media (max-width: 576px) {
    .hero {
        padding: 80px 15px;
        margin-top: 60px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .service-times {
        padding: 25px 20px;
    }
    
    .service-time {
        padding: 12px 15px;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact-info h3,
    .contact-form h3,
    .service-times h3 {
        font-size: 1.5rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-content h2,
    .hero-content p,
    .contact-detail,
    .service-time,
    .contact-info,
    .contact-form,
    .map-container,
    .btn {
        animation: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-control {
        border-width: 3px;
    }
    
    .service-time {
        border-left-width: 6px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero {
        background: none !important;
        color: black !important;
        padding: 60px 20px !important;
    }
    
    .btn,
    .map-container {
        display: none !important;
    }
    
    .contact-info,
    .contact-form,
    .service-times {
        box-shadow: none !important;
        border: 2px solid #000 !important;
    }
}


















/* ===== CATHEDRAL CONTACTS STYLES ===== */

/* Cathedral Location Section */
.cathedral-location {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cathedral-location .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
}

.cathedral-location .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--cathedral-gold);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--cathedral-gold);
}

.location-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.location-feature i {
    font-size: 2rem;
    color: var(--cathedral-gold);
    margin-top: 5px;
    flex-shrink: 0;
}

.location-feature h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.location-feature p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.location-map {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--cathedral-gold);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--cathedral-gold);
    margin-bottom: 20px;
    display: block;
}

.map-placeholder h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.map-placeholder p {
    color: var(--text-gray);
    margin: 0;
}

/* Enhanced Contact Section */
.contact .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
}

.contact .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--cathedral-gold);
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--cathedral-gold);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-info:hover::before {
    left: 100%;
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.contact-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cathedral-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail:hover .contact-icon {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-text h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-text p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--cathedral-gold);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--cathedral-gold), transparent, var(--cathedral-gold));
    border-radius: calc(var(--border-radius) + 2px);
    z-index: -1;
    opacity: 0.3;
}

.contact-form h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

/* Enhanced Service Times */
.service-times {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 50px;
    border-right: 4px solid var(--cathedral-gold);
    position: relative;
    overflow: hidden;
}

.service-times::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-times:hover::before {
    left: 100%;
}

.service-times h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.service-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

.service-time:hover {
    background: rgba(212, 175, 55, 0.05);
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 -15px;
    border-radius: 5px;
}

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

.service-name {
    color: var(--primary-dark);
    font-weight: 500;
    flex: 1;
}

.service-hour {
    color: var(--cathedral-gold);
    font-weight: 600;
    text-align: right;
}

/* Cathedral Leadership Section */
.cathedral-leadership {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-dark) 50%);
    color: white;
}

.cathedral-leadership .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: white;
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
}

.cathedral-leadership .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--cathedral-gold);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.leader-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--cathedral-gold);
}

.leader-icon {
    width: 70px;
    height: 70px;
    background: var(--cathedral-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.leader-card:hover .leader-icon {
    transform: scale(1.1);
}

.leader-icon i {
    color: white;
    font-size: 1.8rem;
}

.leader-card h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.leader-card p {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.leader-card small {
    color: var(--cathedral-gold);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cathedral Gold Color Variable */
:root {
    --cathedral-gold: #d4af37;
}

/* Animation for Cathedral Elements */
@keyframes cathedralGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

.contact-info:hover,
.contact-form:hover,
.service-times:hover,
.leader-card:hover {
    animation: cathedralGlow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN FOR CATHEDRAL SECTIONS ===== */
@media (max-width: 768px) {
    .location-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cathedral-location .section-title,
    .contact .section-title,
    .cathedral-leadership .section-title {
        font-size: 2rem;
    }
    
    .location-map {
        order: -1;
    }
    
    .service-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .service-hour {
        text-align: left;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .cathedral-location .section-title,
    .contact .section-title,
    .cathedral-leadership .section-title {
        font-size: 1.8rem;
    }
    
    .location-feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-info,
    .contact-form,
    .service-times {
        padding: 25px;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .leader-card {
        padding: 20px;
    }
    
    .leader-icon {
        width: 60px;
        height: 60px;
    }
    
    .leader-icon i {
        font-size: 1.5rem;
    }
}