/* Fonts */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local(""),
    url("../fonts/montserrat-v15-latin-regular.woff2") format("woff2"),
    url("../fonts/montserrat-v15-latin-regular.woff") format("woff");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  src: local(""), 
    url("../fonts/montserrat-v15-latin-900.woff2") format("woff2"),
    url("../fonts/montserrat-v15-latin-900.woff") format("woff");
}

/* Variables */
:root {
  --primary-color: #8B4513;
  --secondary-color: #CD853F;
  --accent-1: #DAA520;
  --accent-2: #800000;
  --text-color: #333333;
  --light-bg: #F5F5DC;
  --white: #FFFFFF;
  --footer-bg: #4A3728;
  --hover-color: #B8860B;
}

/* Base styles */
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 2rem;
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--text-color) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Hero Section */
#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/hero/tigray-hero.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 0 1rem;
  background-attachment: fixed;
}

#hero .title {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
}

#hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 3rem 0;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--secondary-color);
}

/* Featured Sections & Trips */
.featured {
  padding: 4rem 2rem;
}

.trips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.trips article {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  animation: fadeIn 0.6s ease-out forwards;
}

.trips article:hover {
  transform: translateY(-5px);
}

/* Image Styles */
.trips img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  min-height: 100px;
  opacity: 1;
  loading: "lazy";
}

.trips img:hover {
  transform: scale(1.05);
}

.image-placeholder {
  background: linear-gradient(
    45deg,
    var(--light-bg) 25%,
    var(--white) 25%,
    var(--white) 50%,
    var(--light-bg) 50%,
    var(--light-bg) 75%,
    var(--white) 75%,
    var(--white) 100%
  );
  background-size: 56.57px 56.57px;
  min-height: 200px;
}

/* Content Styles */
.trips .summary {
  padding: 1.5rem;
}

.trips h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.trips p {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #c0392b;
  color: var(--white);
  text-decoration: none;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 2rem;
}

footer h2 {
  text-align: center;
  margin-bottom: 2rem;
}

footer form {
  max-width: 600px;
  margin: 0 auto;
}

footer label {
  display: block;
  margin-bottom: 0.5rem;
}

footer input,
footer textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

footer button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

footer button:hover {
  background-color: #c0392b;
}

/* Copyright */
.copyright {
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  border-top: 1px solid #eee;
}

.copyright a {
  color: var(--accent-1);
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
  color: var(--light-bg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility */
:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Media Queries */
@media (max-width: 768px) {
  #hero h1 { font-size: 2.5rem; }
  #hero p { font-size: 1.2rem; }
  .section-title { font-size: 2rem; }
  .featured { padding: 2rem 1rem; }
  .trips { grid-template-columns: 1fr; }
  .trips img { height: 200px; }
}

/* Print Styles */
@media print {
  .navbar,
  .button,
  footer { display: none; }
  
  #hero {
    height: auto;
    padding: 2rem;
  }
  
  .trips article {
    break-inside: avoid;
  }
}
