
/* =========================================================
   V5 CSS STABILITY LAYER
   Loaded after style.css. Intentionally centralizes layout,
   mobile breakpoints and first-paint fallbacks.
   ========================================================= */
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
body{width:100%;max-width:100%;margin:0;overflow-x:hidden}
body>.container-fluid.bg-white.p-0{width:100%;max-width:100%;overflow-x:clip}
img,svg,video{max-width:100%}
section,.container,.container-fluid,.row,[class*="col-"]{min-width:0}
.owl-carousel{width:100%;max-width:100%}

/* Never let uninitialized carousels explode the first paint */
.header-carousel:not(.owl-loaded)>.owl-carousel-item{display:none}
.header-carousel:not(.owl-loaded)>.owl-carousel-item:first-child{display:block}
.living-carousel:not(.owl-loaded),.testimonial-carousel:not(.owl-loaded){display:flex;gap:18px;overflow:hidden}
.living-carousel:not(.owl-loaded)>.item{flex:0 0 calc(25% - 14px)}
.testimonial-carousel:not(.owl-loaded)>.item{flex:0 0 calc(33.333% - 12px)}

/* Stable header, no off-canvas top offset before JS runs */
.navbar.sticky-top{top:0!important}
.navbar{width:100%;max-width:100%}
.navbar-brand{display:flex;align-items:center;min-width:0}
.navbar-brand img{display:block}

/* Hero first-paint safety */
.hero-wrap,.header-carousel,.header-carousel .owl-carousel-item{width:100%;max-width:100%}
.header-carousel .slide-content>.container{position:relative;z-index:2}
.hero-title,.hero-copy{overflow-wrap:anywhere}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.hero-actions .btn{margin:0!important}

/* Main page sections */
.about-img,.kitchen-visual,.residence-photo-stack,.about-editorial{max-width:100%}
.room-card-v4,.facility-card,.living-card,.testimonial-card,.facility-candy{max-width:100%}
.facilities-grid{align-items:stretch}
.facilities-grid .facility-card{display:flex;flex-direction:column;justify-content:center}
.promo-card,.cta-modern,.facility-highlight,.residence-bottom-promo{max-width:100%;overflow:hidden}

/* Mobile drawer is isolated from desktop nav */
.mobile-drawer,.mobile-drawer-backdrop{will-change:transform,opacity}
.mobile-drawer-body{-webkit-overflow-scrolling:touch}

