* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #faf7fc;
    color: #333;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

header {
    background-color: #4b2e83;
    color: #fff;
    padding: 1rem 0;
}

header nav {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
}

header ul { display: flex; gap: 20px; }
header ul li a:hover { color: #f0a500; }

.header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15); 
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 15px; 
}

.header-search input {
    background: none !important; 
    border: none !important;
    height: 30px !important; 
    color: white !important;
    width: 100px;
    font-size: 0.8rem;
    outline: none;
    padding: 0 5px !important; 
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

/* ================= HERO FIXED ================= */

.hero {
    height: 600px;
    min-height: 100svh;        /* FIX */
    height: auto;             /* FIX */
    overflow: visible;        /* FIX */
    padding-bottom: 160px;    /* FIX */

    background-image:
        linear-gradient(rgba(75, 46, 131, 0.3), rgba(75, 46, 131, 0.3)),
        url("../images/hotel_resort.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding-top: 90px;
}

.hero h2 { font-size: 3rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

.booking-box {
    width: 1300px; 
    background: #fdfbf7; 
    padding: 40px 50px; 
    border-radius: 2px; 
    display: flex;
    flex-direction: row; 
    flex-wrap: nowrap; 
    justify-content: space-between;
    align-items: flex-end; 
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0d6c3;
    
    position: absolute;
    bottom: -80px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0 10px;
    position: relative; 
}

.input-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #4b2e83;
    margin-bottom: 12px;
    font-weight: 800;
    text-align: left;
}

.input-group select, 
.input-group input {
    width: 100%;
    padding: 15px; 
    border: 1px solid #7c679e;
    border-radius: 4px; 
    background-color: #ffffff;
    color-scheme: light;
    font-size: 1rem;
    height: 55px;
    color: #4b2e83;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus, 
.input-group select:focus {
    border-color: #4b2e83;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(154, 122, 216, 0.15);
}

.currency-row {
    display: flex !important;
    flex-direction: row !important;
    height: 55px;
    width: 100%;
}

#conv-amount { 
    width: 60px !important; 
    border-right: none !important; 
}

#currency-select { 
    flex: 1; 
}

#conv-result { 
    font-size: 12px; 
    color: #8b4513; 
    margin-top: 5px; 
    font-weight: bold;
    position: absolute;
    bottom: -25px; 
    width: 100%;
    text-align: center;
}

.search-btn {
    background-color: #4b2e83;
    color: white;
    padding: 0 30px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    height: 55px; 
    transition: 0.3s;
    text-transform: uppercase;
    white-space: nowrap; 
}

.search-btn:hover { background-color: #f0a500; }

.tiny-pictures {
    padding: 140px 0 60px 0; 
    background-color: #faf7fc;
}

.tiny-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 1300px; 
    margin: 0 auto;
}

.tiny-card {
    flex: 1;
    height: 400px; 
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tiny-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tiny-card:hover img {
    transform: scale(1.1);
}

.features { 
    padding: 80px 20px; 
    text-align: center; 
    background-color: #faf7fc; 
}

.features h3 { 
    color: #4b2e83; 
    margin-bottom: 40px; 
    font-size: 2rem; 
    font-weight: 800;
}

.feature-grid { 
    display: flex; 
    justify-content: center;
    gap: 20px; 
    max-width: 1300px; 
    margin: 0 auto; 
}

.card { 
    flex: 1;
    padding: 40px 20px; 
    border-radius: 12px; 
    font-weight: 700;
    font-size: 1.1rem;
    color: #4b2e83; 
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background-color: #f3effb; 
    border: 1px solid #e9e1f5;
}

.card:hover {
    transform: translateY(-8px);
    background-color: #ebe4f8; 
}

footer { 
    background-color: #4b2e83; 
    color: white; 
    text-align: center; 
    padding: 40px 0; 
    width: 100%;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    header nav {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    header ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        height: auto;
        padding: 60px 20px 40px;
    }

    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .booking-box {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 20px;
        margin: 30px auto 0;
        padding: 25px 20px;
    }

    .input-group { width: 100%; }
    .search-btn { width: 100%; }

    .tiny-grid {
        width: 100%;
        flex-direction: column;
        padding: 0 20px;
    }

    .tiny-card { height: 250px; }
    .feature-grid {
        flex-direction: column;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero h2 { font-size: 1.7rem; }
    .hero p { font-size: 0.95rem; }
    .tiny-card { height: 220px; }
}
/* ===== FIX HERO CUT + MOBILE OVERFLOW ===== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.hero {
    min-height: 100svh;
    padding-bottom: 160px;
}

.booking-box,
.tiny-grid {
    max-width: 100%;
}

