/* ===========================================
   Igreja Metodista em Realengo
   Style Sheet - v2.0 (Redesign)
   Cores: Vermelho, Preto e Branco
   =========================================== */

/* ----- CSS Variables / Theme ----- */
:root {
    --primary: #CC0000;
    --primary-dark: #990000;
    --primary-light: #E60000;
    --primary-gradient: linear-gradient(135deg, #CC0000 0%, #8B0000 100%);
    --dark: #1A1A1A;
    --dark-light: #2A2A2A;
    --dark-medium: #333333;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #CCCCCC;
    --gray-400: #999999;
    --gray-500: #666666;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-muted: #666666;
    --border: #E0E0E0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-red: 0 4px 20px rgba(204, 0, 0, 0.3);
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E60000 0%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(204, 0, 0, 0.4);
}

.btn-secondary {
    background: var(--dark);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
}

/* ----- Header / Navigation ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    background: rgba(26, 26, 26, 0.99);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(204, 0, 0, 0.3);
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-300);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(204, 0, 0, 0.5);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a.active {
    color: var(--primary-light);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ----- Hero Section ----- */
.hero {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A0000 40%, #4A0000 70%, #1A1A1A 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(204, 0, 0, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(204, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content h2 span {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(204, 0, 0, 0.4);
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(204, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    text-align: center;
    padding: 40px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.1) 0%, transparent 50%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-image-placeholder .icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.hero-image-placeholder p {
    position: relative;
    z-index: 1;
}

.hero-image-placeholder small {
    font-size: 0.8rem;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

/* ----- Sections General ----- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 16px auto 0;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--dark);
    color: var(--text-light);
}

.section-dark .section-header h2 {
    color: var(--text-light);
}

.section-dark .section-header h2::after {
    background: var(--primary-gradient);
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* ----- About Section ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--primary-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 40px;
}

.about-image-placeholder .icon {
    font-size: 5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-text .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.1);
}

.stat-item .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ----- Schedule / Programação ----- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.schedule-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.schedule-card:hover::before {
    transform: scaleX(1);
}

.schedule-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.schedule-card .day-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.schedule-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.schedule-card .day {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.schedule-card .time {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--dark);
}

.schedule-card .desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.schedule-card .tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
}

.tag-presencial {
    background: rgba(204, 0, 0, 0.1);
    color: var(--primary);
}

.tag-online {
    background: rgba(26, 26, 26, 0.1);
    color: var(--dark);
}

/* ----- Ministries / Ministérios ----- */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.ministry-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.ministry-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(204, 0, 0, 0.3);
}

.ministry-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.ministry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-light);
}

.ministry-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ----- News / Notícias ----- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-card-image {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 3rem;
}

.news-card-body {
    padding: 24px;
}

.news-card-body .date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.news-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.news-card-body .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-card-body .read-more:hover {
    color: var(--primary-dark);
}

/* ----- Contact Section ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(204, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item .text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-item .text span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--off-white);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

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

.form-group .input-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* Success message */
.success-message {
    background: #27ae60;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    font-weight: 600;
    animation: fadeInUp 0.4s ease;
}

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

/* ----- Map Placeholder ----- */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gray-200);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 32px;
}

.map-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* ----- Footer ----- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer-about h3 span {
    color: var(--primary-light);
}

.footer-about p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 360px;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gradient);
    color: #fff;
    transform: translateY(-2px);
}

/* ----- WhatsApp Float ----- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ----- Page Header (inner pages) ----- */
.page-header {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A0000 50%, #1A1A1A 100%);
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

/* ----- Breadcrumb ----- */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span {
    color: rgba(255,255,255,0.4);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

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

    .about-text .about-stats {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 16px 8px;
    }

    .stat-item .number {
        font-size: 1.5rem;
    }

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

    .footer-about p {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 24px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

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

    .about-text .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ----- Animations ----- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ----- Selection ----- */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ----- Utility ----- */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }
