/* =========================================
   1. VARIABLES & CORE
   ========================================= */
:root {
    /* Primary Palette */
    --bg-deep: #0a192f;        /* Midnight Blue */
    --bg-surface: #112240;    /* Card/Section Navy */
    --accent: #64ffda;         /* Aqua Teal */
    --accent-glow: rgba(100, 255, 218, 0.1);
    
    /* Text Colors */
    --text-primary: #ccd6f6;   /* Light Slate */
    --text-secondary: #8892b0; /* Muted Blue-Grey */
    --white: #e6f1ff;
    
    /* UI Elements */
    --nav-height: 80px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
    height: var(--nav-height);
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.logo {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li { margin-left: 35px; }

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); }

.cta-button {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.cta-button:hover { background: var(--accent-glow); }

/* =========================================
   3. HERO & HEADINGS
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.8)), 
                url('../img/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1, h2, h3 { color: var(--white); margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 8vw, 4rem); }

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent);
    color: var(--bg-deep);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 20px;
}

/* =========================================
   4. LAYOUT SECTIONS
   ========================================= */
.section-two-col { padding: 100px 0; }

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.col-text { flex: 1.2; }
.col-image { flex: 1; }

.rounded-img {
    width: 100%;
    border-radius: var(--border-radius);
    filter: grayscale(20%) contrast(1.1);
}

.section-three-col {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-deep);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

/* =========================================
   5. GALLERY & FORMS
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 40px 0;
}

.gallery-item {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.gallery-item img:hover { opacity: 1; transform: scale(1.05); }

.booking-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--border-radius);
}

input, select, textarea {
    background: var(--bg-deep);
    border: 1px solid var(--text-secondary);
    color: var(--white);
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* =========================================
   6. FLOATING WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================================
   7. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .split-layout { flex-direction: column; text-align: center; }
    .grid-three { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
}

/* Styling the SVG icon */
.wa-svg {
    width: 32px;
    height: 32px;
    color: white; /* This sets the fill color of the icon */
}

/* Pulse animation (optional but recommended) */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* WhatsApp Container */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/* Pulsing Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip on Hover */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-surface);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--accent);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 40px 0;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--bg-surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Lightbox Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.2);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--accent);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#modal-caption {
    margin-top: 20px;
    color: var(--text-primary);
    font-weight: 500;
}