/* ═══════════════════════════════════════════════════════════
   Homepage Styles — hotels-theme-custom
   Matches hotel page design language (teal, gold, cream)
   ═══════════════════════════════════════════════════════════ */


/* ── Section Common ── */
.hp-section {
    padding: 3.5rem 0;
}

.hp-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hp-section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-primary);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.hp-section-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: var(--theme-text);
    margin: 0;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.6;
}

.hp-section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--theme-primary);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background var(--theme-transition), transform var(--theme-transition);
}

.hp-btn-primary:hover {
    background: #15302f;
    transform: translateY(-2px);
}

.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--theme-primary);
    padding: 0.875rem 2rem;
    border: 2px solid var(--theme-primary);
    border-radius: 2rem;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--theme-transition);
}

.hp-btn-outline:hover {
    background: var(--theme-primary);
    color: #fff;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════
   1. HERO SLIDER
   ═══════════════════════════════════════════════════════════ */
.hp-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 820px;
    overflow: hidden;
}

.hp-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hp-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hp-hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 61, 60, 0.15) 0%,
        rgba(28, 61, 60, 0.45) 50%,
        rgba(28, 61, 60, 0.75) 100%
    );
    z-index: 1;
}

.hp-hero-content {
    position: absolute;
    bottom: 6rem;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 var(--container-padding, 5rem);
    max-width: 1600px;
    margin: 0 auto;
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hp-hero-badge svg {
    color: var(--theme-accent);
}

.hp-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    max-width: 700px;
}

.hp-hero-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    margin: 0 0 1.5rem;
}

.hp-hero-location svg {
    color: var(--theme-accent);
    flex-shrink: 0;
}

.hp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 2rem;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--theme-transition);
}

.hp-hero-btn:hover {
    background: var(--theme-accent);
    border-color: var(--theme-accent);
    transform: translateY(-2px);
}

/* Hero Navigation */
.hp-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--theme-transition);
}

.hp-hero-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255,255,255,0.7);
}

.hp-hero-prev { left: 1.5rem; }
.hp-hero-next { right: 1.5rem; }

/* Hero Dots */
.hp-hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hp-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: all var(--theme-transition);
    padding: 6px;
}

.hp-hero-dot.active {
    background: #fff;
    border-color: #fff;
    width: 28px;
    border-radius: 1rem;
}

.hp-hero-pause {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    transition: all var(--theme-transition);
    padding: 0;
}
.hp-hero-pause:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.8);
}


/* ═══════════════════════════════════════════════════════════
   2. POPULAR HOTELS
   ═══════════════════════════════════════════════════════════ */
.hp-popular {
    background: #fff;
}

.hp-hotels-slider {
    position: relative;
    padding: 1rem 0 2rem;
}

.hp-hotels-slider .circle-buttons {
    justify-content: center;
    margin-top: 1.5rem;
}

.hp-hotel-card {
    min-width: 340px;
    max-width: 340px;
}

.hp-hotel-card-link {
    display: block;
    background: #fff;
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--theme-transition), transform var(--theme-transition);
}

.hp-hotel-card-link:hover {
    box-shadow: var(--theme-shadow-lg);
    transform: translateY(-4px);
}

.hp-hotel-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hp-hotel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-hotel-card-link:hover .hp-hotel-card-img img {
    transform: scale(1.06);
}

.hp-hotel-card-rating {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--theme-primary);
    padding: 0.3rem 0.65rem;
    border-radius: 2rem;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.hp-hotel-card-body {
    padding: 1.25rem;
}

.hp-hotel-card-title {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-primary);
    margin: 0 0 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-hotel-card-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--theme-text);
    margin: 0;
}

.hp-hotel-card-location svg {
    color: var(--theme-primary);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   3. DESTINATIONS
   ═══════════════════════════════════════════════════════════ */
.hp-destinations {
    background: var(--theme-bg);
}

.hp-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.hp-dest-card {
    position: relative;
    display: block;
    border-radius: var(--theme-radius);
    overflow: hidden;
    height: 320px;
    text-decoration: none;
    transition: transform var(--theme-transition), box-shadow var(--theme-transition);
}

.hp-dest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--theme-shadow-lg);
}

.hp-dest-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hp-dest-card:hover .hp-dest-card-img {
    transform: scale(1.06);
}

.hp-dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 61, 60, 0.8) 0%,
        rgba(28, 61, 60, 0.15) 50%,
        transparent 100%
    );
    z-index: 1;
}

.hp-dest-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.hp-dest-card-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hp-dest-card-count {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* ═══════════════════════════════════════════════════════════
   4. ADVANTAGES / WHY CHOOSE US
   ═══════════════════════════════════════════════════════════ */
.hp-advantages {
    background: #fff;
}

.hp-adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hp-adv-card {
    background: var(--theme-bg-light);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: box-shadow var(--theme-transition), transform var(--theme-transition);
}

.hp-adv-card:hover {
    box-shadow: var(--theme-shadow);
    transform: translateY(-4px);
}

.hp-adv-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--theme-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--theme-primary);
    border: 1px solid var(--theme-border);
}

