:root {
  --black: #0c0c0c;
  --dark: #151515;
  --gold: #d4af37;
  --light-gold: #f5e6b3;
  --white: #ffffff;
  --gray: #aaaaaa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
}

/* ================= NAVBAR ================= */

nav {
  background: rgba(0,0,0,0.95);
  height: 90px;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

/* Shrink effect */
nav.scrolled {
  height: 65px;
  background: #000;
  border-bottom: 1px solid var(--gold);
}

/* Logo */
.logo img {
  width: 160px;
  height: auto;
  transition: all 0.4s ease;
}

nav.scrolled .logo img {
  height: 45px;
}

/* Navigation Links */
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 1px;
  padding-bottom: 5px;
}

/* Animated gold underline */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--gold);
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
  url("assets/nizie2.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 1rem;
}

.hero h2 {
  font-size: 3.5rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.hero p {
  margin-top: 1rem;
  color: var(--gray);
  font-size: 1.2rem;
}

.btn {
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--light-gold);
}

/* ================= SECTIONS ================= */

section {
  max-width: 1100px;
  margin: auto;
  padding: 6rem 1.5rem;
}

h2 {
  text-align: center;
  color: var(--gold);
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

/* Default grid for other pages */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 2.5rem;
}

/* Masonry gallery only */
.gallery-grid{
column-count:3;
column-gap:1.5rem;
margin-top:1.5rem;
}

@media(max-width:900px){
.gallery-grid{
column-count:2;
}
}

@media(max-width:500px){
.gallery-grid{
column-count:1;
}
}

.card {
  background: var(--dark);
  padding: 2.5rem;
  border-radius: 10px;
  border: 1px solid #222;
  transition: 0.4s ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 2.5rem;
  background: #000;
  color: var(--gray);
  border-top: 1px solid rgba(212,175,55,0.2);
}

/* ================= FLOATING WHATSAPP ================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 16px 20px;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  z-index: 1000;
}

/* ================= MOBILE ================= */

@media(max-width: 768px){

  nav {
    justify-content: center;
    padding: 0 1.5rem;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  nav ul {
    position: absolute;
    top: 90px;
    right: 0;
    background: #000;
    flex-direction: column;
    width: 220px;
    display: none;
    padding: 2rem;
    gap: 1.5rem;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

}

.premium-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--gold);
  padding: 50px 20px;
  text-align: center;
  margin-top: 80px;
}

.premium-footer p {
  opacity: 0.7;
  margin: 10px 0;
}

.premium-footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.premium-footer a:hover {
  text-shadow: 0 0 10px rgba(212,175,55,0.6);
}

/* FILTER BUTTONS */

.gallery-filters{
text-align:center;
margin-bottom:30px;
}

.filter-btn{
background:#151515;
color:white;
border:1px solid #333;
padding:10px 18px;
margin:6px;
border-radius:30px;
cursor:pointer;
transition:all 0.3s ease;
}

.filter-btn:hover{
background:var(--gold);
color:black;
}

.filter-btn.active{
background:var(--gold);
color:black;
}


.gallery-grid img{
width:100%;
margin-bottom:1.5rem;
border-radius:12px;
border:1px solid #222;
cursor:pointer;
opacity:0;
transform:scale(0.95);
transition:opacity 0.6s ease,
transform 0.6s ease,
box-shadow 0.35s ease;
}

.gallery-grid img.loaded{
opacity:1;
transform:scale(1);
}

.gallery-grid img:hover{
transform:scale(1.05);
box-shadow:0 12px 30px rgba(0,0,0,0.7);
}

/* Typing text responsive */
#typing-text {
  display: inline-block;
  white-space: normal; /* allow wrapping */
  max-width: 90vw; /* never overflow screen */
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212,175,55,0.7);
  border-right: 2px solid var(--gold);
  animation: blink-cursor 0.8s steps(44) infinite normal;
  opacity: 0;
  transition: opacity 0.5s ease-in;
  word-wrap: break-word; 
  font-size: clamp(1.5rem, 6vw, 3rem); 
  line-height: 1.2;
  text-align: center;
}

.hero-content {
  max-width: 95%;
  padding: 0 1rem;
}

@keyframes blink-cursor {
  0%, 50% { border-color: var(--gold); }
  51%, 100% { border-color: transparent; }
}

@media(max-width:768px){
  #typing-text {
    border-right: 1.5px solid var(--gold);
  }
}