/*
  Stylesheet for EL Beauty Studio static site.
  This CSS aims to provide a modern, clean layout with a calming colour palette
  inspired by the brand’s teal and warm gold tones. The design is responsive
  and readable on both desktop and mobile.
*/

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

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdfaf8;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: #315e68;
  margin-bottom: 0.5em;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

/* Hero section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
  color: #fff;
  background: linear-gradient(120deg, #315e68 0%, #ba9763 100%);
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}
.hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  color: #f8f8f8;
}
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-primary {
  background-color: #ba9763;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #a87f54;
}
.btn-secondary {
  background-color: transparent;
  border: 2px solid #ba9763;
  color: #ba9763;
}
.btn-secondary:hover {
  background-color: #ba9763;
  color: #ffffff;
}

/* About section */
.about {
  background-color: #f7f2ef;
  border-top: 4px solid #ba9763;
  border-bottom: 4px solid #ba9763;
}
.about p {
  max-width: 800px;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* Services section */
.services h2 {
  margin-bottom: 1rem;
}
.service-category {
  margin-top: 2rem;
}
.service-category h3 {
  margin-bottom: 0.5rem;
  color: #ba9763;
  font-weight: 700;
}
.services table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.services th, .services td {
  text-align: left;
  padding: 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid #e5d8cd;
}
.services th {
  background-color: #faf5f0;
  font-weight: 600;
  color: #315e68;
}
.services tr:nth-child(even) td {
  background-color: #fbf7f4;
}

/* Testimonials */
.testimonials blockquote {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 4px solid #ba9763;
  font-style: italic;
  color: #555;
}

/* Contact section */
.contact ul {
  list-style: none;
  margin-top: 0.5rem;
}
.contact a {
  color: #315e68;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: #315e68;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  .services table, .services th, .services td {
    font-size: 0.9rem;
  }
}