/* ═══════════════════════════════════════════════════════════════
   Bianchini Family Website — Home Page Styles (index.html)
   Requires: css/main.css
   ═══════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/vineyard-9.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44,38,32,0.35) 0%,
    rgba(44,38,32,0.55) 50%,
    rgba(44,38,32,0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--straw);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero h1 em { font-style: italic; color: var(--straw); }
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s 1.5s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--clay);
  padding: 48px 40px;
}
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
.stat-item .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-lbl {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ── OUR STORY ── */
#story { background: var(--page); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 48px; } }
.story-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: #5a4a3a;
  margin-bottom: 20px;
  font-weight: 300;
}
.story-text p:last-child { margin-bottom: 0; }
.story-images { position: relative; height: 520px; }
.story-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%; height: 80%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.story-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%; height: 50%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 5px solid var(--page);
}
.story-badge {
  position: absolute;
  bottom: 40px; left: -16px;
  background: var(--earth);
  color: #fff;
  padding: 16px 20px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.story-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--straw);
}
.story-badge .lbl {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ── FAMILY VENTURES ── */
#family { background: var(--limestone); }
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 1024px) { .family-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .family-grid { grid-template-columns: 1fr; } }
.family-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44,38,32,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.family-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(44,38,32,0.14); }
.family-card-header { padding: 36px 28px 24px; flex: 1; }
.family-card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.family-card-icon.photography { background: #f0e6f8; }
.family-card-icon.therapy     { background: #e6f4f0; }
.family-card-icon.catering    { background: #fdf0e0; }
.family-card-icon.wine-eng    { background: #f0e8e0; }
.family-card-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--clay); margin-bottom: 8px;
}
.family-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--ink);
  line-height: 1.25; margin-bottom: 14px;
}
.family-card h3 em { font-style: italic; color: var(--earth); }
.family-card-body { font-size: 0.87rem; color: #7a6a5a; line-height: 1.75; font-weight: 300; }
.family-card-footer {
  padding: 20px 28px 28px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.btn-card-primary {
  background: var(--clay); color: #fff;
  padding: 10px 22px; border-radius: 100px;
  text-decoration: none; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; transition: background 0.2s;
  display: inline-block;
}
.btn-card-primary:hover { background: #a85e50; }
.btn-card-outline {
  border: 1.5px solid rgba(44,38,32,0.18); color: var(--ink);
  padding: 10px 22px; border-radius: 100px;
  text-decoration: none; font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.8px;
  text-transform: uppercase; transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-card-outline:hover { border-color: var(--ink); background: rgba(44,38,32,0.04); }

/* ── OUR PRACTICES ── */
#practices { background: var(--ink); }
#practices .section-label   { color: var(--straw); }
#practices .section-title   { color: #fff; }
#practices .section-title em { color: var(--straw); }
#practices .section-subtitle { color: rgba(255,255,255,0.6); }
#practices .divider          { background: var(--clay); }
.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 900px) { .practices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .practices-grid { grid-template-columns: 1fr; } }
.practice-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 36px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.practice-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(200,168,112,0.3);
  transform: translateY(-3px);
}
.practice-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(200,168,112,0.12);
}
.practice-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; color: #fff; margin-bottom: 12px;
}
.practice-card p {
  font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.75; font-weight: 300;
}

