/* 1. Import Fonts directly at the very top */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- VARIABLES --- */
:root {
  --pink: #F8C8DC;
  /* Soft Pastel Pink */
  --beige: #F5F5DC;
  /* Classic Beige */
  --white: #FFFFFF;
  --dark-text: #333333;
  /* Slightly darker for better readability */
  --accent: #D4A5A5;
  /* Muted Rose */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* UPGRADE: Lightning Colors */
  --lightning-glow: rgba(255, 255, 255, 0.8);
  --swipe-speed: 0.8s;
}

/* --- RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- GLOBAL TYPOGRAPHY & BODY --- */
body {
  font-family: 'Poppins', sans-serif !important;
  background-color: var(--white);
  color: var(--dark-text);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* UPGRADE: Initial Swipe-In for the whole page */
  animation: pageSwipeIn 1s ease-out;
}

h1,
h2,
h3,
.logo {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  color: #222;
  /* High contrast for headings */
  /* UPGRADE: Lightning Text Flash on Load */
  animation: lightningText 2s ease-in-out;
}

/* --- NAVIGATION --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  /* Pro glass-like effect */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  /* UPGRADE: Nav Swipe Down */
  animation: navSwipeDown 0.6s ease-out;
}

.logo {
  font-size: 1.8rem;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent);
  /* UPGRADE: Subtle Lightning Pulse */
  animation: lightningPulse 3s infinite;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav ul li {
  margin-left: 35px;
}

nav ul li a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--accent);
}

/* UPGRADE: Navigation Swipe Underline */
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
  height: 75vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--pink) 0%, var(--beige) 100%);
  padding: 40px 20px;
  /* UPGRADE: Background Lightning Shift */
  background-size: 200% 200%;
  animation: lightningBg 10s ease infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 15px;
  line-height: 1.15;
  /* UPGRADE: Swipe and Flash Entrance */
  animation: lightningSwipeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  font-weight: 300;
  color: #555;
  /* UPGRADE: Swipe delay */
  animation: swipeInRight 1.5s ease-out;
}

.btn {
  margin-top: 35px;
  padding: 16px 42px;
  background: var(--white);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* UPGRADE: Button Lightning Shine Effect */
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--lightning-glow), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.btn:hover::before {
  left: 150%;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(212, 165, 165, 0.4);
}

/* --- PRICING GRID (Index Page) --- */
.pricing-container {
  padding: 100px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: clamp(2rem, 4vw, 3rem);
  /* UPGRADE: Lightning Entry */
  animation: lightningText 3s ease-in-out;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: var(--beige);
  padding: 50px 35px;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* UPGRADE: Staggered Swipe Entrance */
  animation: swipeUpStagger 0.8s ease-out both;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.4s;
}

.card:nth-child(4) {
  animation-delay: 0.6s;
}

.card:hover {
  background: var(--white);
  border-color: var(--pink);
  transform: translateY(-15px) rotate(1deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 700;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.price-tag {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0;
  /* UPGRADE: Lightning Glow */
  text-shadow: 0 0 10px rgba(212, 165, 165, 0.2);
}

.subtext,
.limit,
.desc,
.extra,
.note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}

.extra {
  font-style: italic;
}

.highlight {
  background: var(--pink);
  position: relative;
  /* UPGRADE: Constant Lightning Pulse for highlight card */
  animation: cardPulse 3s infinite;
}

.learn-more {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s;
}

.learn-more:hover {
  color: var(--dark-text);
  letter-spacing: 1.5px;
  /* UPGRADE: Swipe letter spacing */
}

/* --- SERVICES DETAIL PAGE --- */
.services-header {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(to bottom, var(--pink), var(--white));
}

.detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.service-block {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 90px;
  /* UPGRADE: Swipe In from left */
  animation: swipeInLeft 1s ease-out;
}

.service-block.reverse {
  flex-direction: row-reverse;
  /* UPGRADE: Swipe In from right */
  animation: swipeInRight 1s ease-out;
}

.text-side {
  flex: 1;
}

.text-side h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  color: var(--dark-text);
}

.specs {
  list-style: none;
  margin-top: 25px;
  background: var(--beige);
  padding: 35px 40px;
  border-radius: 20px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
  /* UPGRADE: Lightning Border Pulse */
  border: 1px solid transparent;
  transition: 0.3s;
}

