/* Renee's Hair - Main Stylesheet */
:root {
  --primary: #c44d58;
  --primary-light: #ff6b6b;
  --secondary: #4a4e69;
  --light: #f8f9fa;
  --dark: #22223b;
  --accent: #9a8c98;
  --text: #333;
  --text-light: #666;
  --success: #4caf50;
  --font-main: 'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--primary);
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

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

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--light);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--light);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-accent);
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-family: var(--font-accent);
  color: var(--primary);
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--primary);
  bottom: -15px;
  left: 20%;
}

.services {
  background-color: white;
}

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

.service-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card-img {
  height: 200px;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-img svg {
  width: 80px;
  height: 80px;
  fill: white;
}

.service-card-content {
  padding: 25px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.about {
  background-color: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-accent);
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img svg {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials {
  background-color: white;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--light);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 15px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .author {
  font-weight: bold;
  color: var(--primary);
}

.games {
  background-color: var(--secondary);
  color: white;
}

.games-content {
  text-align: center;
}

.games-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: var(--font-accent);
}

.games-content p {
  max-width: 700px;
  margin: 0 auto 30px;
}

.games-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.games-links a {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.games-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  bottom: -8px;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  fill: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: white;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 15px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
