/* 
 * Skyland Bogor Valley - Home Page CSS
 */

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(26,26,46,0.8), rgba(26,26,46,0.4));
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}
.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- BOOKING WIDGET --- */
.booking-widget-wrap {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}
.booking-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 24px;
    align-items: end;
}
.widget-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}
.widget-group input, .widget-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--bg-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-light);
    outline: none;
    transition: var(--transition);
}
.widget-group input:focus, .widget-group select:focus {
    border-color: var(--gold);
    background: var(--white);
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- ROOM CARDS --- */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.room-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
.room-img-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.room-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.room-card:hover .room-img-wrap img {
    transform: scale(1.05);
}
.room-price-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--gold);
    color: var(--white);
    padding: 8px 16px;
    font-weight: 600;
    border-top-left-radius: var(--radius-lg);
}
.room-content {
    padding: 24px;
}
.room-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.room-features {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.room-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.room-features i {
    width: 16px;
}

/* --- FACILITIES --- */
.facilities {
    background-color: var(--black);
    color: var(--white);
}
.facilities .section-title h2 {
    color: var(--gold);
}
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.facility-card {
    text-align: center;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.facility-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--gold);
}
.facility-card i {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 24px;
}
.facility-card h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .room-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-widget {
        grid-template-columns: 1fr 1fr;
    }
    .widget-group.btn-group {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .booking-widget {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .widget-group.btn-group {
        grid-column: span 1;
    }
    .room-grid, .facilities-grid { grid-template-columns: 1fr; }
}
