/* =========================================
   TEMPLATE 3 - SPLIT & ELEGANT
========================================= */

/* Hero Split */
.v3-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 75vh;
}

.v3-hero__left {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
}

.v3-hero__content {
    max-width: 520px;
}

.v3-hero__overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.v3-hero__overline i {
    color: var(--primary-color);
}

.v3-hero__title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.v3-hero__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 24px;
}

.v3-hero__location i {
    color: var(--primary-color);
}

.v3-hero__desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.v3-hero__right {
    position: relative;
    overflow: hidden;
}

.v3-hero__right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons V3 */
.v3-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v3-btn--primary {
    background: var(--primary-color);
    color: #fff;
}

.v3-btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.v3-btn--outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.v3-btn--outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.v3-btn--ghost {
    background: transparent;
    color: #6b7280;
    text-align: center;
    margin-top: 8px;
}

.v3-btn--ghost:hover {
    color: var(--primary-color);
}

.v3-btn--sm {
    padding: 8px 18px;
    font-size: 13px;
}

.v3-btn--full {
    width: 100%;
    justify-content: center;
}

/* Hotels Section */
.v3-hotels {
    padding: 60px 0 100px;
    background: #f8f9fb;
}

.v3-hotels__container {
    max-width: 1650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 0 20px;
}

/* Sidebar */
.v3-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.v3-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-sidebar__title i {
    color: var(--primary-color);
}

.v3-sidebar__group {
    margin-bottom: 20px;
}

.v3-sidebar__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.v3-sidebar__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-sidebar__sep {
    color: #d1d5db;
}

.v3-input,
.v3-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #1a1a2e;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s;
}

.v3-input:focus,
.v3-select:focus {
    border-color: var(--primary-color);
    background: #fff;
}

/* Star Filter */
.v3-star-filter {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.v3-star-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.v3-star-btn i {
    color: #fbbf24;
    font-size: 10px;
}

.v3-star-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.v3-star-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.v3-star-btn.active i {
    color: #fff;
}

/* Checkbox */
.v3-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.v3-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.v3-checkbox i {
    color: var(--primary-color);
}

/* Hotels List */
.v3-hotels__list {
    min-width: 0;
}

.v3-hotels__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.v3-hotels__header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

/* Hotel Card V3 - Horizontal */
.v3-hotel-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.v3-hotel-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.v3-hotel-card__image {
    position: relative;
    width: 300px;
    min-height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f0f0f0;
}

.v3-hotel-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.v3-hotel-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f3f4f6;
}

.v3-rating {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.v3-rating small {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}

.v3-rating--google { background: rgba(251, 188, 4, 0.9); }
.v3-rating--tripadvisor { background: rgba(0, 175, 135, 0.9); }
.v3-rating--booking { background: rgba(0, 53, 128, 0.9); }

.v3-hotel-card__body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.v3-hotel-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.v3-hotel-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.v3-hotel-card__loc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.v3-hotel-card__stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 16px;
    padding-top: 4px;
}

.v3-unrated {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

/* Tags / Meta */
.v3-hotel-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.v3-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.v3-tag i {
    color: var(--primary-color);
    font-size: 13px;
}

.v3-tag strong {
    color: #1e293b;
}

/* Footer */
.v3-hotel-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.v3-hotel-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.v3-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Ubuntu', sans-serif;
}

.v3-price-label {
    font-size: 13px;
    color: #9ca3af;
}

.v3-hotel-card__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.v3-hotel-card:hover .v3-hotel-card__cta {
    gap: 10px;
}

/* Empty state */
.v3-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.v3-empty h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 16px 0 8px;
}

.v3-empty p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .v3-hotels__container {
        grid-template-columns: 260px 1fr;
    }
}

@media (max-width: 992px) {
    .v3-hero {
        grid-template-columns: 1fr;
    }

    .v3-hero__right {
        height: 300px;
    }

    .v3-hero__left {
        padding: 60px 30px;
    }

    .v3-hero__title {
        font-size: 38px;
    }

    .v3-hotels__container {
        grid-template-columns: 1fr;
    }

    .v3-sidebar {
        position: static;
    }

    .v3-hotel-card {
        flex-direction: column;
    }

    .v3-hotel-card__image {
        width: 100%;
        height: 200px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .v3-hero__left {
        padding: 40px 20px;
    }

    .v3-hero__title {
        font-size: 30px;
    }

    .v3-hero__right {
        height: 220px;
    }

    .v3-hotel-card__header {
        flex-direction: column;
    }

    .v3-hotel-card__stars {
        margin-left: 0;
        margin-top: 6px;
    }
}
