/*
Theme Name: Visual Audio Art
Template: best-shop
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A custom child theme for Visual Audio Art, based on the Open WooCommerce parent theme.
Version: 1.0.0
Text Domain: visual-audio-art
*/

/* Inherit styles from parent theme */
@import url("../best-shop/style.css");

/* Header */
.site-header {
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 100%;
   background-color: #8e44ad;
   padding: 20px 0 0 0;
   position: relative;
   overflow: hidden;
   z-index: 1;
}

.site-branding {
   display: flex;
   justify-content: flex-start;
   width: 100%;
   margin-bottom: 20px;
   padding-left: 50px;
}

.site-branding img,
.custom-logo {
   max-height: 150px;
   width: auto;
   height: auto;
   transform: none;
   -webkit-transform: none;
   filter: none;
   image-rendering: auto;
}

/* Remove duplicate site title */
.site-title-wrapper {
   display: none;
}

/* Navigation */
.main-navigation {
   width: 100%;
   background-color: #4a235a;
   margin: 0;
   padding: 0;
}

.nav-wrapper {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

.nav-menu {
   display: flex;
   justify-content: center;
   list-style: none;
   margin: 0;
   padding: 10px 0;
}

.nav-menu li {
   margin: 0 20px;
   position: relative;
}

.nav-menu a {
   display: block;
   padding: 8px 15px;
   text-decoration: none;
   color: #ffffff;
   font-weight: 500;
   transition: color 0.3s ease;
}

.nav-menu a:hover {
   color: #e8e8e8;
}

/* Animated background orbs */
@keyframes orb-float {
   0% { opacity: 0; transform: translate(0, 0) scale(1); }
   25% { opacity: 0.5; transform: translate(30px, -25px) scale(1.2); }
   50% { opacity: 0.3; transform: translate(-25px, 15px) scale(0.8); }
   75% { opacity: 0.6; transform: translate(20px, -30px) scale(1.1); }
   100% { opacity: 0; transform: translate(0, 0) scale(1); }
}

.site-header::before,
.site-header::after {
   content: '';
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   pointer-events: none;
   z-index: -1;
}

.site-header::before {
   background: 
       radial-gradient(circle at 30% 50%, rgba(255,255,255,0.4) 0%, transparent 30%),
       radial-gradient(circle at 70% 50%, rgba(255,255,255,0.5) 0%, transparent 25%),
       radial-gradient(circle at 50% 20%, rgba(255,255,255,0.6) 0%, transparent 20%);
   animation: orb-float 6s ease-in-out infinite;
}

.site-header::after {
   background: 
       radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 25%),
       radial-gradient(circle at 80% 40%, rgba(255,255,255,0.4) 0%, transparent 20%),
       radial-gradient(circle at 40% 80%, rgba(255,255,255,0.5) 0%, transparent 15%);
   animation: orb-float 9s ease-in-out infinite reverse;
}

/* Product Grid Layout */
.woocommerce ul.products {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1px;
   padding: 20px;
   background-color: rgba(255, 255, 255, 0.1);
}

.woocommerce ul.products li.product {
   width: 100% !important;
   margin: 0 !important;
   padding: 20px;
   background-color: #4a235a;
   transition: transform 0.3s ease;
}

.woocommerce ul.products li.product img {
   width: 100%;
   height: 300px;
   object-fit: cover;
   margin: 0 0 1em;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
   font-size: 1.1em !important;
   padding: 0.5em 0;
   color: #ffffff;
}

.woocommerce ul.products li.product .price {
   color: #ffffff;
   font-size: 1.2em;
   margin-top: 0.5em;
}

/* Full Width Product Layout */
.product-layout-fullwidth {
   width: 100%;
   max-width: 100%;
   margin: 0;
   padding: 0;
}

.product-header-full {
   width: 100%;
   background-color: #4a235a;
   padding: 30px 0;
   margin: 0;
}

.product-header-full .product-title {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
   color: #ffffff;
   font-size: 2em;
   text-align: left;
}

.gallery-scroller-full {
   width: 100%;
   display: flex;
   gap: 0;
   overflow-x: auto;
   scrollbar-width: thin;
   scrollbar-color: #4a235a #ddd;
   margin: 0;
   padding: 0;
   scroll-snap-type: x mandatory;
}

.gallery-item {
   flex: 0 0 100%;
   width: 100%;
   scroll-snap-align: start;
   position: relative;
}

.gallery-item img {
   width: 100%;
   height: auto;
   display: block;
}

.purchase-section-full {
   max-width: 400px;
   margin: 30px auto;
   padding: 20px;
   background-color: #4a235a;
   border-radius: 8px;
   color: #ffffff;
}

.description-section-full {
   width: 100%;
   background-color: #f5f5f5;
   padding: 40px 0;
   margin: 0;
}

.description-content {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* Buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
   background-color: #4a235a;
   color: #ffffff;
   transition: all 0.3s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
   background-color: #5c2d73;
   color: #ffffff;
}

/* Footer */
.site-footer {
   background-color: #333333;
   color: #ffffff;
   padding: 20px 0;
}

.site-info {
   display: block !important;
   text-align: center;
   padding: 10px 0;
}

/* Hide WooCommerce elements we don't want */
.woocommerce-product-gallery__trigger,
.woocommerce-product-gallery__wrapper,
.woocommerce-tabs,
.related.products,
.zoomImg {
   display: none !important;
}

/* Responsive Layout */
@media screen and (max-width: 1024px) {
   .woocommerce ul.products {
       grid-template-columns: repeat(3, 1fr);
   }
}

@media screen and (max-width: 768px) {
   .woocommerce ul.products {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .nav-menu {
       flex-direction: column;
       align-items: center;
   }
   
   .nav-menu li {
       margin: 5px 0;
   }
   
   .site-branding img {
       max-height: 80px;
   }
}

@media screen and (max-width: 480px) {
   .woocommerce ul.products {
       grid-template-columns: 1fr;
   }
}