/* ==========================================================================
   Maya Heritage — styles ported from the CodeIgniter views.
   1. Global layout (layouts/main_layout.php)
   2. About page   3. Properties page   4. Gallery page
   5. Contact page 6. Property detail   7. WordPress / Elementor compatibility
   ========================================================================== */

/* 1. Global ---------------------------------------------------------------- */
html { font-size: 15px; }
body { background-color: #022b32; color: #ffffff; overflow-x: hidden; font-family: 'Inter', sans-serif; }
h1, h2, h3, h4, h5 { line-height: 1.12; }
p, li { line-height: 1.55; }
.font-serif { line-height: 1.1; }

#navbar { background: linear-gradient(to bottom, rgba(2,43,50,0.9) 0%, rgba(2,43,50,0) 100%); }
.glass-nav { background: rgba(2,43,50,0.98) !important; }

/* Minimal Form */
.minimal-input {
	width: 100%; background: transparent; border: none;
	border-bottom: 1px solid rgba(252,250,246,0.3);
	padding: 1rem 0; color: #fcfaf6;
	font-family: 'Inter', sans-serif; font-size: 1rem;
	transition: border-color 0.4s ease; border-radius: 0;
}
.minimal-input:focus { outline: none; border-bottom-color: #7cf0e2; }
.minimal-input::placeholder { color: rgba(252,250,246,0.6); font-weight: 300; }
select.minimal-input { appearance: none; cursor: pointer; }
select.minimal-input option { background: #04424c; color: #fcfaf6; }
::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.7; cursor: pointer; }

/* Hero Swiper */
.hero-swiper { width: 100%; height: 100vh; min-height: 600px; }
.swiper-slide .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { background: linear-gradient(to top, rgba(2,43,50,0.95) 0%, rgba(2,43,50,0.3) 50%, rgba(2,43,50,0.5) 100%); }

/* Hero Text Animations */
.hero-text-line { display: block; overflow: hidden; padding-bottom: 0.1em; }
.hero-text-line span {
	display: block; transform: translateY(110%); opacity: 0;
	transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), opacity 0.6s;
}
.swiper-slide-active .hero-text-line span { transform: translateY(0); opacity: 1; }
.swiper-slide-active .hero-text-line.l-1 span { transition-delay: 0.1s; }
.swiper-slide-active .hero-text-line.l-2 span { transition-delay: 0.2s; }
.swiper-slide-active .hero-text-line.l-3 span { transition-delay: 0.3s; }
.swiper-slide-active .slide-subtitle { animation: fadeUp 0.6s ease 0.15s forwards; opacity: 0; transform: translateY(20px); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* GSAP Reveal */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* Splide */
.splide__pagination__page { background: rgba(124,240,226,0.3); }
.splide__pagination__page.is-active { background: #7cf0e2; transform: scale(1.2); }
.splide__arrow { background: rgba(2,43,50,0.7); border: 1px solid #7cf0e2; }
.splide__arrow svg { fill: #7cf0e2; }
.splide__arrow:hover { background: #7cf0e2; }
.splide__arrow:hover svg { fill: #022b32; }

/* Logo */
.logo-img { filter: brightness(0) invert(1); transition: filter 0.4s ease; }

/* Property Cards */
.property-card { transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.property-card:hover { transform: translateY(-6px); }

/* Noise overlay */
.noise-overlay {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	pointer-events: none; z-index: 1; opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Page Loader */
#page-loader { transition: opacity 0.35s ease; }
#page-loader.hidden-loader { opacity: 0; pointer-events: none; }
.loader-ring {
	width: 72px; height: 72px;
	border: 2px solid rgba(124,240,226,0.15);
	border-top-color: #7cf0e2; border-radius: 50%;
	animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-shadow-sm { text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* Property & Activity cards */
.prop-card { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease; }
.prop-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.group:hover .group-hover\:scale-108 { transform: scale(1.08); }
.act-card { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease; }
.act-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }

/* WhatsApp sticky pulse */
.wa-pulse::before {
	content: ''; position: absolute; inset: -4px; border-radius: 50%;
	border: 2px solid #7cf0e2; opacity: 0;
	animation: wa-ring 2.5s ease-out infinite;
}
@keyframes wa-ring {
	0%   { transform: scale(0.85); opacity: 0.7; }
	70%  { transform: scale(1.35); opacity: 0; }
	100% { opacity: 0; }
}

/* Enquiry Modal */
#enquiry-modal { transition: opacity 0.25s ease; }
#enquiry-modal.modal-hidden { opacity: 0; pointer-events: none; }
#enquiry-modal .modal-card { transform: translateY(-8px); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
#enquiry-modal:not(.modal-hidden) .modal-card { transform: translateY(0); }
.modal-close-btn { background-color: #022b32; }
.modal-close-btn:hover { background-color: #04424c; }
.popup-input { width: 100%; background: transparent; border: none; outline: none; font-family: 'Inter', sans-serif; color: #022b32; font-size: 0.9rem; }
.popup-input::placeholder { color: rgba(2,43,50,0.45); }
select.popup-input { appearance: none; cursor: pointer; }
select.popup-input option { background: #fff; color: #022b32; }
#enquiry-modal ::-webkit-calendar-picker-indicator { filter: none; cursor: pointer; }
.guest-step-btn { background: transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.guest-step-btn:hover:not(:disabled) { background: rgba(124,240,226,0.3); border-color: #0b7c8d; }
.guest-step-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #022b32; border-color: #022b32; }
.flatpickr-day.today { border-color: #0b7c8d; }

/* Popup labels — solid, readable colour */
.popup-label { color: #04424c; }
.popup-label-inline { color: #022b32; font-weight: 500; }
#enquiry-modal .popup-input::placeholder { color: rgba(2,43,50,0.6); }

/* Calendar uses the same font, size and colour as the form fields */
.flatpickr-calendar,
.flatpickr-calendar .flatpickr-current-month,
.flatpickr-calendar .flatpickr-current-month input.cur-year,
.flatpickr-calendar .flatpickr-monthDropdown-months,
.flatpickr-calendar span.flatpickr-weekday,
.flatpickr-calendar .flatpickr-day { font-family: 'Inter', sans-serif; }
.flatpickr-calendar .flatpickr-day { font-size: 0.9rem; font-weight: 400; color: #022b32; }
.flatpickr-calendar .flatpickr-day.flatpickr-disabled,
.flatpickr-calendar .flatpickr-day.prevMonthDay,
.flatpickr-calendar .flatpickr-day.nextMonthDay { color: rgba(2,43,50,0.3); }
.flatpickr-calendar .flatpickr-day.selected { color: #fff; }
.flatpickr-calendar span.flatpickr-weekday { font-size: 0.75rem; font-weight: 600; color: #04424c; }
.flatpickr-calendar .flatpickr-current-month { font-size: 0.9rem; font-weight: 600; color: #022b32; }
.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-calendar .flatpickr-current-month input.cur-year { font-size: 0.9rem; font-weight: 600; color: #022b32; }
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month svg,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month svg { fill: #022b32; }
.flatpickr-calendar .flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-calendar .flatpickr-months .flatpickr-next-month:hover svg { fill: #0b7c8d; }

/* Footer social icons */
.footer-social { display: flex; align-items: center; gap: 0.9rem; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
	border: 1px solid rgba(124,240,226,0.3); color: #7cf0e2;
	transition: background 0.25s, border-color 0.25s;
}
.footer-social a:hover { background: rgba(124,240,226,0.15); border-color: #7cf0e2; }
.footer-social svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Fixed WhatsApp button */
.wa-fixed-btn { background: #022b32; color: #7cf0e2; border: 1px solid rgba(124,240,226,0.4); }
.wa-fixed-btn:hover { background: #04424c; border-color: #7cf0e2; }
.wa-fixed-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Shared hero keyframes (About / Properties / Gallery / Contact) */
.hero-fade-up {
	display: inline-block; opacity: 0; transform: translateY(24px);
	animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes propFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes contactFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* 2. About ----------------------------------------------------------------- */
.pillar-card {
	border: 1px solid rgba(124,240,226,0.12);
	background: rgba(4,66,76,0.35);
	backdrop-filter: blur(8px);
	transition: border-color 0.3s, transform 0.35s;
}
.pillar-card:hover { border-color: rgba(124,240,226,0.4); transform: translateY(-4px); }
.hero-title-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title-line span {
	display: block; opacity: 0; transform: translateY(110%);
	animation: slideUp 1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-title-line:nth-child(1) span { animation-delay: 0.4s; }
.hero-title-line:nth-child(2) span { animation-delay: 0.55s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.7s; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.about-prop-card { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s; }
.about-prop-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }

/* 3. Properties ------------------------------------------------------------ */
.prop-panel { min-height: 90vh; }
.prop-img-wrap { overflow: hidden; }
.prop-img-wrap img { transition: transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.prop-img-wrap:hover img { transform: scale(1.06); }
.feature-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	border: 1px solid rgba(124,240,226,0.25);
	padding: 0.4rem 0.9rem; border-radius: 100px;
	font-size: 0.7rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.1em;
	color: #7cf0e2; transition: background 0.3s, border-color 0.3s;
}
.feature-pill:hover { background: rgba(124,240,226,0.1); border-color: #7cf0e2; }
.panel-cream .feature-pill { border-color: rgba(2,43,50,0.25); color: #04424c; }
.panel-cream .feature-pill:hover { background: rgba(2,43,50,0.08); border-color: #022b32; }

/* 4. Gallery --------------------------------------------------------------- */
body:has(.maya-gallery-tour), body.maya-layout-gallery { background: #011a1e; }
body:has(.maya-gallery-tour) #navbar, body.maya-layout-gallery #navbar { background: linear-gradient(to bottom, rgba(1,26,30,0.95) 0%, rgba(1,26,30,0) 100%); }
body:has(.maya-gallery-tour) .glass-nav, body.maya-layout-gallery .glass-nav { background: rgba(1,26,30,0.98) !important; }

.maya-gallery-tour .filter-bar { position: sticky; top: 0; z-index: 40; background: rgba(1,26,30,0.96); border-bottom: 1px solid rgba(124,240,226,0.08); }
.maya-gallery-tour .filter-btn {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.45rem 1rem; border-radius: 100px;
	font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
	border: 1px solid transparent; color: rgba(255,255,255,0.45);
	cursor: pointer; transition: all 0.25s; white-space: nowrap; background: transparent;
}
.maya-gallery-tour .filter-btn:hover { color: #7cf0e2; border-color: rgba(124,240,226,0.25); }
.maya-gallery-tour .filter-btn.active { color: #022b32; background: #7cf0e2; border-color: #7cf0e2; }

.maya-gallery-tour .masonry { columns: 4; column-gap: 5px; }
@media (max-width: 1280px) { .maya-gallery-tour .masonry { columns: 3; } }
@media (max-width: 768px)  { .maya-gallery-tour .masonry { columns: 2; } }
@media (max-width: 480px)  { .maya-gallery-tour .masonry { columns: 1; } }

.maya-gallery-tour .gallery-item {
	break-inside: avoid; margin-bottom: 5px;
	position: relative; overflow: hidden; cursor: pointer; display: block;
	transition: opacity 0.2s;
}
.maya-gallery-tour .gallery-item.is-hidden { display: none; }
.maya-gallery-tour .gallery-item img { width: 100%; display: block; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.35s; filter: brightness(0.85) saturate(0.88); }
.maya-gallery-tour .gallery-item:hover img { transform: scale(1.04); filter: brightness(1) saturate(1); }
.maya-gallery-tour .g-overlay { position: absolute; inset: 0; background: rgba(1,26,30,0); transition: background 0.35s; display: flex; flex-direction: column; justify-content: flex-end; padding: 0.65rem; }
.maya-gallery-tour .gallery-item:hover .g-overlay { background: rgba(1,26,30,0.28); }
.maya-gallery-tour .g-badge { display: inline-flex; align-items: center; font-size: 0.57rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.22rem 0.55rem; border-radius: 100px; background: rgba(1,26,30,0.85); color: #7cf0e2; border: 1px solid rgba(124,240,226,0.22); opacity: 0; transform: translateY(5px); transition: opacity 0.25s, transform 0.25s; align-self: flex-start; }
.maya-gallery-tour .gallery-item:hover .g-badge { opacity: 1; transform: translateY(0); }

.maya-gallery-tour .pg-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid rgba(124,240,226,0.15); border-radius: 4px; font-size: 0.62rem; font-weight: 600; color: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.2s; background: transparent; }
.maya-gallery-tour .pg-btn:hover { color: #7cf0e2; border-color: rgba(124,240,226,0.4); background: rgba(124,240,226,0.05); }
.maya-gallery-tour .pg-btn.active { background: #7cf0e2; color: #022b32; border-color: #7cf0e2; font-weight: 700; }
.maya-gallery-tour .pg-btn.pg-ellipsis { cursor: default; border-color: transparent; color: rgba(255,255,255,0.2); pointer-events: none; min-width: 20px; }

.maya-gallery-tour .tour-nav-list { display: flex; flex-direction: column; gap: 2px; }
.maya-gallery-tour .tour-nav-link {
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
	padding: 0.6rem 0.85rem; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
	color: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s, color 0.2s;
	border-left: 2px solid transparent;
}
.maya-gallery-tour .tour-nav-link:hover { color: #fff; background: rgba(124,240,226,0.06); }
.maya-gallery-tour .tour-nav-link.active { color: #7cf0e2; background: rgba(124,240,226,0.1); border-left-color: #7cf0e2; }
.maya-gallery-tour .tour-nav-link .count { font-size: 0.65rem; font-weight: 500; color: rgba(255,255,255,0.3); }
.maya-gallery-tour .tour-nav-link.active .count { color: rgba(124,240,226,0.6); }
.maya-gallery-tour .tour-section { scroll-margin-top: 90px; padding-bottom: 3rem; }

.maya-gallery-tour .tour-preview-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.1rem; margin-bottom: 3rem; }
@media (max-width: 1024px) { .maya-gallery-tour .tour-preview-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .maya-gallery-tour .tour-preview-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
.maya-gallery-tour .tour-preview-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; cursor: pointer; }
.maya-gallery-tour .tour-preview-thumb { width: 100%; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: rgba(124,240,226,0.06); border: 1px solid rgba(124,240,226,0.1); transition: border-color 0.2s; }
.maya-gallery-tour .tour-preview-tile:hover .tour-preview-thumb { border-color: rgba(124,240,226,0.4); }
.maya-gallery-tour .tour-preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.maya-gallery-tour .tour-preview-thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(124,240,226,0.25); }
.maya-gallery-tour .tour-preview-label { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.7); line-height: 1.3; }
.maya-gallery-tour .tour-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (max-width: 768px) { .maya-gallery-tour .tour-photo-grid { grid-template-columns: repeat(2, 1fr); } }
.maya-gallery-tour .tour-photo { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4/3; display: block; cursor: pointer; }
.maya-gallery-tour .tour-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.maya-gallery-tour .tour-photo:hover img { transform: scale(1.05); }
.maya-gallery-tour .tour-empty { border: 1px dashed rgba(124,240,226,0.2); border-radius: 8px; padding: 2.5rem 1.5rem; text-align: center; color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* 5. Contact --------------------------------------------------------------- */
.info-card {
	border: 1px solid rgba(124,240,226,0.1); background: rgba(4,66,76,0.3);
	padding: 2rem; transition: border-color 0.35s, transform 0.4s, background 0.35s;
}
.info-card:hover { border-color: rgba(124,240,226,0.35); transform: translateY(-4px); background: rgba(4,66,76,0.5); }
.info-icon {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(124,240,226,0.25);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 1.25rem; color: #7cf0e2;
	transition: background 0.3s, border-color 0.3s;
}
.info-card:hover .info-icon { background: rgba(124,240,226,0.1); border-color: rgba(124,240,226,0.5); }
.map-wrap { position: relative; overflow: hidden; border: 1px solid rgba(124,240,226,0.1); }
.map-wrap iframe { display: block; width: 100%; height: 100%; filter: grayscale(0.3) contrast(1.05); }

/* 6. Property detail ------------------------------------------------------- */
body.single-maya_property { --gold:#d4af37; --gold-light:#f0d060; --gold-rgb:212,175,55; --gold-dim:rgba(212,175,55,0.12); --bg:#010e10; --bg2:#020f11; --bg-rgb:1,14,16; background-color: var(--bg); }
body.single-maya_property #navbar { background: linear-gradient(to bottom,rgba(var(--bg-rgb),0.95) 0%,rgba(var(--bg-rgb),0) 100%); }
body.single-maya_property .glass-nav { background: rgba(var(--bg-rgb),0.98) !important; border-bottom:1px solid rgba(var(--gold-rgb),0.1); }

.prop-detail .prop-hero-bg { background-size:cover; background-position:center; }
.prop-detail .prop-hero-overlay { background:linear-gradient(to top,var(--bg) 0%,rgba(var(--bg-rgb),0.55) 55%,rgba(var(--bg-rgb),0.35) 100%); }
.prop-detail .gold-rule { width:60px; height:2px; background:linear-gradient(90deg,var(--gold),var(--gold-light)); margin-bottom:1.5rem; }
.prop-detail .feat-card { border:1px solid rgba(var(--gold-rgb),0.12); padding:1.75rem; background:rgba(255,255,255,0.02); transition:border-color .3s,transform .4s; }
.prop-detail .feat-card:hover { border-color:rgba(var(--gold-rgb),0.35); transform:translateY(-4px); }
.prop-detail .gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; }
.prop-detail .gallery-grid .large { grid-column:span 2; }
@media(max-width:768px){ .prop-detail .gallery-grid{ grid-template-columns:repeat(2,1fr); } .prop-detail .gallery-grid .large{ grid-column:span 2; } }
@media(max-width:480px){ .prop-detail .gallery-grid{ grid-template-columns:1fr; } .prop-detail .gallery-grid .large{ grid-column:span 1; } }
.prop-detail .g-item { position:relative; overflow:hidden; cursor:pointer; }
.prop-detail .g-item img { width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.16,1,.3,1); }
.prop-detail .g-item:hover img { transform:scale(1.06); }
.prop-detail .g-overlay { position:absolute; inset:0; background:rgba(var(--bg-rgb),0); transition:background .4s; display:flex; align-items:center; justify-content:center; }
.prop-detail .g-item:hover .g-overlay { background:rgba(var(--bg-rgb),0.35); }
.prop-detail .g-icon { opacity:0; color:var(--gold); transition:opacity .3s; }
.prop-detail .g-item:hover .g-icon { opacity:1; }
.prop-detail .minimal-input { border-bottom:1px solid rgba(var(--gold-rgb),0.25); }
.prop-detail .minimal-input:focus { border-bottom-color:var(--gold); }
.prop-detail .minimal-input::placeholder { color:rgba(252,250,246,.45); }
.prop-detail select.minimal-input option { background:var(--bg); color:#fcfaf6; }
.prop-detail ::-webkit-calendar-picker-indicator { opacity:.6; }
/* Property booking form (2 columns, same fields as the enquiry popup) */
.prop-detail .prop-label { display:block; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--gold); margin-bottom:0.15rem; }
.prop-detail .prop-form .minimal-input { padding:0.75rem 0; font-size:0.95rem; }
.prop-detail .prop-stepper { border-bottom:1px solid rgba(var(--gold-rgb),0.25); padding:0.6rem 0; }
.prop-detail .prop-step-btn { width:28px; height:28px; border-radius:50%; border:1px solid rgba(var(--gold-rgb),0.45); color:var(--gold); display:inline-flex; align-items:center; justify-content:center; font-size:0.9rem; line-height:1; }
.prop-detail .prop-step-btn:hover:not(:disabled) { background:rgba(var(--gold-rgb),0.15); border-color:var(--gold); }
.prop-detail .prop-step-btn:disabled { opacity:0.3; cursor:not-allowed; }
.prop-detail .op-card { border:1px solid rgba(var(--gold-rgb),0.1); overflow:hidden; transition:border-color .3s,transform .4s; }
.prop-detail .op-card:hover { border-color:rgba(var(--gold-rgb),0.35); transform:translateY(-4px); }
.prop-detail .op-card img { transition:transform .7s cubic-bezier(.16,1,.3,1); }
.prop-detail .op-card:hover img { transform:scale(1.06); }

/* 7. WordPress / Elementor compatibility ----------------------------------- */
/* Rich text from the editor keeps the CI paragraph spacing */
.maya-rich > * + * { margin-top: 1rem; }
.maya-rich strong { font-weight: 700; }
.maya-rich a { text-decoration: underline; }

/* Generic page content */
.maya-prose { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.75; }
.maya-prose > * + * { margin-top: 1.1rem; }
.maya-prose h2, .maya-prose h3, .maya-prose h4 { font-family: 'Playfair Display', serif; color: #fff; margin-top: 2rem; }
.maya-prose h2 { font-size: 1.9rem; } .maya-prose h3 { font-size: 1.5rem; } .maya-prose h4 { font-size: 1.2rem; }
.maya-prose a { color: #7cf0e2; text-decoration: underline; }
.maya-prose ul { list-style: disc; padding-left: 1.4rem; } .maya-prose ol { list-style: decimal; padding-left: 1.4rem; }
.maya-prose img { max-width: 100%; height: auto; }
.maya-prose blockquote { border-left: 2px solid #7cf0e2; padding-left: 1rem; font-style: italic; }

/* Elementor resets images to height:auto — keep the CI "fill the box" images */
.maya-sec img.h-full, .prop-detail img.h-full { height: 100%; }
.maya-sec img.w-full, .prop-detail img.w-full { width: 100%; }
.maya-sec .tour-photo img, .maya-sec .tour-preview-thumb img { height: 100%; }
.maya-sec img { border-radius: 0; box-shadow: none; }
.maya-sec .rounded-sm img, .maya-sec img.rounded-sm { border-radius: inherit; }
.maya-sec a { text-decoration: none; }
.maya-sec a.hover\:underline:hover { text-decoration: underline; }

/* Section-only containers: no padding / gaps around Maya widgets */
.e-con.maya-section-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0px; --margin-bottom: 0px; }
.elementor-widget[class*="elementor-widget-maya_"] { width: 100%; }
.elementor-widget[class*="elementor-widget-maya_"] > .elementor-widget-container { overflow: visible; }

/* Inside the Elementor editor: show reveal elements and skip the loader */
.elementor-editor-active .reveal-up,
.elementor-editor-active .reveal-left,
.elementor-editor-active .reveal-right { opacity: 1 !important; transform: none !important; }
.elementor-editor-active #page-loader { display: none !important; }
.elementor-editor-active #navbar { position: absolute; }

/* Admin bar offset for the fixed header */
body.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar #navbar { top: 46px; } }

/* Revision: whole-tile click, side arrows, activity pop-up, galleries */
.prop-card-link { display:block; }
.act-wrap { position: relative; }
.act-side-arrow { position:absolute; top:0; bottom:0; z-index:5; width:46px; display:flex; align-items:center; justify-content:center; color:#fff; cursor:pointer; border:0; transition:background .3s, color .3s; }
.act-side-arrow.left { left:0; background:linear-gradient(to right, rgba(2,43,50,.75), rgba(2,43,50,0)); }
.act-side-arrow.right { right:0; background:linear-gradient(to left, rgba(2,43,50,.75), rgba(2,43,50,0)); }
.act-side-arrow:hover { color:#7cf0e2; }
@media (max-width:640px){ .act-side-arrow{ width:34px; } }
.act-modal { position:fixed; inset:0; z-index:9996; display:flex; align-items:center; justify-content:center; padding:1rem; opacity:0; pointer-events:none; transition:opacity .3s; }
.act-modal.open { opacity:1; pointer-events:auto; }
.act-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter:blur(4px); }
.act-modal-card { position:relative; background:#fff; width:100%; max-width:520px; max-height:90vh; overflow:auto; border-radius:4px; box-shadow:0 25px 60px rgba(0,0,0,.4); }
.act-modal-img { width:100%; height:240px; object-fit:cover; display:block; }
.act-modal-body { padding:1.5rem; }
.act-modal-close { position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius:50%; background:rgba(2,43,50,.8); color:#fff; font-size:22px; line-height:1; border:0; cursor:pointer; z-index:2; }
/* Fancybox: above the site header, close button always visible */
.fancybox__container { z-index: 100000 !important; }
body:has(.fancybox__container) #navbar { display:none; }
.f-button[data-fancybox-close] { background:rgba(2,43,50,.85) !important; color:#fff !important; }
/* Property page gallery: 3 x 4 equal tiles */
.prop-detail .gallery-grid .g-item { aspect-ratio: 4/3; height:auto !important; }
.prop-detail .gallery-grid .g-item img { height:100%; }
.prop-detail .prop-desc p { margin-bottom:1rem; }
/* Full gallery: uniform grid, no vacant gaps */
.maya-gallery-tour .masonry { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; columns:auto; }
@media (max-width:1280px){ .maya-gallery-tour .masonry{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){ .maya-gallery-tour .masonry{ grid-template-columns:repeat(2,1fr); } }
.maya-gallery-tour .gallery-item { margin:0; aspect-ratio:4/3; }
.maya-gallery-tour .gallery-item img { height:100% !important; object-fit:cover; }
.maya-gallery-tour .tour-section { padding-bottom:2rem; }
@media (max-width:480px){ .prop-detail .gallery-grid{ grid-template-columns:repeat(2,1fr); gap:.5rem; } .prop-detail .gallery-grid .g-item{ aspect-ratio:1/1; } }

/* Per-property colour themes (body class pt-{slug}) */
body.single-maya_property.pt-maya-heritage { --gold:#d4af37; --gold-light:#f0d060; --gold-rgb:212,175,55; --gold-dim:rgba(212,175,55,0.12); --bg:#0a0a0a; --bg2:#111111; --bg-rgb:10,10,10; }
body.single-maya_property.pt-maya-aangan   { --gold:#4fd1a5; --gold-light:#7de8c4; --gold-rgb:79,209,165;  --gold-dim:rgba(79,209,165,0.12);  --bg:#0b1411; --bg2:#111816; --bg-rgb:11,20,17; }
body.single-maya_property.pt-maya-aambal   { --gold:#e07a8a; --gold-light:#f0a0ac; --gold-rgb:224,122,138; --gold-dim:rgba(224,122,138,0.12); --bg:#150b0e; --bg2:#1a0f12; --bg-rgb:21,11,14; }
.prop-detail .prop-hover-fill:hover { background:var(--gold); color:var(--bg); }
.prop-detail .prop-hover-gold:hover, .prop-detail .group:hover .prop-hover-gold { color:var(--gold); }
