/*
Theme Name: Abstract ColorMix Studios
Theme URI: https://abstractcolormixstudios.com
Author: Abstract ColorMix Studios
Author URI: https://abstractcolormixstudios.com
Description: Premium abstract art gallery theme featuring innovative textures and reflective elements. Clean, modern design with smooth animations and parallax effects.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abstract-colormix
Tags: art, gallery, portfolio, e-commerce, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-light-gray: #f5f5f5;
  --color-gray: #e5e5e5;
  --color-dark-gray: #1a1a1a;
  --color-purple: #9333ea;
  --color-purple-light: #a855f7;
  --color-purple-dark: #7e22ce;
  --color-purple-accent: #c084fc;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-gray);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  background: var(--color-white);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-dark-gray);
  color: var(--color-white);
  z-index: 99990 !important;
  padding: 8px var(--spacing-md);
  font-size: 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.top-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
}

.top-bar-menu ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

@media (max-width: 1100px) {
  .top-bar-menu { display: none; }
}

.top-bar-menu a {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  transition: color 0.3s ease;
}

.top-bar-menu a:hover {
  color: var(--color-purple-light);
}

.top-bar-icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  position: relative;
}

.top-bar-icon {
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  position: relative;
  z-index: 99991 !important;
  text-decoration: none;
  border: none;
  pointer-events: auto !important;
}

.top-bar-icon:hover {
  color: var(--color-purple-light);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-purple);
  color: white;
  font-size: 10px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==========================================================================
   Message Popup
   ========================================================================== */
.message-popup {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--color-white);
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.message-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.message-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.message-popup-close {
  cursor: pointer;
  color: var(--color-dark-gray);
  font-size: 18px;
  line-height: 1;
}

.message-form-group {
  margin-bottom: 15px;
}

.message-form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark-gray);
}

.message-form-input,
.message-form-textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
}

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

.message-submit-btn {
  width: 100%;
  padding: 10px;
  background: var(--color-purple);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.message-submit-btn:hover {
  background: var(--color-purple-dark);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99998;
  padding: 0 var(--spacing-md);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
  height: 85px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.header.scrolled {
  top: 48px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
  box-shadow: 0 4px 30px rgba(147, 51, 234, 0.1);
}

.header.scrolled~.hero-gallery {
  margin-top: 133px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
  position: relative;
}

/* ==========================================================================
   Navigation Menus
   ========================================================================== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-sm);
  justify-content: flex-end;
  padding-right: var(--spacing-sm);
  flex: 1;
  flex-wrap: nowrap;
}

.nav-menu-right {
  display: flex;
  list-style: none;
  gap: var(--spacing-sm);
  justify-content: flex-start;
  padding-left: var(--spacing-sm);
  flex: 1;
  flex-wrap: nowrap;
}

@media (max-width: 1200px) {
  .nav-menu, .nav-menu-right { gap: 0.5rem; }
  .nav-menu a, .nav-menu-right a { font-size: 12px; letter-spacing: 1px; padding: 8px 5px; }
}

.nav-menu li,
.nav-menu-right li {
  position: relative;
}

.nav-menu a,
.nav-menu-right a {
  text-decoration: none;
  color: var(--color-dark-gray);
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 10px;
  white-space: nowrap;
  display: block;
}

.nav-menu a::after,
.nav-menu-right a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-purple);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu-right a:hover {
  color: var(--color-purple);
}

.nav-menu a:hover::after,
.nav-menu-right a:hover::after {
  width: 100%;
}

/* ==========================================================================
   Logo
   ========================================================================== */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 2;
  position: relative;
  z-index: 99999;
}

.logo {
  width: 200px;
  height: 190px;
  transition: transform 0.3s ease;
  object-fit: contain;
  position: relative;
  z-index: 100000;
  display: block;
  margin-top: 0;
  padding-top: 0;
}

.logo:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Dropdown Menus
   ========================================================================== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000002;
  margin-top: 8px;
  padding: var(--spacing-xs) 0;
  border: 1px solid rgba(147, 51, 234, 0.1);
  list-style: none;
}

.nav-menu-right .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-menu li:hover .dropdown-menu,
.nav-menu-right li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  padding: 12px var(--spacing-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark-gray);
  text-transform: none;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: block;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  color: var(--color-purple);
  background: rgba(147, 51, 234, 0.05);
  padding-left: calc(var(--spacing-md) + 8px);
}

