:root {
  --color-bg: #0c0c0d;
  --color-surface: #17181a;
  --color-surface-soft: #222327;
  --color-text: #f5f5f5;
  --color-muted: #bcbec4;
  --color-accent: #d4161e;
  --color-accent-dark: #9f1017;
  --color-border: #303136;
  --max-width: 1140px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top right, #25262a 0%, var(--color-bg) 42%);
  color: var(--color-text);
  font-family: "Barlow", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  backdrop-filter: blur(10px);
  background: rgba(12, 12, 13, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.brand img {
  height: 46px;
  width: 46px;
}

.brand-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-muted);
  font-weight: 500;
  padding: 0.45rem 0.6rem;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  background: var(--color-accent);
  bottom: -0.15rem;
  content: "";
  height: 2px;
  left: 0.6rem;
  position: absolute;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  width: calc(100% - 1.2rem);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.mobile-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  cursor: pointer;
  display: none;
  font-size: 1.3rem;
  padding: 0.35rem 0.6rem;
}

.hero {
  min-height: calc(100vh - 74px);
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-copy h1 {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-highlight {
  display: inline;
}

.hero-highlight-base {
  background: transparent;
  box-shadow: none;
  color: #3fb6ff;
  text-shadow: 0 6px 18px rgba(63, 182, 255, 0.35);
  padding: 0;
}

.hero-highlight-accent {
  color: #3fb6ff;
  text-shadow: 0 6px 18px rgba(63, 182, 255, 0.35);
}

.hero-copy p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 630px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.78rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: 0 10px 22px rgba(212, 22, 30, 0.35);
  color: #fff;
}

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

.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: #565862;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.hero-visual {
  animation: floatIn 1s ease both;
  background: linear-gradient(150deg, #1f2023 0%, #101113 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 1rem;
}

.hero-visual img {
  border-radius: 14px;
  max-height: 340px;
  object-fit: cover;
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
}

.section {
  padding: 4rem 0;
}

.section-tight-top {
  padding-top: 1.1rem;
}

.section h2,
.section h3,
.page-hero h1 {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.section-intro {
  color: var(--color-muted);
  margin-bottom: 1.8rem;
  max-width: 760px;
}

.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: linear-gradient(160deg, #1d1e22, #131417);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 1.3rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: rgba(212, 22, 30, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.45), 0 0 22px rgba(212, 22, 30, 0.2);
  animation: redBoundaryPulse 1.1s ease-in-out infinite alternate;
  transform: translateY(-6px);
}

.service-card svg {
  fill: none;
  height: 40px;
  margin-bottom: 0.9rem;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  width: 40px;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-item {
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  gap: 0.8rem;
  position: relative;
  padding: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  border-color: rgba(212, 22, 30, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.45), 0 0 22px rgba(212, 22, 30, 0.2);
  animation: redBoundaryPulse 1.1s ease-in-out infinite alternate;
  transform: translateY(-4px);
}

.feature-dot {
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  height: 11px;
  margin-top: 0.5rem;
  width: 11px;
}

.feature-item p {
  color: var(--color-muted);
}

.page-hero {
  padding: 3.2rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0.7rem;
}

.page-hero p {
  color: var(--color-muted);
  max-width: 760px;
}

.page-hero-compact {
  padding: 2.6rem 0 0.9rem;
}

.content-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
}

.info-panel {
  background: linear-gradient(160deg, #1d1e22, #131417);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  position: relative;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-panel:hover {
  border-color: rgba(212, 22, 30, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.45), 0 0 22px rgba(212, 22, 30, 0.2);
  animation: redBoundaryPulse 1.1s ease-in-out infinite alternate;
  transform: translateY(-4px);
}

.info-panel h3 {
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
}

.info-panel p,
.info-panel li {
  color: var(--color-muted);
}

.info-panel ul {
  margin-left: 1rem;
}

.service-detail {
  background: linear-gradient(160deg, #1d1e22, #131417);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 1rem;
  position: relative;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-detail:hover {
  border-color: rgba(212, 22, 30, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.45), 0 0 22px rgba(212, 22, 30, 0.2);
  animation: redBoundaryPulse 1.1s ease-in-out infinite alternate;
  transform: translateY(-4px);
}

.service-detail h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.service-detail p {
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.service-detail ul {
  margin-left: 1.1rem;
}

.service-detail li {
  color: #d7d9dd;
  margin-bottom: 0.35rem;
}

.booking-layout {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 0.8fr 1.2fr;
}

.form-card,
.contact-card,
.map-card {
  background: linear-gradient(160deg, #1d1e22, #131417);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  color: #dddfe5;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #131417;
  border: 1px solid #2e3037;
  border-radius: 10px;
  color: #fff;
  font: inherit;
  padding: 0.72rem 0.8rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(212, 22, 30, 0.75);
  outline: none;
}

.form-field.full {
  grid-column: 1 / -1;
}

textarea {
  min-height: 125px;
  resize: vertical;
}

.message-box {
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
}

.message-box.success {
  background: rgba(16, 138, 61, 0.14);
  border: 1px solid rgba(16, 138, 61, 0.6);
  color: #97f0bc;
}

.message-box.error {
  background: rgba(212, 22, 30, 0.14);
  border: 1px solid rgba(212, 22, 30, 0.6);
  color: #ffb0b4;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.contact-hero-img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  height: 280px;
  object-fit: cover;
  width: 100%;
}

.branch-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.branch-card {
  background: linear-gradient(160deg, #1d1e22, #131417);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  position: relative;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.branch-card:hover {
  border-color: rgba(212, 22, 30, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.45), 0 0 22px rgba(212, 22, 30, 0.2);
  animation: redBoundaryPulse 1.1s ease-in-out infinite alternate;
  transform: translateY(-5px);
}

.branch-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.branch-card p {
  color: var(--color-muted);
  margin-bottom: 0.7rem;
}

.branch-photo {
  border-radius: 12px;
  height: 210px;
  margin-bottom: 0.9rem;
  object-fit: cover;
  width: 100%;
}

.branch-contact-list {
  list-style: none;
}

.branch-contact-list li {
  color: #d7d9dd;
  margin-bottom: 0.45rem;
}

.map-card iframe {
  border: 0;
  border-radius: 12px;
  min-height: 290px;
  width: 100%;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 2.1rem 0 1.2rem;
}

.footer-grid {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.footer-grid p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-main {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.footer-brand p {
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  color: var(--color-muted);
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-muted);
  display: flex;
  font-size: 0.88rem;
  justify-content: center;
  margin-top: 1.4rem;
  padding-top: 1rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  background: linear-gradient(160deg, #1d1e22, #131417);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.photo-card:hover {
  border-color: rgba(212, 22, 30, 0.6);
  box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.45), 0 0 22px rgba(212, 22, 30, 0.2);
  animation: redBoundaryPulse 1.1s ease-in-out infinite alternate;
  transform: translateY(-5px);
}

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

.photo-card p {
  color: #d7d9dd;
  font-size: 0.92rem;
  padding: 0.85rem 0.95rem 1rem;
}

.load-up {
  animation: slideUp 0.9s ease both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes redBoundaryPulse {
  from {
    border-color: rgba(212, 22, 30, 0.45);
    box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.35), 0 0 14px rgba(212, 22, 30, 0.14);
  }
  to {
    border-color: rgba(212, 22, 30, 0.9);
    box-shadow: 0 0 0 1px rgba(212, 22, 30, 0.65), 0 0 28px rgba(212, 22, 30, 0.28);
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .booking-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    background: #121316;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    display: none;
    flex-direction: column;
    left: 1.2rem;
    padding: 0.8rem;
    position: absolute;
    right: 1.2rem;
    top: 72px;
  }

  .nav-links.open {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.45rem;
  }
}

/* Admin dashboard */
.admin-body {
  background: linear-gradient(160deg, #f4f7fa 0%, #eef1f6 50%, #fdfefe 100%);
}

.admin-main .section {
  padding-top: 2.5rem;
}

.admin-hero {
  background: radial-gradient(circle at top left, rgba(255, 195, 0, 0.22), transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(0, 35, 102, 0.2), transparent 70%);
}

.admin-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1536;
}

.admin-layout {
  display: grid;
  gap: 2rem;
}

.admin-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 2rem;
}

.admin-auth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-auth-actions input {
  min-width: 240px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  font-family: "Barlow", sans-serif;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: linear-gradient(130deg, #fff3d6, #fef6e8);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(255, 193, 7, 0.15);
}

.stat-card strong {
  font-size: 1.6rem;
  color: #0b1536;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-group.grow {
  grid-column: span 2;
}

.filter-group input,
.filter-group select {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-family: "Barlow", sans-serif;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  grid-column: 1 / -1;
}

.admin-table-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-table-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.7);
}

.admin-user strong {
  color: #0b1536;
}

.admin-user-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-meta {
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.95rem;
}

.admin-table {
  display: grid;
  gap: 1.2rem;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.booking-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.75);
}

.booking-message {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.7);
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.status {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status.new {
  background: rgba(255, 193, 7, 0.15);
  color: #7a4d00;
}

.status.reached {
  background: rgba(16, 185, 129, 0.18);
  color: #0f5132;
}

.admin-empty {
  text-align: center;
  padding: 2rem;
  color: rgba(15, 23, 42, 0.6);
}

.login-wrapper {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
}

.login-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.login-card h1 {
  margin-bottom: 0.6rem;
}

.login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.login-form input {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  font-family: "Barlow", sans-serif;
}

.login-meta {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.65);
}

@media (max-width: 900px) {
  .booking-row {
    grid-template-columns: 1fr;
  }

  .booking-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-group.grow {
    grid-column: 1 / -1;
  }
}
