/*
 * XPosure Apartment — Static Site
 * Migrated from WordPress theme v1.0.1
 */

/* ========== CSS VARIABLES ========== */
:root {
    --sand: #F5E6D3;
    --sand-light: #FBF5EE;
    --ocean: #2B6E8A;
    --ocean-deep: #1A4A5E;
    --ocean-light: #A8D4E6;
    --terracotta: #C1694F;
    --terracotta-light: #E8A68C;
    --white: #FFFFFF;
    --charcoal: #2C2C2C;
    --warm-gray: #8A8278;
    --gold: #D4A853;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    color: var(--charcoal);
    background: var(--sand-light);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ========== NAVIGATION ========== */
.xp-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

.xp-nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    padding: 0.7rem 2rem;
}

.xp-nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.xp-nav.scrolled .xp-nav-logo { color: var(--ocean-deep); }

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

.xp-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

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

.xp-nav-links a:hover::after { width: 100%; }
.xp-nav.scrolled .xp-nav-links a { color: var(--charcoal); }

.lang-switch {
    display: flex;
    gap: 0;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.xp-nav.scrolled .lang-switch { border-color: var(--ocean); }

.lang-btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Raleway', sans-serif;
}

.xp-nav.scrolled .lang-btn { color: var(--warm-gray); }

.lang-btn.active {
    background: var(--white);
    color: var(--ocean-deep);
}

.xp-nav.scrolled .lang-btn.active {
    background: var(--ocean);
    color: var(--white);
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    display: block;
}

.xp-nav.scrolled .hamburger span { background: var(--charcoal); }

/* ========== HERO ========== */
.xp-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.xp-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(26,74,94,0.3) 0%,
            rgba(26,74,94,0.15) 40%,
            rgba(193,105,79,0.25) 100%),
        linear-gradient(135deg,
            #1a6985 0%, #2d8fad 25%, #68b8d7 50%, #e8c9a0 75%, #c1694f 100%);
    background-size: cover;
}

.xp-hero-bg.has-image {
    background-size: cover;
    background-position: center;
}

.xp-hero-bg.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26,74,94,0.5) 0%,
        rgba(26,74,94,0.55) 35%,
        rgba(26,74,94,0.5) 65%,
        rgba(26,74,94,0.4) 100%) !important;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.hero-waves svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
}

.wave-1 { animation: wave 8s linear infinite; opacity: 0.6; }
.wave-2 { animation: wave 6s linear infinite reverse; opacity: 0.4; }
.wave-3 { animation: wave 10s linear infinite; opacity: 0.8; }

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.xp-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 800px;
    animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.xp-hero-badge {
    display: inline-block;
    background: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}

.xp-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.3) !important;
}

.xp-hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.xp-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400 !important;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.3) !important;
}

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

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background: #a8583f;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(193,105,79,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease infinite;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
    stroke: rgba(255,255,255,0.6);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== SECTIONS ========== */
.xp-section {
    padding: 6rem 2rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ocean-deep);
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 600px;
    color: var(--warm-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== HIGHLIGHTS ========== */
.xp-highlights {
    background: var(--white);
    padding: 5rem 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.highlight-item { padding: 2rem 1rem; }

.highlight-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    background: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--ocean);
}

.highlight-item h3 {
    font-size: 1.3rem;
    color: var(--ocean-deep);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-weight: 300;
}

/* ========== ABOUT ========== */
.xp-about { background: var(--sand-light); }

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

.about-images {
    position: relative;
    height: 500px;
}

.about-img {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-img-1 { width: 65%; height: 70%; top: 0; left: 0; }
.about-img-2 { width: 55%; height: 55%; bottom: 0; right: 0; border: 5px solid var(--white); }

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text .section-desc { margin-bottom: 2rem; }

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.feature-check {
    width: 20px;
    height: 20px;
    background: var(--ocean-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 12px;
    height: 12px;
    stroke: var(--ocean-deep);
}

/* ========== GALLERY ========== */
.xp-gallery { background: var(--white); }

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header .section-desc { margin: 0.5rem auto 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.gallery-grid .gallery-item:first-child { grid-row: 1 / 3; }

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,74,94,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

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

.overlay span {
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========== LOCATION ========== */
.xp-location {
    background: var(--ocean-deep);
    color: var(--white);
}

.xp-location .section-label { color: var(--gold); }
.xp-location .section-title { color: var(--white); }
.xp-location .section-desc { color: rgba(255,255,255,0.7); }

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.location-facts { display: grid; gap: 1.5rem; }

.location-fact {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.fact-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
}

.location-fact h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }

.location-fact p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background: rgba(255,255,255,0.1);
}

.location-map iframe { width: 100%; height: 100%; border: none; }

/* ========== CONTACT ========== */
.xp-contact { background: var(--sand); }

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

.contact-info { margin-top: 2rem; }

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.8rem;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--charcoal);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--ocean-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; stroke: var(--ocean-deep); }
.contact-method h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-method p { font-size: 0.85rem; color: var(--warm-gray); }

.contact-form-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.contact-form-box h3 {
    font-size: 1.6rem;
    color: var(--ocean-deep);
    margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #E5DDD3;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: border-color 0.3s;
    background: var(--sand-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--ocean);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit { width: 100%; padding: 1rem; margin-top: 0.5rem; }

/* ========== FORM STATUS ========== */
.form-status {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========== BOOKING BANNER ========== */
.xp-booking-banner {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.xp-booking-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.xp-booking-banner p {
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.booking-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--white);
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.booking-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ========== FOOTER ========== */
.xp-footer {
    background: #1A2A32;
    color: rgba(255,255,255,0.5);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.xp-footer p { font-size: 0.85rem; margin-bottom: 0.5rem; }

.footer-seo {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ========== NAV TEXT SHADOW ========== */
.xp-nav-logo,
.xp-nav-links a {
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.xp-nav.scrolled .xp-nav-logo,
.xp-nav.scrolled .xp-nav-links a {
    text-shadow: none;
}

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

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

/* ========== BLOG POST STYLES ========== */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 2rem 4rem;
}

.blog-post h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ocean-deep);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.blog-post h3 {
    font-size: 1.4rem;
    color: var(--ocean-deep);
    margin: 2rem 0 0.8rem;
}

.blog-post p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
}

.blog-post p strong {
    color: var(--ocean-deep);
}

.blog-post .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--ocean);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-post .back-link:hover {
    color: var(--terracotta);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; }
    .about-images { height: 350px; margin-bottom: 2rem; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-grid .gallery-item:first-child { grid-row: auto; }
    .location-map { height: 300px; }
}

@media (max-width: 700px) {
    .xp-nav-links { display: none; }
    .hamburger { display: flex; }

    .xp-nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26,74,94,0.97);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .xp-nav-links.open a { color: var(--white) !important; font-size: 1.1rem; }
    .highlights-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
    }
    .form-row { grid-template-columns: 1fr; }
    .xp-section { padding: 4rem 1.2rem; }
    .blog-post { padding: 100px 1.2rem 3rem; }
}