/* ==========================================================================
   Hamburger Menu
   ========================================================================== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background: var(--color-dark-gray);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(147, 51, 234, 0.2);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu.active {
  display: block;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(147, 51, 234, 0.3) transparent;
}

.mobile-menu.active::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu.active::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-menu.active::-webkit-scrollbar-thumb {
  background: rgba(147, 51, 234, 0.3);
  border-radius: 3px;
}

.mobile-menu.active::-webkit-scrollbar-thumb:hover {
  background: rgba(147, 51, 234, 0.5);
}

.mobile-menu ul {
  list-style: none;
  padding: var(--spacing-md);
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu>ul>li {
  position: relative;
}

.mobile-menu a {
  display: block;
  padding: var(--spacing-md);
  color: var(--color-dark-gray);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-menu a:hover {
  color: var(--color-purple);
  padding-left: calc(var(--spacing-md) + 10px);
}

.mobile-menu .dropdown-menu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: var(--color-white);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  border-left: 2px solid rgba(147, 51, 234, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  padding: var(--spacing-xs) 0;
  list-style: none;
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}

.mobile-menu li:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu .dropdown-menu a {
  font-size: 13px;
  text-transform: none;
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
  letter-spacing: 1px;
}

.mobile-menu .dropdown-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .dropdown-menu li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Hero Gallery
   ========================================================================== */
.hero-gallery {
  margin-top: 125px;
  padding: 0;
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--color-off-white);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  height: 100vh;
  position: relative;
}

.gallery-item-large,
.gallery-item-medium {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  background: var(--color-light-gray);
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-item-large {
  grid-row: span 2;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.gallery-item-large .parallax-bg {
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #ffffff 100%);
}

.gallery-item-medium:nth-child(2) .parallax-bg {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 50%, #f5f5f5 100%);
}

.gallery-item-medium:nth-child(3) .parallax-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e8e8e8 100%);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.gallery-item-large:hover .gallery-overlay,
.gallery-item-medium:hover .gallery-overlay,
.gallery-item-large:focus-visible .gallery-overlay,
.gallery-item-medium:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: var(--color-dark-gray);
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-item-large:hover .gallery-info,
.gallery-item-medium:hover .gallery-info,
.gallery-item-large:focus-visible .gallery-info,
.gallery-item-medium:focus-visible .gallery-info {
  transform: translateY(0);
}

.gallery-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: var(--spacing-xs);
  color: var(--color-dark-gray);
  text-align: left;
}

.gallery-subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
  color: var(--color-purple);
  font-weight: 600;
}

.purple-accent {
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-purple), var(--color-purple-light));
  left: 0;
  top: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}

.gallery-item-large:hover .purple-accent,
.gallery-item-medium:hover .purple-accent,
.gallery-item-large:focus-visible .purple-accent,
.gallery-item-medium:focus-visible .purple-accent {
  transform: scaleY(1);
}

.gallery-item-large:focus-visible,
.gallery-item-medium:focus-visible {
  outline: 3px solid rgba(147, 51, 234, 0.8);
  outline-offset: -3px;
}

/* ==========================================================================
   Hero Content Overlay
   ========================================================================== */
.hero-content-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-dark-gray);
  z-index: 100;
  pointer-events: none;
  max-width: 900px;
  width: calc(100% - 40px);
  padding: var(--spacing-lg) var(--spacing-md);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
  background: transparent;
  backdrop-filter: none;
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  color: var(--color-purple);
  animation: fadeIn 1s ease-out 0.7s forwards;
  opacity: 0;
  text-align: center;
  width: 100%;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  font-family: 'Josefin Sans', sans-serif;
  color: var(--color-dark-gray);
  animation: fadeInUp 1s ease-out 0.9s forwards;
  opacity: 0;
  position: relative;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 0 var(--spacing-sm);
  width: 100%;
  box-sizing: border-box;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-purple), transparent);
  animation: expandLine 1s ease-out 1.2s forwards;
  transform-origin: center;
  transform: translateX(-50%) scaleX(0);
}

