/* ============================================================
   HIDEOUT – style.css
   1. Variables
   2. Reset
   3. Base
   4. Navbar
   5. Hero + Animated Mesh Gradient
   6. Buttons
   7. Shared Section Styles
   8. Who We Are
   9. What We Do
   10. Featured Property
   11. Property Grid
   12. Installations
   13. Footer
   14. Company Hero
   15. Company Profile
   16. Company Services
   17. Photo Support
   18. Keyframes & Animations
   19. Scroll Reveal
   20. Responsive
   ============================================================ */

/* ── 1. VARIABLES ────────────────────────────────────────── */
:root {
    --gold: #c9a96e;
    --gold-light: #e8d5b0;
    --dark: #0e0e0e;
    --dark-2: #1a1a1a;
    --dark-3: #252525;
    --white: #fafaf8;
    --gray: #9a9a8a;

    --gradient-color-1: hsl(210, 85%, 50%);
    --gradient-color-2: hsl(165, 85%, 50%);
    --gradient-color-3: hsl(270, 85%, 50%);
    --gradient-color-4: hsl(350, 85%, 50%);
}

/* ── 2. RESET ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── 3. BASE ──────────────────────────────────────────────── */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", ui-sans-serif, sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
}

section,
main {
    overflow: hidden;
}

a,
button {
    cursor: pointer;
    user-select: none;
    border: none;
    outline: none;
    color: inherit;
    background: none;
    text-decoration: none;
    white-space: nowrap;
}

/* ── 4. NAVBAR ────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    transition:
        background 0.4s,
        padding 0.4s;
}

nav.scrolled {
    background: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 60px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.nav-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-active {
    color: var(--gold) !important;
}

/* ── 5. HERO + ANIMATED MESH GRADIENT ────────────────────── */
#hero,
#company-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--dark);
}

#hero {
    height: 100vh;
}

#company-hero {
    min-height: 55vh;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 140px 60px 80px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

/* Dark veil over blobs */
#hero::after,
#company-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.15;
    background: var(--dark);
}

/* Blurred blob container */
.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    filter: blur(10rem);
}

.blob {
    position: absolute;
    border-radius: 90%;
}

.blob-gradient-1 {
    top: 10%;
    left: 15%;
    width: 20rem;
    height: 20rem;
    background-color: var(--gradient-color-1);
    animation: pulseGradient 16s infinite alternate ease-in-out;
}

.blob-gradient-2 {
    right: 20%;
    bottom: 15%;
    width: 25rem;
    height: 25rem;
    background-color: var(--gradient-color-2);
    animation: pulseGradient 2s infinite alternate ease-in-out;
}

.blob-gradient-3 {
    top: 60%;
    right: 10%;
    width: 20rem;
    height: 20rem;
    background-color: var(--gradient-color-3);
    animation: pulseGradient 1s infinite alternate ease-in-out;
}

.blob-gradient-4 {
    left: 30%;
    bottom: 25%;
    width: 19rem;
    height: 25rem;
    background-color: var(--gradient-color-4);
    animation: pulseGradient 4s infinite alternate ease-in-out;
}

/* Hero content — above veil (z-index > 3) */
.hero-content,
.company-hero-inner {
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 800px;
    padding: 0 40px;
}

.hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--white);
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

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

.hero-subtitle {
    margin-top: 24px;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--gray);
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.hero-cta {
    margin-top: 48px;
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 1s 1.8s forwards;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--gray);
    text-transform: uppercase;
}

/* ── 6. BUTTONS ───────────────────────────────────────────── */
.btn-gold {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition:
        background 0.3s,
        color 0.3s;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--dark);
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: border-color 0.3s;
}

.btn-outline:hover {
    border-color: var(--white);
}

/* ── 7. SHARED SECTION STYLES ─────────────────────────────── */
.section-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 28px;
}

.section-title em {
    font-style: italic;
    font-family: "Cormorant Garamond", serif;
}

.section-body {
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--gray);
    max-width: 580px;
}

.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 32px 0;
}

/* ── 8. WHO WE ARE ────────────────────────────────────────── */
#about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 60px;
    background: var(--dark-2);
}

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

.about-img-box {
    position: absolute;
    border: 1px solid rgba(201, 169, 110, 0.2);
    overflow: hidden;
}

.about-img-box.main {
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
}

.about-img-box.accent {
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder.alt {
    background: linear-gradient(135deg, #1a2a1a, #0d2b1f, #0a3325);
}

.img-label {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    color: rgba(201, 169, 110, 0.5);
    letter-spacing: 0.1em;
}

.about-body-2 {
    margin-top: 16px;
}
.about-cta {
    margin-top: 40px;
}

/* ── 9. WHAT WE DO ────────────────────────────────────────── */
#services {
    padding: 120px 60px;
    background: var(--dark);
    text-align: center;
}

.services-header {
    margin-bottom: 80px;
}

.services-header .section-body {
    margin: 0 auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
}

.service-card {
    background: var(--dark-2);
    padding: 60px 40px;
    text-align: left;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    transition: background 0.3s;
    cursor: pointer;
}

.service-card:hover {
    background: var(--dark-3);
}

.service-num {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.78rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 28px;
}

.service-link {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.service-link:hover {
    border-color: var(--gold);
}

/* ── 10. FEATURED PROPERTY ────────────────────────────────── */
#featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    background: var(--dark-2);
}

.featured-visual {
    background: linear-gradient(135deg, #1a0a2e, #2d1b69, #11225c);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    overflow: hidden;
}

.featured-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 60% 30%,
        rgba(201, 169, 110, 0.12),
        transparent 60%
    );
}

