/*
Theme Name: Dolcino Child
Theme URI: https://dolcino.qodeinteractive.com/
Description: A child theme of Dolcino Theme
Author: Mikado Themes
Author URI: https://themeforest.net/user/mikado-themes
Version: 1.0.1
Text Domain: dolcino
Template: dolcino
*/
/* Target WP custom logo */
/*=========================================
GLOBAL RESET & VARIABLES
=========================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-pink: #d81b60;
  --dark-pink: #bc1254;
  --light-bg: #fffbfb;
  --card-border: #f3e5eb;
  --text-dark: #222222;
  --text-gray: #666666;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/*=========================================
SECTION 1: WHY CHOOSE
=========================================*/
.why-choose {
  background-color: var(--light-bg);
  padding: 65px 0 75px 0;
}

.section-container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.sub-heading {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-pink);
  letter-spacing: 2.5px;
  margin-bottom: 6px;
}

.main-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  font-weight: 700;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.section-divider span {
  width: 50px;
  height: 1px;
  background-color: #f1b3cb;
}

.heart-icon {
  width: 11px;
  height: 11px;
  fill: var(--primary-pink);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 35px 18px 30px 18px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(216, 27, 96, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px auto;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.5;
  font-weight: 400;
}

/*=========================================
SECTION 2: OUR NUMBERS
=========================================*/
.our-numbers {
  position: relative;
  background: linear-gradient(180deg, #d81b60 0%, #c21353 50%, #9e0a3f 100%);
  padding: 40px 0;
  color: #ffffff;
  overflow: hidden;
}

/* Gold foil textures */
.gold-glitter-left, .gold-glitter-right {
  position: absolute;
  width: 250px;
  height: 100%;
  top: 0;
  pointer-events: none;
  opacity: 0.4;
}

.gold-glitter-left {
  left: 0;
  background: radial-gradient(circle at left center, rgba(212, 175, 55, 0.6), transparent 70%);
}

.gold-glitter-right {
  right: 0;
  background: radial-gradient(circle at right center, rgba(212, 175, 55, 0.6), transparent 70%);
}

.numbers-container {
  width: min(1320px, 94%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.numbers-header {
  text-align: center;
  margin-bottom: 30px;
}

.numbers-subtitle {
  font-size: 0.9rem;
  letter-spacing: 3px;
  font-weight: 600;
  color: #ffffff;
}

.numbers-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.numbers-divider span {
  width: 60px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.heart-icon-white {
  width: 10px;
  height: 10px;
  fill: #ffffff;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 5px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stat-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.star-accent {
  font-size: 1.2rem;
  color: #ffd700;
  margin-left: 2px;
  vertical-align: super;
}

.stat-text {
  font-size: 0.82rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}

/*=========================================
SECTION 3: TESTIMONIAL
=========================================*/
.testimonial-section {
  position: relative;
  padding: 90px 0;
  background: #fbf5f7;
  overflow: hidden;
}

.testimonial-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  
  /* Replace 'images/cake-bg.jpg' with your actual image path or URL */
  background: url('https://www.abbiesovens.co.uk/wp-content/uploads/2026/09/testbg.jpg') center right/cover no-repeat;
  
  z-index: 1;
}

.testimonial-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fbf5f7 10%, rgba(251, 245, 247, 0.2) 100%);
}

.testimonial-container {
  width: min(1200px, 90%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  width: 520px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 40px 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-content {
  text-align: center;
  width: 100%;
}

.star-rating {
  color: #ff2a7a;
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.quote-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 20px;
}

.author-name {
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-arrow {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease;
}

.nav-arrow:hover {
  background: #fdf0f5;
}

.nav-arrow svg {
  width: 20px;
  height: 20px;
  fill: #555;
}

.left-arrow { left: -18px; }
.right-arrow { right: -18px; }

/*=========================================
TESTIMONIAL SLIDER ENHANCEMENTS
=========================================*/
.testimonial-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px; /* Space for pagination dots */
}

.testimonial-slider {
  width: 100%;
  position: relative;
  min-height: 140px; /* Prevents card height collapse during transitions */
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Dots Pagination */
.dots-container {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd3e2;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: var(--primary-pink);
  transform: scale(1.3);
}

/*=========================================
RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
=========================================*/
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .stat-item:nth-child(3n)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 1.6rem;
  }

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

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

  .stat-item::after {
    display: none;
  }

  .testimonial-bg-image {
    width: 100%;
    opacity: 0.25;
  }

  .testimonial-card {
    width: 100%;
    padding: 35px 30px;
  }
}

@media (max-width: 520px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .stat-icon-wrapper {
    flex-direction: column;
    gap: 4px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .quote-text {
    font-size: 0.95rem;
  }

  .left-arrow { left: -10px; }
  .right-arrow { right: -10px; }
}

/*=========================================
SECTION 2: OUR NUMBERS
=========================================*/
.our-numbers {
  position: relative;
  background: linear-gradient(180deg, #d81b60 0%, #c21353 50%, #9e0a3f 100%);
  padding: 50px 0;
  color: #ffffff;
  overflow: hidden;
}

/* Gold foil textures */
.gold-glitter-left, .gold-glitter-right {
  position: absolute;
  width: 250px;
  height: 100%;
  top: 0;
  pointer-events: none;
  opacity: 0.4;
}

.gold-glitter-left {
  left: 0;
  background: radial-gradient(circle at left center, rgba(212, 175, 55, 0.6), transparent 70%);
}

.gold-glitter-right {
  right: 0;
  background: radial-gradient(circle at right center, rgba(212, 175, 55, 0.6), transparent 70%);
}

.numbers-container {
  width: min(1320px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.numbers-header {
  text-align: center;
  margin-bottom: 35px;
}

.numbers-subtitle {
  font-size: 0.9rem;
  letter-spacing: 3px;
  font-weight: 600;
  color: #ffffff;
}

.numbers-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.numbers-divider span {
  width: 60px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.heart-icon-white {
  width: 10px;
  height: 10px;
  fill: #ffffff;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 5px;
  position: relative;
}

/* Default Right Vertical Dividers for Desktop (6 columns) */
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stat-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.star-accent {
  font-size: 1.2rem;
  color: #ffd700;
  margin-left: 2px;
  vertical-align: super;
}

.stat-text {
  font-size: 0.82rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}

/*=========================================
PERFECT BREAKOUT MEDIA QUERIES
=========================================*/

/* 1. LAPTOP / DESKTOP SMALL (3 Columns × 2 Rows) */
@media (max-width: 1100px) {
  .our-numbers {
    padding: 45px 0;
  }

  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
  }

  /* Reset all dividers and re-apply for 3 columns */
  .stat-item::after {
    display: block !important;
  }

  /* Hide vertical dividers on items at the end of each row (3rd, 6th) */
  .stat-item:nth-child(3n)::after,
  .stat-item:last-child::after {
    display: none !important;
  }
}

/* 2. TABLET (2 Columns × 3 Rows) */
@media (max-width: 768px) {
  .our-numbers {
    padding: 40px 0;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-icon-wrapper svg {
    width: 28px;
    height: 28px;
  }

  /* Reset and manage vertical dividers for 2 columns (Hide on 2nd, 4th, 6th) */
  .stat-item::after {
    display: block !important;
  }

  .stat-item:nth-child(2n)::after,
  .stat-item:last-child::after {
    display: none !important;
  }
}

/* 3. MOBILE BREAKOUT (1 Column Stack) */
@media (max-width: 520px) {
  .our-numbers {
    padding: 35px 0;
  }

  .gold-glitter-left, 
  .gold-glitter-right {
    width: 120px; /* Scale down side gold glow on small screens */
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  /* Completely remove vertical dividers on single column layout */
  .stat-item::after {
    display: none !important;
  }

  /* Add subtle horizontal dividers between stacked mobile items */
  .stat-item:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .stat-icon-wrapper {
    margin-bottom: 6px;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .stat-text {
    font-size: 0.85rem;
  }
}

/*=========================================
GLOBAL VARIABLES & RESETS
=========================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink-primary: #e91e63;
  --pink-dark: #d81b60;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: #222222;
  -webkit-font-smoothing: antialiased;
}

/*=========================================
SECTION 1: INSTAGRAM FEED
=========================================*/
.insta-section {
  padding: 50px 0;
  background: #ffffff;
}

.insta-container {
  width: min(1320px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.insta-left {
  flex: 0 0 280px;
}

.insta-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-primary);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.insta-handle {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 22px;
}

.insta-btn {
  display: inline-block;
  background: var(--pink-primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.insta-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.insta-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.insta-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-card:hover img {
  transform: scale(1.08);
}


/*=========================================
SECTION 2: CTA BANNER
=========================================*/

.cta-banner {
  background: #000000;
  color: #ffffff;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cta-bg-wrapper {
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  position: relative;
  
  /* Left decorative background image + black gradient fade */
  background-image: 
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000000 30%),
    url('https://www.abbiesovens.co.uk/wp-content/uploads/2026/09/testbg2-1.jpg');
  background-position: left center, left center;
  background-repeat: no-repeat;
  background-size: cover, auto 100%;
}

/* Content Layout */
.cta-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 60px 15px 28%; /* Padding-left protects text area over the left image */
  gap: 20px;
  position: relative;
  z-index: 2;
}
/* Heading & Subtitle (Pronounced & Pixel-Accurate) */
.cta-text h2 {
  font-family: var(--font-heading, 'Playfair Display', 'Bodoni MT', Georgia, serif);
  font-size: 2.3rem;            /* Increased size for high impact */
  font-weight: 700;            /* Bold weight */
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;    /* Matches image uppercase text */
  letter-spacing: 1.5px;        /* Pronounced serif letter-spacing */
}

.cta-text h2 .pink-script {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  color: #ff007f;               /* High-contrast electric pink */
  font-weight: 700;
  text-transform: uppercase;
}

.cta-text p {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif); /* Matches serif style */
  font-size: 0.95rem;
  font-style: italic;           /* Matches italicized design */
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Action Area (Button + Script) */
.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Capsule Pink Button */
.cta-btn {
  background: #ff0066;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  background: #e0005a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 102, 0.5);
}

.cta-btn svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

/* Script Typography & Gold Flourish */
.cta-script-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cta-script {
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.gold-heart-flourish {
  width: 28px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/*=========================================
RESPONSIVE MOBILE BREAKOUTS
=========================================*/
@media (max-width: 992px) {
  .cta-content {
    padding: 20px 30px 20px 32%;
  }
  
  .cta-text h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cta-bg-wrapper {
    background-image: 
      linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, #000000 70%),
      url('https://www.abbiesovens.co.uk/wp-content/uploads/2026/09/testbg2-1.jpg');
    background-position: center top, center top;
    background-size: 100% 120px, 100% 120px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    padding: 130px 20px 30px 20px;
    gap: 18px;
  }

  .cta-action {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .cta-text h2 {
    font-size: 1.35rem;
  }

  .cta-text p {
    font-size: 0.75rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .cta-script {
    font-size: 1.25rem;
  }
}

/*=========================================
PERFECT MOBILE & TABLET BREAKOUT
=========================================*/
@media (max-width: 1100px) {
  .insta-container {
    flex-direction: column;
    text-align: center;
  }

  .insta-left {
    flex: 0 0 auto;
  }
}

@media (max-width: 880px) {
  .steps-flex {
    flex-direction: column;
    gap: 25px;
  }

  .step-connector {
    display: none;
  }

  .step-item {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 650px) {
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .insta-card:nth-child(4),
  .insta-card:nth-child(5) {
    display: none; /* Keep layout clean on mobile */
  }
}

@media (max-width: 480px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .insta-card:nth-child(3) {
    display: none;
  }

  .steps-title {
    font-size: 1.8rem;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }
}