/* static/css/style.css */

/* --- Variables and Basic Setup --- */
:root {
  --font-family: 'Open Sans', sans-serif;
  --color-text: #212529;
  --color-background: #FFFFFF;
  --color-light-gray: #F8F9FA;
  --color-primary: #005A9C;
  --color-white: #FFFFFF;
  --container-width: 1100px;
  --border-radius: 4px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-background);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.site-header {
  background: var(--color-background);
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.site-header nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-header nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 400;
  transition: color 0.2s ease-in-out;
}

.site-header nav a:hover {
  color: var(--color-primary);
}

/* --- Main Content --- */
main {
  min-height: calc(100vh - 150px);
}

/* --- Hero Section --- */
.hero {
  /* MODIFIED SECTION */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/nyc-hero.jpg') no-repeat center center / cover;
  color: var(--color-white);
  text-align: center;
  padding: 6rem 0;
}

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

.hero .subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
}

/* --- Buttons --- */
.button {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease-in-out;
}

.button:hover {
  transform: translateY(-2px);
}

.button-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}

.button-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}


/* --- Services Section --- */
.services-section {
  padding: 4rem 0;
  background-color: var(--color-light-gray);
  text-align: center;
}

.services-section h2, .contact-section h2, .page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.service-card {
  background: var(--color-background);
  border: 1px solid #e9ecef;
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.service-card i {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.service-card a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
}

/* --- Contact Section --- */
.contact-section {
  padding: 4rem 0;
  text-align: center;
}

.contact-section p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* --- Generic Page Content --- */
.page-content {
  padding: 4rem 0;
}

.page-content .content {
  max-width: 800px;
  margin: 0 auto;
}

/* --- Services List Page --- */
.services-list {
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-list-item {
  display: block;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s ease-in-out;
}
.service-list-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.service-list-item h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-primary);
}
.service-list-item p {
  margin: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-text);
  color: var(--color-white);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  opacity: 0.7;
}

.site-footer a {
  margin: 0;
  opacity: 0.5;
  color: var(--color-white);
  text-decoration: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
}