body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #101A26;
  color: #CCCCCC;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #101A26;
  border-bottom: 1px solid #1C2A40;
  position: relative;
}

.logo {
  height: 60px;
}

/* Desktop Navigation */
nav {
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #D4AF37;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #BFA133;
}

/* Hamburger Menu (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
  position: relative;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #D4AF37;
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-overlay.active {
  display: block;
}

section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#hero {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

h1, h2 {
  color: #E6C566;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #D4AF37;
  color: #101A26;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #BFA133;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #1C2A40;
  color: #666;
  font-size: 0.9rem;
}

a {
  color: #D4AF37;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a:hover {
  color: #BFA133;
}

.hero-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-logo img {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

/* Mobile Responsiveness - More specific targeting */
@media screen and (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  /* Force show hamburger menu on mobile */
  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 1001;
  }
  
  /* Hide desktop navigation on mobile */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background-color: #1C2A40;
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 4rem;
    border-left: 1px solid #2A3A50;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Show navigation when active */
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 1rem 0;
    margin: 0;
  }
  
  nav li {
    border-bottom: 1px solid #2A3A50;
    width: 100%;
  }
  
  nav a {
    display: block;
    padding: 1.2rem 2rem;
    color: #CCCCCC;
    border: none;
    text-align: left;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
  }
  
  nav a:hover {
    background-color: #2A3A50;
    color: #D4AF37;
  }
  
  section {
    padding: 2rem 1rem;
  }
  
  #hero {
    padding: 3rem 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-logo img {
    max-width: 120px;
  }
  
  /* Fix text overflow issues */
  p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ensure containers don't overflow */
  * {
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* More specific mobile targeting for smaller screens */
@media screen and (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  nav {
    width: 90%;
    max-width: 280px;
  }
  
  .hamburger {
    width: 28px;
    height: 28px;
  }
  
  .hamburger span {
    width: 22px;
    height: 2px;
  }
  
  section {
    padding: 1.5rem 0.5rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Force mobile styles on iOS devices */
@supports (-webkit-touch-callout: none) {
  @media screen and (max-width: 768px) {
    .hamburger {
      display: flex !important;
      -webkit-appearance: none;
      -webkit-tap-highlight-color: transparent;
    }
    
    nav {
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
      transition: -webkit-transform 0.3s ease, transform 0.3s ease;
    }
    
    nav.active {
      -webkit-transform: translateX(0);
      transform: translateX(0);
    }
  }
}