@keyframes expandLine {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--spacing-lg);
  opacity: 0.7;
  line-height: 1.8;
  color: var(--color-dark-gray);
  animation: fadeIn 1s ease-out 1.1s forwards;
  opacity: 0;
  text-align: center;
  width: 100%;
  padding: 0 var(--spacing-sm);
  box-sizing: border-box;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  background: transparent;
  color: var(--color-dark-gray);
  padding: 18px 40px;
  border: 2px solid var(--color-purple);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  pointer-events: all;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 1.3s forwards;
  opacity: 0;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
}

.btn-white {
  background: transparent;
  color: var(--color-dark-gray);
  padding: 18px 40px;
  border: 2px solid var(--color-purple);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-white:hover::before {
  left: 0;
}

.btn-white:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--color-white);
  position: relative;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--spacing-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  width: 100%;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-purple);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  text-align: center;
  display: block;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-dark-gray);
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-purple), transparent);
}

.section-description {
  font-size: 1.125rem;
  color: rgba(26, 26, 26, 0.7);
  max-width: 700px;
  margin: var(--spacing-md) auto 0;
  line-height: 1.8;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* ==========================================================================
   Gallery Cards
   ========================================================================== */
.gallery-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-light-gray);
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-gray);
}

.gallery-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-card:nth-child(1) {
  transition-delay: 0.1s;
}

.gallery-card:nth-child(2) {
  transition-delay: 0.2s;
}

.gallery-card:nth-child(3) {
  transition-delay: 0.3s;
}

.gallery-card:nth-child(4) {
  transition-delay: 0.4s;
}

.gallery-card:nth-child(5) {
  transition-delay: 0.5s;
}

.gallery-card:nth-child(6) {
  transition-delay: 0.6s;
}

.gallery-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-card-image {
  transform: scale(1.15) rotate(1deg);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: var(--spacing-md);
  z-index: 2;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.card-title {
  color: var(--color-dark-gray);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: var(--spacing-xs);
  transform: translateY(20px);
  transition: transform 0.5s ease;
  text-align: left;
}

.gallery-card:hover .card-title {
  transform: translateY(0);
}

.card-price {
  color: var(--color-purple);
  font-size: 1.25rem;
  font-weight: 600;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.gallery-card:hover .card-price {
  transform: translateY(0);
}

.gallery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--color-purple);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.gallery-card:hover::before {
  opacity: 0.6;
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}

/* ==========================================================================
   Collections Section
   ========================================================================== */
.collections {
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--color-off-white);
  position: relative;
}

.collections-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--spacing-md);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.collection-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-gray);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(50px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.collection-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.collection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.05), transparent);
  transition: left 0.5s ease;
}

.collection-card:hover::before {
  left: 100%;
}

.collection-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-purple);
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.15);
}

.collection-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
  transition: transform 0.5s ease;
  background: var(--color-light-gray);
}

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

.collection-title {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-gray);
  text-align: left;
}

.collection-description {
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.collection-link {
  color: var(--color-purple);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.collection-link:hover {
  color: var(--color-dark-gray);
  gap: 12px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-off-white) 100%);
  color: var(--color-dark-gray);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--spacing-md);
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: var(--spacing-md);
  color: var(--color-dark-gray);
  position: relative;
  text-align: center;
}

