/* Custom REDESIGN stylesheet for Potato Landing Page
   Inspired by citteriopatate.it & natural potato varieties colors */

:root {
  --pot-yellow-gold: #F5C453;
  --pot-yellow-soft: #FFF2D1;
  --pot-red-crimson: #A83F43;
  --pot-red-soft: #FDE8E9;
  --pot-purple-violet: #60437A;
  --pot-purple-soft: #F1EAFA;
  --pot-white-sand: #F9F7F1;
  --pot-white-cream: #FFFDF9;
  --pot-green-leaf: #3A6044;
  --pot-green-hover: #294530;
  --pot-green-light: #EBF2EC;
  --pot-slate-dark: #2C2E2A;
  --pot-text-muted: #5C625A;
  --pot-shadow-sm: 0 4px 12px rgba(44, 46, 42, 0.08);
  --pot-shadow-md: 0 10px 30px rgba(44, 46, 42, 0.12);
  --pot-shadow-lg: 0 20px 40px rgba(44, 46, 42, 0.18);
  --pot-border-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global modifications */
body {
  color: var(--pot-slate-dark);
  font-family: 'Open Sans', sans-serif;
  background-color: var(--pot-white-cream);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--pot-slate-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

/* Navbar overrides */
.navbar-fixed-top {
  border-bottom: 2px solid var(--pot-green-light);
  box-shadow: var(--pot-shadow-sm);
}

.navbar-fixed-top .navbar-nav>li>a {
  color: var(--pot-slate-dark) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.navbar-fixed-top .navbar-nav>li>a:hover {
  color: var(--pot-green-leaf) !important;
}

.navbar-fixed-top .navbar-nav>li>a.discover-btn {
  border: 2px solid #FFF0F5 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #DE5394 0%, #A01E5E 100%) !important;
  box-shadow: 0 4px 15px rgba(160, 30, 94, 0.4) !important;
  font-weight: 800 !important;
}

.navbar-fixed-top .navbar-nav>li>a.discover-btn:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #F07FB5 0%, #B82E72 100%) !important;
  box-shadow: 0 6px 20px rgba(160, 30, 94, 0.6) !important;
  transform: translateY(-1px);
  border: 2px solid #FFFFFF !important;
}

/* Hero Section */
.home-section {
  background: url('../images/potato_hero.jpg') center center no-repeat !important;
  background-size: cover !important;
  position: relative;
  padding-top: 160px;
  padding-bottom: 120px;
}

.home-section-overlay {
  background: linear-gradient(135deg, rgba(44, 46, 42, 0.9) 0%, rgba(58, 96, 68, 0.75) 100%) !important;
  opacity: 1 !important;
}

.home-section h1 {
  font-size: 48px;
  text-shadow: none;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.25;
}

.home-section h1 span {
  color: var(--pot-yellow-gold);
  border-bottom: 3px solid var(--pot-yellow-gold);
  padding-bottom: 2px;
}

.home-section p.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: #f7f9f6;
  font-weight: 300;
}

.home-section p.hero-text em {
  font-style: normal;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-left: 4px solid var(--pot-yellow-gold);
  margin: 15px 0;
  border-radius: 0 var(--pot-border-radius) var(--pot-border-radius) 0;
}

/* Register Form Container */
.register-form-wrapper {
  background: rgba(44, 46, 42, 0.45) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--pot-border-radius) !important;
  padding: 35px 30px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
}

.register-form-wrapper h3 {
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.register-form-wrapper p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 15px !important;
  margin-bottom: 25px;
}

.register-form-wrapper a {
  color: var(--pot-yellow-gold) !important;
  text-decoration: underline !important;
  transition: var(--transition-smooth);
}

.register-form-wrapper a:hover {
  color: #ffffff !important;
}

.register-form-wrapper .form-control {
  border-radius: 6px !important;
  border: 1px solid #dcdfd9 !important;
  font-size: 15px !important;
  padding: 12px 15px !important;
  height: auto !important;
  transition: var(--transition-smooth);
}

.register-form-wrapper .form-control:focus {
  border-color: var(--pot-green-leaf) !important;
  box-shadow: 0 0 0 3px rgba(58, 96, 68, 0.15) !important;
}

/* Standard Buttons override */
.btn-red,
.btn-white {
  font-family: 'Nunito', sans-serif;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px !important;
  padding: 14px 35px !important;
  font-size: 15px !important;
  display: inline-block;
  transition: var(--transition-smooth) !important;
  text-align: center;
}

