@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --primary-color: #000;
  --secondary-color: #fff;
  --accent-color: #ffe600;
  --nav-transition: 0.4s cubic-bezier(0.4,0,0.2,1);
  --nav-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* BASE STYLES */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
}

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

/* NAVIGATION - SHARED ACROSS ALL PAGES */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  background: transparent;
  transition: background var(--nav-transition), box-shadow var(--nav-transition);
  box-shadow: none;
}
.navbar.nav-transparent {
  background: transparent;
  box-shadow: none;
}
.navbar.nav-colored {
  background: #fff;
  box-shadow: var(--nav-shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 1rem 2rem;
}

.nav-logo img {
  height: 48px;
  transition: filter var(--nav-transition);
  display: block;
}

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

.shop-btn,
.contact-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color var(--nav-transition), background var(--nav-transition), border var(--nav-transition);
  padding: 0.4em 1em;
  border-radius: 22px;
  border: 2px solid transparent;
}

.navbar.nav-colored .shop-btn,
.navbar.nav-colored .contact-btn {
  color: #111;
  border: 2px solid #111;
  background: #fff;
}
.navbar.nav-colored .shop-btn:hover,
.navbar.nav-colored .contact-btn:hover {
  background: #111;
  color: #fff;
}

.navbar.nav-transparent .shop-btn,
.navbar.nav-transparent .contact-btn {
  color: #fff;
  border: 2px solid #fff;
  background: rgba(0,0,0,0.15);
}
.navbar.nav-transparent .shop-btn:hover,
.navbar.nav-transparent .contact-btn:hover {
  background: #fff;
  color: #111;
}

/* Hamburger Icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 1201;
  gap: 5px;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.nav-colored .hamburger span {
  background: #111;
}

/* Slide Menu Overlay - SHARED */
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.13);
  z-index: 1200;
  transform: translateX(100%) scale(0.98);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1), opacity 0.4s;
  will-change: transform, opacity;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}
.slide-menu.open {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.slide-menu-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: #232427;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1202;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  font-weight: 300;
}
.slide-menu-close:hover {
  background: #ffe600;
  color: #232427;
}
.slide-menu-nav {
  margin: 90px 0 0 0;
  padding: 0 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.slide-menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  width: 100%;
}
.slide-menu-nav ul li {
  margin-bottom: 1.5rem;
}
.slide-menu-nav ul li a {
  color: #232427;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  position: relative;
}
.slide-menu-nav ul li a:hover {
  color: #ffe600;
}
.slide-menu-nav ul li a.current-page {
  color: #ffe600;
  font-weight: 700;
}
.slide-menu-nav ul li a.current-page::after {
  content: "●";
  position: absolute;
  right: -20px;
  color: #ffe600;
}
.slide-menu-social {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  align-items: center;
}
.slide-menu-social a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #232427;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slide-menu-social a:hover {
  background: #ffe600;
}
.slide-menu-social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.slide-menu-social a:hover img {
  filter: brightness(0) invert(0);
}

/* Menu open states */
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1199;
  pointer-events: none;
  transition: background 0.4s;
}
body.menu-open {
  overflow: hidden;
}

/* FOOTER - SHARED ACROSS ALL PAGES */
.footer {
  background: #131313;
  color: #fff;
  padding: 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 2rem 2rem 2rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  color: #e0e0e0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.7em;
}

.footer-col ul li a,
.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover,
.footer-col a:hover {
  color: #ffe600;
}

.footer-col p {
  margin: 0 0 1.1rem 0;
  color: #ccc;
}

.footer-col .copyright {
  font-size: 0.92em;
  color: #888;
  margin-top: 2em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #33353a;
  padding: 1.1rem 2rem 0.7rem 2rem;
  font-size: 0.98em;
  flex-wrap: wrap;
}

.footer-policy a {
  color: #ccc;
  text-decoration: none;
  margin-right: 2rem;
  transition: color 0.2s;
}
.footer-policy a:hover {
  color: #ffe600;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-right: 80px;
}

.footer-social a {
  display: inline-block;
  vertical-align: middle;
}

.footer-social img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}

.footer-social a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(92%) sepia(99%) saturate(7484%) hue-rotate(359deg) brightness(104%) contrast(104%);
}

/* BACK TO TOP BUTTON - SHARED */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* SHARED SECTION TITLE */
.section-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-color);
}

/* RESPONSIVE - SHARED */
@media (max-width: 1024px) {
  .footer-main {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem 1rem 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1rem 0.7rem 1rem;
  }
  .footer-social {
    margin-right: 0;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-container { padding: 1rem; }
  .nav-right { gap: 1rem; }
  .section-title { font-size: 2rem; }
  .slide-menu {
    width: 100vw;
    padding: 0 20px;
  }
  .slide-menu-nav {
    padding: 0 20px;
  }
  .slide-menu-close {
    right: 16px;
    top: 16px;
  }
}

@media (max-width: 480px) {
  .nav-container { padding: 0.5rem 1rem; }
  .nav-right { gap: 0.5rem; }
  .shop-btn, .contact-btn { font-size: 1rem; padding: 0.3em 0.8em; }
  .hamburger { width: 32px; height: 32px; }
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
}

/* NAVIGATION - MOBILE FIXES */
@media (max-width: 768px) {
  .nav-container { 
    padding: 1rem; 
    max-width: 100%;
  }
  .nav-right { 
    gap: 0.75rem; 
  }
  .shop-btn, .contact-btn { 
    font-size: 0.9rem; 
    padding: 0.35em 0.75em;
    white-space: nowrap;
  }
  .hamburger { 
    width: 32px; 
    height: 32px; 
    flex-shrink: 0;
  }
  .nav-logo img {
    height: 40px;
  }
  
  /* Fix slide menu for mobile */
  .slide-menu {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    transform: translateX(100%);
  }
  .slide-menu-nav {
    padding: 0 24px;
    margin: 80px 0 0 0;
  }
  .slide-menu-close {
    right: 20px;
    top: 20px;
    width: 44px;
    height: 44px;
  }
  .slide-menu-nav ul li a {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .nav-container { 
    padding: 0.75rem 1rem; 
  }
  .nav-right { 
    gap: 0.5rem; 
  }
  .shop-btn, .contact-btn { 
    font-size: 0.85rem; 
    padding: 0.3em 0.6em;
  }
  .hamburger { 
    width: 30px; 
    height: 30px; 
  }
  .nav-logo img {
    height: 36px;
  }
  .slide-menu-nav ul li a {
    font-size: 1.2rem;
  }
}

/* Prevent menu items from wrapping */
.nav-right {
  flex-shrink: 0;
  min-width: fit-content;
}

/* Enhanced transparent navigation styles */
.navbar.nav-transparent {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.nav-transparent .shop-btn,
.navbar.nav-transparent .contact-btn {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.navbar.nav-transparent .shop-btn:hover,
.navbar.nav-transparent .contact-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: white !important;
}

.navbar.nav-transparent .hamburger span {
  background-color: white !important;
}

.navbar.nav-transparent .hamburger:hover span {
  background-color: rgba(255, 255, 255, 0.8) !important;
}
