/* Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Montserrat', sans-serif; background: #0f172a; color: #f8fafc; line-height: 1.8; overflow-x: hidden; scroll-behavior: smooth; }
h2.section-title { text-align: center; margin-bottom: 40px; color: #facc15; }

/* Navbar */
.navbar { position: fixed; top:0; left:0; width:100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); padding:15px 40px; display:flex; justify-content:space-between; align-items:center; z-index:1000; }
.nav-container { display:flex; width:100%; justify-content:space-between; align-items:center; }
.logo-section { display:flex; align-items:center; gap:10px; }
.logo { height:50px; border-radius:10px; }
.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger span { display:block; width:25px; height:3px; background:#f8fafc; border-radius:3px; }
.nav-links { display:flex; gap:30px; list-style:none; }
.nav-links li a { color:#f8fafc; font-weight:600; transition:0.3s; text-decoration: none; }
.nav-links li a:hover { color:#facc15; }

/* === Services Submenu === */
.nav-links li {
  position: relative;
}

.nav-links li .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  list-style: none;
  padding: 10px 0;
  z-index: 999;
}

.nav-links li .submenu li {
  width: 100%;
}

.nav-links li .submenu li a {
  display: block;
  padding: 10px 20px;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li .submenu li a:hover {
  background: rgba(250,204,21,0.1);
  color: #facc15;
}

/* Show submenu on hover */
.nav-links li:hover > .submenu {
  display: block;
}

/* Responsive submenu handling */
@media (max-width: 768px) {
  .nav-links li .submenu {
    position: static;
    background: rgba(0,0,0,0.7);
    box-shadow: none;
    padding-left: 15px;
  }
}

/* Hero Section */
.hero { position:relative; width:100%; height:100vh; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; }
#bg-video { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; z-index:1; opacity:0.5; }
.hero-content { position:relative; z-index:2; max-width:800px; padding:2rem; }
.hero-content h2 { font-size:2.8rem; margin-bottom:1rem; animation: colorCycle 10s infinite; }
.hero-content p { font-size:1.2rem; margin-bottom:1rem; color:#e2e8f0; }
.cta-btn { padding:10px 25px; background:#facc15; border:none; border-radius:8px; cursor:pointer; font-weight:600; color:#0f172a; transition:0.3s; }
.cta-btn:hover { background:#38bdf8; color:#fff; }
@keyframes colorCycle {0%{color:#facc15;}25%{color:#38bdf8;}50%{color:#34d399;}75%{color:#f472b6;}100%{color:#facc15;}}

/* Popup Form */
.form-popup { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.7); justify-content:center; align-items:center; z-index:1001; }
.form-container { background:#1e293b; padding:30px; border-radius:10px; max-width:400px; width:90%; display:flex; flex-direction:column; color:#f8fafc; }
.form-container input, .form-container textarea { margin-bottom:15px; padding:10px; border-radius:6px; border:none; width:100%; }
.form-container .btn { padding:10px; background:#facc15; border:none; border-radius:6px; cursor:pointer; font-weight:600; }
.form-container .btn.cancel { background:#ef4444; margin-top:10px; }

/* About Section */
#about { padding:100px 5%; text-align:center; }
#about img { width:100%; max-width:900px; border-radius:20px; margin-bottom:30px; box-shadow:0 4px 20px rgba(0,0,0,0.5); }
.highlight { color:#facc15; font-weight:700; }
.italic { font-style:italic; color:#cbd5e1; }

/* Services Section */
.service-carousel { width:100%; overflow:hidden; position:relative; padding:50px 0; }
.service-track { display:flex; gap:30px; transition:transform 1s ease-in-out; }
.service-card { flex:0 0 calc(50% - 15px); background:rgba(255,255,255,0.1); border-radius:15px; padding:20px; text-align:center; transition:transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform:translateY(-5px); box-shadow:0 8px 20px rgba(0,0,0,0.4); }
.service-card img { width:100%; border-radius:10px; margin-bottom:10px; }
.scroll-btn { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,0.5); color:#fff; border:none; font-size:2rem; padding:5px 10px; cursor:pointer; border-radius:50%; z-index:10; }
.left-btn { left:10px; }
.right-btn { right:10px; }

/* Brands Section */
#brands { padding:50px 5%; background:#1e293b; color:#f8fafc; overflow:hidden; }
.brands-container { display:flex; flex-direction:column; gap:20px; }
.brands-row { display:flex; gap:50px; white-space:nowrap; animation: scrollLeft 20s linear infinite; }
.brands-row.right-to-left { animation: scrollRight 20s linear infinite; }
.brand-logo { flex:0 0 auto; width:120px; display:flex; align-items:center; justify-content:center; }
.brand-logo img { max-width:100%; max-height:60px; filter:brightness(0.8); transition:filter 0.3s; }
.brand-logo img:hover { filter:brightness(1); }
@keyframes scrollLeft { 0% {transform:translateX(-100%);} 100% {transform:translateX(100%);} }
@keyframes scrollRight { 0% {transform:translateX(100%);} 100% {transform:translateX(-100%);} }

/* Gallery */
#gallery { padding:100px 5%; text-align:center; }
.gallery-container { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; }
.gallery-item img { width:100%; border-radius:15px; transition:transform 0.3s; }
.gallery-item img:hover { transform:scale(1.05); }

/* Contact Section */
#contact { padding:100px 5%; text-align:center; }
#contact h2 { color:#facc15; margin-bottom:30px; }
#contact p, #contact a { color:#e2e8f0; }

/* Footer */
footer { background: rgba(255,255,255,0.1); backdrop-filter:blur(8px); text-align:center; padding:20px; color:#cbd5e1; }

/* Move to Top Button */
#moveTopBtn { position:fixed; bottom:40px; right:40px; z-index:100; font-size:2rem; background:#facc15; color:#0f172a; border:none; padding:10px 15px; border-radius:50%; cursor:pointer; display:none; }

/* Responsive */
@media(max-width:768px){
  .hamburger { display:flex; }
  .nav-links { display:none; flex-direction:column; position:fixed; top:70px; right:0; width:70%; max-width:250px; background:rgba(0,0,0,0.8); backdrop-filter:blur(10px); padding:20px; gap:15px; z-index:999; height:100vh; overflow-y:auto; }
  .nav-links.active { display:flex; }
  .service-card { flex:0 0 100%; }
  .hero-content h2 { font-size:2rem; }
  .hero-content p { font-size:1rem; }
}

