/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #fefefe;
  color: #333;
}

/* ===== Header (mobile-first, single source of truth) ===== */
header {
  display: flex;
  flex-direction: column;              /* stack logo over title on mobile */
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(90deg, #ff7300, #ff9b00);
}

header .logo {
  width: 100px;                        /* tidy on small screens */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  display: block;
}

header h1 {
  margin: 0 .5rem;
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
  font-size: 1.6rem;                   /* readable on phones */
  text-shadow: 1px 1px 4px rgba(0,0,0,.3);
  max-width: 22ch;                     /* prevents super-long lines */
}

/* Tablet */
@media (min-width: 600px) {
  header .logo { width: 120px; }
  header h1 { font-size: 2.2rem; max-width: 28ch; }
}

/* Desktop */
@media (min-width: 992px) {
  header {
    flex-direction: row;               /* logo left, title right */
    gap: 1rem;
  }
  header .logo { width: 140px; }
  header h1 {
    font-size: 3rem;
    max-width: none;                   /* let it breathe on wide screens */
    margin: 0;
  }
}
/* --- Navigation --- */
nav {
  background-color: #ff6f00;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 999;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  font-size: 1rem;
}
nav a:hover {
  text-decoration: underline;
}

/* --- Hero Section --- */
.hero .cta-button {
  background-color: #007c91;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.hero .cta-button:hover {
  background-color: #005f6b;
  transform: scale(1.05);
}

/* --- Section Title --- */
.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: 0.5em;
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 3rem 2rem;
}
.gallery-item {
  text-align: center;
}
.gallery-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.03);
}
.order-button {
  margin-top: 12px;
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6f00;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.order-button:hover {
  background-color: #e65c00;
}

/* --- Video Section --- */
.video-section {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #fffaf0;
}
.video-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}
.video-section p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
}
.video-wrapper {
  max-width: 720px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  background-color: #000;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}
.style-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}
.style-card:hover {
  transform: scale(1.02);
}
.style-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}
.before-after {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.before-after img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- Buttons --- */
.btn, .cta-button {
  background-color: #007c91;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}
.btn:hover, .cta-button:hover {
  background-color: #005f6b;
  transform: scale(1.05);
}

/* --- Sticky Order Button on Mobile --- */
.mobile-order-button {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff6f00;
  color: #fff;
  padding: 14px 28px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 9999;
  transition: background-color 0.3s ease;
}
.mobile-order-button:hover {
  background-color: #e65c00;
}
@media (max-width: 768px) {
  .mobile-order-button {
    display: block;
  }
}
/* ===== MOBILE HEADER FIX (place at very end of styles.css) ===== */
@media (max-width: 767px) {
  /* Center any header variant you might have */
  header, .site-header, .hero-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .5rem !important;
    text-align: center !important;
    padding: 1rem !important;
  }

  /* Force the logo above the text and keep it small */
  header .logo, .site-header .logo, .hero-header .logo, header img.logo {
    max-width: 120px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto 8px !important;
    float: none !important;
    display: block !important;
  }

  /* Tight, readable headline */
  header h1, .site-header h1, .hero-header h1 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin: 0 .5rem !important;
    max-width: 22ch !important; /* prevent super-long lines */
  }

  /* If you have a header "inner"/"brand" wrapper, force it to stack */
  header .brand, .site-header .brand, header .inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  /* Keep content from sitting under the sticky CTA */
  body { padding-bottom: 96px !important; }
  .mobile-order-button { bottom: max(16px, env(safe-area-inset-bottom)) !important; }
}
/* --- Responsive Tweaks --- */
@media (max-width: 600px) {
  header, nav, .hero, .gallery, .video-section {
    padding: 1rem;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
}