.featured-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 10, 46, 0.75),
        rgba(17, 34, 92, 0.65)
    );
}

.featured-location-tag,
.featured-visual-title {
    position: relative;
    z-index: 2;
}

.featured-location-tag {
    position: absolute;
    top: 48px;
    left: 48px;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 8px 16px;
}

.featured-visual-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1;
}

.featured-info {
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.featured-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
}

.featured-desc {
    font-size: 0.82rem;
    line-height: 1.85;
    color: var(--gray);
    margin-bottom: 40px;
}

.featured-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--gray);
}

.spec-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.featured-btns {
    display: flex;
    gap: 16px;
}

/* ── 11. PROPERTY GRID ────────────────────────────────────── */
#properties {
    padding: 120px 60px;
    background: var(--dark);
}

.properties-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

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

.prop-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    cursor: pointer;
}

.prop-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.prop-card:hover .prop-bg {
    transform: scale(1.05);
}

.bg-alps {
    background: linear-gradient(
        160deg,
        #e8f4f8 0%,
        #b8d4e8 30%,
        #6b9ec4 60%,
        #2c5f8a 100%
    );
}

.bg-maldives {
    background: linear-gradient(
        160deg,
        #87ceeb 0%,
        #40b4c8 30%,
        #006994 60%,
        #003d5c 100%
    );
}

.bg-tokyo {
    background: linear-gradient(
        160deg,
        #2d1b69 0%,
        #11225c 30%,
        #0a0a1a 70%,
        #1a0a2e 100%
    );
}

.prop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
}

.prop-region {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.prop-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 300;
}

.prop-arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.prop-card:hover .prop-arrow {
    opacity: 1;
}

/* ── 12. INSTALLATIONS ────────────────────────────────────── */
#installations {
    padding: 120px 60px;
    background: var(--dark);
}

#installations .properties-header .section-title {
    margin-bottom: 0;
}

.art-card {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.art-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.9s ease;
}

.art-card:hover .art-bg {
    transform: scale(1.04);
}

.bg-art-1 {
    background: linear-gradient(
        135deg,
        #0d0221 0%,
        #1a0533 40%,
        #370d6f 70%,
        #6b1a8b 100%
    );
}

.bg-art-2 {
    background: linear-gradient(
        160deg,
        #001a1a 0%,
        #003333 35%,
        #005c5c 65%,
        #007d7d 100%
    );
}

.bg-art-3 {
    background: linear-gradient(
        135deg,
        #1a0a00 0%,
        #3d1500 40%,
        #7a3000 70%,
        #b85c1a 100%
    );
}

/* ── 13. FOOTER ───────────────────────────────────────────── */
footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(201, 169, 110, 0.15);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    color: var(--gold);
}

.footer-nav {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-nav a {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    transition: color 0.3s;
}

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

.footer-copy {
    font-size: 0.65rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

/* ── 14. COMPANY HERO ─────────────────────────────────────── */
.company-hero-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 16px;
}

.company-hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.company-hero-sub {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--gray);
}

/* ── 15. COMPANY PROFILE ──────────────────────────────────── */
#company-profile {
    padding: 100px 60px;
    background: var(--dark);
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.8;
}

.profile-table th {
    width: 38%;
    padding-right: 24px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.profile-table td {
    color: var(--white);
}

.profile-en {
    font-size: 0.72rem;
    color: var(--gray);
    letter-spacing: 0.04em;
}

.profile-visual {
    position: sticky;
    top: 120px;
    height: 380px;
    background: var(--dark-2);
    border: 1px solid rgba(201, 169, 110, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.profile-visual-text {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.4em;
    color: rgba(201, 169, 110, 0.12);
}

.profile-visual-sub {
    font-size: 0.62rem;
    letter-spacing: 0.35em;
    color: rgba(201, 169, 110, 0.25);
    text-transform: uppercase;
}

/* ── 16. COMPANY SERVICES ─────────────────────────────────── */
#company-services {
    padding: 100px 60px;
    background: var(--dark-2);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.services-detail-item {
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    padding-top: 40px;
}

/* ── 17. PHOTO SUPPORT ────────────────────────────────────── */
.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.art-bg:not([style]),
.prop-bg:not([style]) {
    background-color: var(--dark-3);
}

/* ── 18. KEYFRAMES & ANIMATIONS ───────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}

@keyframes pulseGradient {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* ── 19. SCROLL REVEAL ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.15s;
}
.reveal-delay-2 {
    transition-delay: 0.3s;
}
.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ── 20. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
    nav {
        padding: 20px 28px;
    }
    nav.scrolled {
        padding: 14px 28px;
    }
    .nav-links {
        display: none;
    }

    #hero {
        height: 100svh;
    }

    #company-hero {
        min-height: 40vh;
        padding: 100px 28px 60px;
    }

    #about {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 80px 28px;
    }
    .about-visual {
        height: 320px;
    }

    #services {
        padding: 80px 28px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

    #featured {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .featured-visual {
        min-height: 300px;
    }
    .featured-info {
        padding: 48px 28px;
    }

    #properties {
        padding: 80px 28px;
    }
    .properties-grid {
        grid-template-columns: 1fr;
    }
    .prop-card {
        height: 280px;
    }
    .properties-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    #installations {
        padding: 80px 28px;
    }
    .art-card {
        height: 280px;
    }

    footer {
        padding: 40px 28px;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    #company-profile {
        padding: 60px 28px;
    }
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .profile-visual {
        position: static;
        height: 180px;
    }

    #company-services {
        padding: 60px 28px;
    }
    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
