/*
Theme Name: Phoenix Arena
Theme URI: https://thephoenixarena.com
Author: Phoenix Arena Hotel
Description: Custom WordPress theme for The Phoenix Arena Hotel, Owerri
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: phoenix-arena
*/

/* ===================== IMPORTS ===================== */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===================== VARIABLES ===================== */
:root {
  --orange: #F05616;
  --orange-dark: #d4470f;
  --orange-light: rgba(240,86,22,0.1);
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --radius-full: 9999px;
  --max-w: 1280px;
}

/* ===================== UTILITIES ===================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===================== NAVBAR ===================== */
.site-nav {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.875rem 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo img { height: 54px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--orange);
}

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  font-family: 'Quicksand', sans-serif;
}

.nav-cta:hover { background: var(--orange-dark); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: 4px;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--black);
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-mobile-menu a:hover { color: var(--orange); }

.nav-mobile-menu .nav-cta { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.hero-inner { max-width: 600px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.9);
  color: var(--dark);
  border: 1px solid #e5e7eb;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 600;
  color: #f9f9f9;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--orange); }

.hero p {
  color: #f3f4f6;
  font-size: 1.1rem;
  max-width: 60ch;
  margin-bottom: 3rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); color: white; }

.btn-secondary { background: #f8f6f6; color: var(--orange); }
.btn-secondary:hover { background: rgba(240,86,22,0.15); color: var(--orange); }

.btn-white { background: white; color: var(--dark); }
.btn-white:hover { background: #f3f4f6; }

.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: #000; }

/* ===================== STATS BAR ===================== */
.stats-bar { padding: 2.5rem 1.5rem; background: #f5f5f5; }

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item { text-align: center; }

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(28,28,28,0.8);
  font-family: 'Sora', sans-serif;
}

.stat-label { font-size: 0.875rem; font-weight: 500; color: var(--gray-500); }

/* ===================== WHY PHOENIX ===================== */
.why-section { background: white; padding: 5rem 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-header p { color: var(--gray-500); font-size: 1.1rem; }

.why-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.why-features { display: flex; flex-direction: column; gap: 2.5rem; }

.why-feature { display: flex; flex-direction: column; gap: 0.75rem; }

.why-num {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-full);
  background: #f3f4f6;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  color: var(--dark);
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}

.why-feature:hover .why-num { background: rgba(240,86,22,0.8); color: white; }

.why-feature h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); max-width: 40ch; }
.why-feature p { color: var(--gray-500); line-height: 1.7; }

.why-img {
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 1;
  width: 100%;
}

.why-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== ABOUT ===================== */
.about-section { background: var(--black); }

.about-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

.about-text { padding: 4rem 1.5rem; }

.about-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.about-underline {
  height: 6px;
  width: 50%;
  background: var(--orange);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.about-text p { color: #d1d5db; line-height: 1.8; margin-bottom: 1rem; }

.about-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.about-img { position: relative; min-height: 400px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== SERVICES ===================== */
.services-section { background: #FFFCF8; padding: 3rem 1rem; }

.services-grid {
  max-width: 900px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1rem;
  padding: 0;
  box-sizing: border-box;
}

/* 2 columns on phones 400px+ */
@media(min-width: 400px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
}

/* 3 columns on tablets */
@media(min-width: 640px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 5 columns on desktop */
@media(min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); }
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: default;
  min-width: 0; /* prevent overflow */
}

.service-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-full);
  background: #fff7ed;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.service-item:hover .service-icon { background: var(--orange-light); }

.service-icon svg { width: 1.1rem; height: 1.1rem; stroke: var(--orange); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.service-item span { font-size: 0.82rem; font-weight: 500; color: var(--gray-600); transition: color 0.3s; line-height: 1.3; word-break: break-word; min-width: 0; }
.service-item:hover span { color: var(--orange); }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: white; padding: 4rem 1.5rem; overflow: hidden; }

.testimonials-track-wrapper { overflow: hidden; margin: 0 -1.5rem; padding: 1rem 1.5rem; }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.testimonial-card {
  background: #fbfbfb;
  border-radius: 24px;
  border: 1px solid #f3f4f6;
  padding: 2rem;
  min-width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: box-shadow 0.3s;
}

.testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }

.testimonial-text { color: var(--gray-500); line-height: 1.7; font-size: 0.95rem; flex: 1; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  background: #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.8rem;
  color: var(--gray-600);
  border: 1px solid #d1d5db;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.875rem; color: var(--dark); }

.carousel-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }

.carousel-btn {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-full);
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  color: var(--gray-600);
  font-size: 1.2rem;
}