/* ── CATERING ── */
#catering { background: var(--page); }
.catering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .catering-grid { grid-template-columns: 1fr; gap: 48px; } }
.catering-text p {
  font-size: 1rem; line-height: 1.85; color: #5a4a3a;
  margin-bottom: 20px; font-weight: 300;
}
.catering-features {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0;
}
.catering-feature {
  background: var(--limestone);
  border: 1px solid rgba(192,112,96,0.2);
  color: var(--earth);
  padding: 7px 16px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
}
.catering-image-wrap {
  position: relative;
  height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
@media (max-width: 900px) { .catering-image-wrap { height: 320px; } }
.catering-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.catering-badge {
  position: absolute;
  bottom: 28px; left: -20px;
  background: var(--clay); color: #fff;
  padding: 16px 24px; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
@media (max-width: 900px) { .catering-badge { left: 20px; } }
.catering-badge .badge-label {
  font-size: 0.62rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 4px;
}
.catering-badge .badge-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; line-height: 1; color: #fff;
}

/* ── HISTORY ── */
#history { background: var(--limestone); }
.history-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .history-intro { grid-template-columns: 1fr; gap: 40px; } }
.history-text p {
  font-size: 0.95rem; line-height: 1.85; color: #5a4a3a; margin-bottom: 16px; font-weight: 300;
}
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 6px; bottom: 0;
  width: 1px; background: var(--straw);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -32px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%; background: var(--clay); border: 2px solid var(--limestone);
}
.timeline-year {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: var(--clay); text-transform: uppercase; margin-bottom: 4px;
}
.timeline-text { font-size: 0.88rem; color: #5a4a3a; line-height: 1.65; font-weight: 400; }
.history-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .history-gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4; cursor: pointer; }
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,38,32,0.4) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ── EDUCATION ── */
#education { background: var(--page); }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 60px; }
@media (max-width: 768px) { .education-grid { grid-template-columns: 1fr; } }
.edu-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}
.edu-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.12); transform: translateY(-4px); }
.edu-img { width: 100%; height: 220px; object-fit: cover; }
.edu-body { padding: 28px 28px 32px; }
.edu-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
  background: var(--vine); padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
}
.edu-body h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.2;
}
.edu-body p { font-size: 0.88rem; color: #7a6a5a; line-height: 1.75; font-weight: 300; }

/* ── SERVICES ── */
#services { background: var(--earth); }
#services .section-label    { color: var(--straw); }
#services .section-title    { color: #fff; }
#services .section-title em { color: var(--straw); }
#services .section-subtitle { color: rgba(255,255,255,0.65); }
#services .divider          { background: var(--clay); }
.services-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
@media (max-width: 1024px) { .services-wrapper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services-wrapper { grid-template-columns: 1fr; } }
.service-panel { border-radius: 8px; overflow: hidden; position: relative; }
.service-img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.5s; }
.service-panel:hover .service-img { transform: scale(1.04); }
.service-panel-body {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: none;
  padding: 32px 28px;
}
.service-panel-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 14px;
}
.service-panel-body p {
  font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.75; font-weight: 300; margin-bottom: 24px;
}
.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.service-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.75); font-weight: 400;
}
.service-feature::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--straw); flex-shrink: 0;
}
.btn-service {
  display: inline-block; background: var(--clay); color: #fff;
  padding: 12px 28px; border-radius: 100px; text-decoration: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; transition: background 0.2s;
}
.btn-service:hover { background: #a85e50; }

/* Wine panel special styling */
.wine-panel {
  background: linear-gradient(160deg, rgba(192,112,96,0.18) 0%, rgba(107,74,56,0.3) 100%);
  border: 1px solid rgba(200,168,112,0.2);
}
.wine-bottle-showcase { display: flex; align-items: center; gap: 20px; padding: 24px 28px 0; }
.wine-bottle-img {
  height: 160px; width: auto; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.wine-bottle-info { flex: 1; }
.wine-bottle-info .variety {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--straw); font-weight: 600; margin-bottom: 8px;
}
.wine-bottle-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: #fff; line-height: 1.2;
}

/* ── CONTACT ── */
#contact { background: var(--limestone); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info p { font-size: 0.95rem; color: #5a4a3a; line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clay); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-text strong {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--clay); margin-bottom: 3px;
}
.contact-item-text span { font-size: 0.9rem; color: #5a4a3a; }
.contact-form {
  background: #fff; border-radius: 8px; padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; color: var(--ink); margin-bottom: 28px;
}

/* ── INSTAGRAM FEED ── */
#instagram { background: var(--ink); padding: 80px 40px; }
@media (max-width: 768px) { #instagram { padding: 60px 24px; } }
.insta-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 20px;
}
.insta-title-wrap { display: flex; align-items: center; gap: 16px; }
.insta-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.insta-icon svg { color: #fff; }
.insta-title-wrap h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 400; color: #fff; }
.insta-title-wrap h2 em { font-style: italic; color: var(--straw); }
.insta-handle { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 3px; }
.btn-follow {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
  color: #fff; padding: 11px 24px; border-radius: 100px;
  text-decoration: none; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.5px; transition: opacity 0.2s, transform 0.2s; flex-shrink: 0;
}
.btn-follow:hover { opacity: 0.9; transform: translateY(-1px); }
.insta-feed-placeholder {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
  border-radius: 8px; overflow: hidden;
}
@media (max-width: 900px) { .insta-feed-placeholder { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .insta-feed-placeholder { grid-template-columns: repeat(2, 1fr); } }
.insta-post { aspect-ratio: 1; background: rgba(255,255,255,0.05); position: relative; overflow: hidden; cursor: pointer; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.insta-post:hover img { transform: scale(1.07); }
.insta-post-overlay {
  position: absolute; inset: 0; background: rgba(44,38,32,0);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.insta-post:hover .insta-post-overlay { background: rgba(44,38,32,0.45); }
.insta-post-overlay svg { color: #fff; opacity: 0; transition: opacity 0.3s; }
.insta-post:hover .insta-post-overlay svg { opacity: 1; }
.insta-connect-prompt {
  background: rgba(255,255,255,0.04); border: 1.5px dashed rgba(255,255,255,0.15);
  border-radius: 10px; padding: 48px 32px; text-align: center; display: none;
}
.insta-connect-prompt p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; max-width: 400px; margin: 0 auto 20px; }
.insta-connect-steps { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.insta-step { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; max-width: 140px; }
.insta-step strong { display: block; color: var(--straw); font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
