/*
Theme Name: Art House Gallery Gallery Gallery
Theme URI: https://arthouse.ge/
Author: Antigravity AI
Author URI: https://arthouse.ge/
Description: Minimalist, Pixel-Perfect contemporary art gallery and cultural space WordPress Theme.
Version: 1.0.0
Text Domain: arthouse-gallery-gallery-gallery
*/

:root {
  --font-primary: 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --color-bg: #FFFFFF;
  --color-dark: #000000;
  --color-dark-subtle: #111111;
  --color-text-main: #000000;
  --color-text-muted: #666666;
  --color-text-light: #999999;
  --color-border: #E5E5E5;
  --color-border-dark: #222222;
  --color-border-input: #333333;
  --container-max: 1380px;
  --container-pad: 40px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000000;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-navigation a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
}

.main-navigation a.active,
.main-navigation a:hover {
  opacity: 0.5;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #000000;
  transition: 0.3s;
}

/* HERO SLIDER */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  min-height: 560px;
  background-color: #000;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 600px;
}

.hero-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.btn-outline {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #000000;
  opacity: 1;
}

.hero-pagination {
  position: absolute;
  bottom: 40px;
  right: 50px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-dot.active {
  background-color: #ffffff;
}

/* PAGE HEADINGS */
.page-header-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 50px;
  margin-bottom: 30px;
}

.filter-subnav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 45px;
}

.filter-subnav a,
.filter-subnav button {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
  padding-bottom: 4px;
  cursor: pointer;
}

.filter-subnav a.active,
.filter-subnav button.active {
  color: #000000;
  border-bottom: 1px solid #000000;
}

/* GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 50px;
  margin-bottom: 70px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 40px;
  margin-bottom: 70px;
}

.event-card {
  display: flex;
  flex-direction: column;
}

.event-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f3f3f3;
  overflow: hidden;
  margin-bottom: 16px;
}

.event-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-card-thumb img {
  transform: scale(1.03);
}

.event-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 8px;
}

.event-card-meta {
  font-size: 10px;
  color: #666666;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.artist-card {
  display: flex;
  flex-direction: column;
}

.artist-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f3f3f3;
  overflow: hidden;
  margin-bottom: 12px;
}

.artist-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.artist-card:hover .artist-card-thumb img {
  transform: scale(1.03);
}

.artist-card-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
}

.pub-card {
  display: flex;
  flex-direction: column;
}

.pub-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f3f3f3;
  overflow: hidden;
  margin-bottom: 12px;
}

.pub-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-card-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pub-card-issue {
  font-size: 10px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.pub-card-price {
  font-size: 10px;
  color: #666666;
  font-weight: 500;
}

/* DETAIL VIEWS */
.event-hero-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 50px;
}

.event-hero-carousel .carousel-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.event-hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-header-block {
  text-align: left;
  max-width: 800px;
  margin-bottom: 36px;
}

.single-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.single-meta-details {
  font-size: 11px;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

.single-meta-details strong {
  text-transform: uppercase;
  color: #000;
}

.article-content {
  font-size: 11.5px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 40px;
}

.article-content p {
  margin-bottom: 20px;
}

.media-embed-container {
  margin: 40px 0;
  width: 100%;
}

.media-embed-container iframe,
.media-embed-container img {
  width: 100%;
  display: block;
}

.section-subheading {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 60px 0 35px 0;
}

.works-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
}

.works-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
  max-width: 900px;
}

.works-item {
  flex: 0 0 200px;
  text-align: left;
}

.works-item-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f3f3f3;
  margin-bottom: 12px;
}

.works-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-item-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-nav-btn {
  background: none;
  font-size: 18px;
  cursor: pointer;
  padding: 10px;
  color: #000;
}

.btn-center-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.btn-bordered {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #000000;
  color: #000000;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn-bordered:hover {
  background-color: #000000;
  color: #ffffff;
  opacity: 1;
}

.featured-artists-block {
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.featured-artist-entry {
  margin-bottom: 40px;
}

.featured-artist-entry h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.featured-artist-entry p {
  font-size: 11px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 10px;
}

.featured-artist-entry a.read-more {
  font-size: 10px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #000;
}

.artist-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 40px 0 70px 0;
  align-items: start;
}

.artist-portrait-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f7f7f7;
}

.artist-portrait-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-bio-text {
  font-size: 11.5px;
  line-height: 1.85;
  color: #333333;
}

.artist-bio-text p {
  margin-bottom: 18px;
}

.product-single-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  margin: 40px 0 80px 0;
  align-items: start;
}

.product-gallery-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-gallery-vertical img {
  width: 100%;
  display: block;
}

.product-info-panel {
  position: sticky;
  top: 100px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-secondary {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.product-specs {
  font-size: 11px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-price {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.btn-purchase-solid {
  display: block;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}

.btn-purchase-solid:hover {
  opacity: 0.85;
}

.accordion-item {
  border-top: 1px solid #e5e5e5;
  padding: 14px 0;
  cursor: pointer;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-header .arrow {
  transform: rotate(180deg);
}

.accordion-body {
  padding-top: 10px;
  font-size: 11px;
  color: #555;
  line-height: 1.6;
  display: none;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* FOOTER */
.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 70px;
  font-size: 11px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-brand-tagline {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #888888;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h5 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #aaaaaa;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-col a:hover {
  color: #ffffff;
}

.newsletter-desc {
  color: #888888;
  font-size: 10px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.newsletter-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.newsletter-input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--color-border-input);
  padding: 10px 14px;
  color: #ffffff;
  font-size: 10.5px;
}

.newsletter-input::placeholder {
  color: #666666;
}

.newsletter-input:focus {
  border-color: #888888;
}

.newsletter-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--color-border-input);
  color: #ffffff;
  padding: 11px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.25s ease;
}

.newsletter-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

@media (max-width: 1024px) {
  :root {
    --container-pad: 24px;
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 24px var(--container-pad);
  }
  .main-navigation.open {
    display: block;
  }
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-hero-carousel {
    grid-template-columns: 1fr;
  }
  .artist-detail-grid,
  .product-single-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
}
