@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-primary: #070709;
  --bg-secondary: #101014;
  --bg-card: #15151a;
  --accent-gold: #dfc19c;
  --accent-gold-hover: #f3ddc2;
  --accent-gold-rgb: 223, 193, 156;
  --text-primary: #ffffff;
  --text-secondary: #8f8f9e;
  --border-light: rgba(223, 193, 156, 0.15);
  --border-glow: rgba(223, 193, 156, 0.3);
  --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.7);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

p {
  color: var(--text-secondary);
}

.gold-text {
  color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout Components --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-premium);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-icon {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent-gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-premium);
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: var(--transition-premium);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

.nav-links li.active a {
  color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-premium);
}

/* --- Tab Content Control --- */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem;
  margin-bottom: 4rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(rgba(7, 7, 9, 0.4), rgba(7, 7, 9, 0.95)), url('assets/editorial_hero.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-desc {
  max-width: 650px;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  animation: fadeInUp 1.4s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 1.6s ease forwards;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-radius: 0;
  transition: var(--transition-premium);
  cursor: pointer;
}

.btn-gold {
  background: var(--accent-gold);
  color: #070709;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(var(--accent-gold-rgb), 0.2);
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(var(--accent-gold-rgb), 0.35);
}

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

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
  background: rgba(var(--accent-gold-rgb), 0.05);
}

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

/* --- Sections Common --- */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1.2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
}

/* --- Brand Heritage (Home Section Info) --- */
.heritage-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.heritage-img-container {
  position: relative;
  border: 1px solid var(--border-light);
  padding: 1rem;
  background: var(--bg-secondary);
}

.heritage-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(0.2);
  transition: var(--transition-premium);
}

.heritage-img-container:hover .heritage-img {
  filter: grayscale(0);
}

.heritage-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.heritage-text p {
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

/* --- Stat Showcase --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 0;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

/* --- Product Categories (Collection tab) --- */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 0.8rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition-premium);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gold);
  color: #070709;
  border-color: var(--accent-gold);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 1.2rem;
  position: relative;
  transition: var(--transition-premium);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-premium);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: var(--transition-premium);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-gold);
  color: #070709;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  z-index: 2;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.product-spec {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.2rem;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.product-action {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-premium);
  cursor: pointer;
}

.product-action:hover {
  color: var(--text-primary);
}

/* --- B2B Portal & Forms --- */
.b2b-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.b2b-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 3rem;
}

.b2b-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.b2b-benefits {
  list-style: none;
  margin-top: 2rem;
}

.b2b-benefits li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.b2b-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

/* Form Styles */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  transition: var(--transition-premium);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.1);
}

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

.form-alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  display: none;
}

.form-alert.success {
  background: rgba(46, 204, 113, 0.1);
  border-color: #2ecc71;
  color: #2ecc71;
  display: block;
}

/* --- Heritage Timeline --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: var(--border-light);
}

.timeline-item {
  margin-bottom: 4.5rem;
  position: relative;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-gold);
  background: var(--bg-primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

/* --- Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
  border: 1px solid var(--border-light);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.map-mockup {
  height: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  margin-top: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-mockup-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(var(--text-secondary) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-marker {
  position: relative;
  z-index: 2;
  text-align: center;
}

.map-marker-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  animation: bounce 2s infinite ease-in-out;
  display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.map-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  display: block;
}

/* --- Footer --- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 5rem 2rem 2.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  grid-column: span 2;
}

.footer-brand p {
  margin: 1.5rem 0;
  max-width: 400px;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 1.8rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-premium);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-social-btn {
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-premium);
}

.footer-social-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-legal-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.footer-legal-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .heritage-block,
  .b2b-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-premium);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border-light);
  }
  
  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .timeline::before {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 32px !important;
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    text-align: center;
    width: 100%;
  }
}
