/* ============================================
   TEA CEREMONY & SOMMELIER SERVICES
   Neo-Zen & Atmospheric Design System
   ============================================ */

:root {
  /* Color Palette - The Vapor Aesthetic */
  --color-bg-primary: #FAF9F6; /* Off-White Porcelain */
  --color-primary: #4A5D4E; /* Oxidized Matcha */
  --color-secondary: #D4A373; /* Golden Liquor */
  --color-highlight: #E9EED1; /* Young Bud */
  --color-text-dark: #2C2C2C;
  --color-text-light: #6B6B6B;
  --color-white: #FFFFFF;
  --color-overlay: rgba(250, 249, 246, 0.85);
  
  /* Typography */
  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 93, 78, 0.08);
  --shadow-md: 0 4px 16px rgba(74, 93, 78, 0.12);
  --shadow-lg: 0 8px 32px rgba(74, 93, 78, 0.16);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-overlay);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--color-primary);
  font-weight: 300;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
}

.header-nav-link {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  transition: color var(--transition-fast);
}

.header-nav-link:hover {
  color: var(--color-primary);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

.header-nav-link:hover::after {
  width: 80%;
}

/* Burger Menu Button */
.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  z-index: 10001;
  position: relative;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transition: right var(--transition-base);
  padding: var(--space-xxl) var(--space-lg);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xxl);
}

.mobile-nav-link {
  font-size: 1.1rem;
  color: var(--color-text-dark);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-highlight);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  min-height: calc(100vh - 200px);
}

/* ============================================
   HERO BANNERS
   ============================================ */

.hero-banner {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7) blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-overlay);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-title {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
}

/* ============================================
   SECTIONS
   ============================================ */

.content-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.section-title {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-container {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 100%;
}

.grid-two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

.grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.grid-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.grid-content-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.grid-content-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

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

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

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

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   FORMS
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: var(--space-xl) auto;
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-highlight);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--color-text-dark);
  background: var(--color-bg-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--transition-base), transform var(--transition-fast);
  margin-top: var(--space-md);
}

.btn-submit:hover {
  background: var(--color-secondary);
  color: black;
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}
.footer-contact-info p{color: white}
.footer-copyright p {color: white}

/* ============================================
   PRODUCTS
   ============================================ */

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.product-description {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  font-family: var(--font-primary);
}

/* ============================================
   MAPS
   ============================================ */

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-xl);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.footer-nav {
  list-style: none;
}

.footer-nav-item {
  margin-bottom: var(--space-sm);
}

.footer-nav-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-white);
}

.footer-contact-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-copyright {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: calc(100% - var(--space-lg) * 2);
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  animation: slideUp 0.3s ease;
}

.privacy-popup.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.privacy-popup-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.privacy-popup-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.btn-privacy {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: background var(--transition-fast);
}

.btn-privacy-accept {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-privacy-accept:hover {
  background: var(--color-secondary);
}

.btn-privacy-decline {
  background: var(--color-highlight);
  color: var(--color-text-dark);
}

.btn-privacy-decline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.date {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1023px) {
  .header-nav {
    display: none;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
  
  .content-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .grid-two,
  .grid-three {
    grid-template-columns: 1fr;
  }
  
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .site-header {
    padding: var(--space-md);
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
  
  .privacy-popup {
    width: calc(100% - var(--space-md) * 2);
    padding: var(--space-md);
  }
  
  .privacy-popup-actions {
    flex-direction: column;
  }
  
  .btn-privacy {
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-banner {
    min-height: 40vh;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
  
  .site-header {
    padding: var(--space-sm);
  }
  
  .content-section {
    padding: var(--space-lg) var(--space-sm);
  }
}

