/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Cabin:wght@400;700&display=swap");

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

body {
  font-family: "Cabin", sans-serif;
  background-color: #fffaf5;
  color: #333;
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: #800020;
  margin-bottom: 20px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Top Navigation */
.top-bar {
  background-color: #800020;
  padding: 18px 0;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ffd700;
}

/* Hero Section */
/* A rich burgundy-to-royal-blue gradient so the banner always looks great,
   with no missing-image problems. To use your own photo instead, replace the
   "background:" line below with:
   background: url("images/your-hero.jpg") no-repeat center center/cover; */
.hero {
  background: linear-gradient(135deg, #800020 0%, #4a0012 50%, #002366 100%);
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.hero-overlay h1 {
  font-size: 3rem;
  color: #ffffff;
}

.hero-overlay p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 20px auto;
}

.btn {
  background-color: #002366;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #00194a;
}

/* Section Styling */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section.light {
  background-color: #fffdf7;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: #fff;
  border: 1px solid #eee;
  border-top: 4px solid #ffd700;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.card h3 {
  color: #800020;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
}

.contact-grid div {
  min-width: 260px;
  font-size: 1.1rem;
  text-align: left;
}

/* Footer */
.footer {
  background-color: #002366;
  color: white;
  text-align: center;
  padding: 30px 10px;
  font-size: 0.95rem;
  border-top: 5px solid #ffd700;
}

/* Responsive */
@media (max-width: 640px) {
  .nav ul {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-overlay h1 {
    font-size: 2.1rem;
  }
  .hero-overlay p {
    font-size: 1.05rem;
  }
}
