/* Nirvana Capital Ltd - Landing Page Styles */
:root {
  --gold: #c9a227;
  --gold-light: #e5c76b;
  --black: #1a1a1a;
  --dark: #2d2d2d;
  --cream: #faf8f5;
  --text: #333;
  --text-muted: #666;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Nav */
header {
  background: var(--black);
  color: #fff;
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* Main content */
main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

h1 {
  color: var(--black);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

h2 {
  color: var(--dark);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

ul {
  margin: 0 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

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

a:hover {
  text-decoration: underline;
}

/* Home page hero */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08) 0%, transparent 100%);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero.hero-cover {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  min-height: 320px;
  padding: 4rem 1rem;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  position: relative;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.hero-cover .hero-overlay {
  padding: 1rem;
}

.hero-cover .hero-overlay .logo-img {
  filter: brightness(1.1);
}

.hero-cover .hero-overlay h1,
.hero-cover .hero-overlay p {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-cover .hero-overlay p {
  color: rgba(255,255,255,0.95);
}

.hero-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  border-radius: 0;
  z-index: 0;
}

.hero .logo-img {
  height: 80px;
  margin: 0 auto 1rem;
}

.hero h1 {
  border: none;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* Services page */
.services-banner {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.services-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
}

/* Sections */
.section {
  margin-bottom: 2.5rem;
}

.section h2 {
  margin-top: 0;
}

/* Firestreet Restaurant card */
.firestreet-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.firestreet-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.firestreet-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 420px;
  text-align: center;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.firestreet-img {
  width: 100%;
  height: auto;
  max-height: 160px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.firestreet-text {
  padding: 0.6rem 1.25rem 0.35rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.firestreet-link {
  display: inline-block;
  margin: 0 1.25rem 1rem;
  padding: 0.5rem 1.1rem;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.firestreet-link:hover {
  background: var(--gold-light);
  color: var(--dark);
}

/* Contact page layout */
.contact-intro {
  margin-bottom: 1.5rem;
}

.contact-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-form-section {
  flex: 1;
  min-width: 280px;
}

.contact-details-section {
  flex: 1;
  min-width: 280px;
}

/* Contact form */
.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

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

.contact-form-actions {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-form-actions .btn {
  margin: 0;
}

.contact-details {
  margin-top: 0;
  padding: 1rem 0;
}

.contact-details p {
  margin-bottom: 0.75rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--gold-light);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

/* Policy pages */
.policy-content h2 {
  margin-top: 1.5rem;
}

.policy-content ul {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--black);
  color: #ccc;
  padding: 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

footer p:last-child {
  margin-bottom: 0;
  color: #999;
  font-size: 0.85rem;
}

/* ========== Responsive styles ========== */

/* Tablet and below */
@media (max-width: 768px) {
  header {
    padding: 0.6rem 1rem;
  }

  nav {
    gap: 0.75rem;
  }

  main {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  h2 {
    font-size: 1.15rem;
    margin: 1.25rem 0 0.5rem;
  }

  .hero.hero-cover {
    min-height: 280px;
    padding: 3rem 1rem;
  }

  .hero .logo-img {
    height: 64px;
  }

  .contact-layout {
    gap: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    max-width: 100%;
  }

  .footer-inner {
    padding: 0 0.5rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  header {
    padding: 0.5rem 1rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .logo-img {
    height: 40px;
  }

  .nav-links {
    gap: 0.75rem;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  main {
    padding: 1.25rem 1rem;
  }

  h1 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    word-break: break-word;
  }

  h2 {
    font-size: 1.1rem;
    margin: 1rem 0 0.4rem;
  }

  p {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  ul {
    margin-left: 1.25rem;
    padding-left: 0.25rem;
  }

  .hero {
    padding: 2rem 0.75rem;
  }

  .hero.hero-cover {
    min-height: 240px;
    padding: 2.5rem 0.75rem;
  }

  .hero.hero-cover .hero-overlay {
    padding: 0.5rem;
  }

  .hero .logo-img {
    height: 56px;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    margin-bottom: 1.75rem;
  }

  .contact-intro {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
  }

  .contact-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-form-section,
  .contact-details-section {
    min-width: 100%;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    max-width: 100%;
    padding: 0.55rem 0.65rem;
    font-size: 16px; /* prevents zoom on focus in iOS */
  }

  .contact-form-actions {
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-details {
    padding: 0.5rem 0;
  }

  .contact-details p {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }

  .services-banner {
    margin-bottom: 1.5rem;
    border-radius: 6px;
  }

  .services-img {
    max-height: 220px;
  }

  .policy-content h2 {
    margin-top: 1.25rem;
    font-size: 1.1rem;
  }

  footer {
    padding: 1.25rem 1rem;
    font-size: 0.85rem;
  }

  .footer-links {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  footer p:last-child {
    font-size: 0.8rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  main {
    padding: 1rem 0.75rem;
  }

  h1 {
    font-size: 1.2rem;
  }

  .hero.hero-cover {
    min-height: 200px;
    padding: 2rem 0.5rem;
  }

  .hero .logo-img {
    height: 48px;
  }

  .nav-links {
    gap: 0.5rem;
  }
}

/* Prevent horizontal overflow on all viewports */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

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