/* =============================================
   LUXURYWAY V8 - Complete Styles
   ============================================= */

:root {
  --bg-dark: #050a06;
  --bg-gradient: #1a3c24;
  --accent-gold: #D4AF37;
  --light-gold: #F2D574;
  --glass-bg: rgba(5, 10, 6, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.03);
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-gradient) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #fff;
}

body {
  padding-top: 60px;
}

/* =============================================
   STICKY GLASS HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:active {
  background: rgba(255,255,255,0.1);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.header-brand {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
}

.brand-name-white { color: #fff; }
.brand-name-gold { color: var(--accent-gold); }

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
}

.search-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 1001;
  transition: left 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.open { left: 0; }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 14px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu nav a:active { color: var(--accent-gold); }

/* =============================================
   WHATSAPP FAB
   ============================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-fab a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  position: relative;
}

.whatsapp-fab a::before,
.whatsapp-fab a::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-fab a::after {
  inset: -12px;
  animation-delay: 0.5s;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* =============================================
   SHIMMER SKELETON
   ============================================= */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   GRID CONTROLS
   ============================================= */
.grid-controls {
  display: flex;
  gap: 8px;
}

.grid-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.grid-btn:active {
  transform: scale(0.95);
}

.grid-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* =============================================
   BRANDS GRID
   ============================================= */
.brands-grid {
  display: grid;
  gap: 16px;
}

.brands-grid.brands-cols-2 { grid-template-columns: repeat(2, 1fr); }
.brands-grid.brands-cols-3 { grid-template-columns: repeat(3, 1fr); }
.brands-grid.brands-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 600px) {
  .brands-grid.brands-cols-3,
  .brands-grid.brands-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-card-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 20px 12px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.2s;
}

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

.brand-logo-container {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .brand-logo-container {
    width: 140px;
    height: 140px;
  }
}

.brand-logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-initials-fallback {
  display: none;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--accent-gold);
  font-size: 1.75rem;
  font-weight: 700;
}

.brand-card-info {
  text-align: center;
}

.brand-card-info h3 {
  color: #fff;
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

.brand-card-info p {
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-size: 0.8rem;
}

/* =============================================
   PRODUCTS GRID - THEMED DARK
   ============================================= */
.products-grid {
  display: grid;
  gap: 12px;
}

.products-grid.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.products-grid.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.products-grid.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 600px) {
  .products-grid.grid-cols-3,
  .products-grid.grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s;
}

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

.product-card .product-image {
  position: relative;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

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

.product-card .product-info {
  padding: 12px;
}

.product-card .product-info h3 {
  font-size: 0.85rem;
  color: #fff;
  margin: 0;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 16px;
  background: rgba(0,0,0,0.3);
  text-align: center;
}

.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand-white { color: #fff; }
.footer-brand-gold { color: var(--accent-gold); }

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.footer-social a:active {
  background: var(--accent-gold);
  color: #000;
}

.footer-copyright {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

/* =============================================
   HOMEPAGE STYLES
   ============================================= */
.home-profile {
  text-align: center;
  padding: 48px 16px 32px;
}

.profile-image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
}

.profile-image-border {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  animation: profile-glow 3s ease-in-out infinite;
}

@keyframes profile-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.7); }
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}

.profile-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.profile-tagline {
  color: var(--accent-gold);
  font-size: 1rem;
  margin: 0 0 20px;
}

.profile-social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.profile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.profile-social a:active {
  background: var(--accent-gold);
  color: #000;
}

/* About Section */
.home-about {
  margin: 0 16px 40px;
  padding: 28px;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.home-about h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.home-about p {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin: 0;
  font-size: 0.95rem;
}

/* Video Section */
.home-video-section {
  width: 100%;
  margin-bottom: 40px;
}

.home-video-section video {
  width: 100%;
  display: block;
}

/* Category Brand Section */
.home-category-section {
  padding: 0 16px;
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin: 0;
}

.view-all-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: none;
}

/* Brand Links Grid - 150% SIZE */
.brand-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 20px 10px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  transition: transform 0.2s;
}

.brand-link-card:active {
  transform: scale(0.97);
}

/* BRAND LINK LOGO - 150% LARGER */
.brand-link-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-link-logo img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}

.brand-link-card span {
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  font-weight: 500;
}

/* =============================================
   CAROUSEL - Clickable with contained images
   ============================================= */
.home-carousel-section {
  padding: 0 16px;
  margin-bottom: 40px;
}

.home-carousel-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.carousel-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform 0.2s;
}

.carousel-item:active {
  transform: scale(0.98);
}

.carousel-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #111;
  display: block;
}

/* =============================================
   CAROUSEL FULLSCREEN MODAL
   ============================================= */
.carousel-fullscreen-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.carousel-fullscreen-modal.open {
  opacity: 1;
  visibility: visible;
}

.carousel-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-modal-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 20px 80px;
}

.carousel-modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-modal-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.carousel-modal-nav span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* =============================================
   ESSENTIALS SECTION
   ============================================= */
.home-essentials-section {
  padding: 0 16px;
  margin-bottom: 40px;
}

.home-essentials-section h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.essential-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  margin-bottom: 14px;
  border-radius: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 120px;
}

.essential-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 100%);
}

.essential-card-content {
  position: relative;
  z-index: 1;
}

.essential-card h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.essential-card-arrow {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* =============================================
   PAGE CONTROLS
   ============================================= */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--accent-gold);
  margin: 0;
}

.page-header p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

/* BREADCRUMBS */
.breadcrumbs {
  padding: 14px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar { display: none; }

.breadcrumbs a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: rgba(255,255,255,0.3);
}

.breadcrumbs .current {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}

.pagination-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
