/* ==========================================================================
   SIGIRI ROCK VIEW LODGE - OFFICIAL LUXURY THEME
   Inspired by Sigiriya Heritage, Sri Lankan Tropical Architecture & Eco-Sanctuary
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1b3d22;
    --primary-dark: #122917;
    --primary-light: #2a5a33;
    --gold: #c5a880;
    --gold-bright: #d4af37;
    --gold-dark: #a17f54;
    --gold-soft: #f4ecdf;
    --sand-bg: #f9f7f2;
    --sand-card: #ffffff;
    --dark-slate: #181f19;
    --text-main: #2b332c;
    --text-muted: #647065;
    --border-light: #e8e3d5;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 45px rgba(27, 61, 34, 0.12);
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--sand-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary-dark);
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.84rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.top-bar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gold-bright);
}

.navbar-sigiri {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 14px 0;
    transition: var(--transition);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(27,61,34,0.25);
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.72rem;
    color: var(--gold-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.navbar-sigiri .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-slate);
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-sigiri .nav-link:hover,
.navbar-sigiri .nav-link.active {
    color: var(--primary);
}

.navbar-sigiri .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-sigiri .nav-link:hover::after,
.navbar-sigiri .nav-link.active::after {
    transform: scaleX(1);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #c5a880 0%, #b39265 100%);
    color: #fff !important;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #b39265 0%, #9a794e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 168, 128, 0.45);
    color: #fff !important;
}

.btn-primary-green {
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 6px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-green:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27,61,34,0.3);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--primary) !important;
    background: transparent;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* ==========================================================================
   HERO SLIDER CAROUSEL
   ========================================================================== */
.hero-slider-wrapper {
    position: relative;
    min-height: 85vh;
    background-color: var(--primary-dark);
}

.hero-slider-item {
    min-height: 85vh;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 110px 0 130px 0;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 33, 18, 0.75) 0%, rgba(18, 41, 23, 0.58) 50%, rgba(14, 33, 18, 0.88) 100%);
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 5px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: var(--transition);
}

.carousel-indicators .active {
    width: 48px;
    background-color: var(--gold-bright);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.7;
    transition: var(--transition);
    z-index: 5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.carousel-nav-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: scale(1.1);
}

.hero-wrapper {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 100px 0 120px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 41, 23, 0.72) 0%, rgba(18, 41, 23, 0.55) 50%, rgba(18, 41, 23, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #ffd875;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    max-width: 680px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* ==========================================================================
   BOOKING BAR WIDGET
   ========================================================================== */
.booking-search-bar {
    position: relative;
    z-index: 10;
    margin-top: -65px;
    margin-bottom: 60px;
}

.booking-bar-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 24px 30px;
    border: 1px solid var(--border-light);
}

.booking-form-group {
    position: relative;
}

.booking-form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.booking-form-group .form-control,
.booking-form-group .form-select {
    border: 1px solid #dce2dc;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.booking-form-group .form-control:focus,
.booking-form-group .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.25);
}

/* ==========================================================================
   TRUST & PLATFORM PILLS
   ========================================================================== */
.trust-badges-bar {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 70px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-item h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.trust-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Platform Link Cards */
.platform-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.platform-card i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.platform-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--dark-slate);
}

.platform-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ROOM CARDS
   ========================================================================== */
.room-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.room-card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-img-wrapper img {
    transform: scale(1.08);
}

.room-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 41, 23, 0.9);
    color: var(--gold-bright);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.room-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: right;
}

.room-price-tag .amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.room-price-tag .unit {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.room-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-card-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.room-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.room-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.room-amenity-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.room-amenity-pill {
    background: var(--sand-bg);
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 4px;
    color: var(--text-main);
}

/* ==========================================================================
   ATTRACTIONS & SIGHTSEEING
   ========================================================================== */
.attraction-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.attraction-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.attraction-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-card-img img {
    transform: scale(1.06);
}

.attraction-dist-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(18, 41, 23, 0.85);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.attraction-body {
    padding: 20px;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 26px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #eab308;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.review-quote {
    font-style: italic;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.review-author-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.review-badge-score {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 41, 23, 0.65);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    transition: var(--transition);
}

.gallery-grid-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-grid-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-sigiri {
    background: var(--dark-slate);
    color: #cbd5e1;
    padding-top: 70px;
    border-top: 4px solid var(--gold);
}

.footer-sigiri h4, .footer-sigiri h5 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-sigiri a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-sigiri a:hover {
    color: var(--gold-bright);
    padding-left: 4px;
}

.footer-bottom {
    background: #0e130f;
    padding: 22px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.84rem;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
    animation: wa-pulse 2.2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .booking-search-bar {
        margin-top: 20px;
    }
}
