/* /css/styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #1a2b4c;
    --royal-purple: #4a2c5f;
    --gold: #d4af37;
    --gold-light: #f0d47e;
    --warm-gradient: linear-gradient(135deg, var(--deep-blue), var(--royal-purple));
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --bg-light: #f8f9fa;
    --bg-dark: #0f172a;
    --shadow: 0 15px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* container */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* section padding */
.section-padding {
    padding: 5rem 0;
}

/* typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 { font-size: 2.5rem; color: var(--deep-blue); }
h2.light { color: white; }
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* navigation */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(26, 43, 76, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo a img {
    height: 3rem;
    max-height: 50px;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--gold);
}
.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* hero */
.hero {
    min-height: 90vh;
    background: url('../images/church2.png') center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}
.hero-ovlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(26,43,76,0.9), rgba(74,44,95,0.8));
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}
.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--gold);
    color: var(--deep-blue);
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: scale(1.05);
}
.btn-outline {
    border: 2px solid white;
    color: white;
}
.btn-outline:hover {
    background: white;
    color: var(--deep-blue);
}
.btn-link {
    color: var(--royal-purple);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-link i { transition: transform 0.2s; }
.btn-link:hover i { transform: translateX(5px); }

/* grid layout */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* welcome, pastor */
.welcome-text .large-text {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}
.bg-light { background: var(--bg-light); }
.pastor-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--royal-purple);
    border-left: 5px solid var(--gold);
    padding-left: 2rem;
    margin: 2rem 0;
}
.pastor-name {
    font-weight: 700;
    font-size: 1.5rem;
}
.pastor-title { color: #666; }

/* ministry cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(74,44,95,0.2);
}
.card img {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}
.card-content {
    padding: 1.5rem;
    text-align: center;
}
.card-content h3 { margin-bottom: 0; color: var(--royal-purple); }

/* live stream */
.bg-dark {
    background: var(--bg-dark);
    color: white;
}
.bg-dark h2 { color: white; }
.youtube-placeholder {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
}
.youtube-placeholder iframe {
    width: 100%;
    height: 100%;
}
.cta-subscribe {
    text-align: center;
}

/* stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-item:hover { transform: scale(1.05); }
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1.2;
}
.stat-label {
    font-size: 1.3rem;
    color: var(--deep-blue);
    font-weight: 600;
}

/* cta cell */
.cta-cell {
    background: linear-gradient(135deg, var(--deep-blue), var(--royal-purple));
    text-align: center;
    color: white;
}
.cta-content h2 {
    color: white;
    font-size: 3rem;
}
.cta-content p {
    font-size: 1.3rem;
    margin: 1.5rem 0;
}

/* footer */
.site-footer {
    background: #0b1525;
    color: #ccc;
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-about h3, .footer-links h3, .footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.footer-social a {
    display: inline-block;
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--deep-blue);
}
.footer-bottom {
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
}

/* animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.slide-in {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideIn 0.8s forwards;
}
@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}
.slide-in.delay-1 { animation-delay: 0.2s; }
.slide-in.delay-2 { animation-delay: 0.4s; }

/* responsive */
@media (max-width: 992px) {
    .grid-2, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--deep-blue);
        padding: 2rem;
        transition: left 0.3s;
    }
    .main-nav.open { left: 0; }
    .main-nav ul { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}





    /* Additional styles for contact.html – add to /css/styles.css */

/* Page Banner (unique for interior pages) */
.page-banner {
    min-height: 40vh;
    background: url('https://via.placeholder.com/1600x600/1e2b4a/d4af37?text=Kampala+City+Church') center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,43,76,0.85), rgba(74,44,95,0.8));
}
.banner-content {
    position: relative;
    z-index: 2;
}
.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.banner-content p {
    font-size: 1.3rem;
    font-weight: 300;
}

/* Contact Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}
.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(74,44,95,0.2);
}
.card-icon {
    width: 80px;
    height: 80px;
    background: var(--warm-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    font-size: 2.2rem;
    border: 3px solid var(--gold-light);
}
.contact-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}
.contact-card p {
    color: #333;
    line-height: 1.8;
}

/* Service Times */
.times-grid {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.time-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 1.2rem 0;
    border-bottom: 1px dashed #ddd;
}
.time-item:last-child {
    border-bottom: none;
}
.day {
    font-weight: 700;
    color: var(--royal-purple);
    width: 130px;
    font-size: 1.2rem;
}
.time {
    color: var(--deep-blue);
    flex: 1;
    margin-left: 1rem;
}
@media (max-width: 600px) {
    .time-item { flex-direction: column; }
    .day { width: auto; margin-bottom: 0.3rem; }
    .time { margin-left: 0; }
}

/* Contact Form */
.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.form-container h2 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}
.form-group textarea {
    border-radius: 30px;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
.form-container button {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

/* Map placeholder */
.map-placeholder h2 {
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
}
.map-frame {
    width: 100%;
    height: 350px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid white;
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.map-note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--deep-blue);
}

/* Responsive touch */
@media (max-width: 768px) {
    .banner-content h1 { font-size: 2.5rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .form-container, .map-frame { margin-bottom: 2rem; }
    .grid-2 { gap: 2rem; }
    }
