/* landing.css - Landing Page: Premium & Futuristic Design */

/* ========== HERO - Cinematic ========== */
.hero-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(11,15,26,0.65) 0%, rgba(11,15,26,0.50) 50%, rgba(229,57,53,0.15) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #FFFFFF;
    padding: 5rem 2rem;
    overflow: hidden;
}

/* Animated gradient overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(229, 57, 53, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Floating particles effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 30%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 90% 20%, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 50% 60%, rgba(255,255,255,0.12), transparent),
        radial-gradient(1.5px 1.5px at 30% 80%, rgba(255,255,255,0.08), transparent),
        radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
    z-index: 1;
    animation: heroParticles 20s linear infinite;
}

@keyframes heroParticles {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-15px) translateX(8px); }
    100% { transform: translateY(0) translateX(0); }
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(229, 57, 53, 0.9);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(229, 57, 53, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.1s;
    opacity: 0;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    max-width: 650px;
    margin-bottom: 1.2rem;
    color: #FFFFFF;
    letter-spacing: -1px;
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title em {
    color: var(--primary-red);
    font-style: italic;
    text-shadow: 0 0 40px rgba(229, 57, 53, 0.3);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 2.2rem;
    max-width: 540px;
    line-height: 1.75;
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-trust-bar {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--primary-red);
    font-size: 0.9rem;
    text-shadow: 0 0 12px rgba(229, 57, 53, 0.4);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ========== FEATURES SECTION ========== */
.features-section {
    max-width: 1280px;
    margin: -3.5rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    background: var(--primary-gradient);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-red-light);
    color: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    transition: var(--transition-spring);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.feature-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ========== POPULAR HOTELS ========== */
.catalog-section {
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.section-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    letter-spacing: -0.5px;
}

.section-header .link-all {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    margin-top: 0.4rem;
    transition: var(--transition);
}

.section-header .link-all:hover {
    color: var(--primary-red);
    gap: 0.6rem;
}

/* Hotel Cards - Premium Vertical */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.hotel-card-v {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.hotel-card-v:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: transparent;
}

.hotel-card-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.hotel-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hotel-card-v:hover .hotel-card-img-wrapper img {
    transform: scale(1.06);
}

/* Image overlay gradient on hover */
.hotel-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.hotel-card-v:hover .hotel-card-img-wrapper::after {
    opacity: 1;
}

.hotel-rating-float {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hotel-rating-float i {
    color: var(--primary-red);
    font-size: 0.72rem;
}

.hotel-rating-float .rating-count {
    color: var(--text-muted);
    font-weight: 500;
}

.hotel-price-tag {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: var(--primary-gradient);
    color: #FFFFFF;
    padding: 0.38rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
    z-index: 2;
}

.hotel-card-body {
    padding: 1.3rem 1.5rem;
}

.hotel-card-body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hotel-card-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.hotel-card-location i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hotel-rate-pills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.rate-pill {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rate-pill strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ========== HOW IT WORKS - Dark Section ========== */
.how-it-works-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #111827 100%);
    padding: 5rem 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
.how-it-works-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.how-it-works-inner h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.how-it-works-inner > p {
    color: #8A94A6;
    font-size: 0.92rem;
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    padding: 2.2rem 1.6rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: var(--transition);
}

.step-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.step-card:hover::before {
    background: var(--primary-gradient);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.88rem;
    color: #8A94A6;
    line-height: 1.65;
}

/* ========== SEARCH PAGE - Split View ========== */
.split-catalog-container {
    display: flex;
    gap: 1.5rem;
    min-height: 600px;
}

.hotel-list-pane {
    flex: 6;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.map-pane {
    flex: 4;
    position: sticky;
    top: 80px;
    height: 620px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: var(--shadow-md);
}

#leaflet-map {
    width: 100%;
    height: 100%;
}

/* Horizontal Hotel Cards */
.hotel-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 250px 1fr;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hotel-card:hover {
    border-color: rgba(229, 57, 53, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.hotel-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px;
    transition: transform 0.6s ease;
}

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

.hotel-card-content {
    padding: 1.3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotel-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.hotel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hotel-location {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0.3rem 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hotel-services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.service-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.service-tag:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: var(--primary-red-light);
}

.hotel-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 0.8rem;
}

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

.price-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: var(--font-heading);
    letter-spacing: -0.3px;
}

.mobile-map-toggle {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

/* Search widget card */
.search-widget-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-xl);
    padding: 1.3rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.search-form-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr auto;
    gap: 0.8rem;
    align-items: end;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .hero-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .hotels-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .split-catalog-container { flex-direction: column; }
    .map-pane { height: 350px; position: static; display: none; }
    .map-pane.active-mobile { display: block; }
    .mobile-map-toggle { display: inline-flex; }
    .hotel-card { grid-template-columns: 1fr; }
    .hotel-card-img { height: 200px; }
    .search-form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-section { padding: 3rem 1.2rem; min-height: auto; }
    .hero-title { font-size: 2rem; letter-spacing: -0.5px; }
    .features-grid { margin-top: -1.5rem; }
    .features-section { padding: 0 1rem; }
    .hotels-grid { grid-template-columns: 1fr; }
    .catalog-section { padding: 0 1rem; }
    .search-form-grid { grid-template-columns: 1fr; }
    .how-it-works-section { padding: 3rem 1.2rem; }
    .step-card { padding: 1.5rem 1.2rem; }
}
