/* ============================================================
   ARYATARA HOSPITALITY — design system matched to aryataraholdings.com
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a4d2e;
  --primary-light: #2d7a4a;
  --primary-dark: #0f3319;
  --accent: #d4a843;
  --text: #1a2e1f;
  --text-muted: #5a6b5e;
  --bg: #ffffff;
  --bg-alt: #f7f9f7;
  --border: #dde5dd;
  --white: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--accent); color: var(--text); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26, 77, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  height: 76px;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand { display: flex; align-items: center; height: 100%; text-decoration: none; }
.navbar-logo-full { height: 46px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(8,16,14,0.45) 0%, rgba(10,20,18,0.3) 45%, rgba(6,14,12,0.6) 100%),
              url('images/hero_mountain.jpg') center 32%/cover no-repeat;
  text-align: center; padding: 120px 24px 80px;
}
.hero-content { max-width: 800px; animation: fadeInUp 1s ease-out; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; text-shadow: 0 4px 28px rgba(0,0,0,0.45); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-hero {
  display: inline-block; background: var(--accent); color: var(--text);
  padding: 16px 36px; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-decoration: none; border-radius: 4px;
  transition: filter 0.3s, transform 0.3s;
}
.btn-hero:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-hero-outline {
  display: inline-block; background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 15px 36px; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; border-radius: 4px;
  transition: all 0.3s;
}
.btn-hero-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== SECTIONS ===== */
.section { padding: 96px 24px; }
.section-alt { background: var(--bg-alt); }
.section-primary { background: var(--primary); color: var(--white); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-header .bar { width: 64px; height: 4px; background: var(--primary); margin: 0 auto 24px; border-radius: 2px; }
.section-primary .section-header .bar { background: var(--accent); }
.section-header p { color: var(--text-muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.section-primary .section-header p { color: rgba(255,255,255,0.65); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.about-photo { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.about-photo img { width: 100%; height: 420px; object-fit: cover; }
.about-photo-infographic { background: var(--bg-alt); }
.about-photo-infographic img { object-fit: contain; }
.about-copy p { line-height: 1.8; color: var(--text-muted); margin-bottom: 18px; }
.about-copy p strong { color: var(--text); }

.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about-cols h3 { margin-bottom: 16px; color: var(--primary); font-size: 22px; }
.about-cols p { line-height: 1.8; color: var(--text-muted); text-align: left; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo img { height: 280px; }
  .about-cols { grid-template-columns: 1fr; gap: 30px; }
}

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 36px 24px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.stat-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
.stat-value { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 4px; display: flex; justify-content: center; }
.stat-label { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; } }

/* ===== PROPERTIES ===== */
.properties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg);
  transition: box-shadow 0.3s, transform 0.3s;
}
.property-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
.property-photo { position: relative; height: 210px; overflow: hidden; }
.property-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.property-card:hover .property-photo img { transform: scale(1.06); }
.property-stars { position: absolute; top: 14px; right: 14px; background: rgba(15,51,25,0.7); color: var(--accent); font-size: 13px; padding: 4px 10px; border-radius: 4px; }
.property-body { padding: 24px 24px 28px; }
.property-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.property-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 992px) { .properties-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .properties-grid { grid-template-columns: 1fr; } }

/* ===== DINING ===== */
.dining-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dining-copy p { line-height: 1.8; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cuisine-tag {
  padding: 8px 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  border: 1px solid rgba(212,168,67,0.4); color: var(--accent); border-radius: 999px;
  transition: all 0.3s;
}
.cuisine-tag:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.dining-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dining-collage .full { grid-column: 1 / -1; height: 210px; }
.dining-collage .tile { border-radius: 8px; overflow: hidden; height: 165px; }
.dining-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dining-collage .tile:hover img, .dining-collage .full:hover img { transform: scale(1.06); }

@media (max-width: 768px) { .dining-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== WHY US (service-card pattern) ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 40px 32px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg);
  transition: all 0.3s; cursor: default;
}
.service-card:hover { background: var(--primary); border-color: var(--primary); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .service-icon { color: var(--white); }
.service-card:hover p { opacity: 0.85; }
.service-icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: 16px; transition: color 0.3s; }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; transition: color 0.3s; }
.service-card p { color: var(--text-muted); line-height: 1.7; transition: color 0.3s; }

@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--border);
  min-height: 200px; cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(15,51,25,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto 56px; }
.contact-card {
  text-align: center; padding: 40px 24px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg);
}
.contact-card .contact-icon { width: 32px; height: 32px; margin: 0 auto 12px; color: var(--primary); }
.contact-card h3 { font-weight: 600; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); }
.contact-card .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: #1a4d2e; letter-spacing: 0.5px;
}
.contact-card .btn-whatsapp:hover { color: var(--primary-light); }
.contact-card .btn-whatsapp svg { width: 16px; height: 16px; }

.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text);
  background: var(--bg); outline: none; transition: border-color 0.3s; resize: none;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.btn-submit {
  width: 100%; padding: 15px; background: var(--primary); color: var(--white); border: none;
  font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 4px; cursor: pointer; transition: background 0.3s;
}
.btn-submit:hover { background: var(--primary-light); }
.form-note { font-size: 14px; color: var(--primary); text-align: center; opacity: 0; height: 0; overflow: hidden; transition: all 0.3s; }
.form-note.show { opacity: 1; height: auto; margin-top: 14px; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: var(--white); padding: 48px 24px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; }
.footer-logo { height: 50px; width: auto; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-social a:hover { color: var(--white); }
.footer-copy { font-size: 14px; opacity: 0.6; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary); padding: 24px;
    gap: 16px; border-top: 1px solid rgba(255,255,255,0.1);
  }
}
