/* ============================================================
   WINERY V7 — Page-specific Styles
   ============================================================ */

/* ===================== INDEX ===================== */

/* Featured Wines Section */
.featured-wines {
  position: relative;
}

.featured-wines::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
}

.wine-card {
  text-align: center;
}

.wine-card .card-img {
  aspect-ratio: 3 / 4;
  position: relative;
}

.wine-card .wine-year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #d4af37;
  background: rgba(26, 15, 10, 0.8);
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.wine-card .card-body h3 {
  font-size: 1.3rem;
}

.wine-card .wine-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245, 237, 232, 0.4);
  margin-bottom: 0.3rem;
}

.wine-card .wine-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #d4af37;
  margin-top: 0.75rem;
}

/* Story Section */
.story-section {
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 47, 55, 0.06) 0%, transparent 70%);
}

.story-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.story-content p {
  font-size: 1rem;
  color: rgba(245, 237, 232, 0.65);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.story-image {
  position: relative;
}

.story-image img {
  border-radius: 4px;
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 4px;
}

/* Stats / Numbers */
.stats-section {
  background: rgba(114, 47, 55, 0.04);
  border-top: 1px solid rgba(212, 175, 55, 0.06);
  border-bottom: 1px solid rgba(212, 175, 55, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #d4af37;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245, 237, 232, 0.5);
}

/* Newsletter */
.newsletter-section {
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-right: none;
  color: #f5ede8;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: #d4af37;
}

.newsletter-form input::placeholder {
  color: rgba(245, 237, 232, 0.3);
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: #722f37;
  border: 1px solid #722f37;
  color: #f5ede8;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #8a3b45;
}

/* ===================== WINES ===================== */

.wines-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: rgba(245, 237, 232, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #d4af37;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.06);
}

.wines-grid .wine-card .card-body {
  text-align: center;
}

.wine-notes {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.75rem 0;
}

.wine-notes span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
}

.wine-notes span.filled {
  background: #d4af37;
}

/* ===================== ABOUT ===================== */

.about-philosophy {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-philosophy h2 {
  margin-bottom: 1.5rem;
}

.about-philosophy p {
  color: rgba(245, 237, 232, 0.65);
  font-size: 1.05rem;
  line-height: 1.9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(212, 175, 55, 0.12);
  transition: border-color 0.3s ease;
}

.team-member:hover img {
  border-color: rgba(212, 175, 55, 0.35);
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-member .role {
  font-size: 0.85rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.team-member p {
  font-size: 0.88rem;
  color: rgba(245, 237, 232, 0.5);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.05));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a0f0a;
  border: 2px solid #d4af37;
}

.timeline-item .year {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: rgba(245, 237, 232, 0.55);
  line-height: 1.6;
}

/* ===================== GALLERY ===================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item .gallery-overlay span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #d4af37;
  border: 1px solid #d4af37;
  padding: 0.5rem 1.25rem;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* ===================== BLOG ===================== */

.blog-card .card-img {
  aspect-ratio: 16 / 9;
}

.blog-card .card-body .blog-date {
  font-size: 0.8rem;
  color: rgba(245, 237, 232, 0.4);
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card .card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.blog-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.blog-card .card-tags span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.12);
  color: rgba(245, 237, 232, 0.5);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.blog-pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 0.85rem;
  color: rgba(245, 237, 232, 0.5);
  transition: all 0.3s ease;
}

.blog-pagination a:hover,
.blog-pagination a.active {
  border-color: #d4af37;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.06);
}

/* ===================== CONTACT ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: #d4af37;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: rgba(245, 237, 232, 0.55);
  line-height: 1.6;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(245, 237, 232, 0.5);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  color: #f5ede8;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 237, 232, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* Map placeholder */
.map-placeholder {
  margin-top: 3rem;
  width: 100%;
  height: 300px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 237, 232, 0.3);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===================== RESPONSIVE (pages) ===================== */

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(212, 175, 55, 0.15); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
