/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(220, 15%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 15%, 15%);
    --primary: hsl(220, 20%, 25%);
    --primary-foreground: hsl(0, 0%, 98%);
    --primary-hover: hsl(220, 20%, 20%);
    --secondary: hsl(220, 10%, 92%);
    --secondary-foreground: hsl(220, 15%, 25%);
    --muted: hsl(220, 8%, 95%);
    --muted-foreground: hsl(220, 10%, 45%);
    --accent: hsl(220, 12%, 88%);
    --accent-foreground: hsl(220, 15%, 25%);
    --border: hsl(220, 12%, 88%);
    --church-gold: hsl(45, 100%, 65%);
    --church-gold-dark: hsl(45, 100%, 55%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary), var(--primary-hover));
    --gradient-subtle: linear-gradient(180deg, var(--background), var(--muted));
    
    /* Shadows */
    --shadow-card: 0 2px 10px -2px hsl(220, 20%, 25%, 0.08);
    --shadow-elegant: 0 4px 20px -2px hsl(220, 20%, 25%, 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 0;
    display: none;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.social-links a {
    color: var(--primary-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--church-gold);
}

.main-header {
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-card);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    width: 3rem;
    height: 3rem;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 639px) {
    .logo-text {
        display: none;
    }
}

.desktop-nav {
    display: none;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--foreground);
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-card);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.mobile-nav {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    animation: fadeIn 0.3s ease;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--foreground);
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 5rem 0 8rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}

.hero-content {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    display: block;
    font-size: 1.875rem;
    color: var(--church-gold);
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 3.75rem;
    }
}

.hero-verse {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.verse-text {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .verse-text {
        font-size: 1.5rem;
    }
}

.verse-reference {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--primary-foreground);
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    box-shadow: var(--shadow-elegant);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: var(--accent);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

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

.btn-outline-white {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

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

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

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

.bg-muted {
    background-color: var(--muted);
}

.bg-gradient {
    background: var(--gradient-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Schedule Card */
.schedule-card {
    max-width: 32rem;
    margin: 0 auto;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

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

.schedule-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.schedule-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.schedule-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-weight: 500;
}

/* Feature Card */
.feature-card {
    background: linear-gradient(135deg, rgba(var(--primary), 0.05), rgba(var(--primary), 0.1));
    border: 1px solid rgba(var(--primary), 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .feature-card {
        grid-template-columns: 1fr 1fr;
        padding: 3rem;
    }
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(var(--primary), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.feature-content h2 {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .feature-content h2 {
        font-size: 2.25rem;
    }
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.placeholder-image {
    width: 16rem;
    height: 16rem;
    background-color: var(--muted);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image svg {
    width: 6rem;
    height: 6rem;
    color: var(--muted-foreground);
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

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

.pillar-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
}

.pillar-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(var(--primary), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pillar-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Call to Action */
.cta {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding: 4rem 0;
}

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

.cta-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0;
}

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

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

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 2.5rem;
    height: 2.5rem;
}

.footer-logo h3 {
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0;
}

.footer-logo p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.footer-verse {
    font-size: 0.875rem;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.footer-reference {
    font-size: 0.75rem;
    opacity: 0.75;
}

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

.footer-links li,
.footer-schedule li {
    margin-bottom: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--primary-foreground);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--church-gold);
}

.footer-contact .icon {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.footer-schedule li {
    opacity: 0.9;
    font-size: 0.875rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--church-gold);
}

.social-icons svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.75;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.footer-love {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-love .heart {
    width: 1rem;
    height: 1rem;
    color: var(--church-gold);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #25d366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    z-index: 1000;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}