/* Sorelle Beauty Salon - Main Stylesheet */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --white: #ffffff;
  --cream: #f8f5f1;
  --blush-pink: #f5c0c0;
  --light-pink: #f8d7d7;
  --light-gray: #f0f0f0;
  --medium-gray: #d0d0d0;
  --dark-gray: #333333;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: #C75B4C;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--blush-pink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--blush-pink);
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
  color: var(--dark-gray);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--blush-pink);
  color: var(--dark-gray);
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--light-pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--dark-gray);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Header Left Section with Logo and Music Player */
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Music Player Styles */
.music-player {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.music-player:hover {
  opacity: 0.8;
}

.music-icon {
  margin-right: 8px;
  color: var(--blush-pink);
  font-size: 1.2rem;
}

.music-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 10px;
  color: var(--dark-gray);
}

.music-controls {
  display: flex;
  align-items: center;
}

.music-controls button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-gray);
  font-size: 1rem;
  padding: 4px;
  transition: color 0.3s ease;
}

.music-controls button:hover {
  color: var(--blush-pink);
}

.music-player audio {
  display: none;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blush-pink);
  color: var(--dark-gray);
  padding: 8px;
  z-index: 1001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
}

.header-logo {
  max-height: 60px;
  width: auto;
}

@media (max-width: 768px) {
   .header-left {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  } 
  
  .header-logo {
    max-height: 45px;
  }
  
  .music-label {
    display: none;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: var(--space-md);
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blush-pink);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 5px;
}

.hamburger:focus {
  outline: 2px solid var(--blush-pink);
  border-radius: 4px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
  background-color: var(--cream);
}

.about-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Treatments Section */
.treatments {
  background-color: var(--white);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.treatment-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.treatment-image {
  height: 200px;
  overflow: hidden;
}

.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-image img {
  transform: scale(1.05);
}

.treatment-content {
  padding: var(--space-lg);
}

.treatment-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.treatment-description {
  margin-bottom: var(--space-md);
}

.treatment-item {
  margin-bottom: var(--space-md);
}

.treatment-name {
  font-weight: 500;
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: space-between;
}

.treatment-price {
  color: var(--medium-pink);
  font-weight: 500;
}

.treatment-details {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* Booking Section */
.booking {
  background-color: var(--blush-pink);
  color: var(--dark-gray);
}

.booking-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-form {
  width: 100%;
  max-width: 600px;
  background-color: var(--white);
  padding: var(--space-xl);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--blush-pink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 202, 201, 0.3);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.btn-submit {
  width: 100%;
  background-color: var(--blush-pink);
  color: var(--dark-gray);
  font-weight: 500;
  padding: 14px;
  margin-top: var(--space-md);
}

.btn-submit:hover {
  background-color: var(--medium-pink);
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: flex;
  gap: var(--space-xl);
}

.contact-info {
  flex: 1;
}

.contact-item {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: var(--space-sm);
  color: var(--blush-pink);
  font-size: 1.25rem;
}

.contact-text {
  flex: 1;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-gray);
  border-radius: 50%;
  color: var(--dark-gray);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--blush-pink);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-map {
  flex: 1;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #a04c5a 0%, #c75b7c 100%);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-sm);
  text-align: center;
  border-top: 3px solid #fff0f5;
  position: relative;
  box-shadow: 0 -4px 20px rgba(160, 76, 90, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  max-height: 40px;
  margin: 0 auto;
  opacity: 1;
  filter: none;
  background: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-link {
  color: #fff0f5;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.footer-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-bottom-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.footer-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff0f5, transparent);
  margin: var(--space-sm) auto;
  opacity: 0.7;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #fff0f5;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
  text-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.footer-tagline {
  font-size: 0.85rem;
  color: #f8d7d7;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.10);
  margin-bottom: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer {
    padding: var(--space-md) 0 var(--space-xs);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .footer-link {
    display: inline-block;
    margin: 0 auto;
  }
  
  .footer-logo {
    margin-bottom: var(--space-xs);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: var(--space-sm) 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }
  
  .about-container,
  .contact-container {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: var(--space-lg);
  }
  
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .booking-form {
    padding: var(--space-lg);
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

 .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

#digitalhawk-chatbot-container, 
#digitalhawk-chatbot-container .fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}