:root {
  --plum: #231730;
  --coral: #ff7a74;
  --white: #ffffff;
  --ink: #1b1324;
}
/* Base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--plum);
  color: var(--white);
  line-height: 1.6;
}
a {
  color: inherit;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}
header .left {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
}
header nav a {
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

/* Hero with video */
/* Hide the SMS button on desktop by default */
.btn.text-only {
  display: none !important;
}

/* Show it on phones/tablets */
@media (max-width: 768px) {
  .btn.text-only {
    display: inline-block !important;
  }
}

.hero {
  position: relative;
  text-align: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.6)
  );
}
.hero-content {
  position: relative;
  z-index: 1;
}

/* Floating/glass logo card */
.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(35, 23, 48, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 122, 116, 0.25), 0 0 24px rgba(255, 122, 116, 0.18);
  transform: translateZ(0);
}
.hero-logo img {
  max-width: 360px;
  width: 70vw;
  height: auto;
  display: block;
}

.hero p {
  margin: 0.75rem 0 0.5rem;
  opacity: 0.95;
}
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin: 0.4rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  background: var(--coral);
  color: #000;
}
.btn-secondary {
  background: var(--white);
  color: #000;
}

.hero-logo:hover {
  transform: translateY(-2px) scale(1.01);
  transition: transform 0.2s ease;
}

section {
  padding: 2rem;
}
h2 {
  margin-top: 0;
}

/* Services */
.services {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
}

/* Puzzle / Flex “Recent Work” */
#portfolio {
  max-width: 1100px;
  margin: auto;
}
.work-wrap {
  display: grid;
  gap: 1rem;
}
.work-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.work-img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 2px solid var(--coral);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}
@media (min-width: 1000px) {
  .work-wrap {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
  }
  .work-col.stack img {
    height: calc(50% - 0.5rem);
  }
  .work-col.center img {
    height: 100%;
  }
}

/* Reviews */
.reviews {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}
blockquote {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 10px;
  font-style: italic;
}
/* REVIEWS CAROUSEL */
/* REVIEWS CAROUSEL */
.reviews-carousel {
  position: relative;
  /* side gutters so arrows don't overlap cards */
  padding: 0 56px;
}

/* scrollable row */
.reviews-track {
  display: flex;
  gap: 0.5rem; /* smaller gap between cards */
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;

  /* hide scrollbar across browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.reviews-track::-webkit-scrollbar {
  display: none;
} /* Chrome/Safari */

/* review cards */
.review-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 122, 116, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font-style: italic;

  min-width: 80%;
  max-width: 640px;
  flex: 0 0 80%;
  scroll-snap-align: start;
}
.review-card footer {
  font-style: normal;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* wider screens show a bit more card */
@media (min-width: 768px) {
  .review-card {
    min-width: 50%;
    flex-basis: 50%;
  }
}

/* arrows live in the side gutters */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--coral);
  color: #000;
  font-weight: 800;
  font-size: 22px;
  line-height: 44px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  z-index: 2; /* above everything */
}
.reviews-arrow.left {
  left: 8px;
}
.reviews-arrow.right {
  right: 8px;
}
.reviews-arrow:focus {
  outline: 2px solid #fff3;
}
/* === Reviews size tweaks === */
.reviews-carousel {
  padding: 0 48px;
} /* a touch tighter gutters */
.reviews-track {
  gap: 0.5rem;
} /* keep small gap */

/* Make each card narrower and a bit lighter */
.review-card {
  min-width: 72%;
  flex-basis: 72%;
  max-width: 520px; /* cap width so it never gets too wide */
  padding: 0.9rem; /* slightly less padding */
  font-size: 0.95rem; /* shrink text a hair */
}

/* On tablets/desktop, show smaller cards so both fit comfortably */
@media (min-width: 768px) {
  .review-card {
    min-width: 42%;
    flex-basis: 42%;
    max-width: 520px;
  }
}

/* If any footer bar inside looked cramped, give it breathing room */
.review-card footer {
  margin-top: 0.6rem;
}

/* CONTACT FORM */
.contact-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.contact-intro {
  opacity: 0.95;
  margin-bottom: 1rem;
}

.form-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 122, 116, 0.25);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .full {
    grid-column: 1 / -1;
  }
}

label {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #ffffff22;
  background: #170f22;
  color: var(--white);
}
input::placeholder,
textarea::placeholder {
  color: #ffffff88;
}

.radio-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.radio-row label {
  font-weight: 600;
  margin: 0;
}
.radio-row input {
  width: auto;
}

.form-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
small.muted {
  opacity: 0.75;
}

.alert {
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  display: none;
}
.alert.ok {
  background: #16361d;
  border: 1px solid #2ec27e55;
  color: #c7ffd8;
}
.alert.error {
  background: #3a1717;
  border: 1px solid #ff7a7455;
  color: #ffd6d4;
}

/* hide honeypot field */
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
}
