/*
  Stylesheet for the Gigi's Vision Salon website prototype.
  The colour palette and layout are inspired by modern salon
  websites: clean typography, generous spacing and a warm
  accent colour reminiscent of Douglas V Hair's elegant tone.
  All measurements use relative units where possible for
  responsiveness.
*/

:root {
  --primary-color: #b89362; /* warm golden accent */
  --primary-color-dark: #9f7647; /* darker shade for hover states */
  --secondary-color: #333333; /* dark text */
  --background-color: #f9f9f9; /* light page background */
  --light-bg: #ffffff; /* header background */
  --alt-bg: #f5f5f5; /* alternating section background */
  --transition-speed: 0.3s;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background-color);
  color: var(--secondary-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-color-dark);
  text-decoration: underline;
}

header {
  background-color: var(--light-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
}

nav a {
  margin-left: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  position: relative;
}

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

.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  margin-top: 72px; /* offset for fixed header */
  background: linear-gradient(135deg, #b89362 0%, #7d4e26 100%);
  /* Fallback for browsers that do not support gradients */
  background-color: #b89362;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

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

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color var(--transition-speed);
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.btn.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.6rem 1.4rem;
}

.btn.secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.section {
  padding: 4rem 0;
}

.alt-bg {
  background-color: var(--alt-bg);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.services-grid,
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.service,
.team-member {
  flex: 1;
  min-width: 280px;
}

.service h3,
.team-member h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.service ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.team-photo {
  width: 100%;
  height: 200px;
  background-color: #dcdcdc;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #dcdcdc;
}

/* Vision section cards */
.vision-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.vision-item {
  flex: 1;
  min-width: 280px;
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.vision-item h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.vision-item p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color var(--transition-speed);
}

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

footer {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 2rem 0;
}

footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer p {
  margin: 0;
}

footer .social-links a {
  color: var(--primary-color);
  margin: 0 0.5rem;
  font-weight: bold;
  transition: color var(--transition-speed);
}

footer .social-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  nav a {
    margin-left: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}