:root {
    /* Color Palette */
    --primary-color: #007ca2;
    /* Deep sea blue */
    --primary-light: #245d82;
    --accent-color: #dcb386;
    /* Sand / Gold */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #f9fafb;
    --bg-main: #ffffff;
    --bg-alt: #f4f6f8;
    /* Soft cool gray/blue */
    --border-color: #e5e7eb;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Variables */
    --nav-height: 80px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section {
    padding: 6rem 0;
}

/* ---------------------------------
   Typography Utilities
--------------------------------- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-family: var(--font-body);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ---------------------------------
   Buttons
--------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--bg-main);
    color: var(--primary-color);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--accent-color);
    color: #fff;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
/* ---------------------------------
   Navbar
--------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link {
    color: var(--primary-color);
}

.navbar.scrolled .hamburger .bar {
    background-color: var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    /* White initially against hero */
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-light);
}

/* ---------------------------------
   Main App Container
--------------------------------- */
#app {
    min-height: calc(100vh - 80px);
    /* footer height approx */
    transition: opacity 0.3s ease-in-out;
}

/* ---------------------------------
   Hero Section
--------------------------------- */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images_horizontal/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 62, 90, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeIn 1s ease-out forwards;
}

.hero-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    color: var(--accent-color);
}

.hero-title {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ---------------------------------
   About Section
--------------------------------- */
.about-section {
    background-color: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ---------------------------------
   Slideshow
--------------------------------- */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.about-slide {
    display: none;
}

.fade {
    animation-name: slideFade;
    animation-duration: 1.8s;
}

@keyframes slideFade {
    from {
        opacity: 0.6
    }

    to {
        opacity: 1
    }
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* ---------------------------------
   Amenities Section
--------------------------------- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.amenity-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.amenity-card .icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    color: var(--primary-color);
    transition: var(--transition);
}

.amenity-card:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: var(--bg-main);
}

.amenity-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.amenity-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---------------------------------
   Page Header (Documents)
--------------------------------- */
.page-header {
    padding: 8rem 0 4rem;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-title {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #cbd5e1;
    font-size: 1.125rem;
}

/* ---------------------------------
   Documents List
--------------------------------- */
.documents-menu-container {
    max-width: 800px;
    margin: 0 auto;
}

.doc-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.doc-tab {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.doc-tab .tab-icon {
    font-size: 1.1rem;
}

.doc-tab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    border-color: var(--primary-light);
}

.doc-tab.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px 0 rgba(12, 62, 90, 0.3);
}

.doc-tab-content {
    display: none;
    transition: opacity 0.3s ease;
}

.doc-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.documents-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.document-card {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);

}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.doc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(12, 62, 90, 0.08);
    color: var(--primary-color);
    margin-right: 1.5rem;
}

.doc-info {
    flex-grow: 1;
}

.doc-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.doc-size {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.doc-action {
    margin-left: 1rem;
}

.view-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.document-card:hover .view-link {
    color: var(--accent-color);
}

.view-link .arrow {
    transition: transform 0.3s ease;
}

.document-card:hover .arrow {
    transform: translateX(4px);
}

/* ---------------------------------
   Footer
--------------------------------- */
.footer {
    background-color: var(--text-primary);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ---------------------------------
   Animations & Responsive
--------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-main);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        z-index: 100;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .nav-link {
        color: var(--primary-color);
        font-size: 1.5rem;
    }

    .document-card {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .doc-action {
        margin-left: 0;
        margin-top: 1rem;
    }
}