:root {
  --bg: #121212;
  --bg-alt: #1a1a1a;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border: #333;
  --text: #ffffff;
  --text-muted: #cccccc;
  --teal: #03dac5;
  --teal-hover: #00bfa5;
  --purple: #6200ea;
  --purple-hover: #4b00c2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

/* --- Navigation --- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* --- Header / Hero --- */

.logo {
  width: 130px;
  height: auto;
  margin-bottom: 0;
  border-radius: 12px;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  text-align: center;
}

.highlight {
  color: var(--teal);
}

p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-subtitle {
  text-align: center;
  max-width: 560px;
  margin: 0.25rem auto 2rem auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

button {
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta {
  background-color: var(--teal);
  color: #000;
}

.cta:hover {
  background-color: var(--teal-hover);
}

.secondary-btn {
  background-color: var(--purple);
  color: #fff;
}

.secondary-btn:hover {
  background-color: var(--purple-hover);
}

section {
  margin-bottom: 4rem;
  scroll-margin-top: 90px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

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

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

.service-grid h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  margin-top: 0;
}

input, textarea, select {
  width: 100%;
  padding: 1rem;
  margin-top: 0.7rem;
  background-color: #1f1f1f;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23cccccc'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.148l3.71-3.918a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
}

select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.datetime-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.datetime-row .field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.datetime-row input, .datetime-row select {
  margin-top: 0.4rem;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--teal);
  margin: 0.5rem 0 0 0;
  min-height: 1.2em;
}

.availability {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

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

/* --- Pricing --- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 8px 28px rgba(3, 218, 197, 0.15);
  transform: scale(1.03);
}

.price-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.price-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.price span {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
}

.price-tagline {
  font-size: 0.95rem;
  min-height: 2.6em;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem 0;
  text-align: left;
  flex-grow: 1;
}

.price-card ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-card ul li:first-child {
  color: var(--text);
  font-weight: 600;
}

.price-card button {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--teal);
}

/* --- Portfolio --- */

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

.portfolio-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.business-card-img {
  display: block;
  margin: 2rem auto 0 auto;
  max-width: 100%;
  width: 760px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.reviews-heading {
  margin-top: 0;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.review-box {
  text-align: center;
}

.review-text {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #e0e0e0;
}

.review-author {
  font-weight: bold;
  color: #9e9e9e;
}

/* --- Contact --- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

.contact-info p {
  margin: 0.4rem 0;
}

.contact-info a {
  color: var(--teal);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* --- Footer --- */

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #aaaaaa;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  background-color: var(--bg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    max-height: 280px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  h1 {
    font-size: 2rem;
  }
}

/* --- Cal.com booking embed --- */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-strip p {
  margin: 0;
  font-size: 0.98rem;
}

.contact-strip a {
  color: var(--teal);
  text-decoration: none;
}

.contact-strip a:hover {
  text-decoration: underline;
}

.cal-embed {
  width: 100%;
  min-height: 560px;
  border-radius: 12px;
  overflow: hidden;
}

.cal-fallback {
  text-align: center;
}

.cal-fallback a {
  color: var(--teal);
}


/* --- Scroll reveal (only when JS is running; content stays visible otherwise) --- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}


/* --- Business card flip --- */
.flip-card {
  display: block;
  width: min(520px, 100%);
  aspect-ratio: 1050 / 600;
  margin: 2rem auto 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1400px;
  border-radius: 10px;
}

.flip-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
}

.flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.flip-back {
  transform: rotateY(180deg);
}

.flip-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
}
