:root {
  --primary-color: #f28a0e;
  --link-color: #f28f1a;
  --bg-color: #fff;
  --text-color: #000;
  --header-bg: #ebebeb;
  --footer-bg: #ebebeb;
  --nav-link-color: #999b9d;
  --subtitle-color: #343434;
  --border-color: #f28a0e;
  --font-family: "Lato", sans-serif;
}

/* base HTML tag style */
body {
  word-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
  font-family: var(--font-family);
  font-weight: 400;
  font-style: normal;
  background-color: var(--header-bg);
  color: var(--text-color);
  margin: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin: 1rem 0;
  color: var(--primary-color);
  font-family: var(--font-family);
  font-weight: 300;
  font-style: normal;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 1rem 0;
}

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

/* Responsive Table */
table {
  width: 70%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: table;
}

@media (max-width: 600px) {
  table {
    width: 100%;
    display: table;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

th, td {
  border-bottom: 1px dotted #ccc;
  padding: 12px 8px;
  text-align: center;
}

/* layout classes */
.container {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO SECTION & DESKTOP PARALLAX */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 0); /* Create parallax window */
}

.hero-section::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  will-change: transform;
}

.content-overlay {
  position: relative;
  background-color: var(--bg-color);
  padding: 0.25rem 0;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
  z-index: 2;
}

#header-container {
  background-color: var(--header-bg);
  border-bottom: 2px solid var(--border-color);
  padding: 1.5rem 0 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logo-container a {
  display: flex;
  flex-direction: column;
}

.logo-container h1 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--primary-color);
}

.logo-container h3 {
  margin: 0.2rem 0 0 0;
  color: var(--subtitle-color);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
}

.nav-item {
  font-size: 1.05rem;
  color: var(--nav-link-color);
  padding: 0.5rem 0;
  font-weight: 400;
  white-space: nowrap;
}

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

/* Mobile adjustments */
@media (max-width: 1024px) {
  /* Disable parallax on mobile/tablet to fix "zoomed-in" look */
  .hero-section {
    clip-path: none;
    overflow: visible;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Basic scroll for mobile */
    height: 60vh;
  }

  .hero-section::before {
    display: none; /* Turn off fixed pseudo-element */
  }
}

@media (max-width: 850px) {
  .hero-section {
    height: 50vh;
    min-height: 300px;
  }

  .header-nav {
    flex-direction: column;
    text-align: center;
    gap: 0rem;
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
    gap: 1rem;
  }
}

@media (max-width: 550px) {
  #header-container {
    padding: 1rem 0 0.5rem 0;
  }

  .logo-container h1 {
    font-size: 1.75rem;
  }

  .logo-container h3 {
    font-size: 0.85rem;
  }

  .nav-links {
    gap: 0.5rem;
    justify-content: center;
  }

  .nav-item {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    background: rgba(0,0,0,0.03);
    border-radius: 4px;
  }
}

@media (max-width: 380px) {
  .nav-links {
    gap: 0.25rem;
  }
  
  .nav-item {
    font-size: 0.75rem;
    padding: 0.2rem 0.3rem;
  }
}

/* footer style */
#footer-container {
  background-color: var(--footer-bg);
  padding: 2rem 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--nav-link-color);
}

.designer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.designer-links span {
  color: var(--nav-link-color);
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* Image container */
.image-container {
  margin: 2rem 0;
  text-align: center;
}

.my-image {
  max-width: 1000px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Lato utility classes (keeping for compatibility) */
.lato-thin { font-weight: 100; }
.lato-light { font-weight: 300; }
.lato-regular { font-weight: 400; }
.lato-bold { font-weight: 700; }
.lato-black { font-weight: 900; }

