:root {
  --primary-color: #f0c419;
  --bg-color: #0a0a0a;
  --text-color: #fff;
  --text-secondary: #999;
  --overlay: rgba(0, 0, 0, 0.7);
}

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

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  opacity: 0;
  animation: pageLoad 0.6s ease-out forwards;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

main { 
  min-height: 100vh; 
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  width: 100%;
  height: 100vh;
  padding: 4px;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-6px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

.grid-item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-color);
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
  contain: layout style paint;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.2s; }
.grid-item:nth-child(5) { animation-delay: 0.3s; }
.grid-item:nth-child(6) { animation-delay: 0.4s; }

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  will-change: transform;
}

.grid-item:hover img {
  transform: scale(0.98);
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--overlay);
  padding: 22px 40px;
  border-radius: 12px;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: var(--text-color);
  width: max-content;
}

.hero-title h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1;
}

.hero-title p {
  font-size: 1.25rem;
  line-height: 1.3;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--overlay);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  animation: fadeInIndicator 0.8s ease-out 1.5s forwards, bounce 2s infinite 2.3s;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  opacity: 0;
}

@keyframes fadeInIndicator {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-indicator:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateX(-50%) scale(1.1);
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
  animation: none;
}

.content-section {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-color);
}

.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-weight: 500;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary-color);
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 1.5rem;
  max-width: 700px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 15px;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.social-link:hover { 
  opacity: 0.8; 
  background: rgba(255, 255, 255, 0.1);
}

.social-link svg { 
  margin-right: 8px; 
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background: #d4b015;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 196, 25, 0.3);
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-item:nth-child(4) { 
    display: none; 
  }
  .grid-item:nth-child(n+6) { 
    display: none; 
  }
  .hero-title { 
    padding: 20px 30px; 
  }
  .hero-title h1 { 
    font-size: 1.8rem; 
  }
  .content-section {
    padding: 2rem 1rem;
  }
  .content-section h2 {
    font-size: 1.8rem;
  }
  .scroll-indicator {
    width: 45px;
    height: 45px;
    bottom: 80px;
  }
  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--bg-color);
  }
}

/*hey i know my css sucks dont @ me */