* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Base colors */
    --color-bg-main: #131210;
    --color-bg-section: #121111;
    --color-bg-card: #22201d;

    /* Text */
    --color-text-primary: #f1f1f1;   
    --color-text-secondary: #f1eadf; 
    --color-text-muted: #b4afa3;     

    /* Brand accent */
    --color-accent: #b08d57;   
    --color-accent-hover: #8a6938;   /* Darker bronze for hover */
    --color-accent-soft: #3a3124;

    /* Borders */
    --color-border: #2f2c28;   
    --color-border-soft: #26231f;
}

html, body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
}

body::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-accent);
    border-radius: 3px;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--color-border);
}

/* Navigation bar */
.navbar {
    display: flex;
    justify-content: center;
    background-color: var(--color-bg-section);
    padding: 0.7rem 0;
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    overflow: hidden;
    z-index: 9999;
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 70px;
    height: auto;
}

.main-links {
    list-style-type: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    gap: 1.5rem;
    flex: 1;
}
.navbar-important {
    text-decoration: none;
    background: linear-gradient(135deg, #a67c3d 0%, #c9961f 50%, #a67c3d 100%);
    color: var(--color-text-primary);
    padding: 0.7rem 1.6rem;
    border-radius: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(166, 124, 61, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 0.9rem;
}

.navbar-important:hover {
    background: linear-gradient(135deg, #c9961f 0%, #d9a835 50%, #c9961f 100%);
    box-shadow: 0 12px 35px rgba(166, 124, 61, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.navbar-important:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(166, 124, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.main-links a {
    position: relative;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-links a:hover {
    color: var(--color-accent);
}

.main-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-links a:hover::after {
    width: 100%;
}

/* ===================
        Footer
====================== */

.footer {
    background-color: var(--color-bg-section);
    border-top: 2px solid var(--color-border);
}

.footer-main-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: center;
    padding: 1rem;
}

.footer-recognition img {
    width: 40%;
    max-width: 150px;
    height: auto;
}

.footer-main-links li,
.footer-main-links a,
.footer-main-links {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-text-secondary);
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-main-links a:hover {
    color: var(--color-accent);
}

.footer-main-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.4s ease;
}

.footer-main-links a:hover::after {
    width: 100%;
}

.footer-contact {
    margin-left: auto;
}

.footer-contact p span {
    font-weight: 650;
}

.footer-copyright {
    padding: 1rem;
}

@media screen and (max-width: 570px){
    .footer-main-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-contact {
        margin-left: 0;
        max-width: fit-content;
    }

    .footer-main-links {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 265px){
    .footer-main-content {
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 90%;
    }

    .footer-main-links {
        flex-direction: column;
    }

    .footer-copyright {
    padding: 0.5rem;
    font-size: 90%;
}
}



/* ======================
   HAMBURGER
====================== */

.hamburger {
  display: none;
  width: 34px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 10005;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-text-secondary);
  border-radius: 3px;
  transition:
    transform 0.35s cubic-bezier(.4,0,.2,1),
    opacity 0.25s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* ======================
   MOBILE OVERLAY
====================== */

.mobile-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(19,18,16,0.96);
  backdrop-filter: blur(6px) saturate(90%);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 6.5rem;
  gap: 2.4rem;
  overflow-y: auto;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(0.98);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(.4,0,.2,1);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}


/* ======================
   MOBILE LINKS
====================== */

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.mobile-links a {
  color: var(--color-text-secondary);
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: .6rem 1.8rem;
  transition: color .25s ease, transform .25s ease;
}

.mobile-links a:hover {
  color: var(--color-accent);
  transform: scale(1.05);
}


/* ======================
   IMPORTANT BUTTON
====================== */

.mobile-important {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 26px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #a67c3d 0%, #c9961f 50%, #a67c3d 100%);
  color: var(--color-text-primary);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25),
              inset 0 1px 0 rgba(255,255,255,0.08);

  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s ease;
}

.mobile-overlay.open .mobile-important {
  opacity: 1;
  transform: translateY(0);
}


/* ======================
   MOBILE RULES
====================== */

@media (max-width: 700px) {
  .main-links { display: none !important; }
  .navbar-important:not(.mobile-important) { display: none !important; }

  .hamburger {
    display: flex;
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-links,
  .mobile-important {
    max-width: 85%;
  }

  .mobile-overlay {
    -webkit-overflow-scrolling: touch;
  }
}

