:root{
  --primary:#000000;
  --secondary:#d4af37;
  --bg:#f8f9fa;
  --white:#ffffff;
  --text:#374151;
  --heading:#000000;
  --border:#e5e7eb;
  --radius:10px;
  --shadow:0 10px 25px rgba(0,0,0,0.08);
  --container:1200px;
  --gold:#d4af37;
  --muted:#6b7280;
  --panel:#1a1a1a;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Montserrat',sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/* Page load animation */
@keyframes pageLoad{
  from{
    opacity:0;
  }
  to{
    opacity:1;
  }
}

body{
  animation:pageLoad 0.5s ease-out;
}

/* Fade-in animation */
@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeIn{
  from{
    opacity:0;
  }
  to{
    opacity:1;
  }
}

@keyframes slideInRight{
  from{
    opacity:0;
    transform:translateX(30px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

.fade-in{
  animation:fadeInUp 0.6s ease-out forwards;
}

.fade-in-delay{
  opacity:0;
  animation:fadeInUp 0.6s ease-out 0.2s forwards;
}

.fade-in-delay-2{
  opacity:0;
  animation:fadeInUp 0.6s ease-out 0.4s forwards;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* HEADER */
.site-header{
  background:#000000;
  border-bottom:2px solid var(--gold);
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 2px 10px rgba(0,0,0,0.1);
  transition:box-shadow 0.3s ease;
}

.site-header.scrolled{
  box-shadow:0 4px 20px rgba(0,0,0,0.2);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.logo{
  display:flex;
  align-items:center;
  background:var(--white);
  padding:8px 12px;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,0.15);
  transition:transform 0.3s ease;
}

.logo:hover{
  transform:scale(1.05);
}

.logo img{
  height:52px;
  display:block;
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
  color:var(--white);
  padding:8px;
}

.nav ul{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
}

.nav a{
  text-decoration:none;
  color:var(--white);
  font-weight:600;
  padding:8px 14px;
  border-radius:6px;
  transition:all 0.3s ease;
  position:relative;
}

.nav a::after{
  content:'';
  position:absolute;
  bottom:0;
  left:50%;
  width:0;
  height:2px;
  background:var(--gold);
  transition:all 0.3s ease;
  transform:translateX(-50%);
}

.nav a:hover::after,
.nav a.active::after{
  width:80%;
}

.nav a:hover,
.nav a.active{
  background:var(--gold);
  color:#000;
  transform:translateY(-2px);
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:40px;
  padding:70px 0;
}

.hero-left{
  opacity:0;
  animation:fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-right{
  opacity:0;
  animation:slideInRight 0.8s ease-out 0.4s forwards;
}

.hero h1{
  color:var(--heading);
  font-size:2.6rem;
  margin-bottom:12px;
  font-weight:700;
  line-height:1.2;
}

.hero .lead{
  font-size:1.05rem;
  max-width:650px;
  line-height:1.6;
}

.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
  margin-top:30px;
}

.feature{
  padding:16px;
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:all 0.3s ease;
}

.feature:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

.feature h4{
  color:var(--heading);
  margin:0 0 8px 0;
  font-size:1rem;
}

.feature p{
  margin:0;
  font-size:0.9rem;
  color:var(--text);
  line-height:1.5;
}

/* FORM */
.hero-right{
  background:var(--white);
  padding:26px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:all 0.3s ease;
}

.hero-right:hover{
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

.form-title{
  font-weight:700;
  color:var(--heading);
  margin-bottom:14px;
}

input, select, textarea{
  width:100%;
  padding:12px;
  border-radius:6px;
  border:1px solid var(--border);
  margin-bottom:12px;
  font-family:inherit;
  font-size:1rem;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(212,175,55,0.1);
  transform:translateY(-2px);
  transition:all 0.3s ease;
}

input,
select,
textarea{
  transition:all 0.3s ease;
}

input.filled,
textarea.filled,
select.filled{
  border-color:var(--gold);
  background-color:#fffef9;
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown){
  border-color:#ef4444;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown){
  border-color:#10b981;
}

.form-row{
  margin-bottom:12px;
}

.muted{
  color:var(--muted);
}

/* BUTTONS */
.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:6px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.btn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
  transform:translate(-50%,-50%);
  transition:width 0.6s, height 0.6s;
}

.btn:hover::before{
  width:300px;
  height:300px;
}

.btn-primary{
  background:var(--gold);
  color:#000;
  border:none;
  font-weight:700;
  position:relative;
  z-index:1;
}

.btn-primary:hover{
  background:#b8941f;
  color:#000;
  transform:translateY(-2px);
  box-shadow:0 5px 15px rgba(212,175,55,0.4);
}

.btn-primary:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

.btn-ghost{
  border:2px solid var(--primary);
  color:var(--heading);
  background:transparent;
  transition:all 0.3s ease;
  position:relative;
  z-index:1;
}

.btn-ghost:hover{
  background:var(--primary);
  color:var(--white);
  transform:translateY(-2px);
  box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* SECTIONS */
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:40px 0 20px;
}

.section-head h2{
  color:var(--heading);
  font-weight:700;
}

/* CARDS */
.cards,
.services-grid,
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
}

.card,
.service-card{
  background:var(--white);
  padding:20px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:all 0.3s ease;
  transform:translateY(0);
  opacity:0;
  animation:fadeInUp 0.6s ease-out forwards;
}

.card:nth-child(1){animation-delay:0.1s}
.card:nth-child(2){animation-delay:0.2s}
.card:nth-child(3){animation-delay:0.3s}
.card:nth-child(4){animation-delay:0.4s}

.service-card:nth-child(1){animation-delay:0.1s}
.service-card:nth-child(2){animation-delay:0.2s}
.service-card:nth-child(3){animation-delay:0.3s}
.service-card:nth-child(4){animation-delay:0.4s}

.card:hover,
.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.card img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:6px;
  margin-bottom:12px;
  transition:transform 0.3s ease;
}

.card:hover img{
  transform:scale(1.05);
}

.card h3,
.service-card h3{
  color:var(--heading);
  font-weight:700;
}

/* GALLERY */
.gallery-grid img,
.gallery-grid video{
  width:100%;
  height:230px;
  object-fit:cover;
  border-radius:8px;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:all 0.3s ease;
  opacity:0;
  animation:fadeInUp 0.6s ease-out forwards;
}

.gallery-grid img:nth-child(1){animation-delay:0.1s}
.gallery-grid img:nth-child(2){animation-delay:0.2s}
.gallery-grid img:nth-child(3){animation-delay:0.3s}
.gallery-grid img:nth-child(4){animation-delay:0.4s}

.gallery-grid img:hover,
.gallery-grid video:hover{
  transform:scale(1.05);
  box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

.gallery-grid > div{
  position:relative;
  opacity:0;
  animation:fadeInUp 0.6s ease-out 0.5s forwards;
}

.gallery-grid > div:hover .video-overlay{
  transform:translate(-50%,-50%) scale(1.1);
  background:rgba(212,175,55,0.9);
}

.gallery-grid > div:hover video{
  filter:brightness(0.9);
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
  z-index:1000;
  backdrop-filter:blur(5px);
}

.lightbox.active{
  opacity:1;
  pointer-events:auto;
}

.lightbox img,
.lightbox video{
  max-width:90%;
  max-height:85%;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
  animation:fadeIn 0.3s ease-out;
  transform:scale(0.9);
  transition:transform 0.3s ease;
}

.lightbox.active img,
.lightbox.active video{
  transform:scale(1);
}

/* CONTACT */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:30px;
}

.contact-info{
  background:var(--white);
  padding:20px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.contact-info h3{
  color:var(--heading);
  margin-top:0;
}

.contact-info p{
  margin:12px 0;
  line-height:1.6;
}

.contact-info a{
  color:var(--secondary);
  text-decoration:none;
}

.contact-info a:hover{
  text-decoration:underline;
}

.map-container{
  margin-top:20px;
}

.map-container iframe{
  width:100%;
  height:250px;
  border:0;
  border-radius:var(--radius);
}

.page{
  padding:40px 0;
}

.page h1{
  color:var(--heading);
  font-size:2.2rem;
  margin-bottom:12px;
  font-weight:700;
  opacity:0;
  animation:fadeInUp 0.6s ease-out 0.2s forwards;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:30px;
}

@media(max-width:768px){
  .about-grid{
    grid-template-columns:1fr;
  }
}

/* FOOTER */
.site-footer{
  background:#000000;
  color:#dbeafe;
  margin-top:60px;
  border-top:2px solid var(--gold);
}

.foot-inner{
  display:flex;
  justify-content:space-between;
  padding:24px 0;
}

.foot-inner .brand{
  color:var(--gold);
  font-weight:700;
}

.foot-inner div:last-child{
  color:#9ca3af;
}

/* Back to Top Button */
.back-to-top{
  position:fixed;
  bottom:30px;
  right:30px;
  width:50px;
  height:50px;
  background:var(--gold);
  color:#000;
  border:none;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  box-shadow:0 4px 15px rgba(0,0,0,0.2);
  opacity:0;
  visibility:hidden;
  transition:all 0.3s ease;
  z-index:999;
}

.back-to-top.visible{
  opacity:1;
  visibility:visible;
}

.back-to-top:hover{
  transform:translateY(-5px);
  box-shadow:0 6px 20px rgba(212,175,55,0.4);
  background:#b8941f;
}

/* RESPONSIVE */
@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    padding:40px 0;
  }
  .contact-grid{
    grid-template-columns:1fr;
  }
  .section-head{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }
}

@media(max-width:768px){
  .nav-toggle{
    display:block;
  }
  
  .nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#000000;
    border-top:2px solid var(--gold);
    box-shadow:0 4px 6px rgba(0,0,0,0.1);
    max-height:0;
    overflow:hidden;
    transition:max-height 0.3s ease;
  }
  
  .nav.show{
    max-height:500px;
  }
  
  .nav ul{
    flex-direction:column;
    gap:0;
    padding:20px;
  }
  
  .nav li{
    border-bottom:1px solid rgba(212,175,55,0.2);
  }
  
  .nav li:last-child{
    border-bottom:none;
  }
  
  .nav a{
    display:block;
    padding:12px 0;
    color:var(--white);
  }
  
  .hero h1{
    font-size:2rem;
  }
  
  .page h1{
    font-size:1.8rem;
  }
  
  .cards,
  .services-grid,
  .gallery-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
  
  .features{
    grid-template-columns:1fr;
  }
  
  .foot-inner{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }
  
  .header-inner{
    position:relative;
  }
}

@media(max-width:480px){
  .container{
    padding:0 15px;
  }
  
  .hero h1{
    font-size:1.6rem;
    line-height:1.3;
  }
  
  .page h1{
    font-size:1.5rem;
    line-height:1.3;
  }
  
  .hero-right{
    padding:20px;
  }
  
  .card,
  .service-card{
    padding:16px;
  }
  
  .btn{
    padding:10px 16px;
    font-size:0.9rem;
  }
  
  .hero-right .btn,
  .contact-form .btn{
    width:100%;
    text-align:center;
    margin-bottom:10px;
  }
  
  .hero-right div[style*="flex"],
  .contact-form div[style*="flex"]{
    flex-direction:column !important;
  }
  
  .logo img{
    height:42px;
  }
  
  .gallery-grid img,
  .gallery-grid video{
    height:200px;
  }
  
  .hero .lead{
    font-size:0.95rem;
  }
  
  .section-head .btn{
    width:auto;
  }
  
  .contact-info{
    padding:16px;
  }
  
  .map-container iframe{
    height:200px;
  }
  
  input, select, textarea{
    font-size:16px; /* Prevents zoom on iOS */
  }
}
