/* ==============================================
   ARASAN ARENA - Components CSS
   Navbar, Hero, Cards, Testimonials, Footer, Forms
   ============================================== */

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--t-base);
}
.navbar.scrolled {
  height: 68px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: inherit;
  font-weight: 900; color: var(--dark);
  text-decoration: none; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.navbar-brand img { height: 44px; width: auto; object-fit: contain; transition: height var(--t-base); }
.navbar.scrolled .navbar-brand img { height: 36px; }
/* Brand text stack: site name on top, tagline below */
.navbar-brand-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  line-height: 1;
}
.navbar-brand-name {
  display: block !important;
  font-family: var(--font-head);
  font-size: 1.1rem !important;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.navbar-tagline {
  display: block !important;
  font-family: var(--font-head);
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
}

.navbar-menu {
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px);
}
.navbar-menu a {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); position: relative;
  transition: color var(--t-fast); padding-bottom: 4px;
}
.navbar-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--t-base);
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--dark); }
.navbar-menu a:hover::after, .navbar-menu a.active::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 16px; }
.navbar-actions .btn { padding: 10px 24px; font-size: 11px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; height: 2px; background: var(--dark);
  border-radius: 2px; transition: all var(--t-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 32px;
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease-spring);
  z-index: 999; border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  display: block; padding: 14px 0;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--dark); border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color var(--t-fast), padding-left var(--t-base);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); padding-left: 8px; }
.mobile-nav .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-screen img { height: 80px; width: auto; margin-bottom: 32px; animation: loading-breathe 1.5s ease-in-out infinite; }
.loading-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.loading-bar-inner { height: 100%; background: var(--gold); border-radius: 2px; animation: loading-fill 1.8s ease forwards; }
@keyframes loading-breathe { 0%,100% { opacity: 0.7; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loading-fill { 0% { width: 0; } 60% { width: 80%; } 100% { width: 100%; } }

/* ==================== HERO ==================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero-overlay { position: absolute; inset: 0; }

.hero-content {
  position: relative; z-index: 10;
  max-width: var(--container); margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) var(--gutter);
  width: 100%;
}
.hero-content-inner { max-width: 720px; }
.hero-content-center { text-align: center; margin: 0 auto; }
.hero-title { max-width: 820px; margin: 0 auto 20px; }
.hero-desc  { max-width: 600px; margin: 0 auto; color: rgba(255,255,255,0.75); }

.hero-tag {
  display: inline-block; padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-content-center .hero-buttons { justify-content: center; }

/* Page hero (sub-pages) */
.page-hero {
  position: relative; height: clamp(400px, 55vw, 700px);
  display: flex; align-items: center; overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content {
  position: relative; z-index: 10; width: 100%;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start;
}
.page-hero-content .hero-title {
  margin: 0 0 20px;
  text-align: left;
}
.page-hero-content .hero-desc {
  margin: 0 0 32px;
  text-align: left;
}

/* ==================== CARDS ==================== */
.card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.card-img { overflow: hidden; aspect-ratio: 4/3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-img img { transform: scale(1.08); }

.card-body { padding: clamp(20px, 3vw, 32px); }
.card-tag  { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.card-title { margin-bottom: 10px; font-family: var(--font-head); }
.card-text  { color: var(--muted); margin-bottom: 20px; font-size: var(--fs-sm); line-height: 1.7; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: var(--fs-sm);
  transition: gap var(--t-base), color var(--t-fast);
}
.card-link:hover { gap: 12px; }

/* Bento Grid Card (dark) */
.bento-card {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative;
}
.bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.bento-card:hover img { transform: scale(1.05); }
.bento-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
}
.bento-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: clamp(16px,3vw,32px); color: var(--white); }

/* Feature Card */
.feature-card {
  padding: clamp(24px,3vw,40px); border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

/* Dark Cards */
.card-dark {
  background: #1e1e1e; border-radius: var(--r-lg);
  padding: clamp(24px,3vw,40px); border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--t-base), border-color var(--t-base);
}
.card-dark:hover { transform: translateY(-6px); border-color: rgba(244,195,0,0.3); }
.card-dark.featured { border-color: var(--gold); transform: scale(1.04); }

/* ==================== STATS / COUNTERS ==================== */
.stats-grid { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,48px); }
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head); font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--gold), #e0a800);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
  background: #1a1a1a; padding: clamp(24px,3vw,40px);
  border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--t-base), transform var(--t-base);
}
.testimonial-card:hover { border-color: rgba(244,195,0,0.3); transform: translateY(-4px); }
.testimonial-card.featured { border-color: var(--gold); transform: scale(1.04); }
.testimonial-stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 20px; }
.testimonial-text { font-style: italic; color: #d1d5db; line-height: 1.8; margin-bottom: 24px; font-size: var(--fs-sm); font-weight: 400; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: #2a2a2a; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-family: var(--font-head); font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--white); font-size: var(--fs-sm); }
.testimonial-role { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ==================== GALLERY ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--r-md);
  overflow: hidden; aspect-ratio: 1; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); display: flex;
  align-items: center; justify-content: center;
  transition: background var(--t-base);
}
.gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,0.5); }
.gallery-item-overlay .material-symbols-outlined { color: white; font-size: 36px; opacity: 0; transform: scale(0.7); transition: opacity var(--t-base), transform var(--t-base); }
.gallery-item:hover .gallery-item-overlay .material-symbols-outlined { opacity: 1; transform: scale(1); }

