/* Dorota's Cakes Ballymena — stylesheet */

:root {
  --coral: #ef8c86;
  --coral-dark: #d96b66;
  --cream: #fbf1e7;
  --cream-soft: #fdf8f2;
  --brown: #5c3a2e;
  --brown-dark: #3f271e;
  --cherry: #b1352c;
  --ink: #3a2a24;
  --shadow: 0 12px 30px rgba(63, 39, 30, 0.14);
  --radius: 18px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.6;
}

h1, h2, h3, .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brown-dark);
  margin: 0;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(239, 140, 134, 0.45);
}
.btn-primary:hover { background: var(--coral-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

.btn-brown {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 10px 24px rgba(92, 58, 46, 0.35);
}
.btn-brown:hover { background: var(--brown-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(251, 241, 231, 0);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled {
  background: rgba(251, 241, 231, 0.96);
  box-shadow: 0 4px 18px rgba(63, 39, 30, 0.1);
  padding: 8px 0;
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: height 0.25s ease, width 0.25s ease;
}
.site-header.scrolled .brand img { height: 44px; width: 44px; }

.brand-text .brand-name {
  font-size: 1.3rem;
  color: #fff;
  transition: color 0.25s ease;
}
.brand-text .brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s ease;
}
.site-header.scrolled .brand-text .brand-name { color: var(--brown-dark); }
.site-header.scrolled .brand-text .brand-sub { color: var(--coral-dark); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  transition: color 0.25s ease;
  position: relative;
}
.site-header.scrolled .main-nav a { color: var(--brown-dark); }
.main-nav a:hover { color: var(--coral); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.85rem; }
.site-header:not(.scrolled) .header-cta .btn-primary {
  background: var(--coral);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.25s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--brown-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(180deg, rgba(63,39,30,0.55) 0%, rgba(63,39,30,0.45) 35%, rgba(63,39,30,0.75) 100%),
    linear-gradient(100deg, rgba(177,53,44,0.28) 0%, rgba(63,39,30,0.15) 45%, rgba(63,39,30,0.55) 100%),
    url('../assets/images/hero-chocolate-cake.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 0 90px;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.85);
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd9c9;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: #fff;
  text-shadow: 0 6px 26px rgba(0,0,0,0.4);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--coral);
  font-style: italic;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #fdf3ec;
  margin: 22px auto 12px;
  max-width: 560px;
  font-weight: 400;
}

.hero-location {
  font-size: 0.92rem;
  color: #ffe6dd;
  margin-bottom: 34px;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  opacity: 0.75;
  font-size: 1.6rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Section shells ---------- */
section { padding: 96px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { color: var(--cherry); }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 14px;
}
.section-head p { color: #6b564c; font-size: 1.05rem; }

.bg-cream { background: var(--cream); }
.bg-brown {
  background: linear-gradient(160deg, var(--brown-dark), var(--brown));
  color: #f6e9e1;
}
.bg-brown h2, .bg-brown .section-head h2 { color: #fff; }
.bg-brown .section-head p { color: #e6cfc3; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img { border-radius: var(--radius); }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.5);
}
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: #5a483f; margin-bottom: 16px; }

.about-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--brown-dark);
}
.about-points li::before {
  content: "✓";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Services / product cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(63,39,30,0.2);
}
.product-photo { height: 230px; overflow: hidden; }
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-body { padding: 24px 24px 28px; }
.product-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-body p { color: #6b564c; font-size: 0.95rem; margin: 0; }

/* ---------- Feature strip ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  text-align: center;
  padding: 10px 14px;
}
.feature-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(239,140,134,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.feature h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}
.feature p { color: #e6cfc3; font-size: 0.92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img { transform: scale(1.08); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--coral), var(--cherry));
  border-radius: 26px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta-banner p { color: #fff0ec; max-width: 520px; margin: 0 auto 30px; }
.cta-banner .btn-brown { box-shadow: 0 10px 24px rgba(0,0,0,0.25); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-card .muted { color: #8a7267; margin-bottom: 28px; }

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid #f0e2d6;
}
.contact-row:first-of-type { border-top: none; }
.contact-row .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(239,140,134,0.18);
  color: var(--cherry);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 1.1rem;
}
.contact-row h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--brown-dark);
  font-family: 'Playfair Display', serif;
}
.contact-row p, .contact-row a { margin: 0; color: #6b564c; font-size: 0.95rem; }
.contact-row a:hover { color: var(--cherry); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-dark);
  color: #d8c2b6;
  padding: 56px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 50px; width: 50px; border-radius: 50%; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-left: 10px;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--coral); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #b09a8d;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta .btn-outline-wrap { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-soft);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    padding: 20px 24px;
  }
  .main-nav.open ul { flex-direction: column; gap: 18px; }
  .main-nav.open a { color: var(--brown-dark); }
  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 70px 0; }
  .cta-banner { padding: 44px 24px; }
}
