/* Google Fonts */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #101C2C 0%, #23395D 100%);
  color: #e6eaf1;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar {
  background: rgba(16, 28, 44, 0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.navbar.scrolled {
  background: rgba(16, 28, 44, 0.98);
  box-shadow: 0 2px 16px #0004;
  backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #C0C0C0;
  text-shadow: 0 2px 8px #0008;
  text-decoration: none;
}

.logo:hover, .logo:focus {
  color: #C0C0C0;
  text-decoration: none;
}

nav a {
  color: #e6eaf1;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

nav a:hover, nav a.active {
  color: #C0C0C0;
}

nav a.cart-link {
  font-size: 1.2rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem 2rem 2rem;
  background: linear-gradient(120deg, #101C2C 60%, #23395D 100%);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #C0C0C0;
  text-shadow: 0 2px 12px #000a;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #e6eaf1;
}

.cta-btn {
  background: #C0C0C0;
  color: #101C2C;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 24px #C0C0C044;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.cta-btn.secondary {
  background: transparent;
  color: #C0C0C0;
  border: 2px solid #C0C0C0;
  margin-top: 2rem;
}

.cta-btn:hover, .cta-btn:focus {
  background: #101C2C;
  color: #C0C0C0;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 32px #C0C0C088;
}

.hero-img {
  margin-left: 3vw;
  margin-right: 0;
  width: 520px;
  max-width: 40vw;
  border-radius: 32px;
  box-shadow: 0 8px 48px #000a;
  filter: brightness(1.08) contrast(1.08);
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.featured-section {
  padding: 3rem 2rem 4rem 2rem;
  background: rgba(16,28,44,0.7);
  border-radius: 32px;
  margin: 2rem auto;
  max-width: 1400px;
  width: 95%;
  box-shadow: 0 4px 32px #0004;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-section h2 {
  text-align: center;
  color: #C0C0C0;
  margin-bottom: 2rem;
}

.featured-gallery {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.featured-item {
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  box-shadow: 0 2px 16px #0002;
  padding: 1.2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.featured-item:hover, .featured-item:focus {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 12px 36px #C0C0C088;
}

.featured-item img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 16px #0004;
}

.featured-item h3 {
  color: #C0C0C0;
  font-size: 1.1rem;
  margin: 0;
}

.gallery-section {
  padding: 3rem 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-bar button {
  background: #101C2C;
  color: #C0C0C0;
  border: 1px solid #C0C0C0;
  border-radius: 24px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.filter-bar button.active, .filter-bar button:hover {
  background: #C0C0C0;
  color: #101C2C;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  box-shadow: 0 2px 16px #0002;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px #C0C0C044;
}

.gallery-item img {
  width: 100%;
  max-width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 16px #0004;
}

.gallery-item h3 {
  color: #C0C0C0;
  font-size: 1.1rem;
  margin: 0;
}

.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,28,44,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 48px #000a;
  text-align: center;
  position: relative;
  min-width: 320px;
  max-width: 90vw;
  animation: popIn 0.3s;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #C0C0C0;
  cursor: pointer;
  background: none;
  border: none;
}

.configurator-section {
  padding: 3rem 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.configurator-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.configurator-preview {
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  box-shadow: 0 2px 16px #0002;
  padding: 2rem;
  text-align: center;
}

#config-preview {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0004;
}

#config-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  box-shadow: 0 2px 16px #0002;
  padding: 2rem 2.5rem;
  min-width: 260px;
}

#config-form label {
  color: #C0C0C0;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

#config-form select {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid #C0C0C0;
  background: #101C2C;
  color: #C0C0C0;
  font-size: 1rem;
  margin-top: 0.3rem;
}

#add-config-to-cart {
  margin-top: 1.5rem;
  background: #C0C0C0;
  color: #101C2C;
  border: none;
  border-radius: 24px;
  padding: 0.7rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

#add-config-to-cart:hover {
  background: #101C2C;
  color: #C0C0C0;
  transform: translateY(-2px) scale(1.04);
}

.about-section {
  padding: 3rem 2rem 4rem 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.04);
  border-radius: 32px;
  box-shadow: 0 4px 32px #0004;
}

.about-section h2, .about-section h3 {
  color: #C0C0C0;
}

.about-section ul {
  list-style: disc inside;
  color: #C0C0C0;
  margin-left: 1.5rem;
}

.contact-section {
  padding: 3rem 2rem 4rem 2rem;
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.04);
  border-radius: 32px;
  box-shadow: 0 4px 32px #0004;
  text-align: center;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

#contact-form input, #contact-form textarea {
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid #C0C0C0;
  background: #101C2C;
  color: #C0C0C0;
  font-size: 1rem;
  resize: none;
}

#contact-form button {
  background: #C0C0C0;
  color: #101C2C;
  border: none;
  border-radius: 24px;
  padding: 0.7rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

#contact-form button:hover {
  background: #101C2C;
  color: #C0C0C0;
  transform: translateY(-2px) scale(1.04);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social-links img {
  width: 32px;
  height: 32px;
  filter: brightness(1.2) drop-shadow(0 2px 8px #C0C0C088);
  transition: transform 0.2s;
}

.social-links a:hover img {
  transform: scale(1.15) rotate(-8deg);
}

.map-placeholder {
  background: #101C2C;
  color: #C0C0C0;
  border-radius: 16px;
  padding: 1.2rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.7;
}

.cart-section {
  padding: 3rem 2rem 4rem 2rem;
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.04);
  border-radius: 32px;
  box-shadow: 0 4px 32px #0004;
}

#cart-items {
  margin-bottom: 2rem;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  color: #C0C0C0;
}

