/* Custom Design System for Trend Hair Studio */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-bg-dark: #0f0f11;
  --color-bg-card: rgba(26, 26, 30, 0.7);
  --color-primary: #d4af37; /* Gold */
  --color-primary-hover: #f3e5ab; /* Champagne */
  --color-text-light: #f5f5f7;
  --color-text-muted: #a1a1a6;
  --color-accent: #e5c158;
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-bg: rgba(15, 15, 17, 0.75);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--color-text-light);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 16px auto 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Sticky Booking Button */
.sticky-book-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: pulse 2s infinite;
  transition: opacity 0.3s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(15, 15, 17, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-primary);
}

.nav-links .btn-nav {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(15,15,17,0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.2s;
}

.hero-title span {
  color: var(--color-primary);
  font-style: italic;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 36px;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.4s;
}

.hero-actions {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.6s;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Value Section */
.value-section {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, #151518 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.value-text {
  font-size: 1.8rem;
  line-height: 1.6;
  font-family: var(--font-heading);
  max-width: 900px;
  margin: 0 auto;
  color: #e2e2e5;
  font-weight: 400;
}

.value-highlight {
  color: var(--color-primary);
  font-weight: 600;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15,15,17,0.95) 0%, rgba(15,15,17,0.4) 60%, rgba(15,15,17,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(15,15,17,0.98) 0%, rgba(15,15,17,0.5) 50%, rgba(15,15,17,0.2) 100%);
}

.service-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
}

.service-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.service-price {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-price span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-light);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  border-color: var(--color-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.portfolio-item::after {
  content: '\f16d'; /* FontAwesome Instagram icon code simulation */
  font-family: 'FontAwesome', sans-serif;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 17, 0.6);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover::after {
  opacity: 1;
}

/* Google Reviews Slider */
.reviews-section {
  background-color: #121215;
}

.reviews-slider-container {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-slide {
  min-width: 100%;
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

.review-stars {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  color: #e2e2e5;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--color-bg-dark);
}

.author-info h4 {
  font-size: 0.95rem;
  color: #fff;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* Footer & Schedule Form */
footer {
  background-color: var(--color-bg-dark);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 24px;
}

.footer-col p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.footer-col .phone {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

.footer-hours-list {
  list-style: none;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.footer-hours-list li.today {
  color: var(--color-primary);
  font-weight: 500;
}

.footer-map-container {
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
}

.footer-social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .value-text {
    font-size: 1.4rem;
  }
  
  /* Nav Mobile Styles */
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #0f0f11;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.25s ease-in-out;
    border-left: 1px solid var(--glass-border);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .nav-links.active {
    right: 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col:last-child {
    grid-column: span 1;
  }
}
