/* ========================================
   ILIS Travel - Country Pages Styles
   ======================================== */

/* Hero Section */
.country-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 80px;
    overflow: hidden;
}

.country-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.country-hero:hover .country-hero-bg {
    transform: scale(1);
}

.country-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.country-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 700px;
}

.country-flag {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.country-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.country-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.country-stats {
    display: flex;
    gap: var(--space-2xl);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.875rem;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Quick Filters */
.quick-filters {
    background: var(--color-white);
    padding: var(--space-lg) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filters-row {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    background: var(--color-gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

/* Hotels Section */
.hotels-section {
    background: var(--color-gray-100);
    padding: var(--space-4xl) 0;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Hotel Card */
.hotel-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-badge {
    position: absolute;
    top: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    color: white;
}

.badge-discount {
    left: var(--space-md);
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-top {
    right: var(--space-md);
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hotel-content {
    padding: var(--space-lg);
}

.hotel-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.rating-value {
    background: var(--color-primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
}

.rating-reviews {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.hotel-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
}

.hotel-stars {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.hotel-details {
    display: flex;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.feature-tag {
    padding: 4px 10px;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
}

.hotel-price {
    display: flex;
    flex-direction: column;
}

.price-old {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-note {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.btn-book {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

/* Resorts Section */
.resorts-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.resorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.resort-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.resort-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resort-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.resort-info {
    padding: var(--space-lg);
}

.resort-info h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.resort-info p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.resort-hotels {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Info Section */
.info-section {
    padding: var(--space-4xl) 0;
    background: var(--gradient-hero);
    color: var(--color-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.info-card {
    text-align: center;
    padding: var(--space-xl);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.info-card h3 {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.info-card p {
    font-size: 0.9375rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: var(--space-3xl) 0;
    background: var(--color-gray-100);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: var(--color-gray-600);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md, 1rem);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

/* Country Flag Large */
.country-flag-large {
    font-size: 4rem;
    margin-bottom: var(--space-md, 1rem);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl, 2rem);
    max-width: 600px;
}

/* Stat Item */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-icon {
    font-size: 1.5rem;
}

/* Section Title */
.section-title {
    font-size: 1.75rem;
    color: var(--color-primary, #1a1a2e);
    margin-bottom: var(--space-xl, 2rem);
    text-align: center;
}

.info-section .section-title,
.cta-section .section-title {
    color: white;
}

/* Resort Card Enhancements */
.resort-card {
    padding: 0;
    text-align: left;
}

.resort-info {
    padding: var(--space-lg, 1.5rem);
    text-align: left;
}

.resort-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm, 0.5rem);
}

.resort-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm, 0.5rem);
    color: var(--color-primary, #1a1a2e);
}

.resort-card p {
    font-size: 0.875rem;
    color: var(--color-text-light, #666);
    margin-bottom: var(--space-md, 1rem);
    line-height: 1.6;
}

.resort-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: var(--space-md, 1rem);
}

.resort-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--color-primary-light, #eef2ff);
    color: var(--color-primary, #1a1a2e);
    border-radius: var(--radius-full, 50px);
    font-size: 0.75rem;
    font-weight: 500;
}

.resort-link {
    color: var(--color-secondary, #ff6b35);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.resort-link:hover {
    opacity: 0.8;
}

/* Highlights Section */
.highlights-section {
    padding: var(--space-4xl, 4rem) 0;
    background: var(--color-bg, #f8f9fa);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg, 1.5rem);
    max-width: 900px;
    margin: 0 auto;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md, 1rem);
    padding: var(--space-lg, 1.5rem);
    background: white;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.highlight-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-secondary, #ff6b35);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-card p {
    font-size: 1rem;
    color: var(--color-text, #333);
    line-height: 1.5;
    margin: 0;
}

/* CTA Section Enhancements */
.cta-section {
    padding: var(--space-4xl, 4rem) 0;
    background: linear-gradient(135deg, var(--color-primary, #1a1a2e) 0%, var(--color-primary-dark, #16213e) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: var(--space-md, 1rem);
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl, 2rem);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md, 1rem);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hotel Features */
.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-md, 1rem);
}

.hotel-features span {
    padding: 4px 10px;
    background: var(--color-bg, #f8f9fa);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-text-light, #666);
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-4xl, 4rem);
    color: var(--color-text-light, #666);
    font-size: 1.125rem;
}

/* Loading */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-4xl, 4rem);
    color: var(--color-text-light, #666);
}

/* Responsive */
@media (max-width: 1024px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resorts-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .country-hero {
        min-height: 60vh;
        padding-bottom: 60px;
    }
    
    .country-stats {
        gap: var(--space-xl);
        flex-wrap: wrap;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .filters-row {
        gap: var(--space-md);
    }
    
    .filter-group {
        min-width: calc(50% - var(--space-md));
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .resorts-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .resorts-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ── Unit.Travel Real Hotel Cards ─────────────────────────────── */
.hotel-card {
    background: var(--color-white, #fff);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.hotel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hotel-card:hover .hotel-image img {
    transform: scale(1.06);
}
.hotel-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}
.hotel-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hotel-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.hotel-stars { color: #f59e0b; font-size: 0.9rem; }
.hotel-rating { font-size: 0.85rem; color: #555; }
.hotel-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary, #1a1a2e);
    margin-bottom: 0.35rem;
    line-height: 1.4;
}
.hotel-region, .hotel-meal {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.25rem;
}
.hotel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    gap: 0.5rem;
}
.hotel-price { line-height: 1.3; }
.hotel-old-price { color: #aaa; font-size: 0.8rem; text-decoration: line-through; }
.hotel-price-val { font-size: 1.2rem; font-weight: 700; color: var(--color-primary, #1a1a2e); }
.hotel-price-per { font-size: 0.75rem; color: #999; }
.btn-book {
    flex-shrink: 0;
    padding: 8px 18px;
    background: var(--color-secondary, #ff6b35);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.btn-book:hover { opacity: 0.85; }

/* ── Skeleton loader ─────────────────────────────────────────── */
.hotel-skeleton { pointer-events: none; }
.skeleton-img {
    height: 200px;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}
.skeleton-line {
    height: 14px;
    border-radius: 4px;
    margin: 10px 0;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}
.skeleton-line.w90 { width: 90%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 2rem;
}
