:root {
    --dark: #111;
    --muted: #6b7280;
    --border: #e5e7eb;
}

* { 
    margin:0; 
    padding:0; 
    box-sizing: border-box; 
}
body { 
    font-family: 'Inter', sans-serif; 
    color: var(--dark); 
    overflow-x: hidden; 
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Spacing between icon and text */
    text-decoration: none;
}

.logo-icon {
    font-size: 24px; /* Adjust size */
    color: inherit;  /* Matches text color automatically */
    margin-right: 8px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navbar - Transparent over Hero */
.navbar {
    position: absolute; 
    width: 100%; 
    top: 0; 
    padding: 25px 8%;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: white; 
    z-index: 10;
}
.nav-actions .icon-btn svg {
    stroke: #ffffff; 
}
.icon-but svg {
    stroke: black;
}
.icon-but {
    background: transparent;
    border: none;
    color: white; /* Matches the hero text */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    padding: 5px;
}

.icon-but:hover {
    opacity: 0.7;
}
.navbar nav a { 
    color: white; 
    text-decoration: none; 
    margin: 0 15px; 
    font-size: 14px; 
    opacity: 0.9; 
}
/* Container for the icons and login button */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icons and button */
}

/* Styling for the Search and Account icons */
.icon-btn {
    background: transparent;
    border: none;
    color: white; /* Matches the hero text */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    padding: 5px;
}

.icon-btn:hover {
    opacity: 0.7;
}

/* The pill-shaped Login button */
.login-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #333; 
}

/*.login-btn { 
    background: #1a1a1a; 
    color: white; 
    padding: 10px 25px; 
    border-radius: 20px; 
    border: none; 
    cursor: pointer; 
}*/

/* Hero - Full Height */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url(images/hero.png);
    background-size: cover; 
    background-position: center;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 0 8%; 
    color: white;
    position: relative;
}
.hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 52px; 
    line-height: 1.2; 
    margin: 20px 0; 
}
select {
    border: none;
}
.pill { 
    background: #3b82f6; 
    color: white; 
    padding: 5px 12px; 
    border-radius: 15px; 
    font-size: 12px; 
}

/* Search Bar - Positioned to overlap bottom of hero */
.search-container {
    position: absolute; 
    bottom: -40px; 
    left: 8%; 
    width: 84%;
    background: white; 
    border-radius: 12px; 
    padding: 15px;
    display: grid; 
    grid-template-columns: repeat(4, 1fr) auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.search-field { 
    padding: 5px 20px; 
    border-right: 1px solid var(--border); 
}
.search-field label { 
    display: block; 
    font-size: 11px; 
    color: var(--muted); 
    font-weight: 600; 
    text-transform: uppercase; 
}
.search-field input { 
    border: none; 
    outline: none; 
    font-size: 14px; 
    font-weight: 500; 
    margin-top: 4px; 
    width: 100%; 
}
.search-submit { 
    background: #111; 
    color: white; 
    padding: 15px 30px; 
    border-radius: 8px; 
    border: none; 
    cursor: pointer; 
    margin-left: 10px; 
}
.offers-section {
    padding: 60px 8%;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.view-all {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-card {
    position: relative; /* Essential for the overlay to stick to the card */
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    color: white;
}

.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.offer-overlay {
    position: absolute;
    inset: 0; /* Cover the whole card */
    /* Dark gradient from bottom to top for text readability */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.offer-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.offer-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.4;
}

.expiry {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.offer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* Sections */
.content-section { 
    padding: 100px 8% 60px; 
    background-color: #edf1fa;
}
.grey-bg { 
     background-color: white;
}
.header-center { 
    text-align: center; 
    margin-bottom: 50px; 
}
.header-center h2, .header-left h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 32px; 
    margin-bottom: 10px; 
}
.header-center p { 
    color: var(--muted); 
    font-size: 15px; 
    line-height: 1.6; 
}

/* Hotel Cards */
.hotel-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}
.hotel-card {
    background: #ffffff;
    border-radius: 16px; 
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.img-wrapper { 
    height: 200px; 
    border-radius: 12px; 
    overflow: hidden; 
    position: relative; 
}
.img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.tag { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    background: white; 
    padding: 4px 8px; 
    font-size: 10px; 
    font-weight: 700; 
    border-radius: 4px; 
}
.hotel-meta { 
    padding: 15px 10px; 
}
.top-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 5px; 
}
.top-row h3 { 
    font-size: 16px; 
}
.loc { 
    font-size: 13px; 
    color: var(--muted); 
    margin-bottom: 15px; 
}
.bottom-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid #f3f4f6; 
    padding-top: 15px; 
}
.btn-outline { 
    border: 1px solid var(--border); 
    background: none; 
    padding: 8px 12px; 
    border-radius: 6px; 
    font-size: 12px; 
    cursor: pointer; 
}

/* Offers */
.offers-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-top: 40px; 
}
.offer-card { 
    height: 250px; border-radius: 15px; background-size: cover; background-position: center;
    position: relative; overflow: hidden;
}
.offer-overlay {
    position: absolute; 
    bottom: 0; 
    padding: 25px; 
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8)); 
    color: white;
}
.off-pill { 
    background: rgba(255,255,255,0.2); 
    backdrop-filter: blur(5px); 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 11px; 
}
.offer-overlay h3 { 
    margin: 10px 0 5px; 
    font-size: 18px; 
}
.offer-overlay p { 
    font-size: 13px; 
    opacity: 0.8; 
    margin-bottom: 15px; 
}
.offer-overlay a { 
    color: white; 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 600; 
}

