/*
 * YFC Nigeria - Homepage Redesign CSS
 * Complete redesign with modern layout patterns
 */

/* ============================================
   REDESIGN COLOR PALETTE
   ============================================ */
:root {
    /* Enhanced Color Scheme */
    --redesign-red: #dd3d26;
    --redesign-orange: #ff6b35;
    --redesign-navy: #1a1a2e;
    --redesign-gold: #f7931e;
    --redesign-light: #f8f9fa;
    --redesign-dark: #0f0f1e;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #dd3d26 0%, #ff6b35 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.8) 100%);
    --gradient-text: linear-gradient(135deg, #dd3d26 0%, #ff6b35 50%, #f7931e 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* ============================================
   SPLIT SCREEN HERO
   ============================================ */
.hero-redesign {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    background: var(--redesign-navy);
}

.hero-left {
    width: 60%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

.hero-right {
    width: 40%;
    position: relative;
    overflow: hidden;
}

/* Slider Overrides & Ken Burns */
.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ken-burns-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurns 15s linear infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

.hero-diagonal-overlay {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.1;
    transform: skewX(-15deg);
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.btn-hero-primary {
    padding: 1rem 2.5rem;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(221, 61, 38, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(221, 61, 38, 0.4);
}

.btn-hero-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    border-color: var(--redesign-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-3px);
}

.hero-social-float {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.hero-social-float a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.hero-social-float a:hover {
    background: var(--gradient-hero);
    transform: scale(1.1);
}

/* ============================================
   VISION & MISSION SECTION (SIDE-BY-SIDE)
   ============================================ */
.overlap-section {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--redesign-navy) 0%, var(--redesign-dark) 100%);
    overflow: hidden;
}

.overlap-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
}

.overlap-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .1) 35px, rgba(255, 255, 255, .1) 70px);
}

.featured-overlap-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    z-index: 2;
    flex: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.featured-overlap-card:hover {
    transform: translateY(-10px);
}

.offset-overlap-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-left: 4px solid var(--redesign-red);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    flex: 1;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(221, 61, 38, 0.2);
    transition: transform 0.3s ease;
}

.offset-overlap-card:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .overlap-container {
        flex-direction: column;
    }
}

.card-title-gradient {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.card-text-light {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================
   MINISTRIES MASONRY GRID
   ============================================ */
.ministries-redesign {
    padding: 8rem 0;
    background: var(--redesign-light);
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-large {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--redesign-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ministry-card-redesign {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.ministry-card-redesign.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.ministry-card-redesign:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(221, 61, 38, 0.2);
}

.ministry-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-hero);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.ministry-card-redesign:hover .ministry-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.ministry-card-content {
    padding: 2rem;
}

.ministry-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--redesign-navy);
    margin-bottom: 1rem;
}

.ministry-card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ministry-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--redesign-red);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.ministry-card-link:hover {
    gap: 1rem;
}

/* ============================================
   CIRCULAR PROGRESS STATS
   ============================================ */
.stats-circular {
    padding: 8rem 0;
    background: var(--redesign-navy);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.circular-stat {
    text-align: center;
    position: relative;
}

.circular-progress-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
}

.circular-progress-svg {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 10;
}

.progress-ring {
    fill: none;
    stroke: url(#gradient-stroke);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* ============================================
   HORIZONTAL SCROLL STORIES
   ============================================ */
.stories-horizontal {
    padding: 8rem 0;
    background: var(--redesign-light);
    overflow: hidden;
}

.horizontal-scroll-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gradient-hero);
    border-radius: 10px;
}

.story-card-horizontal {
    min-width: 400px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.story-card-horizontal:hover {
    transform: scale(1.05);
}

.story-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: var(--gradient-overlay);
    color: white;
}

.story-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.story-card-excerpt {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   TIMELINE BLOG
   ============================================ */
.blog-timeline {
    padding: 8rem 0;
    background: white;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--redesign-red) 0%, var(--redesign-orange) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(221, 61, 38, 0.2);
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--gradient-hero);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 5px rgba(221, 61, 38, 0.2);
}

/* ============================================
   FEATURED EVENT SPOTLIGHT
   ============================================ */
.event-spotlight {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--redesign-navy);
}

