/* ==================== RESET ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==================== GLOBAL ==================== */
body {
  font-family: 'Caveat', cursive;
  background: #0b0b0b;
  color: white;
  text-align: center;
  scroll-behavior: smooth;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.site-header.hidden {
  opacity: 0;
  transform: translateY(-100%);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .logo {
  height: 80px;
  cursor: pointer;
}

.logo-container .logo-text {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-container .logo-text:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.header-buttons button {
  padding: 10px 20px;
  border: 2px solid white;
  background: transparent;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.header-buttons button:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

/* ==================== HERO ==================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1500px;
  height: 1500px;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 100px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero p {
  font-size: 40px;
  font-style: italic;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

/* ==================== ABOUT ==================== */
.about {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #eee;
}

.about h2 {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  font-family: Arial, sans-serif;
  font-size: 18px;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

/* ==================== GALLERY ==================== */
.gallery-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.gallery-buttons button {
  padding: 10px 20px;
  font-size: 14px;
  border: 2px solid white;
  background: transparent;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  flex: 1 1 45%;
  max-width: 45%;
  min-width: 120px;
}

.gallery-buttons button:hover { background: white; color: black; }

.gallery-category {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.gallery-category.active { display: flex; }

.gallery-category img {
  width: 100%;
  height: auto;           /* keeps correct proportions */
  max-width: 320px;       /* controls size without distortion */
  object-fit: contain;    /* prevents stretching */
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.gallery-category img:hover { transform: scale(1.06); box-shadow: 0 15px 35px rgba(255,255,255,0.3); }

/* ==================== LIGHTBOX ==================== */
.lightbox {
  display: none;
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* ==================== CONTACT ==================== */
.contact {
  padding: 80px 20px;
  background: #0b0b0b;
  color: #eee;
  max-width: 800px;
  margin: auto;
}

.contact h2 { font-size: 36px; margin-bottom: 20px; }
.contact form { display: flex; flex-direction: column; gap: 15px; }

.contact input, .contact textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: black;
  background-color: white;
}

.contact button[type="submit"] {
  padding: 12px; font-size: 18px;
  border: none; border-radius: 8px;
  background: white; color: black; cursor: pointer;
}

.contact button[type="submit"]:hover { background: black; color: white; }

/* ==================== FADE-IN ==================== */
.fade-in { opacity: 1 !important; transform: translateY(0) !important; transition: opacity 1s ease, transform 1s ease; }
.fade-on-scroll { opacity: 0; transform: translateY(20px); transition: all 1s ease; }
.fade-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media(max-width:768px){
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 18px; }
  .header-buttons { flex-direction: column; gap: 8px; }
  .header-buttons button { padding: 6px 12px; font-size: 12px; width: 100%; max-width: none; }
  .gallery-category img { width: 90%; }
  .about { padding: 40px 15px; }
  .contact { padding: 40px 15px; }
}
/* ==================== MOBILE HERO SLIDESHOW FIX ==================== */
@media (max-width:768px){

  .hero-slideshow{
    background-size: contain !important;  /* show full image */
    background-position: center center;
    background-repeat: no-repeat;
  }

}
