/* 
   CBI Cartagena - Main Stylesheet 
   Font: Outfit
*/

:root {
    --primary-color: #0F172A;
    /* Deep Navy */
    --secondary-color: #334155;
    /* Slate */
    --accent-color: #F59E0B;
    /* Gold/Amber */
    --text-color: #1E293B;
    --light-text: #64748B;
    --background-color: #F8FAFC;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #EF4444;
    /* YouTube Red */
    color: white;
}

.btn-secondary:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo .highlight {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn-give {
    background-color: #EF4444;
    /* Red */
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-give:hover {
    background-color: #F97316;
    /* Orange */
    color: var(--primary-color);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: -80px;
    /* Offset navbar height if sticky overlapping */
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.pastors-names {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px !important;
    color: var(--accent-color);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #cbd5e1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    border-radius: 10px;
    font-size: 1.5rem;
}

.img-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.vision-box {
    background-color: var(--white);
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.vision-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.web-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.service-card .time {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 15px;
}

/* Media Section */
.media {
    background-color: var(--white);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
    margin-bottom: 30px;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-note {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Give Section */
.give {
    position: relative;
    background: linear-gradient(rgba(245, 158, 11, 0.9), rgba(245, 158, 11, 0.95)), url('https://images.unsplash.com/photo-1518458028785-8fbcd101ebb9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    text-align: center;
    color: var(--primary-color);
}

.give-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bank-card {
    background: var(--white);
    max-width: 400px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.bank-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.account-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
    letter-spacing: 1px;
}

/* Footer & Map */
.footer-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-info h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.footer-map iframe {
    border-radius: 10px;
}

.footer-bottom {
    background-color: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .hamburger .bar {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on navbar height */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .about-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }
}