/* Phone/tablet: one coherent breakpoint strategy */
@media (max-width:991.98px){
  body{padding-bottom:76px}
  .topbar{display:none!important}
  .navbar{min-height:72px!important;padding:8px 14px!important;position:sticky!important;top:0!important}
  .navbar-brand img{height:46px!important;max-width:190px!important}
  .mobile-menu-toggle{display:inline-flex!important;flex:0 0 46px}
  .navbar>.navbar-collapse{display:none!important}

  .container{width:100%;max-width:100%;padding-left:18px;padding-right:18px}
  .container-fluid{padding-left:0;padding-right:0}
  section.py-5,.container.py-5,.container-fluid.py-5{padding-top:3.2rem!important;padding-bottom:3.2rem!important}

  .header-carousel .owl-carousel-item{height:610px!important;min-height:610px}
  .header-carousel .owl-carousel-item>img{height:100%;object-fit:cover}
  .header-carousel .slide-content{padding:42px 0 76px;align-items:flex-end}
  .header-carousel .slide-content .col-lg-9{width:100%}
  .hero-title{font-size:clamp(2.55rem,8vw,4.4rem)!important;line-height:1.00!important;max-width:760px}
  .hero-copy{font-size:1rem!important;line-height:1.65!important;max-width:620px}
  .hero-eyebrow{font-size:.72rem}
  .float-chip,.hero-deco,.hero-orb{display:none!important}
  .header-carousel .owl-nav{display:none!important}
  .header-carousel .owl-dots{bottom:26px!important}

  .home-choice-wrap{margin-top:-42px!important;margin-bottom:12px!important}
  .home-choice-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .home-choice-card{height:190px!important;border-width:3px!important;border-radius:22px!important}
  .home-choice-copy{padding:15px!important}
  .home-choice-copy h3{font-size:17px!important}
  .home-choice-copy p{font-size:10px!important;line-height:1.4!important}

  .about-img{min-height:430px!important;margin-bottom:24px}
  .about-img .circle-main{width:72%!important;right:5%!important}
  .about-img .circle-small.one{width:40%!important}
  .about-img .circle-small.two{width:34%!important}
  .about-img .experience{width:112px!important;left:31%!important}

  .section-title,.v6-title{font-size:clamp(2rem,7vw,3rem)!important;line-height:1.08!important}
  .section-copy,.v6-copy{font-size:.98rem!important;line-height:1.72!important}
  .check-grid{grid-template-columns:1fr 1fr!important}

  .room-card-v4{height:100%}
  .room-media{height:250px!important}
  .room-card-content{padding:20px!important}
  .room-card-head{gap:10px}
  .room-card-head h3{font-size:1.25rem}
  .room-details{padding:14px!important}

  .facilities-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  .facility-card{padding:18px 10px!important;border-radius:18px!important}
  .facility-icon{width:50px!important;height:50px!important}
  .facility-card h6{font-size:.82rem!important}

  .living-head{display:block!important}
  .living-head>p{margin-top:15px!important}
  .living-carousel:not(.owl-loaded)>.item{flex:0 0 calc(33.333% - 12px)}
  .living-card{height:360px!important}

  .kitchen-visual{min-height:430px!important;margin-bottom:30px}
  .kitchen-love h2{font-size:clamp(2.3rem,7vw,3.7rem)!important}
  .kitchen-pills{grid-template-columns:1fr 1fr!important}

  .stats-band .stat-box{padding:22px 10px!important}
  .promo-img{min-height:360px!important;height:100%!important;object-fit:cover}
  .promo-content{padding:34px!important}

  .about-editorial{min-height:440px!important;margin-bottom:24px}
  .value-grid-v6{grid-template-columns:1fr 1fr!important}

  .residence-room-grid{grid-template-columns:1fr 1fr!important}
  .residence-photo-stack{min-height:410px!important;margin-bottom:25px}
  .residence-story-card{padding:30px!important}
  .residence-bottom-promo img{min-height:330px!important}
  .residence-bottom-promo .copy{padding:34px!important}

  .room-cinema-main{height:460px!important}
  .room-cinema-rail{overflow-x:auto!important;scroll-snap-type:x proximity}
  .room-gallery-thumb{flex:0 0 116px!important}

  .footer{margin-top:2rem!important}
  .quick-bottom-bar{left:8px!important;right:8px!important;bottom:8px!important;transform:none!important}
}

