/* Custom UI for 1:1 Envato Recreation */

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg-light);
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  font-weight: 700;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.text-gold {
  color: var(--color-secondary);
}

.bg-dark-section {
  background-color: #111111;
  color: #ffffff;
}
.bg-dark-section h2, .bg-dark-section h3 {
  color: #ffffff;
}

/* Offset Block Image Style */
.offset-image-container {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.offset-image-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: -30px;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  z-index: -1;
  border-radius: 4px;
}

.offset-image-container.right-offset::before {
  left: 30px;
  top: 30px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: #000000;
  border: 2px solid var(--color-secondary);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: #000000;
}

/* Navbar */
.nav-link {
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--color-secondary);
}

/* Event Card (Product Card analog) */
.event-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.bg-dark-section .event-card {
  background: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.event-card:hover {
  transform: translateY(-5px);
}
.event-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.event-card-content {
  padding: 1.5rem;
}

/* Special Decorative offset behind specific cards */
.card-offset-wrapper {
  position: relative;
  z-index: 1;
}
.card-offset-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80%;
  height: 80%;
  background-color: var(--color-secondary);
  z-index: -1;
  border-radius: 8px;
}

/* Leaf / Decorative graphics */
.decorative-leaf {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}