.cta-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-purple), transparent);
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.7;
  line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--color-dark-gray);
  color: var(--color-white);
  text-align: center;
  border-top: 1px solid rgba(147, 51, 234, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-text {
  opacity: 0.7;
  font-size: 14px;
}

.footer-text a {
  color: var(--color-purple-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ==========================================================================
   Admin Bar Fix
   ========================================================================== */
body.admin-bar .top-bar {
  top: 32px;
}

body.admin-bar .header {
  top: 80px;
}

/* ==========================================================================
   Responsive - Tablet (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .top-bar-container { justify-content: center; }
  .top-bar-menu { display: none; }
  
  .header {
    height: 80px;
    padding: 0 var(--spacing-sm);
  }

  .header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .hamburger-menu {
    display: flex;
    order: 1;
  }

  .logo-container {
    grid-column: 2;
    order: 2;
    justify-content: center;
  }

  .nav-menu,
  .nav-menu-right {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu.active {
    max-height: calc(100vh - 150px);
  }

  .logo {
    width: 130px;
    height: 124px;
    margin-top: 0;
  }

  .hero-gallery {
    margin-top: 128px;
  }
  
  .site-main {
    padding-top: 135px;
  }
}

  .gallery-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .gallery-item-large {
    grid-row: span 1;
    height: 60vh;
  }

  .gallery-item-medium {
    height: 40vh;
  }

  .hero-content-overlay {
    position: relative;
    transform: none;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(255, 255, 255, 0.98);
    top: auto;
    left: auto;
  }

  .section-title,
  .cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }

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

  .collections-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ==========================================================================
   Responsive - Mobile (768px)
   ========================================================================== */
@media (max-width: 768px) {
  .top-bar {
    padding: 6px var(--spacing-sm);
  }

  .top-bar-icons {
    gap: var(--spacing-sm);
  }

  .top-bar-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .header {
    padding: var(--spacing-sm);
    height: auto;
    min-height: 120px;
  }

  .header-container {
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .hamburger-menu {
    display: flex;
    order: 1;
  }

  .logo-container {
    grid-column: 2;
    order: 2;
    justify-content: center;
  }

  .nav-menu,
  .nav-menu-right {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu.active {
    max-height: calc(100vh - 150px);
  }

  .mobile-menu .dropdown-menu {
    left: 0;
    right: auto;
    top: 100%;
    transform: translateY(-10px);
    min-width: 100%;
  }

  .mobile-menu li:hover>.dropdown-menu {
    transform: translateY(0);
  }

  .hero-gallery {
    margin-top: 200px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-content-overlay {
    text-align: center;
  }

  .hero-title,
  .hero-subtitle,
  .hero-description {
    text-align: center;
  }
}

/* ==========================================================================
   Responsive - Small Mobile (480px)
   ========================================================================== */
@media (max-width: 480px) {
  .header-container {
    grid-template-columns: auto 1fr;
    gap: var(--spacing-sm);
  }

  .hamburger-menu {
    display: flex;
    order: 1;
  }

  .logo-container {
    grid-column: 2;
    order: 2;
    justify-content: center;
  }

  .nav-menu,
  .nav-menu-right {
    display: none;
  }

  .mobile-menu.active {
    max-height: calc(100vh - 120px);
  }

  .mobile-menu .dropdown-menu {
    left: 0;
    right: auto;
    top: 100%;
    transform: translateY(-10px);
    min-width: 100%;
  }

  .mobile-menu li:hover>.dropdown-menu {
    transform: translateY(0);
  }

  .hero-gallery {
    margin-top: 160px;
  }

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

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

  .hero-content-overlay {
    text-align: center;
    padding: var(--spacing-md);
  }

  .hero-title,
  .hero-subtitle,
  .hero-description {
    text-align: center;
  }

  .gallery-card,
  .collection-card {
    text-align: center;
  }

  .card-title,
  .collection-title {
    text-align: center;
  }
}

/* ==========================================================================
   WooCommerce — Shop Sidebar Grid
   ========================================================================== */
body.woocommerce #primary {
  padding-top: 125px;
}

@media (max-width: 1024px) {
  body.woocommerce #primary {
    padding-top: 250px;
  }
}

@media (max-width: 768px) {
  body.woocommerce #primary {
    padding-top: 200px;
  }
}

@media (max-width: 480px) {
  body.woocommerce #primary {
    padding-top: 160px;
  }
}

body.acm-shop-archive .acm-shop-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

body.acm-shop-archive .acm-shop-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  padding: var(--spacing-lg) 0 var(--spacing-xl);
}

@media (max-width: 1024px) {
  body.acm-shop-archive .acm-shop-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

body.acm-shop-archive .acm-shop-sidebar {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: var(--spacing-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 150px;
}

@media (max-width: 1024px) {
  body.acm-shop-archive .acm-shop-sidebar {
    position: relative;
    top: auto;
  }
}

body.acm-shop-archive .acm-shop-sidebar .widget+.widget {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.acm-shop-archive .acm-shop-sidebar .widget-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  margin: 0 0 var(--spacing-sm);
  position: relative;
  padding-bottom: 10px;
}

body.acm-shop-archive .acm-shop-sidebar .widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
}

body.acm-shop-archive .acm-shop-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.acm-shop-archive .acm-shop-sidebar li {
  margin: 0;
  padding: 0;
}

body.acm-shop-archive .acm-shop-sidebar a {
  color: var(--color-dark-gray);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  font-size: 14px;
  transition: color 0.2s ease;
}

body.acm-shop-archive .acm-shop-sidebar a:hover,
body.acm-shop-archive .acm-shop-sidebar a:focus-visible {
  color: var(--color-purple);
}

body.acm-shop-archive .acm-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-md) 0 var(--spacing-lg);
  background: var(--color-off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
}

body.acm-shop-archive .acm-shop-toolbar .woocommerce-result-count,
body.acm-shop-archive .acm-shop-toolbar .woocommerce-ordering {
  margin: 0;
}

body.acm-shop-archive .acm-shop-toolbar .woocommerce-result-count {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  opacity: 0.75;
}

body.acm-shop-archive .acm-shop-toolbar .woocommerce-ordering,
body.acm-shop-archive .acm-shop-toolbar .acm-shop-per-page {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.acm-shop-archive .acm-shop-toolbar select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--color-white);
  color: var(--color-dark-gray);
}

