/* Homepage styles — ported from the live esimsignal.com homepage (Elementor page 13). */

.home-body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #ffffff;
}

.brand-logo img {
    height: 44px;
    width: auto;
    display: block;
}

/* ---------- Hero banner ---------- */
.home-hero {
    text-align: center;
    padding: 90px 16px 100px;
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(0, 40, 45, 0.55) 0%, rgba(0, 80, 80, 0.55) 100%),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}
.home-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.home-hero-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #eafffb;
    margin: 12px 0 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
@media (max-width: 767px) {
    .home-hero { padding: 60px 16px 70px; }
    .home-hero-sub { font-size: 16px; }
}

/* ---------- Search section ---------- */
.home-search {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1FFFF 100%);
    text-align: center;
    padding: 30px 16px 26px;
}
.home-search h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #008080;
    margin: 0 0 22px;
}
@media (max-width: 600px) {
    .home-search h2 { font-size: 22px; }
}
.home-search .search-container {
    position: relative;
    width: 400px;
    max-width: 90%;
    margin: 0 auto;
    z-index: 100;
    text-align: left;
}
.home-search .search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: none;
    color: inherit;
    font-family: inherit;
}
.home-search .search-input:focus {
    outline: none;
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
}
.home-search .results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 101;
    display: none;
    margin-top: 5px;
    border: 1px solid #e9ecef;
    color: #1d2327;
}

/* ---------- Local / Region filter switch ---------- */
.filter-switch-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}
.filter-switch {
    display: inline-flex;
    background: white;
    border-radius: 12px;
    padding: 3px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0, 110, 110, 0.15);
}
.filter-switch button {
    all: unset;
    cursor: pointer;
    padding: 10px 42px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #036672;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-align: center;
}
.filter-switch button.active {
    background: linear-gradient(165deg, #008181, #006b6b);
    color: white;
    box-shadow:
        0 6px 14px rgba(0, 110, 110, 0.2),
        0 2px 4px rgba(0, 80, 80, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}
.filter-switch button:not(.active):hover {
    color: #005f5f;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
    .filter-switch button { padding: 8px 25px; font-size: 14px; }
}

/* ---------- Destination cards ---------- */
.cards-section {
    background: #F1FFFF;
    padding: 28px 12px 36px;
}
.filter-item {
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    display: block;
}
.hide {
    opacity: 1;
    transform: translateX(45px);
    pointer-events: none;
    display: none;
}
.cards-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.simple-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.1rem 1rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.simple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.simple-card img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
/* Region icons are white glyphs — sit them in a teal circle so they show on white cards */
.region-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #008080;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.region-icon img {
    width: 24px;
    height: 24px;
    border-radius: 0;
    object-fit: contain;
}
.simple-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: #1d2327;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
}
.simple-name small {
    font-weight: 400;
    font-size: 0.78rem;
    color: #7a8794;
}

.home-body .site-footer {
    background: #F1FFFF;
    margin: 0;
    padding: 1.6rem 1rem 5.5rem;
}
