/*
Theme Name: Traces of Portugal
Author: G V
Version: 1.0
*/

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* GLOBAL TYPOGRAPHY */
h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 700;
}

h2 {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* NAV */
.site-header {
  height: 50px;
  background: #111;
}

.nav {
  max-width: 1200px;
  height: 50px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.menu,
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu li {
  margin: 0;
  padding: 0;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* BURGER */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

/* HERO */
.hero {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* GENERAL LAYOUT */
.container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-content {
  max-width: 850px;
  margin: 0 auto;
}

/* HOME INTRO */
.intro {
  margin-bottom: 60px;
}

.intro-title {
  width: 100%;
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 30px;
  text-align: center;
}

.intro-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.intro-text {
  flex: 0 0 70%;
}

.intro-image {
  flex: 0 0 30%;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature {
  text-decoration: none;
  color: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.feature img {
  width: 100%;
  object-fit: cover;
}

.feature h3 {
  padding: 15px;
}

.feature p {
  font-size: 14px;
  line-height: 1.5;
  padding: 0 15px 20px;
  margin-bottom: 0;
}

/* LATEST TRIP */
.latest-trip {
  width: 100%;
  margin-top: 60px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.latest-trip .trip-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.latest-trip-row {
  display: flex;
  gap: 20px;
  padding: 15px;
  align-items: flex-start;
}

.latest-trip-text {
  flex: 1 1 65%;
}

.latest-trip-text p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.latest-trip-side-image {
  flex: 0 0 35%;
}

.latest-trip-side-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.latest-trip .btn {
  display: inline-block;
  margin-top: 10px;
}

/* CONTENT PAGES */
.project-page {
  padding: 35px 20px 60px;
}

.project-page .page-content {
  max-width: 850px;
  margin: 0 auto;
}

/* DESTINATION / PILLAR SECTIONS */
.trip-header {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.pillar {
  max-width: 850px;
  margin: 0 auto 80px;
}

.pillar-subtitle {
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 24px;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* FOOTER */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: #aaa;
  margin-bottom: 0;
}

/* TABLET */
@media (max-width: 900px) {
  .intro-title {
    font-size: 4vw;
  }

  .intro-row {
    flex-direction: column;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 17px;
    line-height: 1.6;
  }
}

@media (max-width: 700px) {
  .latest-trip-row {
    flex-direction: column;
    padding: 0;
  }

  .latest-trip-text {
    padding: 15px;
  }

  .latest-trip-side-image {
    width: 100%;
  }

  .latest-trip-side-image img {
    width: 100%;
    height: 200px;
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .nav {
    height: auto;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .menu.is-open {
    display: flex;
  }

  .menu li a {
    display: block;
    padding: 10px 0;
  }

  .hero {
    height: 250px;
  }

  .intro-title {
    font-size: 22px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .travel-grid {
    grid-template-columns: 1fr;
  }
}