/* Café Nebula — cosmic theme (standalone, not index.html) */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #fff;
  background: #0a0f1a;
  line-height: 1.6;
  min-height: 100vh;
}

/* Cosmic background (starry) */
.cosmic-bg {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #1a1f3a 0%, #0d1320 40%, #060a12 100%);
  position: relative;
  overflow-x: hidden;
}
.cosmic-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.4), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,.3), transparent),
    radial-gradient(2px 2px at 50px 160px, rgba(255,255,255,.35), transparent),
    radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,.25), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,.3), transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,.2), transparent);
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}

/* Header — fixed height; logo can extend below for larger size */
.nebula-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 5%;
  box-sizing: border-box;
  overflow: visible;
  background: rgba(10, 15, 30, .75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nebula-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  height: 80px;
  position: relative;
  padding-left: 0;
}
.nebula-logo-img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 200px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nebula-logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 110px;
}
.nebula-logo-text span {
  font-size: .9em;
  font-weight: 400;
  opacity: .95;
}
.nebula-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nebula-nav a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nebula-nav a:hover {
  color: #fff;
}
.nebula-btn-nav {
  padding: .5rem 1.25rem;
  border-radius: 8px;
  background: #1e3a5f;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.nebula-btn-nav:hover {
  background: #2a4a75;
  border-color: rgba(255,255,255,.4);
}

/* Hero */
.nebula-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.nebula-hero-bg {
  position: absolute;
  inset: 0;
}
.nebula-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nebula-hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,26,.5) 0%, rgba(10,15,26,.75) 50%, rgba(10,15,26,.9) 100%);
}
.nebula-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}
.nebula-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5rem;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nebula-hero .tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,.9);
  margin: 0 0 2rem;
  font-style: italic;
  letter-spacing: 0.02em;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.nebula-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.nebula-btn {
  display: inline-block;
  padding: .85rem 1.75rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #2a4a72 0%, #1e3a5f 100%);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: filter .2s, border-color .2s;
}
.nebula-btn:hover {
  filter: brightness(1.1);
  border-color: rgba(255,255,255,.35);
}

/* Section common */
.nebula-section {
  position: relative;
  z-index: 1;
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Our Specialties */
.specialties-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
.specialties-dots {
  font-size: .5rem;
  letter-spacing: .25em;
  color: rgba(255,255,255,.85);
  margin: 0 .35em;
  vertical-align: middle;
}
.specialties-star {
  display: block;
  font-size: .85rem;
  margin-bottom: .4rem;
  color: rgba(255,255,255,.9);
}
.nebula-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: inline-block;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.specialty-card {
  background: rgba(20, 30, 50, .6);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: border-color .2s, transform .2s;
}
.specialty-card:hover {
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.specialty-card-img {
  aspect-ratio: 1;
  background: #1a2540;
  overflow: hidden;
}
.specialty-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.specialty-card-body {
  padding: 1.25rem;
  text-align: center;
}
.specialty-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .4rem;
}
.specialty-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.45;
}

/* About Café Nebula */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
}
.about-text h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}
.about-text p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.about-text .nebula-btn {
  margin-top: .5rem;
}
.about-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a2540 0%, #2a3550 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-text { order: 1; }
  .about-img { order: 0; }
}
@media (max-width: 700px) {
  .nebula-nav {
    gap: 1.25rem;
  }
  .nebula-nav a {
    font-size: .85rem;
  }
  .nebula-hero-btns {
    flex-direction: column;
  }
  .nebula-btn {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 550px) {
  .nebula-header {
    flex-wrap: wrap;
    gap: .75rem;
  }
  .nebula-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
