/* Base styles shared across all templates */

/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: white;
  background-color: black;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: 2.5rem; font-weight: 100; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 16px;
  line-height: 1.6;
}

a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: rgb(184, 29, 76);
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background-color: black;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

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

.nav-logo {
  height: 80%;
}

.logo-img {
  height: 100%;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 7em;
}

.nav-link {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: lowercase;
  padding: 8px 16px;
  border-radius: 4px;
  color: rgb(184, 29, 76);
  transition: color 0.2s ease;
}

.nav-item.active .nav-link,
.nav-link:hover {
  color: white;
  text-decoration: underline;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: black;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  color: rgb(184, 29, 76);
}
.dropdown-link.active {
  color: white;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  text-decoration: underline;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-top: 78px;
  padding: 0 0;
}

/* Footer */
.main-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-contact {
  display: flex;
  gap: 32px;
}

.footer-contact a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact a:hover {
  opacity: 1;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  margin: 2px 0;
  transition: all 0.2s ease;
}

.nav-toggle {
  display: none;
}

.nav-toggle:checked ~ .nav-menu {
  transform: translateX(0);
}

.nav-toggle:checked ~ .mobile-nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked ~ .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .mobile-nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile styles */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background-color: black;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 16px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-radius: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  
  .dropdown:hover .dropdown-menu {
    max-height: 200px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 8px;
  }
  
  .main-content {
    padding: 16px 0;
  }
}
