/*
Theme Name: VRN Hospitality
Theme URI: https://vrnhospitality.com
Author: VRN Hospitality
Author URI: https://vrnhospitality.com
Description: Official WordPress theme for VRN Hospitality — a multi-property hotel group across Rajasthan. Features custom post types for Hotels and Packages, dynamic admin control, and a fully responsive terracotta/cream design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: vrn-hospitality
Tags: hospitality, hotels, rajasthan, custom-post-types, responsive
*/

/* ─── CSS VARIABLES ─────────────────────────────── */
:root {
  --terra:       #C1440E;
  --terra-dark:  #9B3409;
  --terra-pale:  #F5D5C5;
  --sand:        #F2E8D9;
  --sand-dark:   #E0D0B8;
  --cream:       #FDFAF5;
  --charcoal:    #1C1C1C;
  --charcoal-mid:#3A3A3A;
  --text-muted:  #7A6F64;
  --white:       #ffffff;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --radius:      0px;
  --transition:  0.25s ease;
  --shadow-sm:   0 4px 16px rgba(28,28,28,.08);
  --shadow-md:   0 12px 40px rgba(28,28,28,.12);
  --shadow-lg:   0 20px 60px rgba(28,28,28,.15);
}

/* ─── RESET & BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--font-body); border-radius: 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
}
.entry-content h2 { font-size: clamp(22px,2.8vw,32px); margin: 32px 0 12px; }
.entry-content h3 { font-size: clamp(18px,2.2vw,24px); margin: 24px 0 10px; }
.entry-content p  { font-size: 15px; line-height: 1.9; color: var(--charcoal-mid); margin-bottom: 18px; font-weight: 300; }
.entry-content ul { padding-left: 20px; margin-bottom: 18px; list-style: disc; }
.entry-content ul li { font-size: 14px; line-height: 1.8; color: var(--charcoal-mid); margin-bottom: 6px; }
.entry-content blockquote {
  border-left: 4px solid var(--terra);
  padding: 16px 24px;
  background: var(--sand);
  margin: 24px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--charcoal-mid);
}

/* ─── UTILITY CLASSES ────────────────────────────── */
.section-tag {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 10px;
}
.section-h {
  font-family: var(--font-display);
  font-size: clamp(28px,3.5vw,46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-h em { font-style: italic; color: var(--terra); font-weight: 400; }
.text-white { color: var(--white) !important; }
.text-white em { color: var(--terra-pale) !important; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.section-pad { padding: 88px 48px; }
.section-pad-sm { padding: 64px 48px; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn, .btn-fill {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  padding: 13px 28px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn:hover, .btn-fill:hover { background: var(--terra-dark); transform: translateY(-1px); color: var(--white); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--sand-dark);
  color: var(--charcoal-mid);
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--terra); color: var(--terra); }
.btn-outline-white {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
  padding: 13px 28px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline-white:hover { border-color: var(--white); color: var(--white); }

/* ─── TOPBAR ─────────────────────────────────────── */
.site-topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,.5);
  font-size: 11.5px;
  letter-spacing: .06em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 48px;
}
.site-topbar a { color: var(--terra-pale); }
.site-topbar a:hover { color: var(--white); }

/* ─── HEADER / NAV ───────────────────────────────── */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--sand-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  justify-content: space-between;
}
.site-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-vrn { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--terra); letter-spacing: .04em; }
.logo-divider { width: 1px; height: 20px; background: var(--sand-dark); }
.logo-full { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }

/* Main nav */
.main-navigation { display: flex; align-items: center; gap: 32px; }
.main-navigation ul { display: flex; gap: 0; list-style: none; }
.main-navigation ul li { position: relative; }
.main-navigation ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--charcoal-mid);
  transition: color var(--transition);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a { color: var(--terra); }

/* Dropdown */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-top: 2px solid var(--terra);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
  flex-direction: column;
  display: flex;
}
.main-navigation ul li:hover > ul { opacity: 1; pointer-events: all; transform: translateY(0); }
.main-navigation ul ul li a { padding: 11px 18px; font-size: 13px; border-bottom: 1px solid var(--sand); }
.main-navigation ul ul li:last-child a { border-bottom: none; }

.nav-cta {
  background: var(--terra);
  color: var(--white) !important;
  padding: 10px 22px !important;
  font-size: 12px !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
  transition: background var(--transition) !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--terra-dark) !important; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── PAGE BANNER ────────────────────────────────── */
.page-banner {
  background: var(--charcoal);
  position: relative;
  padding: 88px 48px 72px;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: .28;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,28,.78), rgba(193,68,14,.18));
}
.page-banner-content { position: relative; z-index: 2; }
.breadcrumb {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--terra-pale); }
.breadcrumb a:hover { color: var(--white); }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(38px,5vw,66px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 16px;
}
.page-banner h1 em { font-style: italic; color: var(--terra-pale); font-weight: 400; }
.page-banner p { font-size: 15px; color: rgba(255,255,255,.5); max-width: 520px; line-height: 1.85; font-weight: 300; }

