/* --- Global Reset --- */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Poppins', sans-serif; background:#fdfcf9; color:#333; line-height:1.6; overflow-x: hidden; }
.container { width:90%; max-width:1200px; margin:auto; }

/* --- Header & Nav --- */
header { background:#b5a48d; padding:15px 0; position:sticky; top:0; z-index:1000; box-shadow:0 2px 10px rgba(0,0,0,0.1); }
.header-container { display:flex; justify-content:space-between; align-items:center; width:90%; margin:auto; }

.logo img { height: 75px; width: auto; object-fit: contain; transition: 0.3s; }
.nav-links { display:flex; list-style:none; gap:25px; }
.nav-links a { color:white; text-decoration:none; font-weight:600; font-size:13px; transition:0.3s; letter-spacing: 1px; }
.nav-links a:hover { color:#d4af37; }

.icon-circle { width:35px; height:35px; border:1px solid #d4af37; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:white; margin-left:10px; cursor: pointer; transition: 0.3s; }
.icon-circle:hover { background: #d4af37; }

/* --- Main Slider --- */
.main-banner { width: 100%; height: 85vh; background: #eee; } 
.main-banner .swiper-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* --- Content Sections --- */
.intro { text-align:center; padding:80px 0; }
.gold-text { color:#d4af37; letter-spacing:3px; font-size:14px; margin-bottom:10px; font-weight: bold; }
.intro h1 { font-family:'Playfair Display', serif; font-size:3.5rem; margin-bottom:20px; color: #222; }
.section-title { text-align:center; font-size:2.8rem; margin-bottom:50px; font-family:'Playfair Display'; color: #222; }

/* --- Room Block Styling --- */
.room-block { margin-bottom: 60px; }
.room-flex { 
    display: flex; gap: 40px; align-items: center; flex-wrap: wrap; 
    background: #fff; padding: 25px; border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.room-slider { flex: 1; min-width: 320px; border-radius: 15px; overflow: hidden; position: relative; }
.room-slider img { width: 100%; height: 450px; object-fit: cover; }
.room-text { flex: 1; min-width: 320px; padding: 10px; }
.room-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: #b5a48d; margin-bottom: 15px; }
.room-amenities { list-style: none; margin: 20px 0; color: #666; font-size: 14px; }
.room-amenities li { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }

/* --- Advanced Booking Form --- */
.booking-section { padding: 80px 0; background: #f9f7f2; }
.booking-card { 
    background: white; padding: 50px; border-radius: 25px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-top: 6px solid #d4af37;
    max-width: 850px; margin: auto;
}
.index-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; gap: 20px; }
.form-group input, .form-group select { 
    flex: 1; padding: 16px; border: 1px solid #eee; border-radius: 10px; 
    font-family: 'Poppins', sans-serif; font-size: 14px; background-color: #fafafa; outline: none; transition: 0.3s;
}
.form-group input:focus, .form-group select:focus { border-color: #d4af37; background: #fff; }

.btn-gold-wide { 
    padding: 20px; background: #d4af37; color: white; border: none; 
    font-weight: bold; cursor: pointer; border-radius: 12px; transition: 0.4s;
    text-transform: uppercase; letter-spacing: 2px; font-size: 16px;
}
.btn-gold-wide:hover { background: #222; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* --- Blog UI Updated (Home Slider & Blog Page List) --- */
.blog-container { padding-bottom: 60px; }

/* පෝස්ට් එකින් එක පල්ලෙහාට වැටෙන කොටස (New) */
.blog-list-item {
    width: 100%; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff; position: relative; margin-bottom: 50px;
}

/* Home Page Slider & Media Box */
.fullBlogSwiper, .blogSwiper, .blog-media-box, .blog-media { 
    width: 100%; border-radius: 20px; overflow: hidden; position: relative; 
    height: 550px; box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-media-box img, .blog-media-box video, .blog-media img { 
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* පින්තූරය උඩ පේන Overlay එක */
.blog-content-overlay, .blog-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white; padding: 60px 40px; text-align: left;
    z-index: 2;
}

.blog-content-overlay h3, .blog-overlay h3 { 
    font-family: 'Playfair Display', serif; font-size: 2.5rem; margin: 15px 0; color: #fff;
}

.blog-content-overlay p, .blog-overlay p { 
    font-size: 16px; max-width: 850px; opacity: 0.9; margin-bottom: 20px;
}

/* --- Pagination (පිටු අංක) සයිල් එක (New) --- */
.pagination-nav {
    display: flex; justify-content: center; gap: 10px; margin: 40px 0;
}

.page-num, .nav-btn {
    padding: 12px 22px; background: #d4af37; color: white;
    text-decoration: none; border-radius: 8px; font-weight: bold;
    transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-num.active { background: #222; }
.page-num:hover, .nav-btn:hover { background: #b5a48d; transform: translateY(-2px); }

/* --- Scrolling Banner --- */
.scrolling-info-banner { background: #b5a48d; color: white; padding: 20px 0; overflow: hidden; white-space: nowrap; margin: 60px 0; }
.scroll-wrapper { display: inline-block; animation: scrollText 30s linear infinite; }
.scroll-item { display: inline-block; padding: 0 50px; font-weight: 600; letter-spacing: 1px; }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Footer --- */
footer { background:#222; color:white; text-align:center; padding:60px 0; }
.footer-nav a { color: #d4af37; text-decoration: none; margin: 0 15px; font-weight: 600; font-size: 13px; }
.dev-link { color: #d4af37; font-weight: bold; text-decoration: none; }
.swiper-pagination-bullet-active { background: #d4af37 !important; }

/* ------------------------------------------------------------
   මීට පල්ලෙහායින් තියෙන්නේ ඔයා අලුතින් ඉල්ලපු Updates ටික. 
   මේවා පරණ කෝඩ් එකට බාධාවක් වෙන්නේ නැහැ.
------------------------------------------------------------ */

/* --- MENU PAGE: Full Visibility Fix --- */
.menu-page-wrapper { padding: 40px 0 80px 0; }
.menu-visual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.menu-visual-card { position: relative; height: 500px; border-radius: 12px; overflow: hidden; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid #ddd; }
.menu-visual-card img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: 0.6s transform; }
.menu-visual-overlay { position: absolute; bottom: 0; width: 100%; background: rgba(0,0,0,0.7); padding: 20px; color: white; text-align: center; }
.menu-visual-overlay h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 10px; }

/* --- CONTACT INLINE FORM --- */
#whatsappForm { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
#whatsappForm input { flex: 1; min-width: 150px; padding: 12px; border: 1px solid #ccc; border-radius: 5px; }
.btn-book { background: #222; color: #fff; padding: 12px 25px; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-book:hover { background: #d4af37; }

/* --- Responsive Fix --- */
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    .logo img { height: 55px; }
    .intro h1 { font-size: 2.2rem; }
    .main-banner { height: 50vh; }
    #whatsappForm { flex-direction: column; align-items: stretch; }
}