/* 
  Zona Cero Studio - Premium Dark Theme
*/

:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1f1f1f;

  --text-main: #f5f5f5;
  --text-muted: #a3a3a3;

  --accent-primary: #cba365;
  /* Elegant Gold */
  --accent-hover: #e0b87c;
  --accent-light: rgba(203, 163, 101, 0.1);

  --border-color: #2a2a2a;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Utility */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --z-nav: 1000;
  --z-modal: 2000;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.w-100 {
  width: 100%;
}

.bg-darker {
  background-color: var(--bg-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(203, 163, 101, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--text-main);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--bg-primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Typography styles */
.section-subtitle {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-text {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--z-nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.logo img {
  height: 60px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.center-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.center-logo img {
  height: 90px;
  width: auto;
}

.right-nav-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.cart-toggle:hover {
  color: var(--accent-primary);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 5%;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--accent-primary);
}

.mobile-btn {
  margin-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(10, 10, 10, 0.95) 0%,
      rgba(10, 10, 10, 0.7) 50%,
      rgba(10, 10, 10, 0.4) 100%);
}

.hero-content {
  padding: 0 5%;
  max-width: 800px;
  animation: fadeUp 1s ease-out forwards;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-primary);
  font-style: italic;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Marquee */
.marquee-scroller {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  padding: 1rem 0;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  animation: scroll 20s linear infinite;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.marquee-content span {
  padding: 0 2rem;
}

.marquee-content .dot {
  opacity: 0.5;
  padding: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Services */
.services-list-menu {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-menu-item {
  background-color: #111;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border: 1px solid #222;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-menu-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-menu-header h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
}

.service-menu-dots {
  display: none;
}

.price {
  color: var(--accent-primary);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  white-space: nowrap;
}

.service-menu-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-menu-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.service-link i {
  color: var(--accent-primary);
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 576px) {
  .service-menu-item {
    padding: 1.5rem;
  }
}

/* Store */
.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-img img {
  max-height: 100%;
  mix-blend-mode: lighten;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.btn-add-cart {
  width: 100%;
  margin-top: auto;
}

/* Time Grid Styles */
.time-section {
  text-align: left;
}

.time-period-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-slot {
  background-color: transparent;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.time-slot:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.time-slot.selected {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  font-weight: 600;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-secondary);
  z-index: calc(var(--z-modal) + 1);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--border-color);
}

.cart-sidebar.active {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-muted);
  margin-top: 2rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-tertiary);
  padding: 1rem;
  border-radius: var(--border-radius);
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  background-color: var(--bg-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
}

.qty-display {
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.remove-item {
  color: #ff4d4d;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.25rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

#cartTotalValue {
  color: var(--accent-primary);
}

/* Contact Module */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-details i {
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-details strong {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.contact-details span {
  color: var(--text-muted);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.social-links a:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
    order: -1;
  }
}

@media (max-width: 768px) {

  .services-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .center-logo {
    position: static;
    transform: none;
  }

  .nav-container {
    justify-content: space-between;
  }

  .right-nav-group {
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section-padding {
    padding: 60px 0;
  }
}

/* Team Module */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-image {
  width: 100%;
  height: 300px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-info {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.team-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .team-card {
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  height: 350px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.gallery-content p {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.2s;
  margin: 0;
}

.gallery-item:hover .gallery-content h3,
.gallery-item:hover .gallery-content p {
  transform: translateY(0);
}

/* Responsive helpers for gallery */
@media (max-width: 991px) {
  .d-none-md {
    display: none;
  }
}

@media (max-width: 768px) {
  .d-none-sm {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-item {
    height: 300px;
  }
}