/* css/style.css - Global Design Tokens, Layout and Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f7b4d;
    --primary-hover: #0b5f3b;
    --accent: #118c57; /* Rich green accent for better contrast on white backgrounds */
    --accent-light: #5bbd85;
    --bg-dark: #ffffff; /* Clean white background */
    --bg-darker: #f4faf6; /* Soft green-white for alternate sections */
    --bg-card: #ffffff; /* White card background */
    --border-color: rgba(15, 123, 77, 0.12); /* Subtle green border */
    --white: #FFFFFF;
    --text-muted: #5e6c64; /* Green-grey text for muted elements */
    --text-light: #22352b; /* Primary dark-green-grey body text */
    --text-dark: #071f14; /* Deep luxury green for headings */
    
    /* Spacings & Grid layout */
    --container-max-width: 1400px;
    --container-padding: 30px;
    --section-spacing: 100px;
    --section-spacing-mobile: 60px;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-premium: 0 15px 35px rgba(15, 123, 77, 0.06); /* Soft green shadow */
    --shadow-accent: 0 5px 15px rgba(15, 123, 77, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark); /* Changed from var(--white) to support light theme */
    line-height: 1.3;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 50px; /* Rounded pill shape by default */
    cursor: pointer;
    border: 1.5px solid transparent;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 8px;
}

.btn-primary-accent {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary-accent:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 123, 77, 0.4);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 123, 77, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    backdrop-filter: blur(5px);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(5,14,9,0.85) 0%, rgba(5,14,9,0) 100%);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background-color: #ffffff; /* Clean white background on scroll */
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(15, 123, 77, 0.08); /* Soft shadow */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 500; /* Medium weight */
    color: var(--white); /* White logo text on transparent navbar */
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.navbar.scrolled .logo {
    color: var(--text-dark); /* Dark green logo on white scroll background */
}

.logo img {
    height: 46px;
    width: 46px;
    border-radius: 50%; /* Perfect circle */
    object-fit: cover; /* Maintain aspect ratio */
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
}

.navbar.scrolled .logo img {
    border-color: rgba(15, 123, 77, 0.15);
}

.logo:hover img {
    border-color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: auto; /* Push towards the right */
    margin-right: 40px; /* Space between links and CTA button */
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85); /* White links on transparent navbar */
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500; /* Medium font weight */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--text-light); /* Dark green links on scrolled white background */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent); /* Subtle green accent underline */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--text-dark); /* Dark menu icon on scrolled white background */
}

/* Subpage Banner */
.subpage-banner {
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px 0; /* Padding offsets fixed navbar */
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.subpage-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(5, 14, 9, 0.9));
    z-index: 1;
}

.subpage-banner .container {
    position: relative;
    z-index: 2;
}

.subpage-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.subpage-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 1px;
}


/* Skeletons and Shimmer Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skeleton-img {
    height: 230px;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.08) 37%, rgba(255,255,255,0.02) 63%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

.skeleton-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.08) 37%, rgba(255,255,255,0.02) 63%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 12px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.08) 37%, rgba(255,255,255,0.02) 63%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-footer {
    margin-top: auto;
    height: 35px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.08) 37%, rgba(255,255,255,0.02) 63%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-full);
}

/* Premium Footer */
.footer-wrapper {
    background-color: #f8faf9;
    color: #4a5568;
    border-top: 1px solid #e2e8f0;
}

.footer-wrapper h4 {
    color: #050e09 !important;
}

.footer-wrapper .footer-links-col ul a,
.footer-wrapper .footer-contact-col ul li a,
.footer-wrapper .footer-contact-col ul li {
    color: #4a5568 !important;
}

.footer-wrapper .footer-links-col ul a:hover,
.footer-wrapper .footer-contact-col ul li a:hover {
    color: #0f7b4d !important;
}

.footer-wrapper .social-icon-circle {
    border-color: #e2e8f0 !important;
    color: #4a5568 !important;
    background-color: #fff !important;
}

.footer-wrapper .social-icon-circle:hover {
    background-color: #0f7b4d !important;
    border-color: #0f7b4d !important;
    color: var(--white) !important;
}

.footer-wrapper .policy-links a {
    color: #4a5568 !important;
}

.footer-wrapper .policy-links a:hover {
    color: #0f7b4d !important;
}

.footer-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-cols-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 80px 0 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .footer-cols-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-cols-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #050e09;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-logo {
    height: 46px;
    width: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(15, 123, 77, 0.15);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4a5568;
    margin-top: 5px;
}

/* Custom Header Booking Button Style */
.btn-book-stay {
    background-color: transparent;
    border: 1.5px solid #0f7b4d;
    color: #0f7b4d;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-book-stay:hover {
    background-color: #0f7b4d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 123, 77, 0.20);
}

.social-links-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icon-circle:hover {
    transform: translateY(-3px);
}

.footer-links-col h4, .footer-contact-col h4 {
    color: #050e09;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-links-col ul a {
    transition: var(--transition);
}

.footer-links-col ul a:hover {
    padding-left: 4px;
}

.footer-contact-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.95rem;
}

.footer-contact-col ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-col ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.policy-links {
    display: flex;
    gap: 15px;
}

.policy-links a {
    transition: var(--transition);
}

/* Floating WhatsApp Widget */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Modals & Overlays */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 4, 0.85);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll.active,
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Policy Pages Layout */
.policy-page-wrapper {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-dark);
    min-height: 60vh;
}

.policy-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-premium);
}

.policy-article-wrapper h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.policy-article-wrapper p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.policy-body-html {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.policy-body-html p {
    margin-bottom: 20px;
}

.policy-body-html h2 {
    font-size: 1.4rem;
    color: var(--white);
    margin: 30px 0 15px 0;
}

.policy-body-html ul {
    margin: 15px 0 25px 25px;
}

.policy-body-html ul li {
    margin-bottom: 8px;
}

/* Contact Page Layout */
.contact-section-wrapper {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-dark);
    min-height: 70vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-details-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.detail-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(15,123,77,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.3rem;
}

.detail-card-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-card-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.detail-card-info p a {
    color: var(--text-muted);
}

.detail-card-info p a:hover {
    color: var(--white);
}

.map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px;
    overflow: hidden;
}

.map-card iframe {
    border: 0;
    border-radius: var(--radius-sm);
}

.contact-form-side {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.contact-form-side h2 {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.contact-form-side h2 i {
    color: var(--primary);
    margin-right: 8px;
}

.contact-alert-box {
    display: none;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 25px;
    align-items: center;
    gap: 10px;
}

.form-element {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-element label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-element input, .form-element select, .form-element textarea {
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    background: rgba(5,14,9,0.5);
    border-radius: var(--radius-sm);
    color: var(--white);
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-element input:focus, .form-element select:focus, .form-element textarea:focus {
    border-color: var(--accent);
    background: rgba(5,14,9,0.7);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid .form-element {
    margin-bottom: 0;
}

/* Booking Page Layout */
.booking-section {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-dark);
    min-height: 70vh;
}

.booking-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.booking-form-wrapper {
    flex: 1.5;
    min-width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.booking-form-wrapper h2 {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.booking-form-wrapper h2 i {
    color: var(--primary);
    margin-right: 8px;
}

.booking-sidebar {
    flex: 0.9;
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-premium);
}

.booking-sidebar h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.booking-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    padding-bottom: 8px;
}

.booking-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

.booking-summary-total span.accent {
    color: var(--accent);
}