.btn-red {
  background: linear-gradient(135deg, #DE5394 0%, #A01E5E 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(160, 30, 94, 0.4) !important;
  border: 2px solid #FFF0F5 !important;
}

.btn-red:hover {
  background: linear-gradient(135deg, #F07FB5 0%, #B82E72 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(160, 30, 94, 0.65) !important;
  border: 2px solid #FFFFFF !important;
}

.btn-white {
  background: #fff !important;
  color: var(--pot-green-leaf) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  border: 2px solid var(--pot-green-leaf) !important;
  font-weight: 700 !important;
}

.btn-white:hover {
  background: var(--pot-green-light) !important;
  transform: translateY(-2px);
}

/* Container for pulsing concentric circles */
.btn-submit-container {
  width: 100%;
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 15px auto 0 auto;
  z-index: 2;
}

/* Button override to ensure z-index sits above pulsing waves */
.btn-pulsing {
  width: 100%;
  display: block;
  position: relative;
  z-index: 3;
}

/* Concentric circle base styling */
.btn-submit-container::before,
.btn-submit-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* First circle: magenta-violet potato outline */
.btn-submit-container::before {
  border: 3px solid rgba(222, 83, 148, 0.85);
  box-shadow: 0 0 15px rgba(58, 96, 68, 0.4);
  animation: pulse-circle-wave 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

/* Second circle: yellow-gold potato outline, offset by 1.5s */
.btn-submit-container::after {
  border: 1.5px solid rgba(250, 208, 108, 0.7);
  box-shadow: 0 0 10px rgba(222, 83, 148, 0.4);
  animation: pulse-circle-wave 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  animation-delay: 1.5s;
}

/* Scaling and fading concentric circles animation */
@keyframes pulse-circle-wave {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.9;
  }

  100% {
    transform: translate(-50%, -50%) scale(3.8);
    opacity: 0;
  }
}

/* Sections styling */
.section-grey {
  background-color: var(--pot-white-sand) !important;
  padding: 100px 0 !important;
}

.section-white {
  background-color: #ffffff !important;
  padding: 100px 0 !important;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px !important;
  color: var(--pot-text-muted) !important;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* Partners grid */
.partners-section {
  background: var(--pot-white-cream);
  border-top: 1px solid #efece3;
  border-bottom: 1px solid #efece3;
  padding: 20px 0;
}

.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.partners-title {
  font-weight: 700;
  color: var(--pot-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin: 0 15px 0 0 !important;
}

.partners img {
  opacity: 0.65;
  filter: grayscale(100%);
  margin: 10px 25px;
  transition: var(--transition-smooth);
}

.partners img:hover {
  opacity: 1;
  filter: none;
}

/* Step list (Passi) */
.main-services {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: var(--pot-border-radius);
  box-shadow: var(--pot-shadow-sm);
  transition: var(--transition-smooth);
  border-bottom: 4px solid transparent;
  display: flex;
  flex-direction: column;
}

.main-services:hover {
  transform: translateY(-5px);
  box-shadow: var(--pot-shadow-md);
}

.main-services.blue {
  border-color: var(--pot-yellow-gold);
}

.main-services.red {
  border-color: var(--pot-green-leaf);
}

.main-services.green {
  border-color: var(--pot-purple-violet);
}

.main-services i {
  font-size: 45px;
  margin-bottom: 20px;
  background-color: var(--pot-green-leaf) !important;
  color: var(--pot-yellow-gold) !important;
}

.main-services.blue i,
.main-services.red i,
.main-services.green i {
  background-color: var(--pot-green-leaf) !important;
  color: var(--pot-yellow-gold) !important;
}

.main-services h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.main-services p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pot-text-muted);
  margin-bottom: 0;
}

/* Accordion Testimonials */
#accordionFAQ .card {
  border: none;
  background: #ffffff;
  border-radius: var(--pot-border-radius) !important;
  margin-bottom: 15px;
  box-shadow: var(--pot-shadow-sm);
  overflow: hidden;
}

#accordionFAQ .card-header {
  background: #ffffff;
  border: none;
  padding: 0;
}

#accordionFAQ .btn-link {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  color: var(--pot-slate-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
}

#accordionFAQ .testim-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--pot-green-light);
}

#accordionFAQ .testim-name {
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
  color: var(--pot-slate-dark);
}

#accordionFAQ .testim-name span {
  font-size: 13px;
  font-weight: 400;
  color: var(--pot-text-muted);
}

#accordionFAQ .card-body {
  padding: 25px;
  background-color: var(--pot-white-sand);
  font-size: 15px;
  line-height: 1.7;
}

/* Potato Varieties Showcase (Grid) */
.varieties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.variety-card {
  background: #ffffff;
  border-radius: var(--pot-border-radius);
  overflow: hidden;
  box-shadow: var(--pot-shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.variety-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pot-shadow-md);
}

.variety-img-wrapper {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.variety-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
}

.variety-badge.y {
  background-color: var(--pot-yellow-gold);
  color: #402f08;
}

