@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --border: #eaeaea;
  --bg-secondary: #f9f9f9;
  --hover-tint: #f5f5f5;
  --accent: #2d3a52; /* Symphony Mills-inspired dark blue/charcoal for strong USPs */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: #ffffff;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand { grid-column: 2; display: flex; justify-content: center; align-items: center; }
.nav-logo { height: 70px; width: auto; display: block; }
.nav-links { grid-column: 3; display: flex; justify-content: flex-end; gap: 40px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; align-items: center; }
.nav-links a { 
  color: var(--fg); 
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--fg);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.nav-space { height: 110px; } /* Increased to accommodate larger logo */

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px 24px;
  margin-top: 32px;
  background: var(--bg-secondary);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: left;
}
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.footer-col p { color: var(--muted); font-size: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Layout & Utils ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.section { padding: 96px 0; }
.text-center { text-align: center; }

/* Simple Load Animation */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* ── Landing Page (index.html) ── */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  animation: slowZoom 30s linear infinite alternate;
  z-index: -1;
  filter: brightness(0.8);
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-content {
  text-align: center;
  color: #fff;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 48px 64px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-logo { max-width: 400px; margin: 0 auto 32px; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); }
.hero-content h1 { font-size: 64px; margin-bottom: 16px; }
.hero-content p { font-size: 18px; max-width: 600px; margin: 0 auto 32px; font-weight: 300; }
.btn-primary {
  display: inline-block;
  background: var(--fg); color: #fff;
  padding: 14px 32px;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 2px;
  transition: transform 0.3s, background 0.3s;
}
.btn-primary:hover { background: var(--muted); color: #fff; }

/* ── Showcase Grid (Homepage) ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.showcase-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 8px;
  background: #fff;
}
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.showcase-img:hover img {
  transform: scale(1.05);
}

/* ── Category Grid ── */
.usps {
  background: var(--bg-secondary);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  text-align: center;
}
.usp-item h3 { font-size: 18px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 500; }
.usp-item p { font-size: 14px; color: var(--muted); }

/* Featured Categories */
.featured { padding: 96px 48px; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 36px; text-align: center; margin-bottom: 64px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cat-card {
  display: block; position: relative; overflow: hidden;
  height: 400px; background: var(--border);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.cat-card:hover img { transform: scale(1.05); }
.cat-label {
  position: absolute; bottom: 24px; left: 24px;
  background: #fff; padding: 12px 24px;
  font-family: 'Playfair Display', serif; font-size: 20px; color: var(--fg);
}

/* ── Products Gallery (products.html) ── */
.gallery-header { text-align: center; padding: 96px 0 64px; }
.gallery-header h1 { font-size: 48px; margin-bottom: 16px; }
.gallery-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px; }
.card { display: block; }
.card .img-wrap { overflow: hidden; background: var(--bg-secondary); aspect-ratio: 4/5; margin-bottom: 16px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.card:hover img { transform: scale(1.05); }
.card .name { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 4px; }
.card .meta { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }

/* ── Product Detail (product.html) ── */
.detail-layout {
  display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start;
  padding-top: 64px;
}
.detail-img { width: 100%; background: var(--bg-secondary); aspect-ratio: 3/4; object-fit: cover; }
.detail-info { position: sticky; top: 120px; }
.detail-info h1 { font-size: 40px; margin-bottom: 8px; }
.detail-info .coll { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 32px; display: block; }
.specs {
  border-top: 1px solid var(--border);
  margin-bottom: 32px;
}
.spec-row {
  display: flex; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-k { color: var(--muted); }
.spec-v { font-weight: 500; text-align: right; }
.btn-dark {
  display: block; width: 100%; text-align: center;
  background: var(--fg); color: #fff;
  padding: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em;
  transition: background 0.3s;
}
.btn-dark:hover { background: #333; }
.trade-note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.5; text-align: center; }

/* ── Forms (contact.html) ── */
.form-layout { max-width: 600px; margin: 0 auto; padding-top: 64px; }
.form-layout h1 { font-size: 48px; margin-bottom: 16px; text-align: center; }
.form-layout > p { text-align: center; color: var(--muted); margin-bottom: 48px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--muted); }
.form-control { width: 100%; padding: 16px; border: 1px solid var(--border); font-size: 15px; background: var(--bg-secondary); outline: none; transition: border 0.3s; }
.form-control:focus { border-color: var(--fg); }
textarea.form-control { resize: vertical; min-height: 150px; }
.shipping-disclaimer { font-size: 12px; color: var(--muted); margin-bottom: 24px; padding: 12px; background: var(--hover-tint); border-left: 3px solid var(--fg); }

/* ── Content Pages (about.html, fairs.html) ── */
.content-page { max-width: 800px; margin: 0 auto; padding-top: 64px; }
.content-page h1 { font-size: 48px; margin-bottom: 32px; text-align: center; }
.content-page p { font-size: 16px; margin-bottom: 24px; color: #444; }
.contact-list { list-style: none; margin-top: 48px; }
.contact-list li {
  display: flex; justify-content: space-between;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.contact-list .k { font-weight: 500; font-size: 15px; }
.contact-list .v { color: var(--muted); font-size: 15px; text-align: right; }

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; } /* Simplified mobile for now */
  .hero-content h1 { font-size: 40px; }
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: 1fr; }
}
