/* ===== HOME PAGE STYLES ===== */
/* Modern redesign with Playfair Display + Inter */

:root {
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #c9a84c;
    --color-accent-light: #e8d48b;
    --color-text: #2d2d2d;
    --color-text-light: #6b6b6b;
    --color-bg: #fafafa;
    --color-white: #ffffff;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== NAVBAR OVERRIDE FOR HOME ===== */
.navbar.fixed-top {
    transition: background-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: stretch;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide .hero-content-left,
.hero-slide .hero-content-right,
.hero-slide .hero-content-center {
    width: 100%;
}

.hero-slide-1 {
    background-image: url('../img/home_banner.jpg');
}

.hero-slide-2 {
    background-image: url('../img/home_banner_2.jpg');
}

.hero-slide-3 {
    background-image: url('../img/home_banner_3.jpg');
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-content-left {
    text-align: left;
    margin-right: auto;
    padding-left: 8%;
}

.hero-content-center {
    text-align: center;
    margin: 0 auto;
}

.hero-content-right {
    text-align: right;
    margin-left: auto;
    padding-right: 8%;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    border: 2px solid var(--color-accent);
    padding: 14px 36px;
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
}

.hero-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

.hero-btn i {
    transition: transform 0.3s var(--transition-smooth);
}

.hero-btn:hover i {
    transform: translateX(4px);
}

/* Carousel indicators */
.hero-section .carousel-indicators {
    bottom: 80px;
}

.hero-section .carousel-indicators button {
    width: 40px;
    height: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.4s var(--transition-smooth);
}

.hero-section .carousel-indicators button.active {
    background: var(--color-accent);
    width: 60px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
}

/* ===== COMMON SECTION STYLES ===== */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-tag-light {
    color: var(--color-accent-light);
}

.section-tag-gold {
    color: var(--color-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    margin-bottom: 32px;
}

.section-divider-light {
    margin-left: auto;
    margin-right: auto;
}

.section-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--color-primary);
    transition: all 0.4s var(--transition-smooth);
    letter-spacing: 0.5px;
}

.section-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.2);
}

.section-btn:hover i {
    transform: translateX(4px);
}

.section-btn i {
    transition: transform 0.3s var(--transition-smooth);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    padding: 100px 0;
    background: var(--color-bg);
    overflow: hidden;
}

.welcome-images {
    position: relative;
    padding: 30px;
}

.welcome-img-main {
    width: 85%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.welcome-img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 3;
    border: 5px solid var(--color-white);
}

.welcome-img-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border: 3px solid var(--color-accent);
    border-radius: 4px;
    z-index: 1;
}

.welcome-content {
    padding-left: 16px;
}

.welcome-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

.welcome-feature i {
    font-size: 16px;
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 50%;
}

/* ===== PASTOR SECTION ===== */
.pastor-section {
    padding: 100px 0;
    background: var(--color-white);
    overflow: hidden;
}

.pastor-image-wrapper {
    position: relative;
    display: inline-block;
}

.pastor-img {
    width: 100%;
    max-width: 350px;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.pastor-img-frame {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    max-width: 350px;
    height: 420px;
    border: 3px solid var(--color-accent);
    border-radius: 4px;
    z-index: 1;
}

.pastor-content {
    padding-right: 32px;
}

.pastor-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    font-style: italic;
}

.pastor-lead {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--color-accent);
}

.pastor-bio {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* ===== ANNIVERSARY SECTION ===== */
.anniversary-section {
    position: relative;
    padding: 100px 0;
    background: var(--color-primary);
    overflow: hidden;
}

.anniversary-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
}

.anniversary-content {
    position: relative;
}

.anniversary-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.anniversary-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.anniversary-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.anniversary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 8px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.anniversary-image-wrapper {
    position: relative;
    text-align: center;
}

.anniversary-img {
    width: 100%;
    max-width: 480px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.anniversary-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 90px;
    height: 90px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.badge-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@media (max-width: 991px) {
    .anniversary-section {
        padding: 70px 0;
    }

    .anniversary-image-wrapper {
        margin-top: 48px;
    }

    .anniversary-img {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .anniversary-stats {
        gap: 16px;
    }

    .anniversary-stat {
        min-width: 80px;
        padding: 16px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* ===== EVENTS SECTION ===== */
.events-section {
    padding: 100px 0;
    background: var(--color-primary);
    overflow: hidden;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.event-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.event-card:hover .event-card-img {
    transform: scale(1.08);
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.event-card:hover .event-card-overlay {
    opacity: 1;
}

.event-card-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../img/home_banner_3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.countdown-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(22, 33, 62, 0.88) 100%);
}

.countdown-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.countdown-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.countdown-text {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 48px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.cd-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.cd-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .welcome-section,
    .pastor-section,
    .events-section,
    .countdown-section {
        padding: 70px 0;
    }

    .welcome-images {
        margin-bottom: 48px;
    }

    .welcome-img-main {
        width: 100%;
        height: 350px;
    }

    .welcome-img-accent {
        width: 50%;
        height: 200px;
    }

    .pastor-image-wrapper {
        margin-bottom: 48px;
        display: block;
        text-align: center;
    }

    .pastor-img {
        max-width: 100%;
        height: 400px;
    }

    .pastor-img-frame {
        display: none;
    }

    .pastor-content {
        padding-right: 0;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-section .carousel-indicators {
        bottom: 60px;
    }

    .welcome-img-accent {
        display: none;
    }

    .welcome-img-decoration {
        width: 80px;
        height: 80px;
    }

    .welcome-img-main {
        width: 100%;
        height: 300px;
    }

    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .countdown-timer {
        gap: 16px;
    }

    .cd-item {
        min-width: 80px;
        padding: 16px 12px;
    }

    .cd-num {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        aspect-ratio: 4/3;
    }

    .cd-item {
        min-width: 70px;
    }
}

/* ===== ANIMATIONS ===== */
.hero-slide .hero-content .hero-tag,
.hero-slide .hero-content .hero-title,
.hero-slide .hero-content .hero-subtitle,
.hero-slide .hero-content .hero-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.8s var(--transition-smooth) forwards;
}

.carousel-item.active .hero-tag { animation-delay: 0.2s; }
.carousel-item.active .hero-title { animation-delay: 0.4s; }
.carousel-item.active .hero-subtitle { animation-delay: 0.6s; }
.carousel-item.active .hero-btn { animation-delay: 0.8s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ken Burns effect on carousel images */
.carousel-item.active .hero-slide {
    animation: kenBurns 8s var(--transition-smooth) forwards;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