/* ─── HOTEL CARD (used on archive & front page) ─── */
.hotel-card {
  background: var(--white);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border-bottom: 3px solid transparent;
}
.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--terra);
  color: inherit;
}
.hotel-card-img {
  height: 230px;
  background: center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hotel-card-img-inner {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transition: transform .5s ease;
}
.hotel-card:hover .hotel-card-img-inner { transform: scale(1.05); }
.hotel-city-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--terra);
  color: var(--white);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 5px 12px;
  z-index: 2;
}
.hotel-card-body { padding: 24px; }
.hotel-card-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.hotel-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.hotel-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.hotel-card-tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--sand); color: var(--text-muted); padding: 4px 10px; }
.hotel-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--sand); padding-top: 14px; }
.hotel-card-loc { font-size: 11px; color: var(--text-muted); }
.hotel-card-cta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); font-weight: 500; }

/* ─── PACKAGE CARD ───────────────────────────────── */
.package-card {
  background: var(--white);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border-bottom: 3px solid transparent;
}
.package-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-bottom-color: var(--terra); }
.package-card-img { height: 240px; background: center/cover no-repeat; position: relative; overflow: hidden; }
.package-card-img-inner { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .5s; }
.package-card:hover .package-card-img-inner { transform: scale(1.05); }
.pkg-badge { position: absolute; top: 0; left: 0; background: var(--terra); color: var(--white); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 14px; }
.package-card-body { padding: 26px; }
.pkg-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.pkg-meta span { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.package-card-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.package-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.pkg-includes { margin-bottom: 18px; }
.pkg-includes-label { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.pkg-inc-item { font-size: 12.5px; color: var(--charcoal-mid); display: flex; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.pkg-inc-item::before { content: '✓'; color: var(--terra); font-weight: 700; flex-shrink: 0; }
.package-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--sand); padding-top: 18px; }
.pkg-price-from { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); display: block; }
.pkg-price-val { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--terra); line-height: 1; display: block; }
.pkg-price-per { font-size: 11px; color: var(--text-muted); display: block; }

/* ─── GRID LAYOUTS ───────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ─── FILTER TABS ────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sand-dark);
  padding: 18px 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-right: 8px; }
.filter-tab {
  padding: 9px 22px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text-muted);
  border: 1px solid var(--sand-dark);
  background: var(--white);
  transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--terra); color: var(--terra); }
.filter-tab.active { background: var(--terra); border-color: var(--terra); color: var(--white); }

/* ─── FORMS ──────────────────────────────────────── */
.vrn-form .fg { margin-bottom: 16px; }
.vrn-form label {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.vrn-form input,
.vrn-form select,
.vrn-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.vrn-form input:focus,
.vrn-form select:focus,
.vrn-form textarea:focus { border-color: var(--terra); }
.vrn-form textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── WHATSAPP FLOAT ─────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-tooltip {
  background: var(--charcoal);
  color: #fff;
  font-size: 12px;
  padding: 8px 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all .25s;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: #ff4444;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: wapulse 2s infinite;
}
@keyframes wapulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer { background: var(--charcoal); padding: 64px 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .foot-logo-vrn { font-family: var(--font-display); font-size: 30px; font-weight: 900; color: var(--terra); }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 12px; line-height: 1.75; font-weight: 300; max-width: 280px; }
.footer-col h5 { font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--terra); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.4); transition: color var(--transition); font-weight: 300; }
.footer-col ul li a:hover { color: var(--terra-pale); }

/* Contact Us — icon blocks */
.footer-contact-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--terra);
}
.footer-contact-text strong {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  margin-bottom: 4px;
}
.footer-contact-text p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2px;
}
.footer-contact-text p a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-contact-text p a:hover {
  color: var(--terra-pale);
}
.footer-address-gap {
  margin-top: 12px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.4);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--terra); color: var(--terra-pale); background: rgba(193,68,14,.1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,.22);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--terra-pale); }

/* ─── WOOCOMMERCE / WORDPRESS CORE FIXES ───────── */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { margin: 0 auto; display: block; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ─── ADMIN BAR OFFSET ───────────────────────────── */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .container, .section-pad { padding-left: 32px; padding-right: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .site-topbar { display: none; }
  .site-header { padding: 0 20px; }
  .container, .section-pad, .section-pad-sm, .filter-bar { padding-left: 20px; padding-right: 20px; }
  .main-navigation { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); border-bottom: 2px solid var(--terra); padding: 20px; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow-md); }
  .main-navigation.open { display: flex; }
  .main-navigation ul { flex-direction: column; width: 100%; gap: 0; }
  .main-navigation ul li a { padding: 12px 0; border-bottom: 1px solid var(--sand); }
  .main-navigation ul ul { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; padding-left: 16px; }
  .menu-toggle { display: flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 24px; }
  .page-banner { padding: 56px 20px 48px; }
}
@media (max-width: 480px) {
  .section-pad { padding-top: 56px; padding-bottom: 56px; }
  .section-pad-sm { padding-top: 40px; padding-bottom: 40px; }
}
/* ─── ENQUIRY BAND — DECORATIVE JAALI TEXTURE ────── */
.enquiry-band-left {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.enquiry-band-left::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23C1440E' stroke-width='1.5'%3E%3Cpath d='M42 2 L82 42 L42 82 L2 42 Z'/%3E%3Cpath d='M42 22 L62 42 L42 62 L22 42 Z'/%3E%3Ccircle cx='42' cy='42' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 84px 84px;
  background-repeat: repeat;
  pointer-events: none;
}
.enquiry-band-left::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(28,28,28,0) 0%, var(--charcoal) 85%);
  pointer-events: none;
}
.enquiry-band-left > * {
  position: relative;
  z-index: 1;
}