/* Custom CSS for Nail Art Website */

:root {
  --primary-color: #e91e63;
  --primary-light: #f8bbd9;
  --primary-dark: #ad1457;
  --secondary-color: #ff4081;
  --accent-color: #ffc107;
  --dark-color: #2c2c2c;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
  --shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
  --shadow-hover: 0 15px 40px rgba(233, 30, 99, 0.2);
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.navbar-brand i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

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

.btn-book {
  background: var(--gradient) !important;
  color: white !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px !important;
  margin-left: 1rem !important;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text {
  color: white;
  text-align: left;
}

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

.hero-text .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
  margin: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* About Section */
.about-image {
  position: relative;
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: white;
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-badge .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.experience-badge .text {
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-item {
  padding: 1rem 0;
}

.feature-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-item h5 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

/* Services Section */
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.service-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.service-card h4 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #666;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: #666;
}

.service-features i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.service-price {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Gallery Section */
.gallery-filters {
  margin-bottom: 2rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
}

.gallery-item {
  margin-bottom: 1rem;
}

.gallery-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(233, 30, 99, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  text-align: center;
  color: white;
  padding: 1rem;
}

.gallery-content h5 {
  margin-bottom: 0.5rem;
}

.gallery-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Pricing Section */
.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h4 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 0.25rem;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 1rem;
  color: #666;
  margin-left: 0.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: #666;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Booking Section */
.booking-form-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.booking-form .form-control,
.booking-form .form-select {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

.booking-form .form-label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
  background: var(--gradient);
}

.newsletter-form .input-group {
  max-width: 400px;
  margin-left: auto;
}

.newsletter-form .form-control {
  border: none;
  border-radius: 25px 0 0 25px;
  padding: 0.75rem 1.5rem;
}

.newsletter-form .btn {
  border-radius: 0 25px 25px 0;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient);
  color: white;
  padding: 0.5rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

.blog-date .day {
  display: block;
  font-size: 1.2rem;
}

.blog-date .month {
  font-size: 0.8rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.category {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-weight: 500;
}

.author {
  color: #666;
}

.blog-content h4 {
  margin-bottom: 1rem;
}

.blog-content h4 a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h4 a:hover {
  color: var(--primary-color);
}

.blog-content p {
  color: #666;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Contact Section */
.contact-info {
  padding: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.contact-details h5 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-details p {
  color: #666;
  margin-bottom: 0;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-form .form-control {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

/* Footer */
.footer {
  background: var(--dark-color) !important;
}

.footer-brand .navbar-brand {
  font-size: 1.5rem;
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  margin-right: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: white;
}

.footer-contact p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--primary-color);
  width: 20px;
}

.footer-bottom-links a {
  color: #ccc;
  text-decoration: none;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .hero-text {
    text-align: center;
  }

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

  .service-card.featured {
    transform: none;
  }

  .pricing-card.featured {
    transform: none;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 15px;
  }

  .next-btn {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .lead {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .booking-form-container {
    padding: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .newsletter-form .input-group {
    flex-direction: column;
  }

  .newsletter-form .form-control {
    border-radius: 25px;
    margin-bottom: 1rem;
  }

  .newsletter-form .btn {
    border-radius: 25px;
  }

  .footer-bottom-links {
    margin-top: 1rem;
  }

  .footer-bottom-links a {
    margin: 0 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .service-card,
  .pricing-card {
    padding: 1.5rem;
  }

  .booking-form-container {
    padding: 1.5rem;
  }

  .gallery-card img {
    height: 200px;
  }

  .slider-dots {
    bottom: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Pulse Animation */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Bounce Animation */
.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Floating Animation */
.float {
  animation: float 3s ease-in-out infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection */
::selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}

::-moz-selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}
