/* ===== LUXHAUS — Shared Stylesheet ===== */

/* ── Fonts ── */
@font-face {
    font-family: 'Agatho Lightcaps';
    src: url('./assets/AGATHO_LIGHTCAPS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ── Reset / Box Model ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── CSS Variables ── */
:root {
    --color-gold:        #a87c3a;
    --color-gold-light:  #c79a55;
    --color-white:       #f5f5f5;
    --color-muted:       #aaaaaa;
    --color-black:       #000000;
    --color-dark:        #111111;
    --color-card-bg:     #222222;
    --font-agatho:       'Agatho Lightcaps', serif;
    --font-neu:          'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition:        all 0.3s ease;
    --section-px:        5%;
    --section-py:        80px;
    --max-w:             1400px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-neu);
    font-size: 16px;
    font-weight: 300;
    line-height: 23px;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    background: var(--color-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-agatho);
    font-weight: normal;
    color: var(--color-white);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img, picture { display: block; max-width: 100%; }

/* ===========================
   UTILITY CLASSES
   =========================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Container ── */
.container {
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--section-px);
    padding-right: var(--section-px);
}

/* ── Section spacing ── */
.section { padding: var(--section-py) var(--section-px); }
.section--centered { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* ===========================
   SHAKE CTA BUTTON
   =========================== */
.shake-cta {
    position: relative;
    width: 200px;
    min-height: 34px;
    background: linear-gradient(270deg, #A87C3A 0%, #C79A55 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0px 14px 21px rgba(168, 124, 58, 0.28);
    animation: headShake 1800ms ease-in infinite both;
    transform-style: preserve-3d;
    will-change: transform;
}

.shake-cta-hero {
    width: 220px;
    min-height: 52px;
    font-size: 15px;
    letter-spacing: 1.2px;
    border-radius: 6px;
    box-shadow: 0px 18px 32px rgba(168, 124, 58, 0.38);
}

.shake-cta:hover,
.shake-cta:focus,
.shake-cta:active {
    background: linear-gradient(270deg, #C79A55 0%, #A87C3A 100%);
    color: #ffffff;
    box-shadow: 0px 18px 28px rgba(168, 124, 58, 0.4);
    animation: none;
    transform: none;
}

@keyframes headShake {
    0%    { transform: translateX(0); }
    6.5%  { transform: translateX(-3px); }
    18.5% { transform: translateX(2px); }
    31.5% { transform: translateX(-3px); }
    43.5% { transform: translateX(2px); }
    50%   { transform: translateX(0); }
    100%  { transform: translateX(0); }
}

/* ── Spinner animation ── */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* ===========================
   HEADER
   =========================== */
.site-header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    padding: 30px var(--section-px);
    z-index: 10;
    display: flex;
    justify-content: center;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    padding: 140px var(--section-px) 50px;
    background-color: #1a1a1a;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero__fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 7%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.85) 75%, #000000 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero__content {
    flex: 1;
    max-width: 640px;
    text-align: left;
}

.hero__eyebrow {
    display: block;
    font-family: var(--font-neu);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.hero__title {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero__subtitle {
    color: var(--color-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Price badge */
.hero__price-wrap {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__price-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 12px 16px;
}

.hero__price-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-gold);
    margin-bottom: 2px;
}

.hero__price-value {
    font-family: var(--font-agatho);
    font-size: 2rem;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.hero__price-value span {
    color: var(--color-gold-light);
    font-size: 1.4rem;
}

.hero__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__location svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-gold);
}

.hero__location span {
    font-family: var(--font-agatho);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

/* ===========================
   EXPERTISE CARDS SECTION
   =========================== */
.expertise { padding: var(--section-py) var(--section-px); max-width: var(--max-w); margin: 0 auto; }

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-gold);
}

.section-title span { color: var(--color-white); }

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card {
    background: linear-gradient(135deg, #242424, #070707, rgba(168,124,58,0.45));
    border: 1px solid rgba(68,39,4,1);
    padding: 28px 24px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.card p {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 30px;
}

.card__link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card__link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.card:hover .arrow { transform: translateX(5px); }

/* center CTA below cards */
.text-center { text-align: center; }
.mt-16 { margin-top: 64px; }

/* ===========================
   FLOOR PLAN SECTION
   =========================== */
.floor-plan {
    margin: 80px 4%;
    background: var(--color-gold);
    border-radius: 8px;
    overflow: hidden;
}

.floor-plan img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.floor-plan__info {
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.floor-plan__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 10px;
}

.floor-plan__title { font-size: 2rem; color: #ffffff; }

.floor-plan__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.floor-plan__specs span {
    font-weight: 500;
    color: #ffffff;
}

.floor-plan__note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    max-width: 320px;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-dark:hover { background: #111111; color: #ffffff; }

/* ===========================
   ABOUT SECTION
   =========================== */
.about { padding: var(--section-py) var(--section-px); max-width: var(--max-w); margin: 0 auto; }

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    border-left: 2px solid var(--color-gold);
}

.about__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.about__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 40px;
    text-align: left;
}

.about__body { font-size: 0.95rem; }

.about__features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 32px;
}

.about__feature-icon {
    width: 50px;
    height: 50px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.about__feature h3 { font-size: 1.2rem; margin-bottom: 15px; }
.about__feature p  { font-size: 0.95rem; }

/* ===========================
   PROJECT FULL IMAGE
   =========================== */
.project-full { width: 100%; }

.project-full img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
}

/* ===========================
   GALLERY / TABS
   =========================== */
.gallery-section { padding: var(--section-py) var(--section-px); max-width: var(--max-w); margin: 0 auto; }

.tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.tab-btn {
    font-family: var(--font-agatho);
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-muted);
}

.tab-btn.active { color: var(--color-gold); }
.tab-btn:hover  { color: var(--color-white); }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    transition: opacity 0.5s ease;
}

.gallery-grid.hidden { display: none; }

.gallery-grid a { display: block; }

.gallery-grid img {
    width: 100%;
    aspect-ratio: 600 / 338;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.gallery-grid img:hover { opacity: 0.9; }

/* ===========================
   NEARBY PLACES SECTION
   =========================== */
.nearby {
    background: var(--color-gold);
    padding: var(--section-py) var(--section-px);
}

.nearby__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.nearby__map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 4px solid #222;
}

.nearby__map iframe { width: 100%; height: 100%; border: 0; }

.nearby__table-wrap h2 {
    font-size: 1.875rem;
    color: #222;
    margin-bottom: 30px;
    text-align: left;
}

.nearby__table-wrap p { color: #333; font-size: 0.9rem; margin-bottom: 25px; }

.nearby__table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.nearby__table thead { background: #000000; color: #ffffff; }
.nearby__table th {
    padding: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.nearby__table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.nearby__table tbody tr:last-child td { border-bottom: none; }

/* ===========================
   CONTACT SECTION
   =========================== */
.contact { padding: var(--section-py) var(--section-px); max-width: var(--max-w); margin: 0 auto; }

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

.contact__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.contact__title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 30px; }
.contact__body  { font-size: 0.95rem; margin-bottom: 40px; }

.contact__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact__card {
    background: #ffffff;
    padding: 20px;
    border-radius: 2px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.contact__card:hover { transform: translateY(-4px); }

.contact__card-icon {
    background: var(--color-gold);
    padding: 10px;
    color: #ffffff;
    flex-shrink: 0;
}

.contact__card-icon svg { width: 24px; height: 24px; }
.contact__card h4 { font-size: 1.1rem; color: #222; margin-bottom: 5px; font-weight: 500; letter-spacing: 0.5px; }
.contact__card p  { font-size: 0.85rem; color: #666; }

/* ── Booking Form box ── */
.booking-box {
    width: 100%;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    min-height: 500px;
}

.booking-box h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#ghl-form-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#form-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111111;
    z-index: 1;
    color: var(--color-gold);
}

#form-placeholder svg { width: 40px; height: 40px; margin-bottom: 16px; }

#form-placeholder span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-muted);
}

/* ===========================
   THANK YOU PAGE
   =========================== */
.thankyou-body {
    background: var(--color-black);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.glow-tl {
    position: absolute;
    top: -10%; left: -15%;
    width: 55%; height: 65%;
    background: radial-gradient(ellipse at center, rgba(168,124,58,0.28) 0%, transparent 70%);
}

.glow-br {
    position: absolute;
    bottom: -10%; right: -15%;
    width: 55%; height: 65%;
    background: radial-gradient(ellipse at center, rgba(168,124,58,0.22) 0%, transparent 70%);
}

.thankyou-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.thankyou-logo { display: block; margin-bottom: 48px; }
.thankyou-logo img { display: block; margin: 0 auto; }

.checkmark {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: rgba(168,124,58,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.thankyou-title { font-size: 3rem; margin-bottom: 16px; }
.thankyou-title span { color: var(--color-gold); }

.thankyou-divider {
    width: 50px; height: 2px;
    background: var(--color-gold);
    margin: 0 auto 24px;
}

.thankyou-subtitle { font-size: 1rem; max-width: 420px; line-height: 1.7; }

.thankyou-back {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.thankyou-back:hover { color: var(--color-white); }

/* ===========================
   RESPONSIVE — TABLET (≥768px)
   =========================== */
@media (min-width: 768px) {
    .hero__title { font-size: 2.8rem; }
    .thankyou-title { font-size: 4.5rem; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .about__features { flex-direction: row; }
    .contact__cards { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 3rem; }
}

/* ===========================
   RESPONSIVE — DESKTOP (≥1024px)
   =========================== */
@media (min-width: 1024px) {
    .hero {
        align-items: center;
        padding-top: 100px;
    }
    .hero__inner { flex-direction: row; }
    .hero__price-badge {
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }
    .hero__title { font-size: 3.2rem; }
    .cards-grid { grid-template-columns: repeat(4, 1fr); }
    .floor-plan { margin-left: 15%; margin-right: 15%; }
    .floor-plan__info { flex-direction: row; align-items: center; }
    .about__grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .nearby__inner { grid-template-columns: 1fr 1fr; gap: 60px; }
    .nearby__map { height: 100%; min-height: 400px; }
    .contact__grid { grid-template-columns: 1fr 1fr; }
    .booking-box { padding: 40px; }
}

/* ===========================
   RESPONSIVE — LARGE (≥1280px)
   =========================== */
@media (min-width: 1280px) {
    .hero__title { font-size: 3.8rem; }
    .hero__price-value { font-size: 2.4rem; }
}
