/* ============================================================
   VASILISA PREMIUM FOOD — CSS DESIGN SYSTEM
   ============================================================ */

/* CSS Variables for Harmonious Color Palette & Typography */
:root {
  --primary-color: #1a1a1a;
  --primary-light: #2c2c2c;
  --accent-color: #c5a880;
  --accent-hover: #b09168;
  --secondary-color: #4a5d4e;
  --bg-color: #FAF8F5;
  --card-bg: #ffffff;
  --text-dark: #2b2b2b;
  --text-muted: #6e6e6e;
  --border-color: #eae5df;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', Arial, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-color);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.logo span {
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.header.scrolled .nav__link {
  color: rgba(255, 255, 255, 0.9);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn--primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

.btn--outline:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Burger Button for Mobile */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.05);
  animation: zoom-out 20s infinite alternate;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(26, 26, 26, 0.8) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 20px;
  animation: fadeInDown 1.2s both;
}

.hero__title {
  font-size: 64px;
  color: #ffffff;
  margin-bottom: 24px;
  animation: fadeInUp 1.2s 0.2s both;
}

.hero__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
  animation: fadeInUp 1.2s 0.4s both;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1.2s 0.6s both;
}

/* Sections General */
.section {
  padding: 100px 0;
}

.section--dark {
  background-color: var(--primary-color);
  color: #ffffff;
}

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

.section-header__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: block;
}

.section-header__title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-header__desc {
  color: var(--text-muted);
  font-size: 16px;
}

.section--dark .section-header__title {
  color: #ffffff;
}

.section--dark .section-header__desc {
  color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__lead {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.4;
  color: var(--primary-color);
}

.about__desc {
  color: var(--text-muted);
  font-size: 15px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.about-feature__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary-color);
}

.about-feature__desc {
  font-size: 13px;
  color: var(--text-muted);
}

.about__images {
  position: relative;
}

.about__img-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Product Catalog */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(97, 61, 49, 0.08);
  border-color: var(--accent-color);
}

.product-card__img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-card__img {
  transform: scale(1.08);
}

.product-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card__content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.product-card__title {
  font-size: 22px;
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent-color);
  font-weight: 700;
}

.product-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-card__meta {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.product-card__cta {
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

/* Quality & Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 30px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.process-card__number {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--accent-color);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 20px;
}

.process-card__title {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.process-card__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.5;
}

/* Contact & Form Section */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contacts-info__lead {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--primary-color);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 500;
}

/* Premium Form Styling */
.feedback-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  background-color: var(--bg-color);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-color);
  background-color: #ffffff;
}

.form-textarea {
  resize: vertical;
}

.form-error {
  color: #d32f2f;
  font-size: 11px;
  display: none;
  margin-top: 4px;
}

.form-success {
  display: none;
  background-color: #e6f4ea;
  border: 1px solid #c2e7c9;
  color: #137333;
  padding: 16px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 16px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__tagline {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent-color);
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__link:hover {
  color: var(--accent-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes zoom-out {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media screen and (max-width: 991px) {
  .about__grid, .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero__title {
    font-size: 46px;
  }
}

@media screen and (max-width: 767px) {
  .nav {
    display: none; /* simple hidden on mobile, can toggle class */
  }
  
  .burger {
    display: flex;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .footer__inner {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }
  
  .footer__nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}
