/* NWDTOYS Website Styles – Mobile-First & Responsive */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: white;
  background: #0f0f1e;
  min-height: 100vh;
  line-height: 1.6;
}

/* Header & Menu */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url('_assy_5.png') center/cover no-repeat fixed;
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

#left-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

#left-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
}

#left-links a:hover, #left-links a.active,
#mobile-menu a:hover, #mobile-menu a.active { 
  color: #00e0ff; 
}

#left-icon img { 
  height: 36px; 
  width: auto; 
}

#right-icon img { 
  height: 36px; 
  width: auto; 
}

/* Hamburger Button */
#hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 5px;
}

/* Mobile Menu Dropdown */
#mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.95);
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  padding: 20px;
  backdrop-filter: blur(10px);
  z-index: 999;
}

#mobile-menu.active { display: flex; }

#mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 15px 0;
  font-size: 20px;
  border-bottom: 1px solid #333;
  text-align: center;
}

.mobile-logo {
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid #333;
}

.mobile-logo img { height: 40px; }

/* Background Overlay */
.dimmed-bg {
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: url('_assy_5.png') center/cover no-repeat fixed;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

/* Main Content */
main {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  padding: 80px 20px 120px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: rgba(0,0,0,0.5);
  padding: 50px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  text-align: center;
}

h1 { 
  font-size: 3.5rem; 
  margin-bottom: 2rem; 
}

p { 
  font-size: 1.3rem; 
  line-height: 1.8; 
  margin-bottom: 1.5rem; 
}

/* Gallery */
.gallery-grid { 
  columns: 4 300px; 
  column-gap: 20px; 
  margin-top: 2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: all 0.4s;
}

.gallery-item:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 20px 40px rgba(0,170,255,0.4); 
}

.gallery-item img { 
  width: 100%; 
  display: block; 
  border-radius: 16px; 
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 2rem;
}

.contact-grid h1 { grid-column: 1 / -1; }

label { 
  display: block; 
  margin: 20px 0 8px; 
  font-size: 1.1rem; 
  text-align: left;
}

input, textarea {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
}

input::placeholder, textarea::placeholder { color: #aaa; }

button {
  margin-top: 30px;
  padding: 14px 40px;
  font-size: 1.1rem;
  background: #00e0ff;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  width: 100%;
}

button:hover { background: #00b8d4; transform: scale(1.05); }

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

.map-info {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 960px) {
  #left-links { gap: 25px; }
  #left-links a { font-size: 17px; }
}

@media (max-width: 860px) {
  #left-links { display: none; }
  #hamburger { display: block; }
  nav { padding: 0 15px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  .card { padding: 30px; }
  .gallery-grid { columns: 2 260px; }
  main { padding: 60px 15px 80px; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  h1 { font-size: 2.4rem; }
  button { padding: 12px 20px; }
  .map-container { height: 250px; }
}
