:root {
  --bg-color: #161412; /* Dark brownish charcoal */
  --text-color: #fae9cc; /* Spotlight */
  --accent-color: #44281d; /* Night Brown */
  --accent-hover: #553325;
  --border-color: rgba(250, 233, 204, 0.2);
  
  --font-heading: 'Pragmatica Extended', 'Pragmatica', sans-serif;
  --font-body: 'Montserrat Alternates', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-color);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.btn-link {
  background: transparent;
  padding: 0;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.btn-link:hover::after {
  transform: translateX(5px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(22, 20, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  max-width: 120px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hamburger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  background: transparent;
}

.hamburger span {
  width: 16px;
  height: 1px;
  background-color: var(--text-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  mask-image: linear-gradient(to right, transparent, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}

.hero-content {
  max-width: 600px;
}

.hero-title-wrap {
  margin-bottom: 24px;
}

.hero-huge-title {
  font-size: 8rem;
  line-height: 1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.hero-desc {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 48px;
  max-width: 400px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.scroll-down {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  animation: scrollBounce 2s infinite ease-in-out;
}

/* ART REST TASTE section */
.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.col-card {
  position: relative;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  overflow: hidden;
}

.col-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(22, 20, 18, 0.9) 0%, rgba(22, 20, 18, 0.2) 100%);
  z-index: 1;
}

.col-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  z-index: 0;
}

.col-card:hover .col-img {
  transform: scale(1.05);
}

.col-content {
  position: relative;
  z-index: 2;
}

.col-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.col-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 300px;
}

/* Section Title global */
.section-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-size: 2.5rem;
}

.section-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 300px;
}

.events {
  padding: 120px 0;
  background-color: #1a1815;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  border-color: rgba(250, 233, 204, 0.5);
}

.event-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.event-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-date {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.event-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 12px;
}

.event-actions .btn-link {
  font-size: 0.7rem;
}

/* Experience Block */
.experience {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.exp-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}

.experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 0%, var(--bg-color) 100%);
  z-index: 0;
}

.exp-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.exp-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.exp-content p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 40px;
}

/* Exhibitions */
.exhibitions {
  padding: 120px 0;
}

.exh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.exh-main-card {
  position: relative;
  height: 500px;
  grid-row: span 2;
  overflow: hidden;
}

.exh-small-card {
  position: relative;
  height: 238px;
  overflow: hidden;
}

.exh-card-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(22, 20, 18, 0.9) 0%, transparent 100%);
  z-index: 2;
}

.exh-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}

.exh-main-card:hover .exh-img,
.exh-small-card:hover .exh-img {
  transform: scale(1.03);
}

.exh-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.exh-date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 16px;
}

/* Footer */
footer {
  background-color: #12100e;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer-contact {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  opacity: 0.5;
  border-top: 1px solid rgba(250, 233, 204, 0.1);
  padding-top: 24px;
}

/* Workshop Section */
.workshop {
  padding: 160px 0;
  position: relative;
}

.workshop-inner {
  display: flex;
  gap: 100px;
  align-items: center;
  flex-wrap: wrap;
}

.workshop-images {
  flex: 1;
  min-width: 350px;
  position: relative;
}

.workshop-decor {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 1px solid var(--accent-color);
  border-left: 1px solid var(--accent-color);
}

.workshop-img-main {
  width: 85%;
  height: 600px;
  object-fit: cover;
}

.workshop-img-sub {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 60%;
  height: 350px;
  object-fit: cover;
  border: 12px solid var(--bg-color);
}

.workshop-text {
  flex: 1;
  min-width: 350px;
  padding-left: 20px;
}

.workshop-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.workshop-line {
  height: 1px;
  width: 40px;
  background-color: var(--text-color);
  opacity: 0.5;
}

.workshop-label-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.workshop-title {
  font-size: 3.5rem;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.workshop-p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 16px;
}

.workshop-p-bottom {
  margin-bottom: 48px;
}

/* Art Collection (Page 2 reference) */
.collection {
  padding: 0;
  background-color: var(--bg-color);
}

.collection-hero-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: var(--bg-color);
}

.collection-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) grayscale(0.2);
}

.collection-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(22,20,18,0.98) 0%, rgba(22,20,18,0.85) 45%, transparent 100%);
}

.collection-hero-content {
  position: relative;
  z-index: 1;
}

.collection-hero-title {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  color: var(--text-color);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.collection-hero-desc {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 600px;
  opacity: 0.9;
  margin-bottom: 56px;
}

.collection-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-color);
  border-bottom: 1px solid rgba(250, 233, 204, 0.4);
  padding-bottom: 12px;
  letter-spacing: 0.2em;
  display: inline-block;
}
.collection-hero {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
}