@media (max-width:767.98px){
  .container{padding-left:14px;padding-right:14px}
  section.py-5,.container.py-5,.container-fluid.py-5{padding-top:2.5rem!important;padding-bottom:2.5rem!important}

  .header-carousel .owl-carousel-item{height:570px!important;min-height:570px}
  .header-carousel .slide-content{padding:34px 0 70px!important}
  .hero-title{font-size:clamp(2.25rem,10.2vw,3.5rem)!important}
  .hero-copy{font-size:.94rem!important}
  .hero-actions .btn{padding:12px 17px!important;font-size:.82rem}
  .hero-note{font-size:.78rem!important}

  .home-choice-wrap{margin-top:-34px!important}
  .home-choice-card{height:174px!important}
  .home-choice-copy p{display:none!important}
  .home-choice-copy h3{font-size:15px!important;line-height:1.15}
  .home-choice-icon{width:35px!important;height:35px!important}
  .home-choice-arrow{width:32px!important;height:32px!important}

  .about-img{min-height:345px!important}
  .about-img .experience{width:90px!important}
  .check-grid{grid-template-columns:1fr!important}

  .rooms-section .row.g-4>[class*="col-"]{width:100%}
  .room-media{height:240px!important}
  .room-card-content{padding:18px!important}

  .facilities-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .facility-card{min-height:126px!important}
  .facility-icon{margin-bottom:10px!important}

  .living-carousel:not(.owl-loaded)>.item{flex:0 0 calc(50% - 8px)}
  .living-card{height:310px!important}
  .living-info{padding:15px!important}

  .kitchen-visual{min-height:350px!important}
  .kitchen-visual .main{right:35px!important;width:calc(100% - 35px)!important}
  .kitchen-visual .mini{width:135px!important;height:135px!important}
  .kitchen-badge{left:5px!important;bottom:30px!important}
  .kitchen-pills{grid-template-columns:1fr!important}
  .kitchen-love .lead-copy{font-size:.95rem!important}

  .stats-band .stat-number{font-size:2rem!important}
  .stats-band .stat-label{font-size:.78rem!important}
  .stats-band .stat-mini{font-size:.66rem!important}

  .promo-img{min-height:260px!important}
  .promo-content{padding:25px 20px!important}
  .mini-feature{align-items:flex-start}

  .testimonial-carousel:not(.owl-loaded)>.item{flex:0 0 88%}

  .about-editorial{min-height:350px!important}
  .editorial-main{width:86%!important}
  .editorial-float{width:42%!important}
  .editorial-badge{transform:scale(.86);transform-origin:left bottom}
  .value-grid-v6{grid-template-columns:1fr!important}

  .residence-room-grid{grid-template-columns:1fr!important}
  .residence-room-card .visual{height:245px!important}
  .residence-photo-stack{min-height:340px!important}
  .residence-story-card{padding:24px 20px!important}
  .residence-mini-points{grid-template-columns:1fr!important}
  .residence-accordion-shell{padding:7px!important;border-radius:20px!important}
  .sweet-accordion .accordion-button{padding:14px 48px 14px 10px!important;font-size:13.5px!important}
  .sweet-accordion .accordion-button i{width:36px!important;height:36px!important;flex-basis:36px!important}
  .sweet-accordion .accordion-body{padding:0 14px 18px 58px!important;font-size:13px!important}
  .residence-bottom-promo img{min-height:250px!important}
  .residence-bottom-promo .copy{padding:24px 19px!important}

  .inner-hero-v6{padding:62px 0!important}
  .inner-hero-v6 h1{font-size:clamp(2.4rem,10vw,3.5rem)!important}
  .inner-hero-v6 p{font-size:.95rem!important}

  .facility-candy-grid{grid-template-columns:1fr!important}
  .facility-highlight{padding:26px 20px!important}

  .room-detail-hero{padding:54px 0!important}
  .room-detail-hero h1{font-size:clamp(2.5rem,10vw,4rem)!important}
  .room-cinema-main{height:330px!important;border-radius:22px!important}
  .room-cinema-main img{border-radius:22px!important}
  .room-spec-grid{grid-template-columns:1fr!important}

  .cta-modern{padding:28px 20px!important;border-radius:24px!important}
  .cta-modern .btn{width:auto;margin-top:6px}

  .footer .row>[class*="col-"]{margin-bottom:12px}
}

@media (max-width:480px){
  .navbar-brand img{max-width:165px!important;height:42px!important}
  .header-carousel .owl-carousel-item{height:540px!important;min-height:540px}
  .hero-eyebrow{max-width:100%;white-space:normal}
  .hero-title{font-size:2.35rem!important}
  .home-choice-grid{gap:6px!important}
  .home-choice-card{height:162px!important;border-radius:18px!important}
  .home-choice-copy{padding:11px!important}
  .home-choice-copy h3{font-size:13px!important}
  .home-choice-copy small{font-size:7px!important}
  .facilities-grid{gap:7px!important}
  .facility-card{padding:14px 7px!important;min-height:118px!important}
  .facility-card h6{font-size:.76rem!important}
  .living-card{height:285px!important}
  .quick-bottom-inner a{font-size:8px!important}
}

