/* =========================
   ChithiHub - Modern Style
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #d63447;
  --primary-dark: #a82635;
  --secondary: #ffb6b9;
  --accent: #fec8c8;
  --dark: #2d3436;
  --light: #fff;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 10px 25px;
  border-radius: 50px;
  color: white;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
  background: linear-gradient(120deg, #ffeaa7, #fdcb6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating Shapes Animation */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 15%;
  left: 20%;
  animation-delay: 4s;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 45px;
  font-size: 1.1rem;
  background: #25D366;
  color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-large:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-large i {
  margin-right: 8px;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-2);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
}

/* =========================
   ABOUT SECTION
========================= */
.about-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
  color: #636e72;
  line-height: 1.8;
}

.about-text i {
  color: var(--primary);
  margin-right: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: #636e72;
  margin-top: 5px;
}

/* =========================
   WHY CHOOSE
========================= */
.why ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.why li {
  background: white;
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.why li:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
  transition: transform 0.3s ease;
}

.why li:hover .icon-wrapper {
  transform: scale(1.1) rotate(10deg);
}

.why h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.why p {
  color: #636e72;
  font-size: 0.95rem;
}

/* =========================
   PORTFOLIO
========================= */
.portfolio {
  background: #f8f9fa;
  padding: 100px 20px;
}

.category-section {
  margin-bottom: 70px;
}

.category-section:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.category-title i {
  color: var(--primary);
  margin-right: 10px;
}

.portfolio-row {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-behavior: smooth;
}

.portfolio-row::-webkit-scrollbar {
  height: 8px;
}

.portfolio-row::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 10px;
}

.portfolio-row::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.portfolio-card {
  min-width: 280px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.card-image {
  height: 200px;
  background: var(--gradient-3);
  position: relative;
  overflow: hidden;
}

/* Birthday Backgrounds */
.birthday-bg-1 { background: linear-gradient(135deg, #FF6B9D 0%, #C06C84 100%); }
.birthday-bg-2 { background: linear-gradient(135deg, #FFA07A 0%, #FF69B4 100%); }
.birthday-bg-3 { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); }
.birthday-bg-4 { background: linear-gradient(135deg, #98D8C8 0%, #6C91BF 100%); }

/* Love Backgrounds */
.love-bg-1 { background: linear-gradient(135deg, #FF4E50 0%, #F9D423 100%); }
.love-bg-2 { background: linear-gradient(135deg, #FF0844 0%, #FFB199 100%); }
.love-bg-3 { background: linear-gradient(135deg, #EC6EAD 0%, #3494E6 100%); }
.love-bg-4 { background: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 100%); }

/* Wedding Backgrounds */
.wedding-bg-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.wedding-bg-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.wedding-bg-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.wedding-bg-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

/* Special Backgrounds */
.special-bg-1 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.special-bg-2 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.special-bg-3 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.special-bg-4 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }

.card-image::before {
  content: '🎨';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.3;
}

.card-info {
  padding: 20px;
}

.card-info h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.card-info p {
  color: #636e72;
  font-size: 0.9rem;
}

/* Old Portfolio Grid Styles (fallback) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  height: 350px;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  background: var(--gradient-3);
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(214, 52, 71, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay i {
  font-size: 3rem;
  margin-bottom: 15px;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

/* =========================
   PRICING
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 40px 30px;
  border-radius: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 20px 0;
}

.card-desc {
  color: #636e72;
  margin-bottom: 25px;
  font-size: 1rem;
}

.features {
  list-style: none;
  text-align: left;
  margin-top: 25px;
}

.features li {
  padding: 10px 0;
  color: #636e72;
  border-bottom: 1px solid #f1f2f6;
}

.features li:last-child {
  border-bottom: none;
}

.features i {
  color: #25D366;
  margin-right: 10px;
}

.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.featured:hover {
  transform: scale(1.08) translateY(-15px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-2);
  color: white;
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

/* =========================
   ORDER / STEPS
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.step {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.step p {
  color: #636e72;
  font-size: 0.95rem;
}

.order {
  text-align: center;
}

/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
  color: white;
  padding: 50px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .category-title {
    font-size: 1.4rem;
  }

  .portfolio-card {
    min-width: 250px;
  }

  .portfolio-row {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 15px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .portfolio-card {
    min-width: 220px;
  }

  .card-info h4 {
    font-size: 1.1rem;
  }
}
