/* =========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Colors */
    --clr-primary: #2563eb;       /* Blue */
    --clr-primary-hover: #1d4ed8;
    --clr-secondary: #ffffff;
    --clr-secondary-hover: #f1f5f9;
    
    --clr-bg-dark: #0f172a;       /* Deep slate */
    --clr-bg-light: #f8fafc;
    --clr-surface: #ffffff;
    
    --clr-text-main: #1e293b;
    --clr-text-muted: #64748b;
    --clr-text-inverse: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Dancing Script', cursive;
    
    /* Layout */
    --container-max-width: 1200px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky navbar */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   UI COMPONENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-text-inverse);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.39);
}

.btn-secondary {
    background-color: var(--clr-secondary);
    color: var(--clr-text-main);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--clr-secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--clr-text-inverse);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    padding: var(--spacing-xl);
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

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

.logo {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-text-inverse);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--clr-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar.scrolled .nav-links a {
    color: var(--clr-text-main);
}

.nav-links a:hover {
    color: var(--clr-text-inverse);
    opacity: 0.8;
}

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

.nav-links a.btn {
    color: var(--clr-text-inverse) !important;
    opacity: 1;
}

/* =========================================
   AMENITIES SECTION
   ========================================= */
.amenities {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-surface);
}

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

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 0.5rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--clr-primary);
}

.amenity-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.amenity-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--clr-text-main);
    margin: 0;
}

.amenity-content p {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin: 0;
    line-height: 1.4;
}


/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--clr-bg-dark);
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slides .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    max-width: 800px; /* Limit text width for readability */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--clr-text-inverse);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   FEATURES SECTION (ABOUT)
   ========================================= */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--clr-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--clr-bg-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--clr-surface);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--clr-primary);
    color: var(--clr-text-inverse);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   LOCATION & CONTACT SECTION
   ========================================= */
.location-contact {
    padding: var(--spacing-xl) 0;
    position: relative;
    /* Soft pattern background */
    background: radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.contact-info-panel h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-desc {
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-details span {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.25rem;
}

.info-details strong {
    font-size: 1.1rem;
    color: var(--clr-text-main);
    font-family: var(--font-heading);
}

.info-details strong a {
    transition: var(--transition);
}

.info-details strong a:hover {
    color: var(--clr-primary);
}

.info-details small {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-top: 0.25rem;
}

.map-panel {
    padding: 1rem; /* Less padding for the map container */
    display: flex;
    flex-direction: column;
    height: 500px;
    gap: 1rem;
}

.map-panel iframe {
    border-radius: var(--radius-md);
    flex-grow: 1;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-inverse);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-panel {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        font-size: 1.8rem;
    }
    
    .nav-links .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