/* Reduced motion / slow-device safety */
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* V7 final stability overrides */
@media (max-width:991.98px){body{padding-bottom:0!important}.topbar{display:block!important}.quick-bottom-bar{display:none!important}}


/* ===== V11 requested revisions ===== */
/* Mobile logo fills the header cleanly without overflow. */
@media(max-width:991.98px){
  .navbar{min-height:70px!important;height:70px!important;padding:2px 12px!important;align-items:center!important}
  .navbar-brand{height:66px!important;max-width:calc(100% - 58px)!important;padding:0!important;margin:0 auto 0 0!important;display:flex!important;align-items:center!important;overflow:hidden}
  .navbar-brand img{height:64px!important;max-height:64px!important;width:auto!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important}
  .mobile-menu-toggle{width:46px!important;height:46px!important;flex:0 0 46px!important;margin-left:8px!important}
  .home-choice-copy h3{font-size:20px!important;line-height:1.08!important;letter-spacing:-.02em!important}
  .home-choice-copy small{font-size:9px!important}
}
@media(max-width:575.98px){
  .navbar{height:68px!important;min-height:68px!important;padding:2px 9px!important}
  .navbar-brand{height:64px!important;max-width:calc(100% - 54px)!important}
  .navbar-brand img{height:62px!important;max-height:62px!important;max-width:100%!important}
  .mobile-menu-toggle{width:44px!important;height:44px!important;flex-basis:44px!important;margin-left:6px!important}
  .home-choice-card{height:178px!important}
  .home-choice-copy h3{font-size:17.5px!important;line-height:1.08!important}
  .home-choice-copy small{font-size:8px!important}
}

