/* ================================================
   MONSOON – LUXURY ASIAN RESTAURANT, BAHRAIN
   STYLE.CSS – Navy & Ocean Blue Palette, Mobile‑first
   ================================================ */

/* Google Fonts: Playfair Display + Inter */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --bg-primary: #0a1f33;      /* deep navy */
  --bg-secondary: #0d2a43;    /* rich ocean depth */
  --bg-card: #103253;         /* card surface */
  --text-primary: #f0f4fc;    /* soft white */
  --text-secondary: #b8cfeb;  /* lighter blue */
  --accent: #5ad0d0;          /* vibrant teal/aqua */
  --accent-hover: #3db8b8;
  --border: #1e3a5a;
  --overlay: rgba(10, 31, 51, 0.75);

  --max-width: 1280px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --transition: 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* Loader (only on index) */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px; height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: inline-block;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
  background: transparent;
  backdrop-filter: blur(5px);
}

.navbar.scrolled {
  background: rgba(10, 31, 51, 0.95);
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: var(--bg-primary) !important;
  padding: 0.7rem 1.8rem !important;
  border-radius: 4px;
  font-weight: 600;
  transition: background var(--transition);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 28px; height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero with particles */
.hero {
  height: 100vh;
  min-height: 650px;
  background: linear-gradient(var(--overlay), var(--overlay)),
              url('https://images.unsplash.com/photo-1551218808-94e220e084d2?w=1600&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Floating particles */
.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 12s infinite ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.particle:nth-child(1)  { width: 6px; height: 6px; left: 10%; animation-delay: 0s; }
.particle:nth-child(2)  { width: 4px; height: 4px; left: 25%; animation-delay: 1.5s; }
.particle:nth-child(3)  { width: 8px; height: 8px; left: 40%; animation-delay: 0.5s; }
.particle:nth-child(4)  { width: 5px; height: 5px; left: 55%; animation-delay: 2s; }
.particle:nth-child(5)  { width: 7px; height: 7px; left: 70%; animation-delay: 1s; }
.particle:nth-child(6)  { width: 3px; height: 3px; left: 80%; animation-delay: 3s; }
.particle:nth-child(7)  { width: 6px; height: 6px; left: 15%; animation-delay: 2.5s; }
.particle:nth-child(8)  { width: 5px; height: 5px; left: 45%; animation-delay: 0.8s; }
.particle:nth-child(9)  { width: 4px; height: 4px; left: 65%; animation-delay: 1.2s; }
.particle:nth-child(10) { width: 7px; height: 7px; left: 85%; animation-delay: 2.2s; }
.particle:nth-child(11) { width: 5px; height: 5px; left: 32%; animation-delay: 0.3s; }
.particle:nth-child(12) { width: 6px; height: 6px; left: 52%; animation-delay: 1.8s; }
.particle:nth-child(13) { width: 3px; height: 3px; left: 75%; animation-delay: 2.8s; }
.particle:nth-child(14) { width: 8px; height: 8px; left: 90%; animation-delay: 0.7s; }
.particle:nth-child(15) { width: 4px; height: 4px; left: 20%; animation-delay: 1.4s; }

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translateY(-100px) scale(1.2); opacity: 0.8; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-200px) scale(0.8); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--accent);
}

.hero-title {
  color: #fff;
  margin: 1rem 0 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

/* About teaser grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

/* Menu cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.menu-card:hover {
  transform: translateY(-8px);
}

.menu-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.menu-card-content {
  padding: 1.5rem;
}

.menu-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.menu-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.price {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.2rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Testimonials */
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--accent);
  font-style: normal;
}

/* Reservation CTA */
.reservation-cta {
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reservation-cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #061624;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  text-align: left;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.social-links a {
  display: inline-block;
  margin: 0 0.6rem;
  font-size: 1.2rem;
}

.footer-bottom {
  color: var(--text-secondary);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.footer-bottom .accent {
  color: var(--accent);
}

/* Inner pages */
.page-hero {
  height: 50vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 31, 51, 0.75);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content h1 {
  color: #fff;
}

.breadcrumb {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-secondary); }

/* Menu categories */
.menu-category {
  margin-top: 3rem;
}

.menu-category-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  display: inline-block;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent);
}

.team-card h4 { margin-bottom: 0.3rem; }
.team-card .role {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Reservation form */
.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.reservation-form input,
.reservation-form textarea,
.reservation-form select {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color var(--transition);
}

.reservation-form input:focus,
.reservation-form textarea:focus,
.reservation-form select:focus {
  border-color: var(--accent);
  outline: none;
}

.reservation-form textarea {
  min-height: 120px;
  resize: vertical;
}

.reservation-form button {
  width: 100%;
  margin-top: 0.5rem;
}

.reservation-info {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  height: fit-content;
}

.reservation-info h3 {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.reservation-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

/* Confirmation */
.confirmation-msg {
  display: none;
  background: var(--bg-card);
  padding: 3rem;
  text-align: center;
  border-radius: 8px;
  border: 2px solid var(--accent);
}

.confirmation-msg .check-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
  color: var(--accent);
}

.contact-info p {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.map-embed {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 350px;
}

.map-embed iframe {
  width: 100%; height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; z-index: 1001; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
  }
  .nav-links.active { right: 0; }

  .about-grid,
  .reservation-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
  }
  .section { padding: 4rem 1.5rem; }
  .particle { display: none; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .footer-grid { flex-direction: column; text-align: center; }
  }