/* Gallery Filter Tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-tab {
  padding: 8px 20px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  border: 2px solid rgba(0,0,0,0.1); color: var(--muted);
  transition: all var(--t-fast); cursor: pointer;
}
.filter-tab.active, .filter-tab:hover {
  background: var(--gold); color: var(--dark); border-color: var(--gold);
}

/* ==================== PRICING ==================== */
.pricing-card {
  border: 2px solid rgba(0,0,0,0.08); border-radius: var(--r-xl);
  padding: clamp(24px,3vw,40px); display: flex; flex-direction: column;
  transition: all var(--t-base);
}
.pricing-card:hover { border-color: rgba(244,195,0,0.4); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  background: var(--dark); color: var(--white);
  border-color: var(--gold); transform: scale(1.04); box-shadow: var(--shadow-xl);
}
.pricing-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--gold); color: var(--dark); margin-bottom: 12px; align-self: flex-start;
}
.pricing-plan  { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 8px; }
.pricing-name  { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; margin-bottom: 16px; }
.pricing-price { margin-bottom: 24px; }
.pricing-price .amount { font-family: var(--font-head); font-size: clamp(2rem,4vw,2.75rem); font-weight: 900; }
.pricing-price .unit   { font-size: var(--fs-sm); color: var(--muted); margin-left: 4px; }
.pricing-features { list-style: none; margin-bottom: 32px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: var(--fs-sm); border-bottom: 1px solid rgba(0,0,0,0.05); }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.06); }
.pricing-features .material-symbols-outlined { font-size: 18px; }

/* ==================== FORMS ==================== */
.form-section { background: var(--white); border-radius: var(--r-xl); padding: clamp(24px,4vw,48px); box-shadow: var(--shadow-lg); }
.form-group   { margin-bottom: 20px; position: relative; }
.form-group label { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }

.form-control {
  width: 100%; padding: 14px 16px;
  background: var(--light); border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--r-md); font-family: var(--font-body); font-size: var(--fs-body);
  color: var(--dark); transition: all var(--t-fast); box-sizing: border-box;
}
.form-control:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(244,195,0,0.12); }
.form-control::placeholder { color: var(--muted); opacity: 0.7; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Slot Picker */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.slot-btn {
  padding: 12px 8px; border-radius: var(--r-md); text-align: center;
  border: 1.5px solid rgba(0,0,0,0.1); background: var(--light);
  cursor: pointer; transition: all var(--t-fast); font-family: var(--font-head);
  font-size: var(--fs-xs); font-weight: 700;
}
.slot-btn:hover:not(.booked) { border-color: var(--gold); background: rgba(244,195,0,0.08); }
.slot-btn.selected { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.slot-btn.booked { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

/* ==================== FOOTER ==================== */
.footer { background: #0a0a0a; color: var(--white); padding: clamp(60px,8vw,100px) 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(32px,4vw,64px); margin-bottom: clamp(40px,6vw,80px); }
.footer-brand-logo { height: 48px; width: auto; object-fit: contain; margin-bottom: 20px; }
.footer-desc { color: rgba(255,255,255,0.45); font-size: var(--fs-sm); line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 18px;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: translateY(-2px); }
.footer-title { color: var(--gold); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: var(--fs-sm); transition: color var(--t-fast), padding-left var(--t-fast); display: inline-block; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copyright { color: rgba(255,255,255,0.3); font-size: var(--fs-xs); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: var(--fs-xs); transition: color var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ==================== LOCATION / MAP ==================== */
.map-wrapper {
  border-radius: var(--r-xl); overflow: hidden;
  height: clamp(300px, 40vw, 500px); position: relative;
  box-shadow: var(--shadow-xl);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* Contact info */
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(244,195,0,0.1); color: var(--gold); }
.contact-info-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
.contact-info-value { font-size: var(--fs-sm); color: var(--dark); font-weight: 500; }

/* Targeted layout fix for page hero content alignment */
.page-hero-content .hero-title {
  margin: 0 0 20px !important;
  text-align: left !important;
}
.page-hero-content .hero-desc {
  margin: 0 0 32px !important;
  text-align: left !important;
}
.page-hero-content .hero-buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start !important;
}

