/* style.css - Shared across all pages */
:root {
  --brown: #8B4513;
  --gold: #D4A017;
  --light-gold: #F5D76E;
  --cream: #FDF6F0;
  --dark: #2C1810;
  --white: #FFFFFF;
  --accent-green: #ffffff; /* added accent green */
}
* { margin:0; padding:0; box-sizing:border-box; }
body { 
  font-family: 'Montserrat', sans-serif; 
  background: #FFFFFF; 
  color: var(--dark); 
  line-height: 1.7; 
}
a { text-decoration:none; }

header {
  background: var(--brown);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  height: 120px;
  width: 100%;
}
.logo { display: flex; align-items: center; }
.logo img { height: 150px; width: auto; transition: 0.3s; cursor:pointer; }
.logo img:hover { transform: scale(1.1); }
.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  color: white; margin: 0 1.5rem; font-weight: 600; font-size: 1.1rem;
  position: relative; transition: 0.3s;
}
.nav-links a:hover { color: var(--light-gold); }
.nav-links a::after {
  content: ''; position: absolute; width: 0; height: 3px; bottom: -8px; left: 50%;
  background: var(--light-gold); transition: 0.3s; transform: translateX(-50%);
}
.nav-links a:hover::after { width: 100%; }

.btn {
  background: var(--gold); color: var(--dark); padding: 14px 40px; border-radius: 50px;
  font-weight: 700; display: inline-block; transition: all 0.4s; box-shadow: 0 8px 25px rgba(212,160,23,0.4);
}
.btn:hover { background: var(--light-gold); transform: translateY(-5px); }

.whatsapp {
  position: fixed; bottom: 100px; right: 20px; background: #25D366; color: white;
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  z-index: 999; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

footer {
  background: var(--dark); color: #ccc; text-align: center; padding: 3rem; margin-top: 5rem;
}

/* initial (hidden) state for hero elements to animate in */
.hero h1,
.hero p,
.hero .btn {
  opacity: 0;
  transform: translateY(20px);
}

/* animation keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* when .animate-in is added to .hero, animate children with staggered delays */
.hero.animate-in h1 {
  animation: fadeUp 1200ms cubic-bezier(.22,.9,.37,1) forwards;
  animation-delay: 0.3s;
  color: var(--accent-green); /* LOGI text color set to green */
  letter-spacing: 2px;
}

.hero.animate-in p {
  animation: fadeUp 1000ms cubic-bezier(.22,.9,.37,1) forwards;
  animation-delay: 0.8s;
  font-size: 2.6rem;
  color: rgba(255,255,255,0.95);
}

.hero.animate-in .btn {
  animation: fadeUp 900ms cubic-bezier(.22,.9,.37,1) forwards;
  animation-delay: 1.3s;
}

/* optional small focus/press effect for logo in nav */
.logo img:active {
  transform: scale(0.98);
  transition: transform 120ms;
}

/* Hero video background setup */
.hero {
  position: relative;
  height: 100vh; /* keep as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* full-bleed video that covers hero area */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none; /* so clicks go to nav/links */
}

/* dark/colour overlay so text remains readable */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(14, 32, 10, 0.45), rgba(14, 32, 10, 0.55));
}

/* ensure hero content sits above video+overlay */
.hero > div {
  position: relative;
  z-index: 2;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  margin-left: auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  nav {
    height: 80px;
    padding: 1rem 3%;
  }
  
  .logo img {
    height: 100px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--brown);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-links.active {
    max-height: 300px;
  }
  
  .nav-links a {
    padding: 15px 5%;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .logout-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  nav {
    height: 70px;
  }
  
  .logo img {
    height: 80px;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero.animate-in p {
    font-size: 1rem;
  }
  
  .whatsapp {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 80px;
  }
  
  footer {
    padding: 2rem 1rem;
  }

  input, textarea, select, button {
    font-size: 16px !important;
    min-height: 44px;
  }
  
  .btn {
    padding: 15px 35px;
    font-size: 1rem;
  }
}