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

:root {
  --pink: #ff69b4;
  --dark: #121212;
  --gray: #333;
  --light-gray: #f8f8f8;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--light-gray);
  background-color: var(--dark);
}

/* Header and Navigation */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    to bottom left,
    rgba(255, 105, 180, 0.15) 0%,
    rgba(45, 18, 41, 0.2) 15%,
    rgba(26, 15, 26, 0.1) 30%,
    rgba(18, 18, 18, 1) 50%,
    var(--dark) 100%
  );
  position: relative;
}

/*  subtle animated gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.02), transparent);
  pointer-events: none;
}

/*  a subtle noise texture */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/%3E%3C/svg%3E');
  pointer-events: none;
  opacity: 0.15;
}

.navbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(18, 18, 18, 1);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 105, 180, 0.05);
  z-index: 1000;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--pink);
}

/* Hero Section */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  padding-right: 2rem;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--pink), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-gray);
  opacity: 0.9;
}

.hero-image {
  position: relative;
  height: 500px;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.2);
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, var(--pink), #ff1493, var(--pink));
  background-size: 200% auto;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
  background-position: right center;
}

.cta-subtext {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1rem;
  text-align: center;
}

/* Services Section */
.services-section {
  background: linear-gradient(to bottom, var(--dark), #1a1a1a);
  padding: 8rem 0;
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pink), transparent);
  opacity: 0.3;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--pink);
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.section-subtitle {
  color: var(--light-gray);
  font-size: 1.1rem;
  opacity: 0.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  perspective: 1500px;
  height: 380px;
  width: 100%;
}

.service-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.service-card:hover .service-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-details {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 2rem;
}

.service-front {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 105, 180, 0.05) 100%
  );
  border: 1px solid rgba(255, 105, 180, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.service-details {
  background: linear-gradient(
    145deg,
    rgba(255, 105, 180, 0.1),
    rgba(18, 18, 18, 0.95)
  );
  border: 1px solid rgba(255, 105, 180, 0.2);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 105, 180, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 105, 180, 0.15);
}

.service-icon i {
  font-size: 2rem;
  color: var(--pink);
  transition: all 0.3s ease;
}

.service-front h3 {
  color: var(--light-gray);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.service-brief {
  color: var(--light-gray);
  opacity: 0.7;
  font-size: 0.9rem;
  margin: 0;
}

.details-content {
  width: 100%;
}

.service-details h3 {
  color: var(--pink);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-details p {
  color: var(--light-gray);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.service-features li {
  color: var(--light-gray);
  opacity: 0.9;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.service-features li i {
  color: var(--pink);
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

/* hover effects */
.service-card:hover .service-icon {
  background: rgba(255, 105, 180, 0.2);
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to bottom, #1a1a1a, var(--dark));
  padding: 8rem 0;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pink), transparent);
  opacity: 0.3;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-email {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

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

.contact-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 105, 180, 0.05) 100%
  );
  border: 1px solid rgba(255, 105, 180, 0.1);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 160px;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 105, 180, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 105, 180, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

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

.contact-icon i {
  font-size: 1.5rem;
  color: var(--pink);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
  color: white;
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  word-break: break-word;
}

.contact-details h3 {
  color: var(--pink);
  font-size: 1.2rem;
  margin: 0;
}

.contact-details p {
  color: var(--light-gray);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.email-link {
  color: var(--pink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0.5rem;
  word-wrap: break-word;
  max-width: 100%;
}

.email-link:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 0;
  text-align: center;
}

/* Mobile Menu Button */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--pink);
  margin: 5px 0;
  transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    gap: 1rem;
    padding: 2rem;
  }

  .hero-image {
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-image {
    height: 300px;
    margin-top: 2rem;
  }

  .services-grid {
    grid-template-columns: minmax(280px, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .services-section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-card {
    height: 350px;
    width: 100%;
  }

  .contact-section {
    padding: 4rem 0;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-additional {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.5rem;
    min-height: auto;
    width: 100%;
  }

  .contact-icon {
    margin-top: 0;
    width: 50px;
    height: 50px;
  }

  .contact-icon i {
    font-size: 1.2rem;
  }

  .contact-details h3 {
    font-size: 1.1rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .email-link {
    font-size: 0.9rem;
  }
}

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

  .contact-email {
    flex: 1;
  }

  .contact-additional {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
  }
}

/* Small mobile devices */
@media (max-width: 380px) {
  .contact-card {
    padding: 1.2rem;
    gap: 1rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-details h3 {
    font-size: 1rem;
  }

  .contact-details p,
  .email-link {
    font-size: 0.85rem;
  }
}
