/* css/main.css */
@import url('variables.css');

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 2px solid var(--bg-black);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-yellow);
}

/* Global Typography & Styling Defaults */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--primary-yellow);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

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

/* Common Layout Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Sticky Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 208, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal);
}

.site-header.scrolled {
  background-color: var(--bg-black);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

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

/* Logo in header */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo img {
  height: 66px;
  width: 66px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 208, 0, 0.45));
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.header-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(255, 208, 0, 0.75));
  transform: scale(1.04);
}

.header-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.header-brand-name {
  font-family: var(--font-logo);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--primary-yellow);
  text-transform: uppercase;
  white-space: nowrap;
}

.header-brand-tagline {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 208, 0, 0.55);
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-yellow);
  transition: width var(--transition-normal);
}

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

.nav-link:hover {
  color: var(--primary-yellow);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger menu button for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Nav Open Animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--primary-yellow);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--primary-yellow);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-black);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  transition: right var(--transition-normal);
  padding: 80px 40px 40px 40px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav .nav-link {
  font-size: 24px;
}

.mobile-nav-logo {
  position: absolute;
  top: 15px;
  left: 20px;
  height: 50px;
}

/* Button Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  border: 2px solid var(--primary-yellow);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-yellow);
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--text-white);
  color: var(--bg-black);
  transform: translateY(-2px);
}

.btn-yellow-outline {
  background-color: transparent;
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
}

.btn-yellow-outline:hover {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.3);
  transform: translateY(-2px);
}

/* 3D Blocky Button style matching store design */
.btn-mafia {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  box-shadow: var(--box-stroke-3d);
}

.btn-mafia:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--text-dark);
}

.btn-mafia:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--text-dark);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--text-white);
  border: 2px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: transparent;
  color: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Icons */
.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* Main Content Area spacing */
main {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 400px);
}

/* Section Header Styling */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-logo);
  font-size: 56px;
  color: var(--primary-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  text-shadow: var(--text-stroke-3d);
  line-height: 1.1;
  margin-bottom: 15px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  display: block;
}

/* Global Footer */
.site-footer {
  background-color: var(--bg-black);
  border-top: 3px solid var(--primary-yellow);
  padding: 80px 0 30px 0;
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-info .footer-logo img {
  height: 100%;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-yellow);
  margin-bottom: 25px;
  position: relative;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-yellow);
  padding-left: 5px;
}

.footer-hours p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-hours strong {
  color: var(--text-white);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.newsletter-form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 208, 0, 0.2);
  border-radius: 4px;
  padding: 12px 15px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--primary-yellow);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .section-title {
    font-size: 42px;
  }
}

/* Skeleton Loading utility */
.skeleton {
  background: linear-gradient(90deg, #161616 25%, #262626 50%, #161616 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
