/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Georgia', serif;
  font-weight: normal;
  letter-spacing: 0.02em;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ─── Nav ─── */
header {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-family: 'Georgia', serif;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s, opacity 0.3s;
  opacity: 0.7;
  color: #1a1a1a;
}

nav ul a:hover {
  opacity: 1;
  color: #8b7355;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: #2c2c2c;
  color: #fff;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid #2c2c2c;
  cursor: pointer;
}

.btn:hover {
  background: #fff;
  color: #2c2c2c;
}

.btn-outline {
  background: transparent;
  border: 1px solid #2c2c2c;
  color: #2c2c2c;
  margin-left: 1rem;
}

.btn-outline:hover {
  background: #2c2c2c;
  color: #fff;
}

/* ─── Animations ─── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

/* ─── Hero Slideshow ─── */
.hero-slideshow {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  animation: slideUp 1s ease-out 0.3s both;
}

.hero-content h1 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-weight: 300;
  animation: slideUp 1s ease-out 0.4s both;
}

.hero-content p {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  animation: slideUp 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  animation: slideUp 1s ease-out 0.6s both;
}

.btn-transparent {
  padding: 1rem 2.5rem;
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-transparent:hover {
  background: #fff;
  color: #1a1a1a;
  transform: scale(1.05);
}

/* ─── Featured / Grid ─── */
.featured {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  display: none;
}

.featured h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  font-weight: normal;
}

/* ─── Masonry Gallery Grid ─── */
.image-grid {
  column-count: 5;
  column-gap: 1.5rem;
  column-fill: balance;
}

.gallery-item {
  width: 100%;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 2px;
  background: #f5f5f5;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: slideUp 0.6s ease-out;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.image-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: #f5f5f5;
}

@media (max-width: 1400px) {
  .image-grid {
    column-count: 4;
    column-gap: 1.3rem;
  }
}

@media (max-width: 1000px) {
  .image-grid {
    column-count: 3;
    column-gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .image-grid {
    column-count: 2;
    column-gap: 1rem;
  }

  .gallery-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .image-grid {
    column-count: 1;
  }

  .gallery-item {
    margin-bottom: 0.8rem;
  }
}

/* ─── Page Title ─── */
.page-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: normal;
  margin: 3.5rem 0 0.5rem;
  letter-spacing: -0.02em;
  animation: slideDown 0.6s ease-out;
}

.page-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 3rem;
  font-size: 1rem;
  font-weight: 300;
  animation: slideUp 0.6s ease-out 0.1s both;
}

/* ─── Gallery ─── */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.filters {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
  animation: slideUp 0.6s ease-out 0.2s both;
}

.filter-btn {
  padding: 0.5rem 1.3rem;
  border: 1px solid #ddd;
  background: transparent;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  color: #888;
}

.filter-btn:hover {
  border-color: #2c2c2c;
  color: #2c2c2c;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #2c2c2c;
  color: #fff;
  border-color: #2c2c2c;
}

/* ─── Shop ─── */
.shop-grid {
  column-count: 4;
  column-gap: 1.5rem;
  column-fill: balance;
  margin-top: 3rem;
}

.shop-item {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.6s ease-out;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.shop-item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  transform: translateY(-4px);
}

.shop-item-image {
  width: 100%;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 200px;
}

.shop-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
}

.shop-item-info {
  padding: 1.5rem;
}

.shop-item-info h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.shop-item-info .price {
  font-size: 1.1rem;
  color: #2c2c2c;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.shop-item-info .medium {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sold-badge {
  background: #f0f0f0;
  color: #888;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
}

@media (max-width: 1400px) {
  .shop-grid {
    column-count: 3;
    column-gap: 1.3rem;
  }
}

@media (max-width: 1000px) {
  .shop-grid {
    column-count: 2;
    column-gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .shop-grid {
    column-count: 2;
    column-gap: 1rem;
    margin-top: 2rem;
  }

  .shop-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .shop-grid {
    column-count: 1;
  }

  .shop-item {
    margin-bottom: 0.8rem;
  }
}

/* ─── About ─── */
.about-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.about-image img {
  border-radius: 2px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: slideUp 0.6s ease-out;
}

.about-text {
  animation: slideUp 0.6s ease-out 0.1s both;
}

.about-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: normal;
  letter-spacing: -0.01em;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #444;
  line-height: 1.8;
}

/* ─── Contact ─── */
.contact-page {
  max-width: 600px;
  margin: 4rem auto;
  padding: 0 2rem;
  animation: slideUp 0.6s ease-out;
}

.contact-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: normal;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2c2c2c;
}

.contact-form input,
.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
}

/* ─── Admin ─── */
.admin-section {
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-section h2 {
  margin-bottom: 1.5rem;
}

.admin-image-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.admin-thumb {
  position: relative;
}

.admin-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-thumb .remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #cc3333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

/* ─── Workshops ─── */
.workshops-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.workshops-container h1 {
  font-size: 2.8rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  animation: slideDown 0.6s ease-out;
}

.workshops-intro {
  color: #888;
  margin-bottom: 2rem;
  font-size: 1rem;
  animation: slideUp 0.6s ease-out 0.1s both;
  font-weight: 300;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.workshop-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  animation: slideUp 0.6s ease-out;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.workshop-card.full {
  opacity: 0.7;
}

.workshop-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.workshop-info {
  padding: 1.5rem;
}

.workshop-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.workshop-date,
.workshop-time {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.workshop-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.workshop-spots,
.workshop-multiday {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.btn-enrol {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #a0522d;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s;
  margin-top: 1rem;
}

.btn-enrol:hover:not(:disabled) {
  background: #7a3e22;
}

.btn-enrol:disabled,
.btn-enrol.disabled {
  background: #ccc;
  cursor: not-allowed;
}

.no-workshops {
  text-align: center;
  padding: 3rem;
  color: #888;
}

/* ─── Modal ─── */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  border-radius: 6px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal-close:hover {
  color: #000;
}

/* ─── Form ─── */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #a0522d;
  box-shadow: 0 0 4px rgba(160, 82, 45, 0.2);
}

.form-group.hidden {
  display: none;
}

.btn-enrol-submit {
  padding: 0.9rem;
  background: #a0522d;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-enrol-submit:hover {
  background: #7a3e22;
}

.form-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 1rem;
}

/* ─── Admin Workshops ─── */
.admin-workshop-item {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.workshop-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.workshop-admin-header strong {
  font-size: 1.05rem;
}

.workshop-date {
  font-size: 0.9rem;
  color: #666;
}

.workshop-admin-details {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.workshop-admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.btn-small:hover {
  background: #e8e8e8;
}

.btn-danger {
  border-color: #cc3333;
  color: #cc3333;
}

.btn-danger:hover {
  background: #ffe6e6;
}

/* ─── Footer ─── */
footer {
  text-align: center;
  padding: 3rem 2rem;
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 5rem;
  animation: slideUp 1s ease-out;
}

footer p {
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }

  .hero-content p {
    font-size: 1.5rem;
  }
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .image-grid {
    column-count: 3;
    column-gap: 1rem;
  }

  .gallery-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 700px) {
  nav ul {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero-slideshow {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 1rem;
  }

  .btn-transparent {
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
  }

  .image-grid {
    column-count: 2;
    column-gap: 0.8rem;
  }

  .gallery-item {
    margin-bottom: 0.8rem;
  }

  .featured h2 {
    font-size: 1.6rem;
  }

  .page-title {
    font-size: 2rem;
  }
}

.hero-text {
  padding: 2rem;
}
}