/**
 * Sam BDS - Homepage CSS
 */

.sambds-homepage {
    background: #F8F9FA;
}


/* ============================================
   HERO SECTION
   ============================================ */
.sambds-hero {
    position: relative;
    background: linear-gradient(135deg, #0D3B6E 0%, #1B4F8C 50%, #1a6fbd 100%);
    padding: 80px 0 72px;
    overflow: hidden;
}

.sambds-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sambds-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sambds-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.95);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.sambds-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--sb-white);
    margin: 0 0 16px;
    line-height: 1.2;
}

.sambds-hero-title span {
    color: #F26522;
}

.sambds-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Hero search form */
.sambds-hero-search {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto 36px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
}

.sambds-hero-select {
    flex: 1;
    min-width: 160px;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: var(--sb-white);
    color: var(--sb-gray-900);
    cursor: pointer;
}

.sambds-hero-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(45,174,229,0.5);
}

.sambds-hero-btn {
    padding: 11px 24px;
    background: var(--sb-orange);
    color: var(--sb-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.sambds-hero-btn:hover {
    background: #E55510;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242,101,34,0.4);
}

/* Stats */
.sambds-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.sambds-hero-stat {
    text-align: center;
}

.sambds-hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--sb-white);
    line-height: 1;
}

.sambds-hero-stat span {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
    display: block;
}


/* ============================================
   SECTION HEADERS
   ============================================ */
.sambds-section-featured,
.sambds-section-cities,
.sambds-section-why {
    padding: 56px 0;
}

.sambds-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.sambds-section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sambds-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sb-blue-dark);
    margin: 0 0 4px;
}

.sambds-section-sub {
    font-size: 15px;
    color: var(--sb-gray-700);
    margin: 0;
}

.sambds-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--sb-blue-light);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.sambds-section-link:hover {
    color: var(--sb-orange);
    text-decoration: none;
}

/* Home grid - 3 cột */
.sambds-grid-home {
    grid-template-columns: repeat(3, 1fr);
}


/* ============================================
   CITIES SECTION
   ============================================ */
.sambds-section-cities {
    background: var(--sb-white);
}

.sambds-cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sambds-city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    background: linear-gradient(135deg, #F0F9FF, #E3F2FD);
    border: 2px solid var(--sb-gray-200);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s;
    text-align: center;
}

.sambds-city-card:hover {
    border-color: var(--sb-blue-light);
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(45,174,229,0.15);
    text-decoration: none;
}

.sambds-city-icon {
    font-size: 36px;
    line-height: 1;
}

.sambds-city-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--sb-blue-dark);
}

.sambds-city-count {
    font-size: 13px;
    color: var(--sb-blue-light);
    font-weight: 500;
}


/* ============================================
   WHY US SECTION
   ============================================ */
.sambds-section-why {
    background: var(--sb-gray-50);
}

.sambds-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sambds-why-card {
    background: var(--sb-white);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--sb-gray-200);
    transition: all 0.25s;
}

.sambds-why-card:hover {
    border-color: var(--sb-blue-light);
    box-shadow: 0 6px 16px rgba(45,174,229,0.1);
    transform: translateY(-3px);
}

.sambds-why-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.sambds-why-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sb-blue-dark);
    margin: 0 0 8px;
}

.sambds-why-card p {
    font-size: 14px;
    color: var(--sb-gray-700);
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   CTA SECTION
   ============================================ */
.sambds-section-cta {
    background: linear-gradient(135deg, var(--sb-blue-dark) 0%, #1a6fbd 100%);
    padding: 56px 0;
}

.sambds-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sambds-cta-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--sb-white);
    margin: 0 0 6px;
}

.sambds-cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.sambds-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sambds-cta-btn-primary,
.sambds-cta-btn-secondary,
.sambds-cta-btn-mess {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-block;
}

.sambds-cta-btn-primary {
    background: var(--sb-orange);
    color: var(--sb-white) !important;
}

.sambds-cta-btn-secondary {
    background: var(--sb-blue-light);
    color: var(--sb-white) !important;
}

.sambds-cta-btn-mess {
    background: #1877F2;
    color: var(--sb-white) !important;
}

.sambds-cta-btn-primary:hover,
.sambds-cta-btn-secondary:hover,
.sambds-cta-btn-mess:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sambds-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .sambds-hero {
        padding: 56px 0 48px;
    }

    .sambds-hero-title {
        font-size: 28px;
    }

    .sambds-hero-search {
        flex-direction: column;
    }

    .sambds-hero-select {
        min-width: 100%;
    }

    .sambds-hero-stats {
        gap: 20px;
    }

    .sambds-hero-stat strong {
        font-size: 22px;
    }

    .sambds-cities-grid {
        grid-template-columns: 1fr;
    }

    .sambds-why-grid {
        grid-template-columns: 1fr;
    }

    .sambds-grid-home {
        grid-template-columns: 1fr;
    }

    .sambds-cta-box {
        flex-direction: column;
        text-align: center;
    }

    .sambds-cta-buttons {
        justify-content: center;
    }

    .sambds-section-title {
        font-size: 22px;
    }
}
