/*
Theme Name: Accent Residence
Theme URI: https://accentresidence.com/
Author: Accent Residence Limited
Description: A premium, responsive hospitality and direct-booking theme for Accent Residence Limited.
Version: 2.2.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: accent-residence
*/

.accent-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent-field label { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; line-height: 1.5; }
.consent-field input { width: auto; margin-top: .2rem; }
.notice-success { border-left-color: #3c8c52; }
.notice-error { border-left-color: #b84a3f; }
.custom-logo { display: block; width: auto; max-width: 116px; max-height: 62px; object-fit: contain; }
.official-logo { display: block; width: 52px; height: 58px; object-fit: contain; }

:root {
  --ink: #1c1c1a;
  --ink-soft: #292925;
  --gold: #b99246;
  --gold-light: #d2b16a;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --muted: #716d64;
  --line: rgba(28, 28, 26, .13);
  --radius: 6px;
  --shadow: 0 22px 70px rgba(25, 22, 15, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-title { margin: 0; font: 400 clamp(2.15rem, 4vw, 4rem)/1.05 var(--serif); letter-spacing: -.035em; }
.section-copy { max-width: 600px; margin: 20px 0 0; color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-link { border-bottom: 1px solid var(--gold); color: var(--gold); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 25px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: .2s ease; }
.btn-gold { color: #fff; background: var(--gold); }
.btn-gold:hover { background: #a67f36; transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Header */
.site-header { position: absolute; z-index: 50; top: 0; right: 0; left: 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.16); }
.site-header.is-scrolled { position: fixed; color: var(--ink); background: rgba(255,253,248,.96); box-shadow: 0 8px 30px rgba(0,0,0,.08); backdrop-filter: blur(14px); }
.header-inner { display: grid; min-height: 92px; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: .71rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font: 400 1.12rem/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.brand-copy small { margin-top: 5px; font-size: .52rem; letter-spacing: .31em; text-transform: uppercase; opacity: .8; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.header-phone { font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.menu-toggle { display: none; border: 0; color: inherit; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; }

/* Hero */
.hero { position: relative; min-height: 760px; color: #fff; background: #20201d; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { overflow: hidden; background: center 51%/cover no-repeat; }
.hero-video { position: absolute; inset: 50% auto auto 50%; width: 100%; height: 100%; min-width: 100%; min-height: 100%; border: 0; object-fit: cover; transform: translate(-50%,-50%); }
.hero-video-embed { width: max(100%, 177.78vh); height: max(100%, 56.25vw); pointer-events: none; }
.hero-video-portrait { width: max(100%, 56.25vh); height: max(100%, 177.78vw); }
.hero-media::after { content: ''; background: linear-gradient(90deg, rgba(10,10,9,.76) 0%, rgba(10,10,9,.44) 43%, rgba(10,10,9,.12) 70%), linear-gradient(0deg, rgba(10,10,9,.48), transparent 46%); }
.hero-inner { position: relative; z-index: 2; display: flex; min-height: 680px; align-items: center; padding-top: 95px; }
.hero-content { max-width: 690px; }
.hero h1 { max-width: 660px; margin: 0; font: 400 clamp(3.4rem, 6.3vw, 6.4rem)/.94 var(--serif); letter-spacing: -.055em; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-content > p:not(.eyebrow) { max-width: 540px; margin: 25px 0 34px; color: rgba(255,255,255,.82); font-size: 1.03rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-signals { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 34px; color: rgba(255,255,255,.76); font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-signals span::before { content: '✦'; margin-right: 8px; color: var(--gold-light); }
.hero-video-toggle { position: absolute; z-index: 4; right: 30px; bottom: 105px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(15,15,14,.3); cursor: pointer; backdrop-filter: blur(8px); }

/* Availability */
.availability-wrap { position: relative; z-index: 10; margin-top: -80px; }
.availability-card { padding: 28px 30px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.availability-card form { display: grid; grid-template-columns: 1fr 1fr .8fr .8fr auto; gap: 0; align-items: end; }
.field { position: relative; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.14); }
.field:first-child { padding-left: 0; }
.field label { display: block; margin-bottom: 6px; color: #aaa69d; font-size: .62rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-height: 36px; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font: 400 1rem var(--serif); color-scheme: dark; }
.availability-card .btn { min-width: 180px; margin-left: 25px; }
.availability-note { margin: 14px 0 0; color: #8f8b83; font-size: .7rem; text-align: right; }

/* Welcome */
.welcome { padding: 135px 0 120px; }
.welcome-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 9vw, 125px); align-items: center; }
.welcome-copy .section-copy { margin-bottom: 30px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; margin: 34px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.feature-list span { display: flex; align-items: center; gap: 11px; color: #4c4942; font-size: .84rem; }
.feature-list span::before { content: '✦'; color: var(--gold); font-size: .7rem; }
.welcome-collage { position: relative; min-height: 570px; }
.welcome-collage .main-photo { position: absolute; top: 0; right: 0; width: 78%; height: 490px; object-fit: cover; }
.welcome-collage .inset-photo { position: absolute; bottom: 0; left: 0; width: 43%; height: 260px; border: 10px solid var(--paper); object-fit: cover; }
.welcome-badge { position: absolute; z-index: 2; right: 4%; bottom: 30px; display: grid; width: 116px; height: 116px; place-items: center; border-radius: 50%; color: #fff; background: var(--gold); text-align: center; }
.welcome-badge strong { display: block; font: 400 1.65rem var(--serif); }
.welcome-badge span { display: block; max-width: 75px; font-size: .55rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* Rooms */
.rooms { padding: 105px 0 120px; background: var(--cream); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.room-card { overflow: hidden; background: var(--paper); box-shadow: 0 8px 40px rgba(38,32,22,.06); transition: transform .25s ease; }
.room-card:hover { transform: translateY(-6px); }
.room-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-card:hover .room-image img { transform: scale(1.035); }
.room-price { position: absolute; right: 0; bottom: 0; padding: 12px 16px; color: #fff; background: var(--ink); font-size: .7rem; }
.room-price strong { color: var(--gold-light); font: 400 1.12rem var(--serif); }
.room-body { padding: 25px 26px 28px; }
.room-body h3 { margin: 0 0 7px; font: 400 1.65rem var(--serif); }
.room-meta { margin: 0 0 18px; color: var(--muted); font-size: .75rem; }
.room-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--line); }
.room-amenities { color: #747067; font-size: .72rem; }
.room-link { color: var(--gold); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Amenities */
.amenities { padding: 125px 0; }
.amenities-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.amenities-photo { position: relative; }
.amenities-photo img { width: 100%; height: 600px; object-fit: cover; }
.amenities-photo::after { content: ''; position: absolute; top: 25px; right: -25px; width: 100%; height: 100%; z-index: -1; border: 1px solid var(--gold); }
.amenity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.amenity { min-height: 125px; padding: 25px 20px 20px 0; border-bottom: 1px solid var(--line); }
.amenity:nth-child(odd) { margin-right: 25px; border-right: 1px solid var(--line); }
.amenity-icon { color: var(--gold); font: 400 1.3rem var(--serif); }
.amenity h3 { margin: 8px 0 3px; font: 400 1.08rem var(--serif); }
.amenity p { margin: 0; color: var(--muted); font-size: .76rem; }

/* Experience + trust */
.experience { position: relative; min-height: 590px; display: flex; align-items: center; color: #fff; background: center/cover no-repeat; }
.experience::after { content: ''; position: absolute; inset: 0; background: rgba(18,18,16,.62); }
.experience-content { position: relative; z-index: 2; max-width: 680px; text-align: center; }
.experience .section-copy { margin-inline: auto; color: rgba(255,255,255,.78); }
.trust { padding: 72px 0; background: var(--ink); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; color: var(--gold-light); font: 400 2rem var(--serif); }
.trust-item span { color: #a9a59c; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* Footer */
.site-footer { padding: 80px 0 25px; color: #c9c5bb; background: #131312; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 55px; }
.footer-brand { color: #fff; margin-bottom: 20px; }
.footer-brand .official-logo { width: 62px; height: 68px; }
.footer-about { max-width: 330px; color: #8e8a82; font-size: .82rem; }
.site-footer h3 { margin: 0 0 20px; color: #fff; font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-links a, .footer-contact { color: #96928a; font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 65px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #67645e; font-size: .68rem; }
.mobile-book { display: none; }

/* Booking page */
.page-hero { padding: 175px 0 85px; color: #fff; background: var(--ink); }
.page-hero h1 { margin: 0; font: 400 clamp(2.8rem, 6vw, 5.5rem)/1 var(--serif); }
.booking-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; padding-block: 85px; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.booking-form .full { grid-column: 1/-1; }
.booking-form label { display: block; margin-bottom: 7px; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.booking-form input, .booking-form select, .booking-form textarea { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.booking-form textarea { min-height: 125px; resize: vertical; }
.booking-summary { align-self: start; padding: 35px; background: var(--cream); }
.booking-summary h2 { margin-top: 0; font: 400 2rem var(--serif); }
.notice { margin-bottom: 25px; padding: 15px 18px; border-left: 3px solid var(--gold); background: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video, .hero-video-toggle { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .site-nav, .header-phone { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { justify-self: start; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .menu-toggle { display: block; }
  .site-nav.is-open { position: fixed; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--ink); }
  .site-nav.is-open ul { display: grid; gap: 25px; text-align: center; }
  .site-nav.is-open a { font: 400 2rem var(--serif); letter-spacing: 0; text-transform: none; }
  .availability-card form { grid-template-columns: 1fr 1fr; gap: 20px; }
  .availability-card .btn { margin-left: 0; }
  .field { padding: 0 15px 10px 0; }
  .welcome-grid, .amenities-grid, .booking-layout { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { gap: 65px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: absolute; }
  .header-inner { min-height: 76px; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small { letter-spacing: .2em; }
  .official-logo { width: 42px; height: 48px; }
  .header-actions .btn { display: none; }
  .hero { min-height: 690px; }
  .hero-inner { min-height: 620px; padding-top: 100px; align-items: flex-end; padding-bottom: 86px; }
  .hero-media { background-position: 60% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(10,10,9,.9), rgba(10,10,9,.1) 76%), linear-gradient(90deg, rgba(10,10,9,.35), transparent); }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 4.5rem); }
  .hero-content > p:not(.eyebrow) { margin: 20px 0 27px; font-size: .92rem; }
  .hero-signals { gap: 8px 18px; margin-top: 25px; font-size: .58rem; }
  .hero-video-toggle { right: 16px; bottom: 18px; }
  .availability-wrap { margin-top: 0; background: var(--ink); }
  .availability-card { padding: 27px 0 30px; box-shadow: none; }
  .availability-card form { grid-template-columns: 1fr 1fr; gap: 17px 14px; }
  .field { padding: 0 0 8px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .availability-card .btn { grid-column: 1/-1; width: 100%; margin-top: 3px; }
  .availability-note { text-align: center; }
  .welcome, .amenities { padding: 85px 0; }
  .welcome-grid { gap: 48px; }
  .welcome-collage { min-height: 430px; }
  .welcome-collage .main-photo { width: 88%; height: 365px; }
  .welcome-collage .inset-photo { width: 48%; height: 190px; border-width: 7px; }
  .welcome-badge { right: 0; bottom: 8px; width: 92px; height: 92px; }
  .welcome-badge strong { font-size: 1.3rem; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .rooms { padding: 80px 0; }
  .rooms-grid { grid-template-columns: 1fr; }
  .amenities-grid { gap: 50px; }
  .amenities-photo img { height: 450px; }
  .amenities-photo::after { right: -10px; top: 10px; }
  .amenity-list { grid-template-columns: 1fr; }
  .amenity:nth-child(odd) { margin: 0; border-right: 0; }
  .experience { min-height: 520px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; margin-bottom: 68px; }
  .mobile-book { position: fixed; z-index: 45; right: 12px; bottom: 12px; left: 12px; display: flex; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
  .booking-form { grid-template-columns: 1fr; }
  .booking-form .full { grid-column: auto; }
}