.event-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.event-glass-overlay {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-flip {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.flip-unit {
    text-align: center;
}

.flip-number {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    background: var(--gradient-hero);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    min-width: 100px;
    display: inline-block;
}

.flip-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   CTA SPLIT SECTION
   ============================================ */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.cta-donate {
    background: var(--gradient-hero);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.cta-volunteer {
    background: var(--redesign-navy);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
}

.progress-bar-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    transition: width 2s ease;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-redesign {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .offset-overlap-card {
        position: relative;
        width: 100%;
        top: auto;
        transform: none;
        margin-top: 2rem;
    }

    .ministry-card-redesign.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .cta-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .section-title-large {
        font-size: 2.5rem;
    }

    .story-card-horizontal {
        min-width: 300px;
        height: 400px;
    }

    .flip-number {
        font-size: 2.5rem;
        min-width: 70px;
    }
}

/* ============================================
   PREMIUM STICKY NAVBAR
   ============================================ */
.yfc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.yfc-navbar.scrolled {
    background: rgba(15, 15, 30, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.yfc-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.yfc-brand img {
    height: 48px;
    width: auto;
    display: block;
    filter: brightness(1.1);
}

/* Desktop links */
.yfc-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.yfc-nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.yfc-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.yfc-nav-caret {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

/* Dropdown */
.yfc-nav-dropdown {
    position: relative;
}

.yfc-nav-dropdown:hover .yfc-nav-caret {
    transform: rotate(180deg);
}

.yfc-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.75rem 0;
    min-width: 180px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.yfc-nav-dropdown:hover .yfc-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.yfc-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
}

.yfc-dropdown-menu a:hover {
    color: #dd3d26;
    background: rgba(221, 61, 38, 0.08);
}

/* Right actions */
.yfc-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.yfc-donate-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #dd3d26 0%, #ff6b35 100%);
    color: white !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(221, 61, 38, 0.35);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.yfc-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(221, 61, 38, 0.5);
    color: white !important;
    text-decoration: none !important;
}

/* Hamburger */
.yfc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}

.yfc-hamburger:hover {
    background: rgba(255, 255, 255, 0.08);
}

.yfc-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile drawer */
.yfc-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #0f0f1e;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10000;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.yfc-mobile-drawer.open {
    right: 0;
}

.yfc-drawer-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    align-self: flex-end;
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.yfc-drawer-close:hover {
    opacity: 1;
}

.yfc-mobile-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
}

.yfc-mobile-link:hover {
    color: #dd3d26;
    background: rgba(221, 61, 38, 0.08);
    text-decoration: none;
}

.yfc-mobile-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 1.5rem;
}

/* Overlay */
.yfc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.yfc-drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Navbar responsive */
@media (max-width: 991px) {
    .yfc-nav-links {
        display: none;
    }

    .yfc-hamburger {
        display: flex;
    }

    .yfc-donate-btn {
        display: none;
    }
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.yfc-footer {
    background: #080815;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

.yfc-footer-top {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.yfc-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Brand column */
.yfc-footer-logo img {
    height: 52px;
    width: auto;
    filter: brightness(1.15);
    margin-bottom: 1.25rem;
    display: block;
}

.yfc-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0;
    margin-bottom: 1.75rem;
}

.yfc-footer-socials {
    display: flex;
    gap: 0.75rem;
}

.yfc-footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: background 0.25s, color 0.25s, transform 0.25s;
    text-decoration: none;
}

.yfc-footer-socials a:hover {
    background: linear-gradient(135deg, #dd3d26, #ff6b35);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Footer headings */
.yfc-footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dd3d26;
    margin-bottom: 1.5rem;
}

/* Footer links */
.yfc-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.yfc-footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, gap 0.2s;
}

.yfc-footer-links li a i {
    font-size: 0.6rem;
    color: #dd3d26;
    transition: transform 0.2s;
}

.yfc-footer-links li a:hover {
    color: white;
    gap: 0.75rem;
    text-decoration: none;
}

.yfc-footer-links li a:hover i {
    transform: translateX(3px);
}

/* Contact items */
.yfc-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.yfc-footer-contact-item i {
    color: #dd3d26;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Newsletter label */
.yfc-footer-newsletter-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 1rem 0 0.6rem;
}

/* Newsletter form */
.yfc-footer-newsletter {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: border-color 0.25s;
}

.yfc-footer-newsletter:focus-within {
    border-color: #dd3d26;
}

.yfc-footer-newsletter input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 0.875rem;
    padding: 0.6rem 1.1rem;
    font-family: 'Inter', sans-serif;
}

.yfc-footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.yfc-footer-newsletter button {
    background: linear-gradient(135deg, #dd3d26, #ff6b35);
    border: none;
    color: white;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.yfc-footer-newsletter button:hover {
    opacity: 0.85;
}

/* Footer bottom bar */
.yfc-footer-bottom {
    padding: 1.25rem 0;
}

.yfc-footer-bottom .yfc-footer-container {
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
    gap: 1rem;
    align-items: center;
}

.yfc-footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.yfc-footer-bottom p:last-child {
    text-align: right;
}

/* Footer responsive */
@media (max-width: 1024px) {
    .yfc-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .yfc-footer-brand-col {
        grid-column: 1 / -1;
    }

    .yfc-footer-bottom .yfc-footer-container {
        grid-template-columns: 1fr;
    }

    .yfc-footer-bottom p:last-child {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .yfc-footer-container {
        grid-template-columns: 1fr;
    }

    .yfc-footer-top {
        padding: 3rem 0 2rem;
    }
}