/*
Theme Name: SOHO Child
Theme URI: https://sohovietnam.net
Description: Child theme của GeneratePress cho SOHO Phú Quốc — thiết kế showcase, dẫn khách liên hệ qua Zalo.
Author: SOHO Vietnam
Template: generatepress
Version: 0.1.0
*/

:root{
  --soho-sea:#0B4F4A; --soho-sea-deep:#08403C; --soho-sand:#F7F0E1; --soho-paper:#FCF8EF; --soho-card:#fff;
  --soho-coral:#FF6A45; --soho-coral-deep:#E8512E; --soho-aqua:#62BEB3; --soho-zalo:#0068FF; --soho-gold:#E7A93B;
  --soho-ink:#16302C; --soho-ink-soft:#5A6F69; --soho-line:rgba(20,48,44,.12);
  --soho-shadow:0 24px 60px -28px rgba(11,79,74,.5); --soho-maxw:1280px;
}

/* ---- Nền & chữ chung ---- */
body{background:var(--soho-sand);color:var(--soho-ink);font-family:"Be Vietnam Pro",system-ui,sans-serif;font-size:16.5px;line-height:1.6}
h1,h2,h3{font-family:"Fraunces",Georgia,serif;font-weight:500;line-height:1.07;letter-spacing:-.015em}
.soho-home a{text-decoration:none}
.soho-wrap{max-width:var(--soho-maxw);margin:0 auto;padding:0 24px}
.soho-eyebrow{font-size:13px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--soho-coral)}

/* ---- Trang chủ: ẩn header GP, dùng header RIÊNG .soho-nav (toàn quyền, hết xung đột GP) ---- */
.home .site-header{display:none !important}

