/* ========================================
   BEEONIA - CSS Stylesheet
   Responsive Design for Web & Mobile
   ======================================== */

/* CSS Variables */
:root {
  --bg-primary: #0d1026;
  --bg-secondary: #141836;
  --bg-footer: #0a0c1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a5c0;
  --accent-gold: #c9a227;
  --accent-gold-light: #e8c547;
  --accent-honey: #d4a574;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-gold: rgba(201, 162, 39, 0.3);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-ui: "Montserrat", sans-serif;
}

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

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

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

body.modal-open {
  overflow: hidden;
}

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

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

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

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--text-primary);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: var(--transition-smooth);
}

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

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
}

.lang-btn {
  color: var(--text-secondary);
  padding: 0.3rem 0.5rem;
  transition: var(--transition-smooth);
  font-weight: 500;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--text-primary);
}

.lang-divider {
  color: var(--text-secondary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  padding: 120px 2rem 4rem;
}

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

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

.hero-tagline strong,
.hero-tagline em {
  color: var(--text-primary);
  font-style: normal;
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-title::before,
.section-title::after {
  content: "·";
  color: var(--accent-gold);
}

/* ========================================
   Gallery Carousel
   ======================================== */
.gallery-section {
  margin-bottom: 4rem;
}

.gallery-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.gallery-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
  margin-bottom: 4rem;
}

.products-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  overflow: hidden;
}

.products-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  padding: 1rem 0;
}

.product-card {
  min-width: calc(33.333% - 1rem);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--accent-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--bg-primary);
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.product-info p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ========================================
   Product Modal
   ======================================== */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 16, 38, 0.95);
  backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.product-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.modal-image {
  flex: 0 0 50%;
  max-height: 500px;
}

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

.modal-info {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.modal-origin {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.modal-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.modal-weight,
.modal-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.modal-price {
  color: var(--accent-gold);
}

.modal-harvest {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ========================================
   Partners Section
   ======================================== */
.partners-section {
  padding: 3rem 0;
  background: var(--bg-secondary);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.partner-logo {
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  opacity: 1;
}

.partner-techcrunch {
  font-family: "Arial Black", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.partner-fastcompany {
  font-family: "Georgia", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.partner-mit {
  font-family: "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.partner-forbes {
  font-family: "Georgia", serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  padding: 6rem 2rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 6rem;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-item.reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.about-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: 0.2em;
  flex-shrink: 0;
}

.about-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-gold);
  position: relative;
}

.member-image::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  opacity: 0.3;
}

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

.member-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.member-title {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--accent-gold);
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.5rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: auto;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon.instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-icon.linkedin {
  background: #0077b5;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.gmail {
  background: #ea4335;
}
.social-icon:hover {
  transform: scale(1.1);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  padding: 4rem 2rem;
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-footer);
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-bee-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-bee-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.back-to-top:hover {
  color: var(--text-primary);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

.social-link.youtube:hover {
  background: #ff0000;
  color: white;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.footer-location svg {
  width: 18px;
  height: 18px;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .product-card {
    min-width: calc(50% - 0.75rem);
  }

  .about-item {
    gap: 2rem;
  }

  .about-number {
    font-size: 3rem;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    padding: 100px 1.5rem 3rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .gallery-slide img {
    height: 280px;
  }

  .products-carousel {
    padding: 0 50px;
  }

  .product-card {
    min-width: 100%;
  }

  .modal-content {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-image {
    flex: none;
    height: 250px;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-info h2 {
    font-size: 1.4rem;
  }

  .partners-logos {
    gap: 2rem;
  }

  .about-item,
  .about-item.reverse {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .about-number {
    font-size: 2.5rem;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .team-member {
    width: 200px;
  }

  .member-image {
    width: 100px;
    height: 100px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    gap: 1rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .header {
    padding: 1rem;
  }

  .logo {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
  }

  .gallery-slide img {
    height: 220px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .products-carousel {
    padding: 0 40px;
  }

  .product-image {
    height: 160px;
  }

  .modal-info h2 {
    font-size: 1.2rem;
  }

  .modal-description {
    font-size: 1rem;
  }

  .modal-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .partner-logo span {
    font-size: 0.8rem !important;
  }

  .about-text {
    font-size: 1rem;
  }

  .member-name {
    font-size: 0.75rem;
  }

  .member-title {
    font-size: 0.65rem;
  }

  .footer-bee-logo {
    width: 120px;
    height: 120px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .product-card:hover {
    transform: none;
  }

  .product-card:active {
    transform: scale(0.98);
  }

  .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .carousel-btn:active {
    background: rgba(255, 255, 255, 0.2);
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .modal-content {
    flex-direction: row;
    max-height: 95vh;
  }

  .modal-image {
    flex: 0 0 40%;
    height: auto;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-image img,
  .gallery-slide img,
  .member-image img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.section-title {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal */
.gallery-section,
.products-section,
.partners-section,
.about-item,
.team-member {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-section.visible,
.products-section.visible,
.partners-section.visible,
.about-item.visible,
.team-member.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Swipe Indicator for Mobile */
@media (max-width: 768px) {
  .products-carousel::after,
  .gallery-carousel::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
  }
}
