/* Sadie Michael Fashions - Static Site Styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #DC1C83;
  --pink-dark: #b5156b;
  --pink-light: #f0e6ee;
  --black: #1a1a1a;
  --white: #ffffff;
  --grey: #f7f7f7;
  --text: #333333;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
}

/* ── Navigation ── */
nav.topnav {
  background: var(--pink);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--white);
}

/* ── Mobile hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--white);
  padding: 12px 40px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #666;
}
.breadcrumb a { color: var(--pink); text-decoration: none; }
.breadcrumb span { margin: 0 6px; color: #ccc; }
.breadcrumb .current { color: var(--pink); font-weight: 600; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(220,28,131,0.15);
}

/* Pink hero (brands page) */
.hero-pink {
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  text-align: center;
  padding: 40px;
}
.hero-pink h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
}

/* ── Sections ── */
section {
  padding: 70px 40px;
}

.section-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-center h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--pink);
  margin-bottom: 20px;
}

.section-center p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

/* ── CTA Button ── */
.btn-pink {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
  font-family: 'Open Sans', sans-serif;
}
.btn-pink:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}

/* ── Gallery grid ── */
.gallery-section {
  background: var(--grey);
  padding: 50px 40px;
}
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ── History section ── */
.history-section {
  background: var(--pink);
  padding: 70px 40px;
}
.history-section .section-center h2 {
  color: var(--white);
}
.history-section .section-center p {
  color: rgba(255,255,255,0.9);
}

/* ── Brands sections ── */
.brands-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.brand-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.brand-card h3 {
  font-size: 18px;
  color: var(--pink);
  margin-bottom: 10px;
}
.brand-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ── Services section (aged care, mail order) ── */
.services-section {
  background: var(--grey);
}
.services-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.service-item h3 {
  font-size: 20px;
  color: var(--pink);
  margin-bottom: 12px;
}
.service-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.service-item a {
  color: var(--pink);
}

/* ── Contact page ── */
.contact-section {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 70px 40px;
}

.contact-info h2 {
  font-size: 26px;
  color: var(--pink);
  margin-bottom: 28px;
}
.contact-detail {
  margin-bottom: 20px;
}
.contact-detail strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 4px;
}
.contact-detail a { color: var(--pink); }
.contact-detail p { font-size: 15px; line-height: 1.6; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table tr { border-bottom: 1px solid #eee; }
.hours-table td { padding: 8px 0; font-size: 14px; }
.hours-table td:first-child { font-weight: 600; color: var(--black); }
.hours-table td:last-child { color: #555; text-align: right; }

/* ── Contact form ── */
.contact-form h2 {
  font-size: 26px;
  color: var(--pink);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: #888; margin-bottom: 16px; }

#form-success {
  display: none;
  background: #f0fff4;
  border: 1px solid #68d391;
  color: #276749;
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 12px;
  font-size: 14px;
}
#form-error {
  display: none;
  background: #fff5f5;
  border: 1px solid #fc8181;
  color: #c53030;
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 12px;
  font-size: 14px;
}

/* ── Map section ── */
.map-section {
  padding: 0;
  height: 320px;
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Footer ── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 50px 40px 30px;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.footer-col p, .footer-col a {
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.65);
  display: block;
  text-decoration: none;
}
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 12px;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav.topnav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--pink-dark);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .nav-links a { display: block; padding: 12px 0; font-size: 15px; border-bottom: none; }

  .hamburger { display: flex; }

  .breadcrumb { padding: 10px 20px; }

  .hero { height: 300px; }

  section { padding: 50px 20px; }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 50px 20px;
    gap: 40px;
  }

  .services-grid { grid-template-columns: 1fr; }

  .brands-grid { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid img { height: 180px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 240px; }
  .hero-pink h1 { font-size: 48px; }
}
