/* 
 * Hodaya Vald - Professional Makeup Artist and Hair Stylist
 * Premium Website Styling
 */

/* ===== GENERAL STYLES ===== */
:root {
  --primary-color: #d4af37; /* Gold */
  --secondary-color: #333333;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
}

body {
  font-family: 'Heebo', sans-serif;
  color: var(--dark-color);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.4;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.text-gold {
  color: var(--primary-color) !important;
}

.bg-gold {
  background-color: var(--primary-color) !important;
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  font-weight: 700;
  color: var(--secondary-color);
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.btn-custom {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  padding: 10px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  width: 50px;
  height: 50px;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: white;
  box-shadow: var(--box-shadow);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  padding: 10px 15px !important;
  color: var(--secondary-color) !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 30px;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-btn {
  padding: 12px 30px;
  font-size: 16px;
}

/* ===== ABOUT SECTION ===== */
.about-img {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content {
  padding: 20px;
}

.signature {
  margin-top: 20px;
  max-width: 200px;
}

/* ===== SERVICES SECTION ===== */
.service-card {
  padding: 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 30px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: white;
}

.service-title {
  margin-bottom: 15px;
  font-weight: 600;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-filter {
  margin-bottom: 30px;
}

.filter-btn {
  background-color: transparent;
  border: none;
  padding: 8px 20px;
  margin: 0 5px 10px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.portfolio-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.portfolio-img {
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: var(--transition);
}

.portfolio-wrapper:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-wrapper:hover .portfolio-icon {
  transform: scale(1);
}

.portfolio-wrapper:hover .portfolio-img {
  transform: scale(1.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-item {
  padding: 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial-item:hover {
  transform: translateY(-10px);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--primary-color);
}

.testimonial-name {
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-position {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-rating {
  color: var(--primary-color);
}

/* ===== PRICING SECTION ===== */
.pricing-card {
  padding: 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eee;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.pricing-card.featured .pricing-header {
  background-color: var(--primary-color);
  margin: -30px -30px 20px;
  padding: 20px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.pricing-card.featured .pricing-title {
  color: white;
}

.pricing-title {
  margin-bottom: 15px;
  font-weight: 600;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-feature {
  margin-bottom: 10px;
  position: relative;
  padding-right: 25px;
}

.pricing-feature::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-left: 15px;
  flex-shrink: 0;
}

.contact-text h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.social-links {
  margin-top: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-left: 10px;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.form-control {
  height: 50px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  border: 1px solid #eee;
  padding: 10px 15px;
}

textarea.form-control {
  height: 150px;
  resize: none;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* ===== INSTAGRAM FEED ===== */
.instagram-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

.instagram-item img {
  transition: var(--transition);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.instagram-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.instagram-item::after {
  content: '\f16d';
  font-family: 'Font Awesome 5 Brands';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 30px;
  z-index: 2;
  transition: var(--transition);
}

.instagram-item:hover::before {
  opacity: 1;
}

.instagram-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-text {
  margin-bottom: 20px;
  color: #aaa;
}

.footer-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-weight: 600;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.footer-newsletter .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

.footer-newsletter .form-control::placeholder {
  color: #aaa;
}

.footer-newsletter .btn {
  padding: 0 20px;
  height: 50px;
}

.copyright {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 20px;
    margin-top: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .about-img {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 30px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .filter-btn {
    margin-bottom: 10px;
  }
}
