/*
 * styles.css
 *
 *  Created on: 2025-04-08
 *      Author: andwardo
 *      Version: v1.5
 */

body {
  margin: 0;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #666;
  line-height: 1.6;
}

/* ===== GLOBAL LINK STYLES ===== */
a {
  color: #000;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #c6a462;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #c6a462;
}

a:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

main a,
.highlight a,
footer a {
  font-weight: 600;
}

/* ===== HEADER ===== */
header {
  background: #000;
  color: #fff;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  flex: 0 1 auto;
}

header img {
  height: 50px;
}

header h1 a {
  display: inline-block;
}

/* ===== NAVIGATION ===== */
nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
}

nav a {
  color: #fff;
  padding: 0.5em 1em;
  font-weight: 400;
}

nav a:hover {
  color: #c6a462;
  background-color: transparent;
}

/* ===== RESPONSIVE HEADER: Stack & Center on Small Screens ===== */
@media (max-width: 720px) {
  header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  header h1 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
  }

  header h1 a {
    display: inline-block;
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0;
    margin: 0;
  }

  nav li {
    display: block;
    width: 100%;
    text-align: center;
  }

  nav a {
    display: inline-block;
    width: 100%;
    padding: 0.75em;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: #f2f2f2;
  padding: 3em 2em;
  text-align: center;
}

.hero h2 {
  font-size: 2em;
  font-weight: 300;
  color: #000;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.1em;
  font-weight: 400;
  color: #666;
}

.hero-img {
  max-width: 100%;
  height: auto;
  margin-top: 2em;
  border-radius: 4px;
}

/* ===== HIGHLIGHT SECTION ===== */
.highlight {
  padding: 2em;
  background: #fff;
}

.highlight h3 {
  font-weight: 600;
  font-size: 1.3em;
  color: #000;
}

.highlight ul {
  list-style-type: square;
  padding-left: 1.5em;
}

.highlight li {
  margin-bottom: 1em;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 2em;
}

.product {
  background: #f9f9f9;
  padding: 1em;
  border: 1px solid #ddd;
  text-align: center;
}

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

/* ===== FAQ SECTION ===== */
.faq-container {
  padding: 2em;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2em;
}

.faq-item h3 {
  margin-bottom: 0.5em;
  color: #333;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  padding: 2em;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.gallery-item p {
  text-align: center;
  margin-top: 0.5em;
}

/* ===== CONTACT FORM ===== */
form {
  max-width: 600px;
  margin: 2em auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

input,
textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

button {
  padding: 0.75em 1.5em;
  background-color: #000;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  background-color: #fff;
  color: #c6a462;
  border: 2px solid #c6a462;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  background: #000;
  color: #c6a462;
  padding: 1em 0;
}
.contact-header {
  max-width: 600px;
  margin: 2em auto 1em auto;
  text-align: center;
  padding: 0 1em;
}