/* css/style.css */

/* --- Custom Fonts & Variables --- */
/* Outfit for headings, Inter for body text */
:root {
  --color-primary: #007bff; /* Bright Atlantic Blue */
  --color-secondary: #ffc107; /* Pop of Yellow/Gold */
  --color-text-dark: #212529;
  --color-text-light: #5a5a5a;
  --color-background-light: #f8f9fa;
  --color-background-dark: #343a40;

  /* Modern Fonts */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--color-text-dark);
  background-color: white;
}

/* --- Typography --- */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Section Layout & Titles --- */
.content-section {
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-primary);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 10px auto 0;
}

/* --- Header / Hero Section --- */

.logo {
  max-width: 200px;
}

.hero {
  background: var(--color-background-dark); /* Dark background */
  color: white;
  padding: 6rem 1rem;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800; /* Extra bold for impact */
  margin-bottom: 0.5rem;
  color: white;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ffda6a;
}

/* --- About Section --- */
#about {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--color-background-light);
}

.section-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* --- Services Grid --- */
.services-grid ul {
  list-style: none;
  padding: 0;
  display: grid;
  /* Create three columns on large screens, one column on small */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Stronger shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

/* --- Portfolio Cards --- */
.portfolio-section {
  background-color: var(--color-background-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 1.5rem;
}

.project-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: var(--color-text-dark);
  font-size: 1.4rem;
  margin: 0.5rem 1rem;
}

.project-link {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--color-secondary);
}

/* --- Contact Section --- */
.contact-section {
  text-align: center;
  background-color: white;
}

.contact-info {
  font-size: 1.1rem;
  margin: 0.75rem 0;
}

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--color-secondary);
}

/* --- Footer --- */
footer {
  background-color: var(--color-background-dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

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

  .tagline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-section {
    padding: 3rem 1rem;
  }
}