.specs:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(212, 165, 165, 0.3);
}

.specs li {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1rem;
}

.specs li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 70px 0;
  opacity: 0.3;
  /* UPGRADE: Lightning Flow Animation */
  background-size: 200% 100%;
  animation: lightningFlow 4s linear infinite;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 80px 8%;
  text-align: center;
  background-color: var(--white);
}

.contact-card {
  background: var(--pink);
  padding: 70px 40px;
  border-radius: 30px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  /* UPGRADE: Lightning Entry */
  animation: lightningSwipeUp 1.5s ease-out;
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.contact-card p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #444;
}

.whatsapp-btn {
  background: #25D366 !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 1.1rem;
  padding: 18px 45px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  /* UPGRADE: Lightning Pulse on button */
  animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
  background: #1EBE5C !important;
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 50px 20px;
  background: #fafafa;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #888;
}

/* --- MOBILE RESPONSIVE QUERIES --- */
@media (max-width: 992px) {
  nav {
    padding: 15px 5%;
  }

  .service-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {

  /* Mobile Nav Logic */
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    /* UPGRADE: Swipe down mobile menu */
    animation: navSwipeDown 0.4s ease-out;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero {
    height: 65vh;
    padding: 30px 15px;
  }

  .pricing-container,
  .contact-section {
    padding: 60px 5%;
  }

  .service-block,
  .service-block.reverse {
    flex-direction: column;
    text-align: center;
    margin-bottom: 60px;
  }

  .specs {
    text-align: left;
    padding: 25px;
  }
}

/* --- BUTTON GROUPS (Add to your style.css) --- */
.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Keeps them neat on small phones */
}

/* Secondary "Outline" style for the Home button */
.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--dark-text);
  box-shadow: none;
}

.btn.btn-outline:hover {
  background: var(--dark-text);
  color: var(--white);
  border-color: var(--dark-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-hero {
  height: 40vh;
  /* Shorter hero for the contact page */
  min-height: 300px;
}

.contact-page-section {
  padding: 80px 8%;
  background-color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--beige);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  /* UPGRADE: Swipe Up Entrance */
  animation: lightningSwipeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-info {
  background: var(--pink);
  padding: 50px 40px;
  color: var(--dark-text);
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.info-item {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.contact-form-container {
  padding: 50px 40px;
  background: var(--white);
}

.input-group {
  margin-bottom: 25px;
  text-align: left;
}

.input-group label {
  display: block;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-text);
  font-size: 0.95rem;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 1rem;
  background: #fafafa;
  transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--white);
  box-shadow: 0 0 10px rgba(248, 200, 220, 0.5);
  /* UPGRADE: Lightning Focus */
}

.submit-options {
  margin-top: 40px;
}

.submit-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark-text);
}

.button-split {
  display: flex;
  gap: 20px;
}

.button-split .btn {
  flex: 1;
  /* Makes both buttons the same size */
  padding: 18px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
}

.email-btn {
  background: var(--dark-text);
  color: var(--white);
}

.email-btn:hover {
  background: var(--accent);
}

/* Mobile Adjustments for Contact Page */
@media (max-width: 850px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .button-split {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------- */
/* UPGRADE: NEW LIGHTNING & SWIPING KEYFRAMES SECTION (ADDED LINES)          */
/* -------------------------------------------------------------------------- */

@keyframes pageSwipeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lightningText {
  0% {
    opacity: 0;
    filter: brightness(3);
    letter-spacing: 5px;
  }

  50% {
    opacity: 0.8;
    filter: brightness(1.5);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
    letter-spacing: normal;
  }
}

@keyframes lightningSwipeUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
    filter: brightness(2);
  }

  100% {
    transform: translateY(0);
    opacity: 1;
    filter: brightness(1);
  }
}

@keyframes navSwipeDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes swipeInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes swipeInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes swipeUpStagger {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes lightningPulse {
  0% {
    text-shadow: 0 0 5px var(--accent);
  }

  50% {
    text-shadow: 0 0 20px var(--white), 0 0 30px var(--accent);
  }

  100% {
    text-shadow: 0 0 5px var(--accent);
  }
}

@keyframes cardPulse {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  50% {
    box-shadow: 0 10px 50px rgba(248, 200, 220, 0.8);
  }

  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lightningBg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes lightningFlow {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}