/* ==================== CSS VARIABLES ==================== */
:root {
  --color-cream: #faf8f5;
  --color-beige: #e8dfd6;
  --color-warm-gray: #9b9280;
  --color-muted-brown: #7a6f5d;
  --color-black: #1a1a1a;
  --color-white: #ffffff;

  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.3s ease;
}

/* ==================== GLOBAL RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-black);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-muted-brown);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--color-black);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
}

.logo-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 0.25rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

nav a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-brown);
  position: relative;
  transition: var(--transition-fast);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--color-black);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--color-black);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition-fast);
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
  background: url(/images/our-store-section.jpg) bottom/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* рівень затемнення */
  z-index: 1;
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.2s;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-white);
  max-width: 800px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.4s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tags {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== MAIN ABOUT SECTION ==================== */
.main-about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-smooth);
}

.about-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  aspect-ratio: 3/4;
  background: linear-gradient(
    135deg,
    var(--color-beige) 0%,
    var(--color-warm-gray) 100%
  );
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.about-image:hover::after {
  background: rgba(0, 0, 0, 0);
}

.about-content h2 {
  margin-bottom: 2rem;
  color: var(--color-black);
}

.about-content p {
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* ==================== VALUES SECTION ==================== */
.values-section {
  background-color: var(--color-white);
  padding: 8rem 4rem;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
}

.values-title {
  text-align: center;
  margin-bottom: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.value-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.value-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-icon {
  font-size: 3rem;
  color: var(--color-warm-gray);
  margin-bottom: 2rem;
}

.value-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.value-item p {
  text-align: center;
  line-height: 1.8;
}

/* ==================== EXPERIENCE SECTION ==================== */
.experience-section {
  padding: 8rem 4rem;
  background-color: var(--color-beige);
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
}

.experience-intro {
  text-align: center;
  margin-bottom: 5rem;
}

.experience-intro h2 {
  margin-bottom: 2rem;
}

.experience-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.9;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.experience-card {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.experience-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-black);
}

.experience-card ul {
  list-style: none;
  padding: 0;
}

.experience-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-beige);
  color: var(--color-muted-brown);
  font-size: 1.05rem;
}

.experience-card li:last-child {
  border-bottom: none;
}

.experience-card li::before {
  content: "✦";
  margin-right: 1rem;
  color: var(--color-warm-gray);
}

/* ==================== TEAM SECTION ==================== */
.team-section {
  padding: 8rem 4rem;
  background-color: var(--color-white);
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.team-container h2 {
  margin-bottom: 2rem;
}

.team-description {
  max-width: 900px;
  margin: 0 auto 4rem;
  font-size: 1.125rem;
  line-height: 1.9;
}

.languages-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.language-tag {
  padding: 1rem 2rem;
  background-color: var(--color-beige);
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
}

/* ==================== ADDITIONAL SERVICES SECTION ==================== */
.additional-services-section {
  padding: 8rem 4rem;
  background-color: var(--color-beige);
}

.additional-services-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.additional-services-container h2 {
  margin-bottom: 3rem;
  font-weight: 300;
}

.services-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--color-black);
}

.services-icon {
  margin-top: 3rem;
  font-size: 3rem;
  color: var(--color-muted-brown);
}

/* ==================== PORTFOLIO HIGHLIGHT ==================== */
.portfolio-section {
  padding: 8rem 4rem;
  background-color: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.portfolio-container {
  max-width: 1000px;
  margin: 0 auto;
}

.portfolio-container h2 {
  color: var(--color-white);
  margin-bottom: 2rem;
}

.portfolio-container p {
  color: var(--color-beige);
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-beige);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  padding: 8rem 4rem;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-container h2 {
  margin-bottom: 2rem;
}

.cta-container p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.cta-button:hover {
  background-color: var(--color-muted-brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==================== FOOTER ==================== */
footer {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--color-black);
  color: var(--color-cream);
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.footer-date {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--color-warm-gray);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  header {
    padding: 1.5rem 2rem;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  nav a {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .about-grid,
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-tags {
    flex-direction: column;
    gap: 1rem;
  }

  .languages-list {
    gap: 1rem;
  }

  .main-about,
  .values-section,
  .experience-section,
  .team-section,
  .portfolio-section,
  .cta-section,
  .additional-services-section {
    padding: 4rem 2rem;
  }
}
