@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES (Theme: Bioluminescent Ocean Resort - Lumina Reef)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #040914; /* Deep Ocean Trench */
    --bg-secondary: #0A1128; /* Midnight Blue */
    --surface: rgba(10, 17, 40, 0.65); /* Glass Surface */
    --surface-hover: rgba(16, 27, 61, 0.8);
    --accent-primary: #00F2FE; /* Glowing Cyan */
    --accent-secondary: #4FACFE; /* Soft Ocean Blue */
    --accent-highlight: #9D4EDD; /* Luminescent Purple */
    --text-primary: #F8F9FA; /* Soft White */
    --text-secondary: #A3BAC3; /* Muted Aqua-Grey */
    --border-glass: rgba(0, 242, 254, 0.1);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --space-section-desktop: 110px;
    --space-section-tablet: 80px;
    --space-section-mobile: 60px;
    
    --pad-container-desktop: 32px;
    --pad-container-tablet: 24px;
    --pad-container-mobile: 16px;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 242, 254, 0.15);
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Bioluminescent Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.03) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.03) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--pad-container-desktop);
}

.section {
    padding: var(--space-section-desktop) 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-visual {
    flex: 1;
    position: relative;
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* Glass Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(4, 9, 20, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--trans-smooth);
}

.header.scrolled {
    background: rgba(4, 9, 20, 0.85);
    box-shadow: var(--shadow-soft);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-highlight));
    transition: var(--trans-smooth);
    border-radius: 2px;
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--trans-smooth);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Glass Cards */
.glass-card {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--trans-smooth);
}

.glass-card:hover {
    background: var(--surface-hover);
    border-color: rgba(0, 242, 254, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero-visual-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    animation: slowZoom 20s infinite alternate;
}

/* Features / Info Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* Legal & Standard Pages */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(10, 17, 40, 0.8), var(--bg-primary));
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.content-card {
    max-width: 900px;
    margin: 0 auto;
}

.content-card h2 {
    color: var(--text-primary);
    margin-top: 40px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

.content-card ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--trans-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   5. ANIMATIONS
   ========================================================================== */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ambient Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: particleFloat 15s infinite linear;
    opacity: 0.3;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ==========================================================================
   6. MEDIA QUERIES (Mobile First approach adopted through max-width overrides)
   ========================================================================== */
@media (max-width: 1024px) {
    .container { padding: 0 var(--pad-container-tablet); }
    .section { padding: var(--space-section-tablet) 0; }
    .split-layout { flex-direction: column; text-align: center; }
    .hero { padding-top: 120px; text-align: center; }
    .hero-actions { justify-content: center; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--pad-container-mobile); }
    .section { padding: var(--space-section-mobile) 0; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(4, 9, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--trans-smooth);
    }
    
    .nav-links.active { left: 0; }
    .mobile-toggle { display: block; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 16px auto; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-img { height: 400px; }
}