/**
 * FlowVella Marketing 2025 - Rounded Corners Only
 * MINIMAL changes - only adds rounded corners to existing elements
 * Does NOT change layouts, spacing, colors, or positioning
 */

:root {
  /* Rounded corners scale */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

  /* Transition */
  --transition-base: 200ms ease;
}

/* ===================================
   BUTTONS - MAKE THEM PILL SHAPED
   =================================== */

/* All links that look like buttons */
#top_section .learn_more a,
#kiosk_section_new .get_started a,
#edu_section p a,
#mac_creator_interface p a,
#track_section p a,
#cta_btn a,
#demo a,
#header_links a,
a.btn,
a.button,
a.pricing_btn,
.pricing_btn,
a.learn_more_btn,
a.get_started {
  border-radius: var(--radius-full) !important;
}

/* Hover effect for buttons */
#top_section .learn_more a:hover,
#kiosk_section_new .get_started a:hover,
a.btn:hover,
a.button:hover {
  transform: translateY(-2px);
  transition: all var(--transition-base);
}

/* ===================================
   IMAGES - ROUNDED CORNERS
   =================================== */

/* Hero images - but NOT logos */
#top_section img.header_logo {
  border-radius: var(--radius-2xl) !important;
}

/* Don't round the FlowVella logo icon */
#top_section img.logo {
  border-radius: 0 !important;
}

/* Content section images - add shadows for depth */
#interactive_presentations img,
#demo img,
#mac_creator_interface img,
#track_section img,
#kiosk_section_new img,
#edu_section img,
#contain .section img {
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Lift effect on hover for product images */
#interactive_presentations img:hover,
#demo img:hover,
#mac_creator_interface img:hover,
#track_section img:hover,
#kiosk_section_new img:hover,
#edu_section img:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18) !important;
}

/* Don't round customer/brand logos - they should stay sharp and no shadows */
#customers img,
#testimonials img,
img[src*="logo"],
.logo-track img {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Override any hover effects on logos */
#customers img:hover,
.logo-track img:hover {
  transform: scale(1.1) !important; /* Keep the scale effect we defined for carousel */
  box-shadow: none !important;
}

/* ===================================
   SECTIONS - ROUNDED BACKGROUNDS
   =================================== */

/* Hero section bottom corners */
#top_section {
  border-radius: 0 0 var(--radius-3xl) var(--radius-3xl) !important;
}

/* Gray background sections */
#columned_features,
#testimonials,
#kiosk_section_new,
#edu_section,
#cta_btn {
  border-radius: var(--radius-3xl) !important;
}

#contain .section.grey {
  border-radius: var(--radius-3xl) !important;
}

/* ===================================
   CARDS - FEATURE COLUMNS
   =================================== */

/* Three column feature cards - just rounded corners, no shadows */
#columned_features .column {
  border-radius: var(--radius-2xl) !important;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#columned_features .column:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

/* ===================================
   TESTIMONIALS - MODERN DESIGN
   =================================== */

#testimonials {
  padding: 80px 20px !important;
}

#testimonials h2.sec_title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin-bottom: 50px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

#testimonials_contain {
  display: flex !important;
  justify-content: center !important;
  gap: 30px !important;
  flex-wrap: nowrap !important; /* Keep all three on one line on desktop */
  max-width: 1250px !important;
  margin: 0 auto !important;
}

#testimonials .testimonial {
  background: white !important;
  border-radius: var(--radius-2xl) !important;
  padding: 35px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  border: none !important;
  flex: 1 1 360px !important; /* Allow testimonials to flex but start at 360px */
  max-width: 380px !important;
}

#testimonials .testimonial:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Quote text styling */
#testimonials .testimonial p.text {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #2c3e50 !important;
  margin-bottom: 25px !important;
  padding: 0 !important;
  border: none !important;
  position: relative !important;
  font-style: italic !important;
}

/* Remove the old quote-box-bottom image */
#testimonials .testimonial p.text img {
  display: none !important;
}

/* Add modern quote marks using CSS */
#testimonials .testimonial p.text::before {
  content: '"';
  font-size: 60px;
  line-height: 0;
  color: #3498db;
  position: absolute;
  top: -10px;
  left: -15px;
  font-family: Georgia, serif;
  opacity: 0.3;
}

/* Author styling */
#testimonials .testimonial p.author {
  font-size: 14px !important;
  color: #555 !important;
  font-weight: 600 !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  text-align: left !important;
}

#testimonials .testimonial p.author span {
  display: block;
  font-size: 13px !important;
  color: #888 !important;
  font-weight: 400 !important;
  margin-top: 5px !important;
}

/* Company logo styling */
#testimonials .testimonial > img {
  height: 45px !important;
  width: auto !important;
  opacity: 0.7 !important;
  filter: grayscale(100%) !important;
  transition: all 0.3s ease !important;
  float: none !important;
  display: block !important;
  margin-top: 15px !important;
}

#testimonials .testimonial:hover > img {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
}

/* Responsive */
@media screen and (max-width: 1255px) {
  #testimonials_contain {
    flex-wrap: wrap !important; /* Allow wrapping on smaller screens */
  }

  #testimonials .testimonial {
    flex: 1 1 45% !important; /* Two per row on tablets */
  }
}

@media screen and (max-width: 768px) {
  #testimonials_contain {
    flex-direction: column !important;
    align-items: center !important;
  }

  #testimonials .testimonial {
    max-width: 600px !important;
    width: 100% !important;
  }
}

/* ===================================
   PRICING CARDS
   =================================== */

.pricing_object {
  border-radius: var(--radius-2xl) !important;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing_object:hover {
  transform: translateY(-8px);
}

.pricing_object_pro {
  transform: scale(1.02);
}

.pricing_object_pro:hover {
  transform: scale(1.02) translateY(-8px);
}

/* ===================================
   FORMS & INPUTS
   =================================== */

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  border-radius: var(--radius-md) !important;
}

/* ===================================
   VIDEO & MEDIA
   =================================== */

video {
  border-radius: var(--radius-xl) !important;
}

/* ===================================
   RESPONSIVE - LESS ROUNDING ON MOBILE
   =================================== */

@media screen and (max-width: 768px) {
  #top_section {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl) !important;
  }

  #columned_features,
  #testimonials,
  #kiosk_section_new,
  #edu_section,
  #cta_btn,
  #contain .section.grey {
    border-radius: var(--radius-xl) !important;
  }
}

/* ===================================
   LOGO CAROUSEL - INFINITE SCROLL
   =================================== */

.logo-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background: transparent;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll 40s linear infinite;
  width: fit-content;
  padding: 0 30px;
}

.logo-track img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo-track img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .logo-track {
    gap: 40px;
    animation-duration: 30s;
  }

  .logo-track img {
    height: 60px;
    max-width: 150px;
  }
}

@media screen and (max-width: 480px) {
  .logo-track {
    gap: 30px;
    animation-duration: 25s;
  }

  .logo-track img {
    height: 50px;
    max-width: 120px;
  }
}
