/* =========================================================================
   POSEIDON LUXURY LIVING - ULTRA-PREMIUM DESIGN SYSTEM
   Theme: Royal Ocean Navy, Champagne Gold & Metallic Platinum Glassmorphism
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-abyss: #04070d;
    --color-navy-dark: #0a0f1d;
    --color-navy-card: rgba(15, 23, 42, 0.75);
    
    /* Gold & Metallic Accents */
    --gold-primary: #d4af37;
    --gold-light: #f4e095;
    --gold-dark: #aa8625;
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    /* Typography */
    --font-royal: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Transitions */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --glass-border: 1px solid rgba(212, 175, 55, 0.2);
    --glass-bg: rgba(10, 15, 29, 0.65);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--color-abyss);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Gold Gradient Text Utility */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-abyss);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 6%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    transition: all 0.4s var(--transition-smooth);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform 0.4s var(--transition-smooth);
}

.brand-logo:hover img {
    transform: scale(1.06) rotate(-2deg);
}

.brand-title {
    font-family: var(--font-royal);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--gold-light);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.lang-switcher a.active {
    color: var(--gold-primary);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    background: var(--gold-gradient);
    color: #04070d;
    font-family: var(--font-royal);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 20px var(--gold-glow);
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
    filter: brightness(1.1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-royal);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 6% 4rem;
    overflow: hidden;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) contrast(1.1);
    transform: scale(1.05);
    animation: heroZoom 20s infinite alternate var(--transition-smooth);
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 7, 13, 0.3) 0%, rgba(4, 7, 13, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.25rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-royal);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   LUXURY METRICS BAR
   ========================================================================= */
.metrics-section {
    position: relative;
    z-index: 20;
    margin-top: -4rem;
    padding: 0 6%;
}

.metrics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.metric-card {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card:last-child {
    border-right: none;
}

.metric-value {
    font-family: var(--font-royal);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================================
   ARCHITECTURAL GALLERY SECTION
   ========================================================================= */
.gallery-section {
    padding: 8rem 6% 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    font-family: var(--font-royal);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: var(--font-royal);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Mobile-first Scroll Container & Grid */
.gallery-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.gallery-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-navy-dark);
    border: var(--glass-border);
    transition: all 0.5s var(--transition-smooth);
}

.gallery-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(4, 7, 13, 0.95) 0%, rgba(4, 7, 13, 0.6) 60%, transparent 100%);
    backdrop-filter: blur(5px);
}

.gallery-title {
    font-family: var(--font-royal);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.gallery-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Desktop Grid Layout */
@media (min-width: 768px) {
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .gallery-card {
        flex: auto;
    }
}

/* =========================================================================
   VIP INQUIRY / PRIVATE TOUR SECTION
   ========================================================================= */
.inquiry-section {
    padding: 6rem 6%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, var(--color-abyss) 100%);
}

.inquiry-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.inquiry-box h3 {
    font-family: var(--font-royal);
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.inquiry-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.inquiry-input {
    flex: 1 1 250px;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s;
}

.inquiry-input:focus {
    border-color: var(--gold-primary);
}

/* =========================================================================
   FOOTER & PERFORMANCE BAR
   ========================================================================= */
.site-footer {
    background: #020307;
    padding: 4rem 6% 2rem;
    border-top: var(--glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cdn-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-light);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