#checkout-btn {
  background: #C0C0C0;
  color: #101C2C;
  border: none;
  border-radius: 24px;
  padding: 0.7rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

#checkout-btn:hover {
  background: #101C2C;
  color: #C0C0C0;
  transform: translateY(-2px) scale(1.04);
}

.footer {
  background: rgba(16, 28, 44, 0.98);
  text-align: center;
  padding: 2rem 0 1rem 0;
  color: #b0b8c1;
  font-size: 0.95rem;
  margin-top: 3rem;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px #0002;
  margin-top: auto;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer .social-links {
  margin-top: 0.5rem;
}

nav a.active {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: #C0C0C0;
  border-radius: 2px;
  transition: 0.3s;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: rgba(16, 28, 44, 0.98);
  box-shadow: -4px 0 24px #0008;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  transition: right 0.3s cubic-bezier(.4,2,.6,1);
}
.sidebar.open {
  right: 0;
}
.close-sidebar {
  background: none;
  border: none;
  color: #C0C0C0;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 2rem;
  cursor: pointer;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.sidebar-nav a {
  color: #e6eaf1;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid #23395D;
  transition: color 0.2s;
}
.sidebar-nav a:last-child {
  border-bottom: none;
}
.sidebar-nav a:hover {
  color: #C0C0C0;
}

@media (max-width: 900px) {
  .navbar nav {
    display: none;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
    position: absolute;
    right: 18px;
    top: 18px;
  }
  .logo {
    margin-right: auto;
    margin-top: 18px;
  }
  .featured-section .cta-btn.secondary {
    display: block;
    margin: 2rem auto 0 auto;
    text-align: center;
  }
  .slider-btn {
    display: none;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
  }
  .hero-img {
    margin-top: 2rem;
    width: 90vw;
    max-width: 340px;
  }
  .featured-gallery {
    flex-direction: column;
    align-items: center;
  }
  .configurator-container {
    flex-direction: column;
    align-items: center;
  }
  .navbar .container {
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
  }
}

@media (max-width: 600px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.5rem;
  }
  nav a {
    margin: 0 0.5rem;
    font-size: 1rem;
  }
  .footer {
    font-size: 0.9rem;
    padding: 1rem 0;
  }
  .about-section, .contact-section, .cart-section {
    padding: 1.5rem 0.5rem 2rem 0.5rem;
  }
}

.slider {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0004;
  background: #101C2C;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  border-radius: 16px;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.4,2,.6,1);
  transform: translateX(100%);
  pointer-events: none;
}
.slider-img.active {
  opacity: 1;
  z-index: 2;
  transform: translateX(0);
  pointer-events: auto;
}
.slider-img.slide-left {
  transform: translateX(-100%);
  opacity: 0;
}
.slider-img.slide-right {
  transform: translateX(100%);
  opacity: 0;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16,28,44,0.7);
  color: #C0C0C0;
  border: none;
  font-size: 2rem;
  padding: 0 0.5rem;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  transition: background 0.2s;
}
.slider-btn.prev {
  left: 8px;
}
.slider-btn.next {
  right: 8px;
}
.slider-btn:hover {
  background: #C0C0C0;
  color: #101C2C;
}

.featured-section .cta-btn.secondary {
  margin: 2rem 0 0 0;
  text-align: center;
  display: inline-block;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 