/*
 * Global Styles for Gorgonco – concrete and Medusa inspired 3D printing company
 *
 * This stylesheet provides a modern, greyscale aesthetic using simple
 * typographic hierarchies and responsive layouts. Sections are padded for
 * comfortable reading and separated by alternating light and dark panels.
 */

/* Import Google Fonts via CSS @import rather than <link> tags for cleaner HTML */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@300;400;500;700&display=swap');

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

html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background-color: #fafafa;
  color: #333;
}

a {
  color: #0077c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #005999;
}

/* Header styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  backdrop-filter: blur(6px);
}

header .logo {
  /* Display the logo as a flex container so the image and optional text align nicely */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Logo image sizing */
header .logo img {
  /* Increase logo size for a bolder header presence */
  height: 80px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav li {
  font-weight: 500;
}

nav a {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Hero section */
#hero {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  /* Use a locally provided concrete texture for the hero section. The image lives in the images folder */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('images/concrete_background.png');
  /* The imported image is a 3D printed concrete finish supplied by the user */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

#hero p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.5;
}

/* Mission Section */
#mission {
  padding: 80px 20px;
  background-color: #f2f2f2;
  text-align: center;
  color: #222;
}

#mission h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

#mission p {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Section */
#about {
  padding: 80px 20px;
  background-color: #fff;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

#about .text {
  flex: 1 1 400px;
}

#about h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

#about p {
  font-size: 1rem;
  line-height: 1.6;
}

#about .medusa-image {
  flex: 1 1 300px;
  text-align: center;
}

#about .medusa-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  filter: grayscale(100%) contrast(120%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Services Section */
#services {
  padding: 80px 20px;
  background-color: #f7f7f7;
  color: #333;
  text-align: center;
}

#services h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

#services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

#services .card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#services .card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

#services .card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Gallery Section */
#gallery {
  padding: 80px 20px;
  background-color: #fff;
  color: #333;
}

#gallery h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 40px;
}

#gallery .images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

#gallery .images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(100%) contrast(110%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, filter 0.3s ease;
}

#gallery .images img:hover {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(100%);
}

/* Contact Section */
#contact {
  padding: 80px 20px;
  background-color: #f2f2f2;
  color: #333;
}

/* Team Section */
#team {
  padding: 80px 20px;
  background-color: #fff;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
}

#team h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
  text-align: center;
}

#team p {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: left;
}

#contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 30px;
}

#contact .contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

#contact .contact-info {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
}

#contact .contact-info p {
  margin-bottom: 10px;
}

#contact .contact-info i {
  margin-right: 10px;
}

#contact form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact input,
#contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  width: 100%;
}

#contact textarea {
  resize: vertical;
  min-height: 120px;
}

#contact button {
  padding: 12px;
  background-color: #0077c8;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#contact button:hover {
  background-color: #005999;
}

/* Footer */
footer {
  background-color: #111;
  color: #ccc;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.4rem;
  }
  #hero p {
    font-size: 1rem;
  }
  header nav ul {
    gap: 10px;
  }
}