/* ============================================
   GORTELL - Main Stylesheet
   ============================================ */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', 'Georgia', serif;
  background-color: #F8F8F8;
  color: #2C3E50;
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-family: 'Lato', 'Arial', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #2C3E50;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.2;
}

h2 {
  font-family: 'Lato', 'Arial', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2C3E50;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.3;
}

h3 {
  font-family: 'Lato', 'Arial', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C3E50;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.4;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: #2C3E50;
}

a {
  color: #2C3E50;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

a:hover {
  color: #F39C12;
  border-bottom-color: #F39C12;
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-full {
  width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: #F8F8F8;
  border-bottom: 1px solid #7F8C8D;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Lato', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2C3E50;
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #2C3E50;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: #F39C12;
  border-bottom-color: #F39C12;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.05), rgba(44, 62, 80, 0.05)),
    url('/images/hero.jpg') center / cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-content p {
  font-size: 1.3rem;
  color: #7F8C8D;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SECTIONS & SPACING
   ============================================ */

section {
  padding: 5rem 0;
  border-bottom: 1px solid #7F8C8D;
}

section:last-of-type {
  border-bottom: none;
}

section.full-width {
  padding: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #F39C12;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: white;
  border: 1px solid #7F8C8D;
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
}

/* ============================================
   TWO COLUMN LAYOUTS
   ============================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column.image-left {
  grid-template-columns: 0.95fr 1.05fr;
}

.two-column.image-right {
  grid-template-columns: 1.05fr 0.95fr;
}

.two-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #2C3E50;
  color: #2C3E50;
  background-color: transparent;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 2px;
}

.btn:hover {
  border-color: #F39C12;
  color: #F39C12;
  transform: scale(1.02);
}

.btn-primary {
  background-color: #F39C12;
  border-color: #F39C12;
  color: white;
}

.btn-primary:hover {
  background-color: #E67E22;
  border-color: #E67E22;
}

/* ============================================
   FORMS
   ============================================ */

form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2C3E50;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #7F8C8D;
  background-color: white;
  color: #2C3E50;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #F39C12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: #2C3E50;
  color: #F8F8F8;
  padding: 3rem 0 1rem 0;
  margin-top: 3rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #F8F8F8;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #F8F8F8;
  border-bottom-color: #F39C12;
}

footer a:hover {
  color: #F39C12;
}

.footer-bottom {
  border-top: 1px solid #7F8C8D;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #7F8C8D;
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */

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

.image-section {
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: auto;
  transition: brightness 0.3s ease;
}

.image-section:hover img {
  filter: brightness(1.05);
}

/* ============================================
   LISTS & DEFINITIONS
   ============================================ */

ul,
ol {
  margin-left: 2rem;
  margin-bottom: 1.2rem;
}

ul li,
ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

dl {
  margin-bottom: 1.5rem;
}

dt {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  color: #2C3E50;
  margin-top: 1rem;
}

dd {
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  color: #7F8C8D;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 350px;
    padding: 3rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .two-column {
    grid-template-columns: 1fr;
  }

  .two-column.image-left,
  .two-column.image-right {
    grid-template-columns: 1fr;
  }

  footer .container {
    grid-template-columns: 1fr 1fr;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
  }

  footer .container {
    grid-template-columns: 1fr;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