.soho-nav{position:absolute;top:0;left:0;right:0;z-index:100;transition:background .3s,box-shadow .3s}
.admin-bar .soho-nav{top:32px}
.soho-nav.soho-scrolled{position:fixed;background:rgba(247,240,225,.94);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--soho-line)}
.soho-nav-inner{max-width:var(--soho-maxw);margin:0 auto;padding:24px 24px;display:flex;align-items:center;gap:30px}
.soho-logo{font-family:"Fraunces";font-weight:600;font-size:30px;letter-spacing:.08em;color:#fff;display:flex;align-items:center;gap:10px;text-decoration:none}
.soho-logo .dot{width:10px;height:10px;border-radius:50%;background:var(--soho-coral)}
.soho-menu{display:flex;gap:30px;margin-left:12px}
.soho-menu a{font-size:16px;font-weight:500;color:rgba(255,255,255,.92);transition:.2s}
.soho-menu a:hover{color:#FFE0A8}
.soho-nav-right{margin-left:auto;display:flex;align-items:center;gap:16px}
.soho-lang{display:inline-flex;border:1px solid rgba(255,255,255,.45);border-radius:999px;overflow:hidden;font-size:14px;font-weight:700}
.soho-lang button{border:0;background:transparent;padding:7px 14px;cursor:pointer;color:#fff;font-family:inherit;font-weight:700;line-height:1}
.soho-lang button.on{background:var(--soho-coral);color:#fff}
.soho-nav-zalo{background:var(--soho-zalo);color:#fff;padding:12px 22px;font-size:15.5px}
.soho-nav-zalo:hover{filter:brightness(1.08);color:#fff}
/* khi cuộn: chữ đậm lại trên nền kem */
.soho-nav.soho-scrolled .soho-logo{color:var(--soho-sea)}
.soho-nav.soho-scrolled .soho-menu a{color:var(--soho-ink-soft)}
.soho-nav.soho-scrolled .soho-menu a:hover{color:var(--soho-coral)}
.soho-nav.soho-scrolled .soho-lang{border-color:var(--soho-line)}
.soho-nav.soho-scrolled .soho-lang button{color:var(--soho-ink-soft)}
.soho-nav.soho-scrolled .soho-lang button.on{color:#fff}
@media(max-width:900px){.soho-menu,.soho-lang{display:none}}
/* Trang chủ full-bleed.
   Nguyên nhân thật: GP bọc nội dung trong #content.site-content (display:flex) -> .soho-home (con flex duy nhất)
   co lại & dạt trái, chừa khoảng trống bên phải (đổi One Container thì khoảng đó thành trắng).
   Xử lý: tắt flex ở #content + bỏ giới hạn bề rộng, cho .soho-home chiếm 100%. */
.home #page,.home #content,.home .site-content,.home .content-area,
.home #primary,.home #main,.home .container,.home .grid-container{
  max-width:100%!important;width:100%!important;
  margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;
}
.home #content,.home .site-content{display:block!important}
.home .soho-home{width:100%!important}
.home .site-footer{display:none} /* dùng footer riêng của SOHO bên dưới */

/* ---- Reveal khi cuộn ---- */
.soho-reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}
.soho-reveal.in{opacity:1;transform:none}

/* ---- Buttons ---- */
.soho-btn{font-family:"Be Vietnam Pro",sans-serif;font-weight:600;cursor:pointer;border:0;border-radius:999px;transition:.2s;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.soho-coral{background:var(--soho-coral);color:#fff;padding:14px 26px;font-size:16px;box-shadow:0 12px 30px -12px rgba(255,106,69,.6)}
.soho-coral:hover{background:var(--soho-coral-deep);transform:translateY(-1px);color:#fff}
.soho-outline{background:transparent;border:1.5px solid rgba(255,255,255,.6);color:#fff;padding:13px 24px}
.soho-outline:hover{background:#fff;color:var(--soho-sea)}
.soho-zalo-btn{background:var(--soho-zalo);color:#fff;padding:10px 16px;font-size:14px}
.soho-zalo-btn:hover{filter:brightness(1.08);color:#fff}

/* ---- Hero ---- */
.soho-hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;color:#fff}
.soho-hero.has-img{background-size:cover;background-position:center}
.soho-hero-bg{position:absolute;inset:0;z-index:0;animation:soho-zoom 22s ease-in-out infinite alternate;
  background:radial-gradient(circle at 74% 36%,rgba(255,228,168,.95),rgba(255,160,100,0) 32%),linear-gradient(180deg,#0C4A55 0%,#1B6863 24%,#46998D 44%,#EE9A5E 62%,#F3AE68 69%,#0B4A45 69.4%,#093D38 100%)}
@keyframes soho-zoom{from{transform:scale(1)}to{transform:scale(1.12)}}
.soho-hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(8,40,38,.45),rgba(8,40,38,.1) 38%,rgba(8,40,38,.25))}
.soho-palm{position:absolute;bottom:0;z-index:2;opacity:.92;filter:drop-shadow(0 8px 18px rgba(0,0,0,.3))}
.soho-palm.l{left:-12px;height:60vh;max-height:520px}.soho-palm.r{right:-8px;height:48vh;max-height:420px;transform:scaleX(-1)}
.soho-hero-inner{position:relative;z-index:3;width:100%;max-width:var(--soho-maxw);margin:0 auto;padding:0 24px}
.soho-hero .tag{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.16);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.3);padding:7px 15px;border-radius:999px;font-size:13.5px;font-weight:600;margin-bottom:22px}
.soho-hero h1{font-size:clamp(46px,8vw,104px);max-width:16ch;text-shadow:0 4px 40px rgba(0,0,0,.3);margin:0;color:#fff}
.soho-hero h1 em{font-style:italic;color:#FFE0A8}
.soho-hero .sub{font-size:clamp(18px,2.1vw,23px);max-width:42ch;margin:22px 0 34px;color:rgba(255,255,255,.94)}
.soho-hero .ctas{display:flex;gap:14px;flex-wrap:wrap}
.soho-scroll-hint{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);z-index:3;color:rgba(255,255,255,.7);font-size:12px;letter-spacing:.2em;text-transform:uppercase}

/* ---- Sections chung ---- */
.soho-intro{padding:96px 0 40px;text-align:center}
.soho-intro h2{font-size:clamp(30px,4.5vw,48px);max-width:18ch;margin:14px auto 0}
.soho-intro p{color:var(--soho-ink-soft);max-width:56ch;margin:20px auto 0;font-size:18px}
.soho-sec-head{text-align:center;margin-bottom:44px}
.soho-sec-head h2{font-size:clamp(30px,4.5vw,48px);margin-top:12px}
.soho-sec-head p{color:var(--soho-ink-soft);max-width:52ch;margin:14px auto 0}

/* ---- Experience ---- */
.soho-exp{padding:60px 0}
.soho-exp-row{display:grid;grid-template-columns:1fr 1fr;border-radius:20px;overflow:hidden;box-shadow:var(--soho-shadow);margin-bottom:26px;background:var(--soho-card)}
.soho-exp-row.flip .soho-ph{order:2}
.soho-exp .soho-ph{min-height:340px}
.soho-exp-text{padding:46px 44px;display:flex;flex-direction:column;justify-content:center}
.soho-exp-text .when{font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--soho-coral);margin-bottom:10px}
.soho-exp-text h3{font-size:30px;margin-bottom:12px}
.soho-exp-text p{color:var(--soho-ink-soft);font-size:16px;margin:0}

/* ---- Ảnh nền & placeholder gradient ---- */
.soho-ph{background-size:cover;background-position:center;position:relative}
.ph-dawn{background:radial-gradient(circle at 70% 30%,rgba(255,220,150,.9),transparent 50%),linear-gradient(160deg,#7FB3C9,#E8A86A 70%,#C16B4A)}
.ph-beach{background:radial-gradient(circle at 40% 60%,rgba(255,255,220,.4),transparent 50%),linear-gradient(160deg,#3FA3A0,#86C9BE 60%,#E8D9A8)}
.ph-bbq{background:radial-gradient(circle at 65% 35%,rgba(255,180,90,.8),transparent 48%),linear-gradient(150deg,#3A2F5C,#A8533B 65%,#E89B4E)}
.ph-single{background:radial-gradient(circle at 30% 25%,rgba(255,235,190,.55),transparent 45%),linear-gradient(155deg,#3C7D5B,#7FB36B 60%,#214D33)}
.ph-double{background:radial-gradient(circle at 70% 30%,rgba(255,225,160,.7),transparent 42%),linear-gradient(150deg,#C97C57,#E0A36C 50%,#5C3A2A)}
.ph-seaview{background:radial-gradient(circle at 70% 30%,rgba(255,225,160,.85),transparent 42%),linear-gradient(180deg,#2E7C8A,#57B2A6 55%,#0B4F4A)}
.soho-imnote{position:absolute;bottom:12px;left:12px;font-size:11px;color:rgba(255,255,255,.9);background:rgba(0,0,0,.32);padding:4px 10px;border-radius:7px}

/* ---- Rooms ---- */
.soho-rooms-sec{padding:70px 0}
.soho-rooms{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.soho-room{background:var(--soho-card);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px -16px rgba(11,79,74,.5);transition:.25s}
.soho-room:hover{transform:translateY(-4px);box-shadow:var(--soho-shadow)}
.soho-room .soho-ph{height:240px}
.soho-room .chip{position:absolute;top:14px;left:14px;background:rgba(0,0,0,.4);backdrop-filter:blur(5px);color:#fff;padding:6px 13px;border-radius:999px;font-size:12.5px;font-weight:600}
.soho-room .soho-imnote{left:auto;right:12px}
.soho-room .b{padding:24px 22px 26px}
.soho-room h3{font-size:24px;margin-bottom:6px}
.soho-room .desc{color:var(--soho-ink-soft);font-size:14.5px;margin-bottom:16px}
.soho-room .feat{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.soho-room .feat span{font-size:12px;background:rgba(98,190,179,.16);color:#0a5650;padding:4px 10px;border-radius:8px;font-weight:600}
.soho-room .price-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px dashed var(--soho-line)}
.soho-room .price-cta .label{font-size:14px;color:var(--soho-ink-soft);font-weight:500}

/* ---- Gallery ---- */
.soho-gallery-sec{padding:60px 0}
.soho-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:14px}
.soho-gallery .soho-ph{border-radius:14px;overflow:hidden}
.soho-gallery .big{grid-column:span 2;grid-row:span 2}
.soho-gallery .wide{grid-column:span 2}
.g1{background:linear-gradient(160deg,#2E7C8A,#57B2A6 60%,#0B4F4A)}
.g2{background:linear-gradient(150deg,#E89B4E,#C16B4A)}
.g3{background:linear-gradient(160deg,#3FA3A0,#E8D9A8)}
.g4{background:linear-gradient(150deg,#3A2F5C,#A8533B 70%,#E89B4E)}
.g5{background:linear-gradient(155deg,#7FB36B,#214D33)}
.g6{background:radial-gradient(circle at 60% 30%,rgba(255,220,150,.8),transparent 50%),linear-gradient(160deg,#7FB3C9,#C16B4A)}

/* ---- Trust ---- */
.soho-trust{background:var(--soho-sea);color:#fff;padding:74px 0}
.soho-trust .grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}
.soho-trust .soho-eyebrow{color:var(--soho-aqua)}
.soho-trust h2{font-size:clamp(28px,4vw,42px);color:#fff}
.soho-trust .score{display:flex;align-items:center;gap:20px;margin:18px 0 24px}
.soho-trust .num{font-family:"Fraunces";font-size:72px;font-weight:600;line-height:1;color:#FFE0A8}
.soho-trust .stars{color:var(--soho-gold);font-size:20px;letter-spacing:2px}
.soho-ota{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.soho-ota a{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);padding:10px 18px;border-radius:10px;font-weight:600;font-size:14px;color:#fff;transition:.2s}
.soho-ota a:hover{background:#fff;color:var(--soho-sea)}
.soho-revs{display:grid;gap:14px}
.soho-rev{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:18px 20px}
.soho-rev .top{display:flex;justify-content:space-between;margin-bottom:6px}
.soho-rev .name{font-weight:700}.soho-rev .s{color:var(--soho-gold)}
.soho-rev p{margin:0;color:rgba(255,255,255,.86);font-size:14.5px}

/* ---- Location ---- */
.soho-loc{padding:70px 0}
.soho-loc-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.soho-loc-map{height:340px;border-radius:18px;overflow:hidden;box-shadow:var(--soho-shadow);background:linear-gradient(135deg,#bfe3dd,#7FC9C0);display:flex;align-items:center;justify-content:center;color:var(--soho-sea);font-weight:600}
.soho-loc-map iframe{width:100%;height:100%;border:0}
.soho-loc-list{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.soho-loc-item{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--soho-line);font-size:15px}
.soho-loc-item .d{color:var(--soho-ink-soft)}

/* ---- Contact band ---- */
.soho-contact{background:linear-gradient(120deg,#08403C,#0B4F4A 55%,#114B4B);color:#fff;padding:80px 0}
.soho-contact .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.soho-contact h2{font-size:clamp(30px,4.2vw,46px);color:#fff;max-width:16ch}
.soho-contact p{color:rgba(255,255,255,.85);margin:16px 0 26px;max-width:44ch}
.soho-methods{display:flex;flex-direction:column;gap:12px}
.soho-methods .m{display:flex;align-items:center;gap:13px;font-size:17px;color:#fff}
.soho-methods .ic{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;font-size:20px}
.soho-cform{background:var(--soho-paper);border-radius:20px;padding:30px;color:var(--soho-ink);box-shadow:var(--soho-shadow)}
.soho-cform h3{font-size:24px;margin-bottom:6px}
.soho-cform .hint{color:var(--soho-ink-soft);font-size:14px;margin-bottom:18px}
.soho-cform .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.soho-cform label{display:block;font-size:13px;font-weight:600;margin:0 0 5px}
.soho-cform input,.soho-cform textarea{width:100%;padding:12px 13px;border:1px solid var(--soho-line);border-radius:10px;font-family:inherit;font-size:15px;background:#fff;outline:0;margin-bottom:12px}
.soho-cform input:focus,.soho-cform textarea:focus{border-color:var(--soho-aqua);box-shadow:0 0 0 3px rgba(98,190,179,.25)}
.soho-cform .soho-btn{width:100%;height:52px;border-radius:12px;font-size:16px}

/* ---- SOHO footer riêng (trang chủ) ---- */
.soho-footer{background:var(--soho-sea-deep);color:rgba(255,255,255,.8);padding:48px 0 30px}
.soho-footer .grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:32px}
.soho-footer h4{color:#fff;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 12px}
.soho-footer a{display:block;padding:4px 0;font-size:14.5px;color:rgba(255,255,255,.8)}
.soho-footer a:hover{color:var(--soho-aqua)}
.soho-footer .addr{font-size:14.5px;line-height:1.7;margin-top:10px}
.soho-footer .flogo{font-family:"Fraunces";font-weight:600;font-size:22px;letter-spacing:.08em;color:#fff;display:flex;gap:8px;align-items:center}
.soho-footer .flogo .dot{width:9px;height:9px;border-radius:50%;background:var(--soho-coral)}
.soho-footer .bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:26px;padding-top:18px;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* ---- Floating Zalo (toàn site) ---- */
.soho-fab{position:fixed;right:22px;bottom:22px;z-index:9999;display:flex;align-items:center;gap:10px;background:var(--soho-zalo);color:#fff;padding:13px 20px 13px 16px;border-radius:999px;font-weight:700;text-decoration:none;box-shadow:0 14px 34px -10px rgba(0,104,255,.7);transition:.2s}
.soho-fab:hover{transform:translateY(-2px) scale(1.03);color:#fff}
.soho-fab-pulse{position:relative;width:24px;height:24px;display:flex;align-items:center;justify-content:center}
.soho-fab-pulse::before{content:"";position:absolute;inset:-6px;border-radius:50%;background:rgba(255,255,255,.4);animation:soho-pulse 1.8s ease-out infinite}
@keyframes soho-pulse{0%{transform:scale(.6);opacity:.8}100%{transform:scale(1.6);opacity:0}}

/* ---- Responsive ---- */
@media(max-width:980px){
  .soho-exp-row,.soho-loc-grid,.soho-trust .grid,.soho-contact .contact-grid{grid-template-columns:1fr}
  .soho-exp-row.flip .soho-ph{order:0}
  .soho-exp-text{padding:34px 28px}
  .soho-rooms{grid-template-columns:1fr 1fr}
  .soho-gallery{grid-template-columns:repeat(2,1fr)}
  .soho-gallery .big{grid-column:span 2;grid-row:span 1}
}
@media(max-width:620px){
  .soho-rooms{grid-template-columns:1fr}
  .soho-cform .row{grid-template-columns:1fr}
  .soho-fab .soho-fab-txt{display:none}
  .soho-fab{padding:14px}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .soho-reveal{opacity:1;transform:none}
}
:focus-visible{outline:3px solid var(--soho-aqua);outline-offset:3px;border-radius:6px}
