:root {
  --deep-chocolate: #1f1414;
  --velvet-red: #d72f26;
  --warm-gold: #ffb16d;
  --soft-cream: #fdf6ed;
  --text-primary: #fefefe;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --accent: #ff6740;

  --max-content-width: 1200px;
}

/* ---------- FONT: Comfortaa ---------- */
body, button, input, textarea, select, text {
  font-family: "Comfortaa", sans-serif;
}

/* Optional: give headings a little extra weight to stand out */
h1, h2, h3, h4, h5, h6 {
  font-family: "Comfortaa", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}


/* ---------- RESET & GLOBAL ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /*font-family: "Raleway", sans-serif;*/
  background-color: var(--deep-chocolate);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ---------- HEADER ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
  background: rgba(15, 10, 10, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 80px;
  height: auto;
}

.brand-text h1 {
  /* font-family: "Playfair Display", serif; */
  margin: 0;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  font-size: 1.3rem;
}

.brand-text p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ---------- NAV ---------- */
.main-nav {
  display: flex;
  gap: 2rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--velvet-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

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

/* ---------- HERO ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  min-height: 80vh;
}

.hero-content {
  max-width: 700px;
}

.hero h2 {
  /* font-family: "Playfair Display", serif; */
  font-size: clamp(2rem, 4vw + 1rem, 3.6rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--velvet-red), var(--accent));
  color: var(--text-primary);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(215, 47, 38, 0.35);
}

/* ---------- SECTIONS ---------- */
main {
  padding: 0 6vw 5rem;
  margin: 0 auto;
  max-width: var(--max-content-width);
}

section {
  margin-bottom: 5rem;
}

section h2 {
  /* font-family: "Playfair Display", serif; */
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  margin-bottom: 2rem;
  text-align: center;
}

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

.service-card,
.testimonials figure {
  background: rgba(32, 22, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.service-card:focus-within,
.testimonials figure:hover,
.testimonials figure:focus-within {
  transform: translateY(-6px);
  border-color: var(--velvet-red);
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-secondary);
}

/* ---------- MENUS ---------- */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.menu-tabs button {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(35, 25, 25, 0.9);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.menu-tabs button[aria-selected="true"] {
  background: var(--velvet-red);
  color: var(--text-primary);
  border-color: transparent;
}

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

.menu-item {
  background: rgba(32, 22, 22, 0.85);
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-item h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--warm-gold);
}

.menu-item p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.menu-item span {
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text-secondary);
}

.testimonials figcaption {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--warm-gold);
}

/* ---------- CONTACT ---------- */
.contact {
  background: radial-gradient(circle at top, rgba(215, 47, 38, 0.15), transparent 60%);
  padding: 3rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 14, 14, 0.9);
  color: var(--text-primary);
  /* font-family: inherit; */
  font-size: 1rem;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
}

.contact-form button {
  justify-self: start;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--velvet-red));
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 103, 64, 0.25);
}

.form-feedback {
  min-height: 1.2rem;
  font-size: 0.95rem;
  color: var(--warm-gold);
}

.form-feedback.success {
  color: #8fe3a4;
}

.form-feedback.error {
  color: #ff8f82;
}

.form-feedback.pending {
  color: var(--text-secondary);
}

/* ---------- FOOTER ---------- */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* tablets */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 6vw;
    background: rgba(17, 11, 11, 0.95);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    animation: slideIn 0.3s ease forwards;
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero {
    padding: 5rem 2rem 3rem;
  }

  .hero h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
  }

  .cta-button {
    padding: 0.8rem 1.6rem;
  }
}

/* phones */
@media (max-width: 600px) {
  .brand-text h1 {
    font-size: 1rem;
  }

  .logo {
    width: 65px;
  }

  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 2rem 1rem;
    border-radius: 16px;
  }

  .hero {
    min-height: 70vh;
    padding: 4rem 1rem 3rem;
  }

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

  .site-header {
    padding: 1rem 4vw;
  }

  .cta-button {
    margin-top: 1.2rem;
    font-size: 0.95rem;
  }
}

/* ---------- ABOUT ME SECTION ---------- */
.about {
  text-align: center;
  margin-bottom: 5rem;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.about-photo img {
  width: 340px;
  height: auto;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* ✨ subtle glowing hover effect */
.about-photo img:hover {
  transform: scale(1.05);
  border-color: var(--velvet-red);
  box-shadow:
    0 0 20px rgba(215, 47, 38, 0.5),   /* soft outer red glow */
    0 8px 25px rgba(215, 47, 38, 0.25), /* inner shadow lift */
    0 12px 30px rgba(0, 0, 0, 0.4);     /* keeps depth */
}

.about-text {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}

.about-text strong {
  color: var(--warm-gold);
}

/* 🖥️ Larger screens: image left, text right */
@media (min-width: 900px) {
  .about-content {
    flex-wrap: nowrap;
    flex-direction: row;
    text-align: left;
  }

  .about-photo {
    flex: 0 0 auto;
  }

  .about-text {
    flex: 1;
  }
}

/* 📱 Smaller screens: stack vertically */
@media (max-width: 899px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-photo img {
    width: 260px;
  }
}


/* ---------- SERVICE CHECKER (No-API) ---------- */
.service-check {
  margin: 4rem auto 5rem;
  max-width: 900px;
  text-align: center;
}

.service-note {
  color: var(--warm-gold);
  margin-top: -0.5rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.checker {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  margin-top: 1rem;
}

.check-result {
  min-height: 1.25rem;
  font-size: 1rem;
  margin-top: 0.4rem;
}

.check-result.ok {
  color: #8fe3a4;
  font-weight: 600;
}

.check-result.nope {
  color: #ff8f82;
  font-weight: 600;
}


/* ---------- FADE-IN / OUT for service check result ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-5px); }
}

.check-result {
  opacity: 0;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.check-result.fading-out {
  animation: fadeOut 0.3s ease forwards;
}

.check-result.show {
  animation: fadeIn 0.5s ease forwards;
}

/* ---------- GALLERY SECTIONS ---------- */
.gallery {
  margin-bottom: 5rem;
}

/* --- OPTION 2: Scrolling Carousel --- */
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 650px; 
  margin: 0 auto;
  border-radius: 12px; /* Rounded corners for the entire container */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: var(--deep-chocolate);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 650px; 
  
  object-fit: contain; 
  object-position: center; 
  
  display: block;
  background: var(--deep-chocolate); 
  border-radius: 8px; /* Added rounded corners to the image itself */
}

/* Navigation Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.3s ease;
}

.carousel-button:hover {
  background: var(--velvet-red);
}

.carousel-button.prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.carousel-button.next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

/* Navigation Dots */
.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  aspect-ratio: 1 / 1; /* Guarantees a perfect circle (width equals height) */
  border-radius: 50%; /* Makes it perfectly round */
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: var(--warm-gold);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .carousel-slide {
    height: 550px; 
  }
  
  .carousel-button {
    padding: 8px 12px;
    font-size: 1.2rem;
  }
}