/* Modern CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette from Logo */
    --primary-blue: #0089BA;
    /* Azure-ish */
    --teal-cyan: #00D2D3;
    /* High teal */
    --deep-navy: #102A43;
    /* Text navy */
    --secondary-navy: #243B53;

    /* Neutral colors */
    --bg-white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --text-main: #334E68;
    --text-muted: #627D98;
    --accent: #E12D39;
    /* Subtle accent if needed */

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--deep-navy);
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-navy);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-cyan);
    transition: var(--transition);
}

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

.nav-contact-btn {
    background: var(--deep-navy);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-contact-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(16, 42, 67, 0.4), rgba(16, 42, 67, 0.4)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: white;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 36px;
    background: var(--teal-cyan);
    color: var(--deep-navy);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Features --- */
.features {
    padding: var(--section-padding);
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--teal-cyan);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* --- Image & Content Section --- */
.info-section {
    padding: var(--section-padding);
    display: flex;
    align-items: center;
    gap: 80px;
}

.info-section.reverse {
    flex-direction: row-reverse;
}

.info-image {
    flex: 1;
    position: relative;
}

.info-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.info-text {
    flex: 1;
}

.info-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

/* --- Amenities --- */
.amenities {
    padding: var(--section-padding);
    background: var(--deep-navy);
    color: white;
}

.amenities h2 {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
}

/* --- Contact & Footer --- */
footer {
    padding: 80px 5% 40px;
    background: var(--bg-soft);
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #E2E8F0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    nav {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .menu-toggle {
        display: block;
        color: var(--deep-navy);
    }

    .info-section {
        flex-direction: column !important;
        gap: 40px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}