.carousel-btn:hover { background: #f3f4f6; color: var(--dark); }

/* ===================== FAQ ===================== */
.faq-section { background: white; padding: 4rem 1.5rem; }

.faq-inner { max-width: 56rem; margin: 0 auto; }

.accordion-item {
  background: rgba(249,250,251,0.5);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Quicksand', sans-serif;
  transition: background 0.2s;
}

.accordion-trigger:hover { background: #f3f4f6; }

.accordion-icon { font-size: 1.25rem; transition: transform 0.3s; flex-shrink: 0; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-content { max-height: 200px; }

.accordion-content p { padding: 0 1.5rem 1.25rem; color: var(--gray-600); line-height: 1.7; }

.faq-cta { text-align: center; margin-top: 4rem; }
.faq-cta h3 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.faq-cta p { color: var(--gray-500); font-size: 1.1rem; margin-bottom: 1.5rem; }

/* ===================== FINAL CTA ===================== */
.final-cta { padding: 4rem 1.5rem; background: white; }

.final-cta-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  height: 500px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.final-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.final-cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: white;
  margin-bottom: 0.75rem;
}

.final-cta-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; font-weight: 300; margin-bottom: 2rem; }

.final-cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===================== CONTACT / CTA SECTION ===================== */
.contact-section { padding: 4rem 1.5rem; background: white; }

.contact-inner { max-width: var(--max-w); margin: 0 auto; }

.contact-card {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  padding: 2rem;
}

.contact-grid { display: grid; gap: 2rem; }

.contact-text h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.contact-text p { color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; font-size: 1.05rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-full);
  background: #fff7ed;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.contact-info-item h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { color: var(--gray-600); font-size: 0.9rem; word-break: break-word; overflow-wrap: break-word; }

.map-frame { width: 100%; height: 400px; border-radius: 1rem; overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: none; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--black); color: white; padding: 5rem 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.1); }

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.footer-top img { height: 48px; width: auto; }

.footer-tagline { color: #9ca3af; font-size: 0.875rem; line-height: 1.7; max-width: 28rem; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h3 { font-weight: 500; color: white; margin-bottom: 1.25rem; font-size: 0.95rem; }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { color: #9ca3af; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }

.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; stroke: #9ca3af; fill: none; stroke-width: 2; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a { color: #9ca3af; font-size: 0.875rem; word-break: break-word; overflow-wrap: break-word; }

.footer-social { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2.5rem; }

.footer-social a svg { width: 1.25rem; height: 1.25rem; stroke: #6b7280; fill: none; stroke-width: 2; transition: stroke 0.2s; }
.footer-social a:hover svg { stroke: white; }

.footer-bottom {
  border-top: 1px solid #111827;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #4b5563;
}

.footer-bottom a:hover { color: #9ca3af; }
.footer-sep { display: none; }

/* ===================== RESPONSIVE ===================== */
@media (min-width: 640px) {
  .hero-btns .btn { width: auto; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .about-text { padding: 4rem 3rem; }
  .contact-card { padding: 2rem 3rem; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-sep { display: block; }
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex !important; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-img { min-height: 600px; }
  .why-grid { flex-direction: row; align-items: center; gap: 6rem; }
  .why-features { width: 40%; }
  .why-img { width: 60%; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-card { min-width: 340px; flex: 0 0 340px; }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}


/* ===== GLOBAL RESPONSIVE FIXES ===== */

/* Navigation */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-cta { display: none !important; } /* Book Now hidden on mobile - it's in the dropdown */
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 1rem 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 999; gap: 1rem; }
  .nav-book-btn { display: none; }
  .hamburger { display: flex !important; }
}

/* Hero section */
@media (max-width: 767px) {
  .hero-content h1 { font-size: 2.2rem !important; }
  .hero-content p { font-size: 0.95rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns a { width: 100%; text-align: center; }
}

/* Section headers */
@media (max-width: 767px) {
  .section-header h2 { font-size: 1.75rem !important; }
}

/* Room cards */
@media (max-width: 639px) {
  .rooms-grid { grid-template-columns: 1fr !important; }
}

/* Event cards */
@media (max-width: 639px) {
  #events-grid { grid-template-columns: 1fr !important; }
}

/* Amenities cards */
@media (max-width: 639px) {
  .why-grid { grid-template-columns: 1fr !important; }
}

/* Gallery */
@media (max-width: 639px) {
  .gal-grid { columns: 1 !important; }
  .gal-filters { gap: 0.4rem; }
  .gal-filter { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
}

/* Footer */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* Room detail page */
@media (max-width: 767px) {
  .rd-content { grid-template-columns: 1fr !important; }
  .rd-gallery { height: 260px !important; grid-template-columns: 1fr !important; }
  .rd-gallery-side { display: none !important; }
  .rd-features-grid { grid-template-columns: repeat(2,1fr) !important; }
  .rd-booking-box { position: static !important; }
}

/* Event detail page */
@media (max-width: 767px) {
  .ed-content { grid-template-columns: 1fr !important; }
  .ed-hero { height: 300px !important; }
  .ed-booking-box { position: static !important; }
}

/* Buttons full-width on mobile */
@media (max-width: 480px) {
  .btn { width: 100%; text-align: center; justify-content: center; }
  .final-cta-btns { flex-direction: column; width: 100%; }
  .final-cta-btns a { width: 100%; text-align: center; }
}
