/* ==============================
   Omari Blendz - style.css
   Complete site CSS: header, hero, services, shop, gallery, contact, footer, buttons, responsive
============================== */

/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --bg: #ffffff;
  --text: #111;
  --muted: #666;
  --black: #000;
  --accent: #d4af37; /* optional gold accent */
  --container-max: 1100px;
}

/* ===== Base ===== */
html,body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }

/* ===== Utility containers ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
header {
  width: 100%;
  background: var(--black);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display:flex;
  align-items:center;
  gap:12px;
}

/* logo in header */
.header-logo {
  height: 60px;        /* consistent logo size across pages */
  width: auto;
}

/* optional brand name next to header logo */
.header-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight:700;
}

/* nav */
nav {
  display:flex;
  gap:18px;
  align-items:center;
}
nav a {
  color:#fff;
  font-weight:500;
  padding:6px 0;
}
nav a:hover { color: #d4d4d4; }

/* ===== Hero (homepage) ===== */
.hero {
  padding: 50px 20px 80px;
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  background: var(--bg);
}


/* Hero title & copy */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height:1.05;
  color: var(--text);
  margin: 0;
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  max-width: 820px;
}

/* ... (keep existing styles above) ... */

/* Hero CTA button (pill) */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--black);
  color: #fff !important; /* Force white text to override inheritance */
  border-radius: 999px; /* pill */
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: #222;
}

/* ... (keep existing styles below) ... */

/* ===== Page title common ===== */
.page-title {
  text-align: center;
  padding: 60px 20px 30px;
}
.page-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  margin-bottom:8px;
}
.page-title p {
  color: var(--muted);
  font-size: 1rem;
}

/* ===== Services ===== */
/* layout wrapper used on services page */
.services-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* card / box for each service */
.service-card, .service-item, .product-item {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:18px 20px;
  border-radius:12px;
  border: 1px solid #e6e6e6;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

/* hover lift */
.service-card:hover, .product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  background: #fbfbfb;
}

/* service title/price layout */
.service-info, .product-info {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.service-info h4, .product-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin:0;
  color: var(--text);
}
.service-info span.price, .product-item span {
  font-weight:600;
  color: #333;
}

/* ensure name left, price centered if needed and CTA right */
.service-card > .service-info { flex: 1 1 auto; text-align:left; }
.service-card > .price { flex: 0 0 auto; margin: 0 18px; font-weight:600; color:#333; }
.service-card > .service-cta { flex: 0 0 auto; }

/* For the simpler shop-style product items (vertical info) */
.product-item {
  flex-direction: column;
  align-items:flex-start;
}

/* ===== Add-ons list style (if used) ===== */
.addons {
  margin-top:12px;
}
.addons ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:10px; }

/* ===== Shop product (keeps same visual style) ===== */
.shop-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* ===== Gallery ===== */
.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap:20px;
}
.gallery-container img { border-radius:10px; transition: transform .2s ease; }
.gallery-container img:hover { transform: scale(1.04); }

/* ===== Contact ===== */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.contact-item { display:flex; gap:12px; align-items:center; }

/* ===== Footer ===== */
footer {
  background: var(--black);
  color: #fff;
  padding: 28px 18px;
  text-align:center;
}
footer .socials { display:flex; gap:12px; justify-content:center; align-items:center; margin-bottom:10px; }
footer .socials a { font-size: 0.9rem; color: #fff; transition: color .15s ease; padding:4px 8px; border-radius:6px; }
footer .socials a:hover { color: #d4d4d4; }
footer p { font-size:0.78rem; color:#ddd; margin-top:8px; }

/* ===== Back to Top Button ===== */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 2000;
  display: none;
  padding:10px 14px;
  border-radius:999px;
  background:#000;
  color:#fff;
  border:none;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
#backToTop.show { display:block; }

/* ===== Animations ===== */
.fade-in { opacity:0; transform: translateY(14px); transition: all .8s ease; }
.fade-in.visible { opacity:1; transform:none; }

/* ===== Utilities ===== */
.text-center { text-align:center; }
.small { font-size:0.9rem; color:var(--muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  header { padding: 14px 22px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-logo { height: 55px; }
  .services-container { padding: 28px 16px; }
}

@media (max-width: 768px) {
  /* header stacks */
  header { flex-direction: column; align-items: flex-start; gap:10px; padding:12px 16px; }
  nav { width:100%; display:flex; gap:12px; flex-wrap:wrap; }
  nav a { padding:6px 6px; }

  /* hero */
  .hero { padding:36px 18px; gap:10px; }
  .hero-logo { height:50px; }

  /* card layout stacks */
  .service-card {
    flex-direction: column;
    align-items: flex-start;
    gap:10px;
  }
  .service-card > .price { margin: 0; }
  .service-card .btn { align-self:flex-start; }

  .gallery-container { grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.9rem; }
  header .header-logo { height:48px; }
  .btn { padding:10px 18px; font-size:0.95rem; }
  footer .socials a { font-size:0.8rem; padding:3px 6px; }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  height: 70px;               /* makes it smaller */
  width: auto;
  display: block;
  margin: 0 auto 15px;        /* centers and adds spacing below */
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 25px;
}

.hero .btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #000;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.hero .btn:hover {
  background-color: #444;
}

@media (max-width: 768px) {
  .hero-logo {
    height: 55px;   /* smaller on mobile */
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

.service-item, .addons li {
  display: flex;
  justify-content: space-between; /* pushes price to the right */
  align-items: center;             /* vertically centers text */
  padding: 15px 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: background 0.3s;
}

.service-item span:first-child {
  flex: 1; /* ensures the service name takes available space */
}

.service-item span:last-child {
  text-align: right; /* aligns price to the right edge */
}

