/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow: hidden;
}

body.content-visible {
    overflow: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo-text h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #2c3e50;
}

.nav-logo-text span {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Background Image */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('img/churchMaincomp.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e5f85 0%, #2980b9 100%);
    /* background: linear-gradient(135deg, #5dade2 0%, #3498db 100%); */
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
.about-section,
.welcome-section,
.mass-schedules {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

.welcome-section {
    /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
    background: linear-gradient(135deg, #1e5f85 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.welcome-section h2 {
    color: white;
}

.welcome-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

/* Priest Message Layout */
.priest-message-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.priest-message-text {
    flex: 1;
    text-align: left;
}

.priest-message-text h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.priest-message-text p {
    margin: 0 auto 1rem;
    text-align: left;
    max-width: none;
}

.priest-message-image {
    flex-shrink: 0;
    width: 300px;
    margin-top: 6rem;
}

.priest-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.priest-image:hover {
    transform: scale(1.05);
}

/* Priest Signature Styling */
.priest-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.priest-signature p {
    margin-bottom: 0.5rem;
    font-style: italic;
}

.priest-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem !important;
    font-style: normal !important;
}

.priest-title {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal !important;
}

.parish-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal !important;
    margin-top: 0.5rem !important;
}

/* Zones Note Styling */
.zones-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.zones-note p {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    text-align: center;
    line-height: 1.6;
}

.zones-note strong {
    color: #3498db;
}

/* Responsive design for priest message */
@media (max-width: 768px) {
    .priest-message-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .priest-message-text {
        text-align: center;
    }
    
    .priest-message-text p {
        text-align: center;
    }
    
    .priest-message-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Mass Schedules */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.schedule-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
}

.schedule-card h2 {
    color: #3498db;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.schedule-list {
    margin-bottom: 2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #ecf0f1;
    flex-direction: row;
}

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

.schedule-item .day {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.schedule-left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.schedule-item .time {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 3px;
    text-align: right;
}

.schedule-item .location {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 2px;
    font-style: italic;
}

.schedule-note {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.schedule-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Special Services */
.special-services {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-item.adoration {
    text-align: center;
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

/* Mass Info */
.mass-info {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-item h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

.social-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
    line-height: 1.4;
}

/* Map Link Styles */
.map-link {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: #2980b9;
    transform: scale(1.1);
}

.map-link svg {
    margin-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .schedule-card {
        padding: 1.5rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .mass-info {
        padding: 2rem 1.5rem;
    }
} 

/* Societies Page Styles */
.societies-section {
    padding: 80px 0;
}

.societies-intro {
    text-align: center;
    margin-bottom: 60px;
}

.societies-intro h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.societies-intro p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

.societies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.society-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

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

.society-icon {
    text-align: center;
    margin-bottom: 20px;
}

.society-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.society-card > p {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.society-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.society-details p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #34495e;
}

.society-details p:last-child {
    margin-bottom: 0;
}

.join-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    margin-top: 40px;
}

.join-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.join-info h3,
.contact-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.join-info p,
.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.join-info ul {
    list-style: none;
    padding: 0;
}

.join-info ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.join-info ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Responsive Design for Societies */
@media (max-width: 768px) {
    .societies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .society-card {
        padding: 25px;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .join-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .societies-section {
        padding: 60px 0;
    }
    
    .society-card {
        padding: 20px;
    }
    
    .society-card h3 {
        font-size: 1.3rem;
    }
    
    .join-content {
        gap: 20px;
    }
} 

.schedule-item .time {
    font-weight: 600;
    color: #3498db;
}

.schedule-item .location {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 2px;
    font-style: italic;
} 

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #ecf0f1;
}

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

.dropdown-item:hover,
.dropdown-item.active {
    background: #f8f9fa;
    color: #3498db;
}

/* Church Zones Page Styles */
.zones-section {
    padding: 80px 0;
}

.zones-intro {
    text-align: center;
    margin-bottom: 60px;
}

.zones-intro h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.zones-intro p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

/* Zones Table Styles */
.zones-table-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
    overflow-x: auto;
}

.zones-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.zones-table th {
    background: linear-gradient(135deg, #1e5f85 0%, #2980b9 100%);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.zones-table th:first-child {
    border-top-left-radius: 8px;
}

.zones-table th:last-child {
    border-top-right-radius: 8px;
}

.zones-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #ecf0f1;
    vertical-align: top;
}

.zones-table tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.zones-table tr:last-child td {
    border-bottom: none;
}

.zones-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    min-width: 150px;
}

.zones-table td:nth-child(2) {
    min-width: 180px;
}

.zones-table td:nth-child(3) {
    min-width: 140px;
    font-family: monospace;
}

.zones-table td:last-child {
    min-width: 200px;
    color: #7f8c8d;
} 

/* Responsive Design for Dropdown and Zones */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 10px;
    }
    
    .dropdown-item {
        padding: 8px 0;
        border-bottom: none;
        color: #7f8c8d;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zone-card {
        padding: 25px;
    }
    
    .zone-activities {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zone-info {
        padding: 40px 0;
    }
} 