/* ========================================
   DL Nails Home Service - Styles
   ======================================== */

/* CSS Variables - Purple Theme #82648d */
:root {
  --primary: #82648d;
  --primary-light: #d4c6da;
  --primary-dark: #5a4563;
  --primary-glow: #a086ab;
  
  --background: #ffffff;
  --foreground: #1f1f1f;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  
  --sage: #c8d5c8;
  --sage-light: #e8f0e8;
  --sage-dark: #5a7a5a;
  
  --shadow-soft: 0 4px 20px -4px rgba(130, 100, 141, 0.1);
  --shadow-medium: 0 8px 30px -6px rgba(130, 100, 141, 0.15);
  --shadow-glow: 0 0 40px rgba(130, 100, 141, 0.3);
  
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Typography */
.script-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .script-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
}

.title-divider {
  width: 4rem;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem auto;
}

.section-description {
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(130, 100, 141, 0.3);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(130, 100, 141, 0.5);
}

.btn-pink.large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-white {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Pink Bar */
.pink-bar {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-glow) 50%, var(--primary) 100%);
  margin-bottom: 4rem;
}

/* Icons */
.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
}

.navbar-logo-img {
  height: 97px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
}

.navbar-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-links a {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-links a:hover {
  color: white;
}

.navbar-cta {
  display: none;
  padding: 0.5rem 1.25rem;
  background: white;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .navbar-cta {
    display: block;
  }
}

.navbar-cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

.navbar-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-mobile.open {
  display: flex;
}

.navbar-mobile a {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  transition: var(--transition);
}

.navbar-mobile a:hover {
  color: white;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(130, 100, 141, 0.6), rgba(130, 100, 141, 0.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 5rem;
}

.hero-script {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-script {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-script {
    font-size: 3rem;
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: var(--transition);
}

.scroll-indicator a:hover {
  color: white;
}

.scroll-indicator svg {
  width: 1.25rem;
  height: 1.25rem;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-alt {
  background: var(--primary-light);
  background: linear-gradient(180deg, rgba(251, 207, 232, 0.3) 0%, rgba(251, 207, 232, 0.1) 100%);
}

.section-header {
  margin-bottom: 3rem;
}

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

.section-header.left {
  text-align: left;
}

/* ========================================
   About Section
   ======================================== */

/* Professional Intro Section */
.professional-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(251, 207, 232, 0.4) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(251, 207, 232, 0.3) 100%);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.professional-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-glow) 50%, var(--primary) 100%);
}

@media (min-width: 768px) {
  .professional-intro {
    flex-direction: row;
    text-align: left;
    padding: 3rem;
  }
}

.professional-image {
  flex-shrink: 0;
}

.professional-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--primary);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.3);
}

@media (min-width: 768px) {
  .professional-image img {
    width: 220px;
    height: 220px;
  }
}

.professional-content {
  max-width: 600px;
}

.professional-content .script-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .professional-content .script-title {
    font-size: 3rem;
  }
}

.professional-slogan {
  font-size: 1.125rem;
  color: var(--foreground);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 0;
}

@media (min-width: 768px) {
  .professional-slogan {
    font-size: 1.25rem;
  }
}

.professional-role {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
}

.image-frame {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(236, 72, 153, 0.3);
  border-radius: 0.5rem;
}

.about-image img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-medium);
}

.about-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-content strong {
  color: var(--foreground);
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(251, 207, 232, 0.3);
  border-radius: 0.5rem;
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(251, 207, 232, 0.5);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 50%;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-image {
  height: 16rem;
  overflow: hidden;
}

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

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

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-content > p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.service-features li svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.service-content .btn-pink {
  width: 100%;
}

.services-note {
  text-align: center;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 3rem auto 0;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(236, 72, 153, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(236, 72, 153, 0.6);
}

.gallery-overlay span {
  color: white;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
  text-align: center;
  padding: 0 1rem;
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
}

.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================
   Video Section
   ======================================== */
.videos-grid {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--muted);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1.25rem;
}

.video-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.play-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 72, 153, 0.2);
  border-radius: 50%;
}

.play-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--primary);
  fill: var(--primary);
}

.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
}

.video-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: white;
  padding: 2rem;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.contact-icon.pink {
  background: rgba(236, 72, 153, 0.1);
}

.contact-card:hover .contact-icon.pink {
  background: rgba(236, 72, 153, 0.2);
}

.contact-icon.green {
  background: var(--sage-light);
}

.contact-card:hover .contact-icon.green {
  background: var(--sage);
}

.contact-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-icon.pink svg {
  color: var(--primary);
}

.contact-icon.green svg {
  color: var(--sage-dark);
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-hint {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.contact-hint.green {
  color: var(--sage-dark);
  font-weight: 500;
}

.service-areas {
  text-align: left;
}

.service-areas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.service-areas .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.contact-cta {
  text-align: center;
  margin-top: 3rem;
}

.contact-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-note svg {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-logo {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: white;
}

.footer-contact a svg {
  width: 1rem;
  height: 1rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-social {
    align-items: flex-end;
  }
}

.footer-social h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p:last-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}