body.acm-shop-archive .acm-shop-toolbar select:focus-visible {
  outline: 3px solid rgba(147, 51, 234, 0.25);
  outline-offset: 2px;
  border-color: rgba(147, 51, 234, 0.35);
}

body.acm-shop-archive .woocommerce-breadcrumb {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.65);
  margin: 0 0 var(--spacing-md);
}

body.acm-shop-archive .woocommerce-breadcrumb a {
  color: rgba(26, 26, 26, 0.85);
  text-decoration: none;
}

body.acm-shop-archive .woocommerce-breadcrumb a:hover {
  color: var(--color-purple);
}

body.acm-shop-archive .woocommerce-products-header__title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 var(--spacing-md);
}

body.acm-shop-archive .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
}

@media (max-width: 1024px) {
  body.acm-shop-archive .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.acm-shop-archive .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

body.acm-shop-archive .woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: var(--spacing-md);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.acm-shop-archive .woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 60px rgba(147, 51, 234, 0.12);
  border-color: rgba(147, 51, 234, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  body.acm-shop-archive .woocommerce ul.products li.product {
    transition: none;
  }

  body.acm-shop-archive .woocommerce ul.products li.product:hover {
    transform: none;
  }
}

body.acm-shop-archive .woocommerce ul.products li.product a {
  text-decoration: none;
}

body.acm-shop-archive .woocommerce ul.products li.product a img {
  border-radius: 12px;
  margin: 0 0 var(--spacing-sm);
}

body.acm-shop-archive .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  margin: 0 0 8px;
}

body.acm-shop-archive .woocommerce ul.products li.product .price {
  font-size: 15px;
  color: var(--color-dark-gray);
  margin: 0 0 10px;
}

body.acm-shop-archive .woocommerce ul.products li.product .star-rating {
  margin: 0 auto 10px;
}

body.acm-shop-archive .woocommerce ul.products li.product .button,
body.acm-shop-archive .woocommerce a.button,
body.acm-shop-archive .woocommerce button.button {
  background: transparent;
  color: var(--color-dark-gray);
  border: 2px solid var(--color-purple);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.25s ease;
}

body.acm-shop-archive .woocommerce ul.products li.product .button:hover,
body.acm-shop-archive .woocommerce a.button:hover,
body.acm-shop-archive .woocommerce button.button:hover {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.25);
  transform: translateY(-2px);
}

body.acm-shop-archive .woocommerce ul.products li.product .button:focus-visible,
body.acm-shop-archive .woocommerce a.button:focus-visible,
body.acm-shop-archive .woocommerce button.button:focus-visible {
  outline: 3px solid rgba(147, 51, 234, 0.25);
  outline-offset: 3px;
}

body.acm-shop-archive .widget_price_filter .price_slider_wrapper {
  margin-top: var(--spacing-sm);
}

body.acm-shop-archive .widget_price_filter .ui-slider .ui-slider-range {
  background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
}

body.acm-shop-archive .widget_price_filter .ui-slider .ui-slider-handle {
  border: 2px solid var(--color-purple);
  background: var(--color-white);
}/* ==========================================================================
   Main Content Offset
   ========================================================================== */
/* Fix for Accordion/Content overlap with fixed header */
.site-main {
    padding-top: 135px;
}

@media (max-width: 991px) {
    .site-main {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .site-main {
        padding-top: 100px;
    }
}
