@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap");

:root {
  --clr1: deeppink;
  --clr2: white;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --border: #ddd;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HEADER */
.head {
  position: fixed; /* fixed: stays visible on scroll */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--clr1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.navbar {
  display: flex;
  gap: 2rem;
}

.navbar a {
  font-size: 1.5rem;
  color: white;
  text-transform: capitalize;
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* HOME HERO SECTION */
.home {
  padding-top: 0;
  margin-top: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1653821355736-0c2598d0a63e?q=80&w=2070&auto=format&fit=crop");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.home .content {
  max-width: 80rem;
  animation: fadeInUp 1s ease;
}

.home p:first-child {
  font-size: 3rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  margin-bottom: 1rem;
}

.home h3 {
  color: white;
  font-size: 5rem;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.subtitle {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-transform: none;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 3rem;
  text-align: center;
  font-size: 1.6rem;
  color: var(--dark); /* fixed: was #aaa (grey) */
  background: white;
  border: none;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 0 deeppink;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 deeppink;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: deeppink;
  box-shadow: none;
}

/* SECTIONS */
section {
  padding: 5rem 2rem;
  min-height: auto;
}

.about {
  background: var(--light);
}

.services {
  background: white;
}

section.price {
  background: var(
    --light
  ); /* fixed: was .price — conflicted with .price-amount */
}

.gallery {
  background: white;
}

.review {
  background: var(--light);
}

.contact {
  background: white;
}

h2 {
  font-size: 4rem;
  text-align: center;
  color: var(--dark);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

/* ABOUT */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2.5rem;
  color: var(--clr1);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.3rem;
}

.feature-item i {
  color: var(--clr1);
  font-size: 1.8rem;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

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

.service-card i {
  font-size: 3rem;
  color: var(--clr1);
  text-align: center;
  display: block;
  padding: 1.5rem 0;
}

.service-card h3 {
  font-size: 2rem;
  color: var(--dark);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}

.service-card p {
  color: #666;
  font-size: 1.3rem;
  text-align: center;
  padding: 0 1.5rem 1.5rem;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  border-color: var(--clr1);
  box-shadow: 0 15px 40px rgba(255, 20, 147, 0.2);
}

.pricing-card img {
  width: 100%;
  height: 150px;
  border-radius: 1rem;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr1);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 5rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Fixed: renamed from .price to .price-amount to avoid conflict with section.price */
.price-amount {
  font-size: 3rem;
  color: var(--clr1);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.pricing-card p {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 2rem;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-card li {
  padding: 0.8rem 0;
  color: #666;
  font-size: 1.2rem;
}

.pricing-card i {
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.pricing-card i.fa-check {
  color: #10b981;
}

.pricing-card i.fa-times {
  color: #ef4444;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  height: 300px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 20, 147, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.gallery-overlay h4 {
  color: white;
  font-size: 1.8rem;
  text-align: center;
  text-transform: capitalize;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stars {
  color: #ffc107;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-card p {
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.3rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.reviewer img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer h4 {
  color: var(--dark);
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.reviewer p {
  color: #999;
  font-size: 1rem;
  margin: 0;
}

/* CONTACT */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--clr1);
  color: white;
}

.info-item i {
  font-size: 2rem;
  color: var(--clr1);
}

.info-item:hover i {
  color: white;
}

.info-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.info-item p {
  color: #666;
  font-size: 1.2rem;
  margin: 0;
}

.info-item:hover p {
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clr1);
  box-shadow: 0 0 15px rgba(255, 20, 147, 0.2);
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--clr1);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--clr1);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: white;
  color: var(--clr1);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem 0 0 0.5rem;
  font-size: 1.2rem;
}

.newsletter-form button {
  background: var(--clr1);
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  cursor: pointer;
  color: white;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: white;
  color: var(--clr1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  .navbar {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .navbar.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--clr1);
  }
  .navbar a {
    padding: 1rem;
    display: block;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home h3 {
    font-size: 3rem;
  }
  .button-group {
    flex-direction: column;
  }
  
  /* Fix mobile background zoom issue */
  .home {
    background-attachment: scroll; /* disable fixed on mobile */
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .home h3 {
    font-size: 2rem;
  }
}