.collection-info {
  flex: 1;
  max-width: 500px;
}

.collection-info h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.collection-info p {
  opacity: 0.8;
  margin-bottom: 40px;
}

.collection-gallery {
  flex: 2;
  display: flex;
  gap: 24px;
}

.collection-gallery img {
  width: 50%;
  height: 400px;
  object-fit: cover;
}

.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.filter-selects {
  display: flex;
  gap: 16px;
}

.filter-select {
  background: transparent;
  border: 1px solid rgba(250, 233, 204, 0.2);
  color: var(--text-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 140px;
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23e6e2d8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.filter-select:focus {
  outline: none;
  border-color: rgba(250, 233, 204, 0.5);
}

.filter-select option {
  background: var(--bg-color);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.art-card {
  border: 1px solid var(--border-color);
  background-color: #1a1815;
}

.art-card-img-wrap {
  position: relative;
  padding-top: 120%;
  overflow: hidden;
}

.art-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.art-card:hover img {
  transform: scale(1.05);
}

.art-card-info {
  padding: 16px;
}

.art-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.art-card-author {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 16px;
}

.art-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.art-card-price {
  font-size: 0.9rem;
}

/* Filters Bar */
.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(250, 233, 204, 0.1);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 20, 18, 0.9);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #1a1815;
  border: 1px solid var(--border-color);
  padding: 40px;
  max-width: 400px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 8px;
  opacity: 0.8;
}

.form-group input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 12px;
  color: var(--text-color);
  font-family: var(--font-body);
}

.form-group input:focus {
  outline: none;
  border-color: var(--text-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .three-cols {
    grid-template-columns: 1fr;
  }
  .events-grid, .exh-grid {
    grid-template-columns: 1fr 1fr;
  }
  .art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem !important;
  }
  .container {
    padding: 0 20px;
  }
  .hero-huge-title {
    font-size: 4rem;
  }
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
  .events-grid, .exh-grid, .art-grid {
    grid-template-columns: 1fr;
  }
  .nav-links, .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
    z-index: 1000;
  }
  .hamburger span {
    transition: all 0.3s ease;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  header.nav-open {
    background-color: var(--bg-color) !important;
    height: 100vh;
    bottom: 0;
    align-items: flex-start;
  }
  header.nav-open .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 80px;
    gap: 40px;
    align-items: center;
    order: 3;
  }
  header.nav-open .nav-links a {
    font-size: 1.15rem;
  }
  header.nav-open .header-actions {
    width: 100%;
    justify-content: center;
    margin-top: 40px;
    order: 4;
  }
  header.nav-open .header-actions .btn {
    display: flex;
    width: auto;
  }
  .collection-hero {
    flex-direction: column;
  }
  .filters-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .filter-selects {
    flex-wrap: wrap;
    width: 100%;
    gap: 12px;
  }
  .filter-select {
    flex: 1 1 calc(50% - 16px);
    min-width: 0 !important;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
  
  /* Adapted sections */
  .col-card {
    padding: 24px;
    height: 450px;
  }
  
  .workshop {
    padding: 80px 0;
  }
  .workshop-inner {
    gap: 60px;
  }
  .workshop-images, .workshop-text {
    min-width: 100%;
  }
  .workshop-img-main {
    width: 100%;
    height: 400px;
  }
  .workshop-img-sub {
    width: 70%;
    height: 250px;
    bottom: -30px;
  }
  .workshop-text {
    padding-left: 0;
  }
  .workshop-title {
    font-size: 2.8rem;
  }
  
  .collection-hero-banner {
    height: auto;
    min-height: 80vh;
  }
  .collection-bg-overlay {
    background: linear-gradient(to top, rgba(22,20,18,0.98) 0%, rgba(22,20,18,0.7) 100%);
  }
  .collection-hero-title {
    font-size: 3.5rem;
  }
  .collection-hero-desc {
    font-size: 1rem;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-huge-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
  .workshop-title {
    font-size: 2.2rem;
  }
  .collection-hero-title {
    font-size: 2.8rem;
  }
  .filter-select {
    min-width: 0 !important;
    flex: 1 1 100% !important;
    padding: 10px 16px !important;
  }
  .filter-selects {
    gap: 12px !important;
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.7rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .logo-sub {
    font-size: 0.5rem;
    max-width: 100px;
  }
  .logo-wrap {
    gap: 8px;
  }
  .hamburger {
    width: 32px;
    height: 32px;
  }
  .col-card {
    padding: 16px;
    height: 400px;
  }
  .event-info {
    padding: 16px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}
