/* =====================================================
   CLC MOTOR PARTS — Home Page (Default.aspx) Styles
   ===================================================== */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 520px;
    background-image: url("https://github.com/ChristianLauronilla/MY_MIT_JAVA_PROJECTS/blob/master/SCHOOL_LIBRARY_MANAGEMENT_SYSTEM/jumbotronbgimagepng.png?raw=true");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,20,40,0.82) 0%, rgba(39,174,96,0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 20px;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title span {
    color: #f39c12;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.7;
}
.hero-buttons .btn-primary-hero {
    background: #27ae60;
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    transition: all 0.25s;
    margin-right: 12px;
    display: inline-block;
}
.hero-buttons .btn-primary-hero:hover {
    background: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39,174,96,0.4);
    color: #fff;
    text-decoration: none;
}
.hero-buttons .btn-outline-hero {
    background: transparent;
    color: #fff;
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.25s;
    display: inline-block;
}
.hero-buttons .btn-outline-hero:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}
.hero-stat-item .stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-item .stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
    align-self: stretch;
}

/* ===== WHY CHOOSE US ===== */
.features-section {
    padding: 80px 0;
    background: #fff;
}
.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #27ae60;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 540px;
    margin: 0 auto 50px;
    line-height: 1.7;
}
.feature-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}
.feature-card:hover {
    background: #fff;
    border-color: #c8e6c9;
    box-shadow: 0 15px 40px rgba(39,174,96,0.1);
    transform: translateY(-4px);
}
.feature-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(39,174,96,0.3);
}
.feature-card h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== BRANCHES SECTION ===== */
.branches-section {
    padding: 80px 0;
    background: #f8f9fa;
}
.branch-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}
.branch-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.branch-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #ddd;
}
.branch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.branch-card:hover .branch-img-wrapper img {
    transform: scale(1.05);
}
.branch-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-main {
    background: #27ae60;
    color: white;
}
.badge-branch {
    background: rgba(255,255,255,0.9);
    color: #1a1a2e;
}
.branch-card-body {
    padding: 24px;
}
.branch-card-body h5 {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 6px;
    line-height: 1.3;
}
.branch-location {
    font-size: 0.82rem;
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 10px;
}
.branch-location i {
    margin-right: 4px;
}
.branch-address {
    font-size: 0.87rem;
    color: #777;
    margin-bottom: 18px;
    line-height: 1.5;
}
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a2e;
    color: #fff;
    padding: 9px 18px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-map:hover {
    background: #27ae60;
    color: #fff;
    text-decoration: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-cta-messenger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1877f2;
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 25px rgba(24,119,242,0.4);
}
.btn-cta-messenger:hover {
    background: #1464d6;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(24,119,242,0.5);
    color: white;
    text-decoration: none;
}
.btn-cta-facebook {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.25s;
    margin-left: 16px;
}
.btn-cta-facebook:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
}

/* =====================================================
   MOBILE RESPONSIVE — Home Page
   ===================================================== */

/* Tablet */
@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        min-height: 420px;
    }
    .hero-content {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-stats {
        gap: 24px;
        margin-top: 36px;
    }
    .hero-stat-item .stat-num {
        font-size: 1.5rem;
    }

    /* Sections */
    .features-section,
    .branches-section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.7rem;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .btn-cta-facebook {
        margin-left: 0;
        margin-top: 14px;
    }
    .cta-section > .container > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    /* Hero */
    .hero-section {
        min-height: 100vh;
        align-items: flex-start;
    }
    .hero-content {
        padding: 50px 0 40px;
        width: 100%;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-badge {
        font-size: 0.7rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .btn-primary-hero,
    .hero-buttons .btn-outline-hero {
        margin-right: 0;
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        gap: 16px;
        margin-top: 30px;
        flex-wrap: wrap;
    }
    .hero-stat-item .stat-num {
        font-size: 1.3rem;
    }
    .stat-divider {
        display: none;
    }

    /* Sections */
    .features-section,
    .branches-section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .feature-card {
        padding: 28px 20px;
        margin-bottom: 0;
    }

    /* Branch cards full width on mobile */
    .branch-img-wrapper {
        height: 180px;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }
    .cta-section h2 {
        font-size: 1.5rem;
    }
    .btn-cta-messenger,
    .btn-cta-facebook {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        padding: 14px 20px;
    }
    .cta-section > .container > div {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}
