/* -------------------- */
/* GLOBAL STYLES        */
/* -------------------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  background: white;
  color: black;
}

h1, h2 {
  font-family: 'Lilita One', sans-serif;
  color: #11485F;
  margin: 0;
}

h3 {
  font-family: 'Averia Sans Libre', sans-serif;
  font-weight: bold;
  margin: 0;
}

a {
  color: inherit;
}

/* Page wrapper */

main {
  padding: 40px 10%;
}

/* Page title under nav */

.page-header {
  padding: 20px 10% 0;
}

.page-title {
  font-size: 2.2rem;
  color: #11485F;
}

/* -------------------- */
/* NAVIGATION           */
/* -------------------- */

.main-nav {
  width: 100%;
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #C97230;
  font-family: 'Averia Sans Libre', sans-serif;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(201, 114, 48, 0.08);
}

.logo-center img {
  height: 50px;
}

/* Dropdown */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  padding: 8px 0;
  list-style: none;
  top: 40px;
  left: 0;
  min-width: 180px;
  z-index: 10;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  font-family: 'Averia Sans Libre', sans-serif;
  font-weight: bold;
}

.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dropdown.open .dropdown-menu {
  display: block;
}

.graphic-link { color: #A13C26; }
.web-link { color: #11485F; }

/* -------------------- */
/* HERO SECTION         */
/* -------------------- */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10% 80px;
  gap: 40px;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-btn {
  display: inline-block;
  background: #C97230;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Averia Sans Libre', sans-serif;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-btn:hover {
  background: #a85f28;
  transform: translateY(-1px);
}

.hero-image img {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------- */
/* FOOTER               */
/* -------------------- */

.footer-lines {
  width: 100%;
}

.line {
  height: 10px;
}

.orange { background: #C97230; }
.red { background: #A13C26; }
.blue { background: #11485F; }

.gap {
  height: 10px;
  background: white;
}

.site-footer {
  padding: 40px 0 30px;
  text-align: center;
  background: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85%;
  max-width: 1000px;
  margin: 30px auto 0;
}

.footer-left img {
  height: 40px;
}

.footer-center img {
  height: 28px;
  margin: 0 12px;
}

.footer-right h3 {
  margin-bottom: 10px;
}

.contact-btn {
  background: #C97230;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Averia Sans Libre', sans-serif;
  font-weight: bold;
}

/* -------------------- */
/* BASIC CONTENT        */
/* -------------------- */

.section {
  max-width: 900px;
  margin: 30px auto 0;
}

.section p {
  line-height: 1.6;
}

/* Simple grid for portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.portfolio-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px;
  background: #fafafa;
}

.portfolio-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Resume list */

.resume-section ul {
  padding-left: 20px;
}

/* -------------------- */
/* RESPONSIVE           */
/* -------------------- */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav ul {
    gap: 20px;
    flex-wrap: wrap;
  }

  .page-header,
  main {
    padding-left: 6%;
    padding-right: 6%;
  }
}