.variety-badge.r {
  background-color: var(--pot-red-crimson);
}

.variety-badge.w {
  background-color: #6E7C85;
}

.variety-badge.p {
  background-color: var(--pot-purple-violet);
}

.variety-badge.g {
  background-color: var(--pot-green-leaf);
}

.variety-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.variety-info h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.variety-info .variety-characteristics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.char-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--pot-white-sand);
  color: var(--pot-text-muted);
  text-transform: uppercase;
}

.variety-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pot-text-muted);
  margin-bottom: 0;
}

/* Fun Facts section */
.section-bg-1,
.section-bg-2 {
  background-image: url('../images/potato_hero.jpg') !important;
  background-position: center center !important;
}

.section-bg-overlay {
  background: linear-gradient(135deg, rgba(58, 96, 68, 0.95) 0%, rgba(44, 46, 42, 0.9) 100%) !important;
}

.fun-facts-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 35px 20px;
  border-radius: var(--pot-border-radius);
  transition: var(--transition-smooth);
}

.fun-facts-box:hover {
  background: rgba(255, 255, 255, 0.15);
}

.fun-facts-box i {
  color: var(--pot-yellow-gold) !important;
  font-size: 35px;
  margin-bottom: 15px;
}

.facts-numbers {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

.fun-facts-title {
  color: #e5ece6;
  font-size: 14px;
  line-height: 1.4;
}

/* Feature Boxes */
.feature-box {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: var(--pot-border-radius);
  box-shadow: var(--pot-shadow-sm);
  margin-bottom: 30px;
  transition: var(--transition-smooth);
  border-left: 5px solid transparent;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--pot-shadow-md);
}

.feature-box.light-green {
  border-left-color: var(--pot-green-leaf);
}

.feature-box.light-blue {
  border-left-color: var(--pot-yellow-gold);
}

.feature-box.orange {
  border-left-color: var(--pot-red-crimson);
}

.feature-box.dark-blue {
  border-left-color: var(--pot-purple-violet);
}

.feature-box.light-red {
  border-left-color: var(--pot-green-leaf);
}

.feature-box.dark-green {
  border-left-color: var(--pot-yellow-gold);
}

.feature-box i {
  font-size: 30px;
  margin-bottom: 15px;
  display: block;
}

.feature-box.light-green i {
  color: var(--pot-green-leaf);
}

.feature-box.light-blue i {
  color: var(--pot-yellow-gold);
}

.feature-box.orange i {
  color: var(--pot-red-crimson);
}

.feature-box.dark-blue i {
  color: var(--pot-purple-violet);
}

.feature-box.light-red i {
  color: var(--pot-green-leaf);
}

.feature-box.dark-green i {
  color: var(--pot-yellow-gold);
}

.feature-box-text h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-box-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pot-text-muted);
  margin-bottom: 0;
}

/* Team section */
.team-item {
  background: #ffffff;
  border-radius: 0 0 var(--pot-border-radius) var(--pot-border-radius);
  box-shadow: var(--pot-shadow-sm);
  padding: 25px;
  transition: var(--transition-smooth);
}

.team-img {
  border-radius: var(--pot-border-radius) var(--pot-border-radius) 0 0;
  transition: var(--transition-smooth);
}

.team-item h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 5px;
}

.team-info p {
  font-weight: 700;
  color: var(--pot-green-leaf) !important;
  font-size: 14px !important;
  margin-bottom: 15px;
}

.team-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pot-text-muted);
  margin-bottom: 0;
}

/* FAQ Accordion Boxes */
.faq-box {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--pot-border-radius);
  box-shadow: var(--pot-shadow-sm);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.faq-box:hover {
  box-shadow: var(--pot-shadow-md);
}

.faq-box h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--pot-slate-dark);
  margin-bottom: 12px;
}

.faq-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pot-text-muted);
  margin-bottom: 0;
}

/* Footer redesign */
.footer {
  background-color: var(--pot-slate-dark);
  color: #c9ceca;
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--pot-green-leaf);
}

.footer p {
  color: #c9ceca;
  font-size: 15px;
}

.footer .template-name {
  color: #ffffff;
  font-size: 18px;
}

.footer ul.footer_social li a.btn-blue {
  background: linear-gradient(135deg, #DE5394 0%, #A01E5E 100%) !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  padding: 10px 25px !important;
  font-size: 14px !important;
  margin-bottom: 10px;
  display: block;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(160, 30, 94, 0.3) !important;
  border: 2px solid #FFF0F5 !important;
}

.footer ul.footer_social li a.btn-blue:hover {
  background: linear-gradient(135deg, #F07FB5 0%, #B82E72 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(160, 30, 94, 0.5) !important;
  transform: translateY(-1px);
  border: 2px solid #FFFFFF !important;
}