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

:root {
    /* Brand Colors */
    --bg-dark: #0B1D2A;
    --bg-light: #0F2E3A;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --accent-primary: #3BE8FF;
    --accent-secondary: #7AF7FF;
    --glow-color: rgba(175, 255, 255, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #B8C7D1;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.glass:hover {
    border-color: rgba(59, 232, 255, 0.3);
    box-shadow: 0 8px 32px rgba(59, 232, 255, 0.1);
    transform: translateY(-4px);
}

.glass-no-hover {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(59, 232, 255, 0.3);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(122, 247, 255, 0.6);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(59, 232, 255, 0.3);
    transform: translateY(-2px);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

header.scrolled {
    background: rgba(11, 29, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-primary);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-luxury-pool-reflection.jpg') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 29, 42, 0.4) 0%, rgba(15, 46, 58, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    animation: fadeInDown 1s ease;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Room Cards */
.room-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.room-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img img {
    transform: scale(1.1);
}

.room-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-price {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.room-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Amenities Icons */
.amenity-card {
    text-align: center;
    padding: 40px 20px;
}

.amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(59, 232, 255, 0.4);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 29, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(59, 232, 255, 0.2);
}

select.form-control option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

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

/* Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    background: linear-gradient(180deg, rgba(11, 29, 42, 0.8) 0%, rgba(15, 46, 58, 0) 100%);
}

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

/* Content Pages (About, Terms, Privacy) */
.content-panel {
    padding: 50px;
    margin-bottom: 50px;
}

.content-panel h2 {
    color: var(--accent-primary);
    margin-top: 30px;
}

.content-panel p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

/* Footer */
footer {
    background: rgba(11, 29, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 20px;
    margin-top: 50px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Map Container */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(90%) contrast(120%) hue-rotate(180deg);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(11, 29, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .content-panel { padding: 30px 20px; }
}

/* Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}