/* Image-first room galleries: no card body, square photography only. */
.rooms-gallery-v11{background:linear-gradient(180deg,#fbf9fd 0%,#f6f1fa 100%)}
.room-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.room-showcase{min-width:0}
.room-showcase-stage{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:24px;background:#e9e2ee;box-shadow:0 18px 45px rgba(42,27,54,.10);isolation:isolate}
.room-showcase-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .38s ease,transform .65s cubic-bezier(.2,.75,.2,1);z-index:1}
.room-showcase-slide.active{opacity:1;visibility:visible;z-index:2}
.room-showcase-slide img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s cubic-bezier(.2,.75,.2,1)}
.room-showcase-stage:hover .room-showcase-slide.active img{transform:scale(1.035)}
.room-showcase-shade{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(180deg,rgba(20,12,25,0) 47%,rgba(20,12,25,.72) 100%)}
.room-showcase h3{position:absolute;z-index:4;left:20px;right:68px;bottom:18px;margin:0;color:#fff;font-size:1.35rem;font-weight:850;line-height:1.1;text-shadow:0 3px 18px rgba(0,0,0,.28)}
.room-showcase-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:grid;place-items:center;background:rgba(23,20,29,.38);backdrop-filter:blur(8px);color:#fff;opacity:0;transition:.25s}
.room-showcase-arrow.prev{left:12px}.room-showcase-arrow.next{right:12px}
.room-showcase-stage:hover .room-showcase-arrow,.room-showcase-arrow:focus-visible{opacity:1}
.room-showcase-arrow:hover{background:rgba(75,36,143,.86);border-color:rgba(255,255,255,.42)}
.room-showcase-count{position:absolute;z-index:4;right:18px;bottom:18px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);color:#fff;font-size:10px;font-weight:850;letter-spacing:.04em}
@media(max-width:991.98px){.room-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.room-showcase-arrow{opacity:1;width:35px;height:35px}.room-showcase h3{font-size:1.15rem;left:15px;bottom:14px}.room-showcase-count{right:14px;bottom:14px}}
@media(max-width:575.98px){.room-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.room-showcase-stage{border-radius:17px}.room-showcase h3{font-size:.92rem;right:44px;left:10px;bottom:10px}.room-showcase-count{right:9px;bottom:9px;font-size:8px;padding:4px 6px}.room-showcase-arrow{width:30px;height:30px;font-size:10px}.room-showcase-arrow.prev{left:7px}.room-showcase-arrow.next{right:7px}}

/* ===== V11.1 mobile room + choice readability tweak ===== */
@media(max-width:767.98px){
  /* Ana sayfa odaları mobilde tek tek, tam genişlik görünür. */
  .room-showcase-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  .room-showcase-stage{
    width:100%!important;
    aspect-ratio:1/1!important;
    border-radius:22px!important;
  }
  .room-showcase h3{
    font-size:1.28rem!important;
    font-weight:900!important;
    left:16px!important;
    right:62px!important;
    bottom:15px!important;
  }
  .room-showcase-count{
    right:15px!important;
    bottom:15px!important;
    font-size:9px!important;
  }
  .room-showcase-arrow{
    width:36px!important;
    height:36px!important;
    font-size:12px!important;
    opacity:1!important;
  }

  /* Slider altındaki Yurt / Apart kart başlıkları daha net. */
  .home-choice-copy h3{
    font-size:19px!important;
    font-weight:900!important;
    line-height:1.05!important;
    letter-spacing:-.025em!important;
    text-shadow:0 2px 12px rgba(0,0,0,.24)!important;
  }
}
@media(max-width:480px){
  .home-choice-copy h3{
    font-size:18px!important;
    font-weight:900!important;
  }
}


/* ===== V11.2 choice title readability + room intro cleanup ===== */
.home-choice-copy h3{
  display:inline-block!important;
  width:fit-content!important;
  max-width:100%!important;
  background:#4B248F!important;
  color:#FFF9FD!important;
  padding:8px 13px 9px!important;
  border-radius:11px!important;
  font-weight:900!important;
  line-height:1.06!important;
  letter-spacing:-.025em!important;
  box-shadow:0 8px 24px rgba(28,14,42,.18)!important;
  text-shadow:none!important;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.home-choice-card.apart .home-choice-copy h3{
  background:#4B248F!important;
  color:#FFF9FD!important;
}
.rooms-gallery-v11 .room-intro{margin-bottom:2rem!important}
.rooms-gallery-v11 .room-intro .section-title{margin-bottom:0!important}
@media(max-width:767.98px){
  .home-choice-copy h3{
    font-size:19.5px!important;
    padding:7px 10px 8px!important;
    border-radius:9px!important;
  }
}
@media(max-width:480px){
  .home-choice-copy h3{
    font-size:18px!important;
    padding:6px 9px 7px!important;
  }
}

/* ===== V12: first paint + mobile hero readability ===== */
.header-carousel:not(.owl-loaded){display:block!important;min-height:690px;background:#22172b}
.header-carousel:not(.owl-loaded)>.owl-carousel-item:first-child{display:block!important;opacity:1!important;visibility:visible!important}
.header-carousel:not(.owl-loaded)>.owl-carousel-item:not(:first-child){display:none!important}
.header-carousel .owl-carousel-item>img{background:#22172b}

@media(max-width:767.98px){
  .header-carousel:not(.owl-loaded){min-height:540px}
  .header-carousel .owl-carousel-item{height:540px!important;min-height:540px!important}
  .header-carousel .slide-content{align-items:flex-end!important;padding:24px 0 54px!important}
  .header-carousel .slide-content>.container{display:flex;justify-content:center}
  .hero-card-v7{
    width:min(88%,390px)!important;
    margin:0 auto!important;
    padding:12px 14px 12px!important;
    border-radius:16px!important;
    background:rgba(18,15,21,.31)!important;
    border-color:rgba(255,255,255,.15)!important;
    backdrop-filter:blur(3px)!important;
    -webkit-backdrop-filter:blur(3px)!important;
    text-align:center!important;
  }
  .hero-eyebrow{padding:6px 10px!important;font-size:.62rem!important;letter-spacing:.055em!important}
  .hero-title{font-size:clamp(1.72rem,7.4vw,2.35rem)!important;line-height:1.04!important;margin:10px auto 8px!important;max-width:340px!important}
  .hero-copy{font-size:.80rem!important;line-height:1.48!important;margin:0 auto 11px!important;max-width:330px!important;color:#faf7fc!important}
  .hero-actions{justify-content:center!important;gap:7px!important}
  .hero-actions .btn{padding:9px 13px!important;font-size:.72rem!important;border-radius:10px!important}
  .hero-wrap:before{background:linear-gradient(90deg,rgba(24,13,37,.50) 0%,rgba(55,24,87,.34) 43%,rgba(23,20,33,.10) 100%)!important}
}
@media(max-width:480px){
  .header-carousel:not(.owl-loaded){min-height:520px}
  .header-carousel .owl-carousel-item{height:520px!important;min-height:520px!important}
  .hero-card-v7{width:90%!important;padding:11px 12px!important}
  .hero-title{font-size:1.72rem!important}
  .hero-copy{font-size:.76rem!important;line-height:1.42!important}
}

/* ===== V12.1: mobile hero lighter panel, no blur ===== */
@media(max-width:767.98px){
  .hero-card-v7{
    width:min(84%,365px)!important;
    padding:10px 12px 10px!important;
    border-radius:14px!important;
    background:rgba(12,10,15,.18)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    box-shadow:0 10px 28px rgba(8,6,10,.10)!important;
  }
  .hero-v7 .hero-eyebrow,
  .hero-eyebrow{
    padding:5px 8px!important;
    font-size:.57rem!important;
    letter-spacing:.045em!important;
    background:rgba(75,36,143,.58)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .hero-v7 .hero-title,
  .hero-title{
    font-size:clamp(1.48rem,6.4vw,2rem)!important;
    line-height:1.05!important;
    margin:7px auto 6px!important;
    max-width:310px!important;
  }
  .hero-v7 .hero-copy,
  .hero-copy{
    font-size:.73rem!important;
    line-height:1.40!important;
    max-width:305px!important;
    margin:0 auto 8px!important;
  }
  .hero-v7 .hero-actions{margin-top:9px!important}
  .hero-actions .btn,
  .hero-v7 .hero-actions .btn{
    padding:8px 11px!important;
    font-size:.67rem!important;
    border-radius:9px!important;
  }
  .hero-wrap:before{
    background:linear-gradient(90deg,rgba(24,13,37,.34) 0%,rgba(55,24,87,.22) 43%,rgba(23,20,33,.05) 100%)!important;
  }
  .hero-v7 .header-carousel .owl-carousel-item:after{
    background:linear-gradient(0deg,rgba(12,10,15,.28) 0%,rgba(12,10,15,.06) 48%,rgba(12,10,15,0) 72%)!important;
  }
}
@media(max-width:480px){
  .hero-card-v7{width:88%!important;padding:9px 10px!important}
  .hero-v7 .hero-title,.hero-title{font-size:1.48rem!important;max-width:285px!important}
  .hero-v7 .hero-copy,.hero-copy{font-size:.70rem!important;line-height:1.36!important}
  .hero-v7 .hero-actions .btn,.hero-actions .btn{padding:7px 10px!important;font-size:.64rem!important}
}


/* ===== V13 Yurt / Apart page polish ===== */
.residence-mini-hero{
  position:relative;
  overflow:hidden;
  padding:42px 0 34px;
  background:
    radial-gradient(circle at 88% 15%,rgba(235,95,154,.22),transparent 28%),
    radial-gradient(circle at 10% 100%,rgba(39,184,188,.14),transparent 30%),
    linear-gradient(135deg,#1b1222 0,#352044 50%,#4b248f 100%);
  color:#fff;
}
.residence-mini-hero:after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:34px 34px;
}
.residence-mini-hero .container{position:relative;z-index:1;max-width:980px}
.residence-mini-hero h1{
  color:#fff;
  margin:14px 0 8px;
  font-size:clamp(2.2rem,4.3vw,4.25rem);
  line-height:1.02;
}
.residence-mini-hero p{
  max-width:720px;
  margin:0;
  color:#e9e0ef;
  font-size:.98rem;
  line-height:1.65;
}
.room-page-gallery{padding:54px 0 66px!important;background:#fff}
.room-page-gallery .container{padding-top:0!important;padding-bottom:0!important}
.residence-heading.compact{max-width:760px;margin:0 auto 28px;text-align:center}
.residence-heading.compact .v6-title{font-size:clamp(2rem,3.4vw,3.15rem);margin-bottom:9px}
.residence-heading.compact .v6-copy{font-size:.95rem;line-height:1.55;margin:0 auto;max-width:660px}
.room-page-gallery .room-showcase-grid{margin-top:24px}

/* Use the exact home room-gallery language on these pages */
.room-page-gallery .room-showcase{min-width:0}
.room-page-gallery .room-showcase-stage{aspect-ratio:1/1}
.room-page-gallery .room-showcase-stage img{width:100%;height:100%;object-fit:cover}

@media(max-width:991.98px){
  .residence-mini-hero{padding:28px 0 24px}
  .residence-mini-hero h1{font-size:clamp(2rem,7vw,3rem)}
  .residence-mini-hero p{font-size:.91rem;line-height:1.55;max-width:620px}
  .room-page-gallery{padding:38px 0 50px!important}
  .residence-heading.compact{margin-bottom:20px}
  .residence-heading.compact .v6-title{font-size:clamp(1.85rem,6vw,2.55rem)!important}
  .residence-heading.compact .v6-copy{font-size:.9rem!important}
}

@media(max-width:767.98px){
  /* Mobile is intentionally text-only at the top: no dynamic hero image or decorative image block */
  .residence-mini-hero{
    padding:20px 0 18px!important;
    background:linear-gradient(135deg,#201426 0,#43255b 100%);
  }
  .residence-mini-hero:after{display:none}
  .residence-mini-hero .v6-kicker{font-size:.68rem!important}
  .residence-mini-hero h1{
    font-size:1.85rem!important;
    line-height:1.06!important;
    margin:10px 0 6px!important;
  }
  .residence-mini-hero p{
    font-size:.82rem!important;
    line-height:1.48!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .room-page-gallery{padding:28px 0 42px!important}
  .residence-heading.compact{
    text-align:left;
    margin-bottom:16px;
  }
  .residence-heading.compact .v6-kicker{justify-content:flex-start}
  .residence-heading.compact .v6-title{
    font-size:1.7rem!important;
    margin-top:9px!important;
    margin-bottom:5px!important;
  }
  .residence-heading.compact .v6-copy{
    font-size:.84rem!important;
    line-height:1.45!important;
    margin:0!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .room-page-gallery .room-showcase-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
    margin-top:18px!important;
  }
  .room-page-gallery .room-showcase-stage{
    aspect-ratio:1/1!important;
    border-radius:22px!important;
  }
  .room-page-gallery .room-showcase-stage h3{
    font-size:1.15rem!important;
    left:16px!important;
    bottom:15px!important;
  }
}

/* V14 - Ortak alanlar oda vitriniyle birebir aynı kart dilini kullanır. */
.common-spaces-v14{background:linear-gradient(180deg,#fff 0%,#f7f2fa 100%)}
.common-spaces-v14 .room-showcase-slide{cursor:default}

/* V14 - Modern 3D konum vitrini */
.map3d-section{position:relative;background:#f7f2fa;overflow:hidden}
.map3d-shell{position:relative;height:min(72vh,720px);min-height:430px;border-radius:32px;overflow:hidden;background:#ded8e5;box-shadow:0 28px 80px rgba(38,23,52,.16);isolation:isolate}
.map3d-canvas,.map3d-street,.map3d-fallback{position:absolute;inset:0;width:100%;height:100%}
.map3d-street>div,.map3d-fallback iframe{width:100%!important;height:100%!important;border:0}
.map3d-controls{position:absolute;z-index:8;right:18px;top:18px;display:flex;gap:8px;padding:7px;border:1px solid rgba(255,255,255,.38);background:rgba(30,24,36,.32);backdrop-filter:blur(18px);border-radius:999px;box-shadow:0 12px 30px rgba(20,12,28,.18)}
.map3d-control{width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);color:#3d3148;font-size:17px;transition:.25s}
.map3d-control:hover,.map3d-control.active{transform:translateY(-1px);background:var(--primary);color:#fff}
.map3d-control:disabled{opacity:.45;cursor:not-allowed;transform:none}
.map3d-loader{position:absolute;z-index:7;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,#eee8f2,#ddd4e4)}
.map3d-loader[hidden]{display:none}.map3d-loader span{width:44px;height:44px;border-radius:50%;border:4px solid rgba(75,36,143,.16);border-top-color:var(--primary);animation:mapspin .8s linear infinite}
.map3d-fallback[hidden],.map3d-canvas[hidden],.map3d-street[hidden]{display:none!important}
@keyframes mapspin{to{transform:rotate(360deg)}}
@media(max-width:767.98px){.map3d-shell{height:60vh;min-height:390px;border-radius:22px}.map3d-controls{right:12px;top:12px}.map3d-control{width:40px;height:40px}}


/* ===== V15: tesis detaylarında mega başlık + türe özel ortak alan vitrini ===== */
.residence-mega-hero{
  min-height:clamp(520px,72svh,820px);
  display:flex;
  align-items:center;
  padding:70px 0 64px;
}
.residence-mega-hero .container{max-width:1320px}
.residence-mega-hero .residence-mega-title{
  max-width:1200px;
  margin:24px 0 22px;
  font-size:clamp(5rem,10.6vw,11.5rem);
  line-height:.82;
  letter-spacing:-.065em;
  font-weight:900;
  text-wrap:balance;
}
.residence-mega-hero p{
  max-width:760px;
  font-size:clamp(1rem,1.3vw,1.2rem);
}
.residence-common-inline{
  padding-top:0!important;
  margin-top:-18px;
  background:linear-gradient(180deg,#fff 0%,#faf7fc 100%);
}
.residence-common-inline .room-showcase-slide{cursor:default}
.residence-common-inline .residence-heading.compact{margin-top:0}

@media(max-width:991.98px){
  .residence-mega-hero{min-height:58svh;padding:50px 0 46px}
  .residence-mega-hero .residence-mega-title{font-size:clamp(4rem,13vw,7rem);line-height:.86}
}
@media(max-width:767.98px){
  .residence-mini-hero.residence-mega-hero{
    min-height:52svh;
    display:flex;
    align-items:center;
    padding:42px 0 38px!important;
  }
  .residence-mini-hero.residence-mega-hero .v6-kicker{font-size:.72rem!important}
  .residence-mini-hero.residence-mega-hero .residence-mega-title{
    font-size:clamp(3.55rem,17vw,5.7rem)!important;
    line-height:.84!important;
    letter-spacing:-.055em;
    margin:18px 0 16px!important;
    max-width:100%!important;
  }
  .residence-mini-hero.residence-mega-hero p{
    display:block;
    font-size:.88rem!important;
    line-height:1.5!important;
    max-width:92%;
  }
  .residence-common-inline{margin-top:-8px;padding-top:0!important}
  .residence-common-inline .room-showcase-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
}


/* ===== V16: detail-page room photography is static, fully visible ===== */
.room-page-gallery .residence-room-static-grid .room-showcase-slide{
  opacity:1!important;
  visibility:visible!important;
  z-index:2!important;
}
.room-page-gallery .residence-room-static-grid .room-showcase-arrow,
.room-page-gallery .residence-room-static-grid .room-showcase-count{
  display:none!important;
}