.hp-adv-title {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-primary);
    margin: 0 0 0.6rem;
}

.hp-adv-text {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: var(--theme-text);
    line-height: 1.65;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   5. BLOG
   ═══════════════════════════════════════════════════════════ */
.hp-blog {
    background: var(--theme-bg-gray);
}

.hp-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.hp-blog-card {
    background: #fff;
    border-radius: var(--theme-radius);
    overflow: hidden;
    border: 1px solid var(--theme-border);
    transition: box-shadow var(--theme-transition), transform var(--theme-transition);
}

.hp-blog-card:hover {
    box-shadow: var(--theme-shadow-lg);
    transform: translateY(-4px);
}

.hp-blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hp-blog-card-img {
    height: 220px;
    overflow: hidden;
}

.hp-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-blog-card:hover .hp-blog-card-img img {
    transform: scale(1.06);
}

.hp-blog-card-body {
    padding: 1.25rem;
}

.hp-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: var(--theme-text);
}

.hp-blog-card-cat {
    background: var(--theme-bg);
    color: var(--theme-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hp-blog-card-title {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-primary);
    margin: 0 0 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-blog-card-excerpt {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    color: var(--theme-text);
    line-height: 1.6;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-primary);
    transition: gap var(--theme-transition);
}

.hp-blog-card:hover .hp-blog-card-read {
    gap: 0.6rem;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── Large Desktop ── */
@media (max-width: 1350px) {
    .hp-hero-content {
        padding: 0 3rem;
    }
    .hp-hero-title {
        font-size: 3rem;
    }
}

/* ── Tablet Landscape ── */
@media (max-width: 1024px) {
    .hp-section {
        padding: 3rem 0;
    }
    .hp-section-title {
        font-size: 2rem;
    }
    .hp-hero {
        height: 70vh;
        min-height: 420px;
    }
    .hp-hero-title {
        font-size: 2.5rem;
    }
    .hp-hero-content {
        bottom: 5rem;
        padding: 0 2rem;
    }
    .hp-dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-dest-card {
        height: 280px;
    }
    .hp-adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-hotel-card {
        min-width: 300px;
        max-width: 300px;
    }
}

/* ── Tablet Portrait ── */
@media (max-width: 768px) {
    .hp-section {
        padding: 2.5rem 0;
    }
    .hp-section-header {
        margin-bottom: 1.5rem;
    }
    .hp-section-title {
        font-size: 1.75rem;
    }
    .hp-section-subtitle {
        font-size: 1rem;
    }
    .hp-hero {
        height: 65vh;
        min-height: 380px;
    }
    .hp-hero-title {
        font-size: 2rem;
    }
    .hp-hero-location {
        font-size: 0.95rem;
    }
    .hp-hero-content {
        bottom: 4.5rem;
        padding: 0 1.25rem;
    }
    .hp-hero-nav {
        width: 40px;
        height: 40px;
    }
    .hp-hero-nav svg {
        width: 20px;
        height: 20px;
    }
    .hp-hero-prev { left: 0.75rem; }
    .hp-hero-next { right: 0.75rem; }
    .hp-dest-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hp-dest-card {
        height: 240px;
    }
    .hp-dest-card-title {
        font-size: 1.25rem;
    }
    .hp-blog-grid {
        grid-template-columns: 1fr;
    }
    .hp-hotel-card {
        min-width: 270px;
        max-width: 270px;
    }
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .hp-section {
        padding: 2rem 0;
    }
    .hp-section-title {
        font-size: 1.5rem;
    }
    .hp-hero {
        height: 60vh;
        min-height: 340px;
    }
    .hp-hero-title {
        font-size: 1.65rem;
    }
    .hp-hero-location {
        font-size: 0.85rem;
    }
    .hp-hero-content {
        bottom: 4rem;
        padding: 0 1rem;
    }
    .hp-hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    .hp-hero-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    .hp-hero-nav {
        display: none;
    }
    .hp-dest-grid {
        grid-template-columns: 1fr;
    }
    .hp-dest-card {
        height: 220px;
    }
    .hp-adv-grid {
        grid-template-columns: 1fr;
    }
    .hp-hotel-card {
        min-width: 260px;
        max-width: 260px;
    }
}

/* ── Star rating in hero and popular cards ── */
.hp-hero-stars {
    margin-bottom: 0.5rem;
}
.hp-hero-stars .hotel-stars .star-filled {
    color: #887B63;
}
.hp-hero-stars .hotel-stars .star-empty {
    color: rgba(255, 255, 255, 0.35);
}
.hp-hotel-card-stars {
    margin-bottom: 0.2rem;
}
.hp-hotel-card-stars .hotel-stars .star-icon {
    width: 12px;
    height: 12px;
}
