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

/* Fonts & Base Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #f0e6d2;
  background-color: #0d1b2a;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #0d1b2a;
  border-bottom: 1px solid #e0c68d;
}

.logo {
  width: 150px;
}

/* Navigation */
nav a {
  margin-left: 1.5rem;
  color: #e0c68d;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('hero-bg.jpg.png') center center / cover no-repeat;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(13, 27, 42, 0.7);
  padding: 3rem 2rem;
  margin-top: 3rem; /* shifts content lower */
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f6d76e;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Button */
.button {
  display: inline-block;
  background-color: #e0c68d;
  color: #0d1b2a;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #f6d76e;
}

/* Section */
.section {
  padding: 5rem 2rem;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #f6d76e;
}

.section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #dcdcdc;
}

/* Alternate Section */
.section.alt {
  background-color: #152b40;
}

/* Footer */
footer {
  background-color: #0d1b2a;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #e0c68d;
  font-size: 0.9rem;
}

/* Subpage Overrides - Move logo to top-left corner */
.subpage header {
  justify-content: flex-start; /* Align items to the left */
  gap: 2rem; /* Add space between logo and nav */
}

.subpage header .logo {
  margin-right: auto; /* Push nav to the right */
  width: 150px; /* Maintain logo size */
}

.subpage header {
  justify-content: flex-start;
  gap: 2rem;
}

.subpage header .logo {
  width: 150px;
  flex-shrink: 0;
  flex-grow: 0;
  margin-right: auto;
  height: auto;
}
/* Contact Form Styling */
.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  background-color: #1b2a3a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(240, 230, 210, 0.1);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e0c68d;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #3a4b5c;
  border-radius: 8px;
  background-color: #0d1b2a;
  color: #f0e6d2;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f6d76e;
  background-color: #122434;
}

.contact-form .button {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
}
/* Service Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: #1b2a3a;
  border: 1px solid #2c3e50;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(240, 230, 210, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card h3 {
  color: #f6d76e;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card p {
  color: #dcdcdc;
  font-size: 1rem;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #f6d76e;
}
.card {
  background-color: #11253a;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