.center-btn { 
    text-align: center; 
    margin-top: 40px; 
}
.btn-ghost { 
    border: 1px solid var(--border); 
    background: white; 
    padding: 12px 30px; 
    border-radius: 8px; 
    cursor: pointer; 
}
/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    text-align: left;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 { 
    font-size: 15px; 
    margin-bottom: 2px; 
}
.reviewer-info span { 
    font-size: 12px; 
    color: var(--muted); 
}

.stars { 
    color: #f59e0b; 
    font-size: 12px; 
    margin-bottom: 15px; 
}

.review-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    font-style: italic;
}

/* Dark Newsletter Card */
.newsletter-wrapper {
    padding: 65px 20px;
}

.newsletter-card {
    background: #0f172a;
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.newsletter-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 15px;
}

.newsletter-card p {
    font-size: 15px;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 30px;
}

.input-group {
    display: flex;
    max-width: 450px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px;
    border-radius: 8px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: white;
    outline: none;
}

.input-group button {
    background: white;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-card small { 
    font-size: 10px; 
    opacity: 0.5; 
}

/* Footer Styling */
.site-footer {
    background: #edf1fa;
    padding: 80px 8% 40px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo { 
    font-size: 22px; 
    margin-bottom: 20px; 
    color: #111; 
}
.footer-brand p { 
    font-size: 14px; 
    color: var(--muted); 
    margin-bottom: 20px; 
}
.footer-brand .social-icons {
    color: #1a1a1a;
}

.footer-nav h4, .footer-newsletter h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-nav a {
    display: block;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-input {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
}

.footer-input input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 13px;
}

.footer-input button {
    background: #111;
    color: white;
    border: none;
    padding: 0 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: var(--muted);
}

.legal a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--muted);
}

/* --- Rooms Page Specifics --- */
.bg-white { background: #fff; color: #111; }

.rooms-nav { 
    border-bottom: 1px solid #eee; 
    position: relative; 
    color: #111 !important; 
}
.rooms-nav a { color: #111 !important; }

.rooms-container {
    display: flex;
    padding: 40px 8%;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar Styling */
.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.filter-header h3 { 
    font-size: 14px; 
    letter-spacing: 1px; 
}
.clear-all { 
    background: none; 
    border: none; 
    font-size: 12px; 
    color: #999; 
    cursor: pointer; 
}

.filter-section { 
    margin-bottom: 30px; 
}
.filter-section h4 { 
    font-size: 14px; 
    margin-bottom: 15px; 
    font-weight: 600; 
}
.filter-section label { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 13px; 
    margin-bottom: 12px; 
    color: #555;
    cursor: pointer;
}

/* Feed & Horizontal Cards */
.rooms-feed { flex-grow: 1; }
.feed-header h1 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 10px; }
.feed-header p { color: #666; font-size: 14px; margin-bottom: 40px; max-width: 600px; }

.room-row-card {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.room-img-box {
    width: 320px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.room-img-box img { width: 100%; height: 100%; object-fit: cover; }

.room-info-content { 
    flex-grow: 1; 
}
.sub-loc { 
    font-size: 12px; 
    color: #999; 
    text-transform: uppercase; 
}
.room-info-content h3 { 
    font-size: 20px; 
    margin: 5px 0; 
    color: black; 
}
.rating-row { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 12px; 
    margin-bottom: 10px; 
}
.stars {
    color: #f59e0b;
    font-size: 14px;
    display: flex;
    gap: 2px;
}
.review-count { 
    color: #080808;  
}
.exact-loc { font-size: 13px; color: #444; margin-bottom: 15px; }

.amenity-tags { display: flex; gap: 10px; margin-bottom: 20px; }
.amenity-tags span { 
    background: #f9fafb; 
    border: 1px solid #eee; 
    padding: 4px 10px; 
    border-radius: 6px; 
    font-size: 11px; 
}

.price-line { font-size: 14px; }
.price-line strong { font-size: 22px; }

.show-more {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 40px auto;
}

/* Responsive (Mobile) */

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .search-container {
        flex-direction: column;
        border-radius: 20px;
    }
    .search-field {
        border-right: none;
        border-bottom: 1px solid #eee;
        width: 100%;
        padding: 15px;
    }
    .navbar { padding: 20px; display: none; }
    .nav-links { display: none; }

    .search-container{
        grid-template-columns: repeat(1, 1fr) auto;
    }

    .offers-grid {
    grid-template-columns: repeat(2, 1fr);
}

.reviews-grid {
    grid-template-columns: repeat(1, 1fr);
}
.hotel-grid { 

    grid-template-columns: repeat(2, 1fr); 

}
.input-group, .footer-input {
    display: flex;
    flex-direction: column;
    margin: 0 auto 15px;
    padding: 5px;
}
.footer-input{
    width: 150px;
}
.footer-grid {
    grid-template-columns: 2fr 1fr;
}


}

@media (max-width: 900px) {
    .rooms-container { flex-direction: column; }
    .filters-sidebar { width: 100%; order: 2; }
    .rooms-feed { order: 1; }
    .room-row-card { flex-direction: column; }
    .room-img-box { width: 100%; height: 250px; }
}