/* =============== RESET & BASE =============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


/* ====== HEADER LOGO =========== */
header img{
		max-height:auto;
		margin: auto;
		width:auto;
		
	}

body {
  font-family: "Inter", "Open Sans", sans-serif;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =============== LAYOUT CONTAINERS =============== */
.container {
  width: min(95%, 1200px);
  margin-inline: auto;
  padding-block: 2rem;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4 {
  font-family: "Amatic SC", cursive;
  color: #fa8b3c; /* Orange primary */
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  text-align: center;
}

p, li {
  font-size: 1.1rem;
  color: #333;
}

a {
  color: #fa8b3c;
  text-decoration: none;
}

a:hover {
  color: #e3d400;
}

/* =============== HEADER & NAVBAR =============== */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.primary-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-weight: 600;
  transition: color 0.3s ease;
  text-decoration: none;
  color: #fa8b3c;
}

.primary-nav a:hover {
  color: #e3d400;
}

/* =============== HAMBURGER MENU =============== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: #fa8b3c;
  display: block;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #fa8b3c;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 768px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #fff;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }
}



/* =============== HERO SECTION =============== */
.hero {
  background: linear-gradient(to right, #fff6d1, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding-block: 3rem;
}

.hero-inner {
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hero-content {
  text-align: left;
  animation: fadeIn 1.2s ease;
  background-color: rgba(0,0,0,0.15);

  
}

.hero-content h1{
	color: #ffffff;
	font-weight: 700;
	margin-left: 10px;
	font-size: 3rem;
	letter-spacing:15px;
	
}

.hero-content h2{
	color: #ffffff;  
	text-align: left;
	font-weight: 700;
	letter-spacing:4.5px;
	font-size: 1.5rem;
	margin-left: 15px;
}

.hero-content p {
	color: #ffffff;
	font-weight: 450;
	margin-left: 10px;
}

.hero-content .lead {
  font-size: 1.2rem;
  margin-block: 1rem 1.5rem;
  color: #000000;
}

.hero-media img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ====== PARALLAX HERO ====== */
.parallax {
  position: relative;
  /*background-image: url(http://juliabenitesdietitian.com/test/img/orange_tree2.webp)*/
  background-image: url(http://juliabenitesdietitian.com/test/img/orange_tree2.webp);

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 0;

}

.parallax .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.50);
  z-index: 1;
}

.hero-inner,
.hero-content,
.hero-quote {
  position: relative;
  z-index: 2;
}

/* Safari/mobile fallback */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}

/* Mobile fallback */
@supports (-webkit-touch-callout: none) {
  .parallax {
    background-attachment: scroll;
    background-position: center center;
  }
}

/* ====== HERO QUOTE OVERLAY ====== */
.hero-quote {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Amatic SC", cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 2rem;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  max-width: 90%;
  line-height: 1.3;
  z-index: 2;
  animation: fadeIn 1.8s ease;
}

.hero-quote span {
  color: #e3d400; /* yellow accent */
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background-color: #fa8b3c;
  border: 1px solid #ffffff;
  color: #fff;
  margin: 0.5rem;
}


.popup-message.show {
  display: block;
  opacity: 1;
}
.btn-primary:hover {
  background-color: #ffc800;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #36e17d;
  border: 1px solid #ffffff;
  color: #334235;
  margin-left: 0.5rem;
}

.btn-secondary:hover {
  background-color: #ffc800;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-restart {
  background-color: #fa8b3c;
  border: 1px solid #ffffff;
  color: #fff;
}

.btn-restart:hover {
  background-color: #ffc800;
  color: #ffffff;
  transform: translateY(-1px);

}
/* =============== ABOUT SECTION =============== */

.about {
  background: linear-gradient(180deg, #fffdf2 0%, #fff3cc 100%);
  padding-block: 5rem;
}

.about-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Image styling */
.about-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Text content */
.about-content h2 {
  color: #fa8b3c;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.about-content p {
  color: #444;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-content .intro {
  font-size: 1.15rem;
  color: #333;
}

/* Highlight tiles */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.highlight-tile {
  background-color: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.highlight-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.highlight-tile .icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.highlight-tile p {
  font-weight: 600;
  color: #fa8b3c;
  line-height: 1.4;
}

/* Button placement */
.about .btn {
  margin-top: 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .about {
    text-align: center;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    max-width: 90%;
    margin: 0 auto 2rem;
  }
}

}


/* ===============   RESTART PROGRAM PAGE STYLING   ============================ */


.restart {
  background: linear-gradient(180deg, #fffdf5 0%, #fff3e0 100%);
  padding-block: 5rem;
  animation: fadeIn 1s ease;
}

.restart h2 {
  color: #fa8b3c;
  margin-bottom: 2rem;
  text-align: center;
}

.restart-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.8;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.restart-intro:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.restart-intro h3 {
  color: #fa8b3c;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.restart-intro p {
  color: #444;
  margin-bottom: 1.2rem;
}

/* Benefits Section */
.restart-benefits {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  animation: fadeIn 1.2s ease;
}

.restart-benefits h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.restart-benefits ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.restart-benefits li {
    font-family: "Inter", "Open Sans", sans-serif;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  
  
  background: linear-gradient(180deg, #fffaf2 0%, #fff1d9 100%);
  border-left: 6px solid #fa8b3c;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: #333;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restart-benefits li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-color: #e3d400;
}

/* Pricing Table */
.restart-pricing {
  background: linear-gradient(180deg, #fffef4 0%, #fff7da 100%);
  padding: 3rem 2rem;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.restart-pricing h3,
.restart-pricing h4 {
  color: #fa8b3c;
}

.restart-pricing table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.restart-pricing th,
.restart-pricing td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f1f1;
}

.restart-pricing thead {
  background: linear-gradient(to right, #fa8b3c, #e3d400);
  color: #fff;
}

.restart-pricing tfoot td {
  font-weight: 700;
  color: #333;
  background: #fffaf0;
}

/* Highlight total price row */
.restart-pricing tfoot tr:last-child td {
  background: #fa8b3c;
  color: #fff;
  font-size: 1.2rem;
}

/* Special Offer Box */
.special-offer {
  margin-top: 2rem;
  background: #e3d400;
  color: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.special-offer h2{
	font-size: 40px;
}

.special-offer:hover {
  transform: translateY(-5px);
}

/* CTA Buttons */
.restart-pricing .cta {
  margin-top: 2rem;
}

.restart-pricing .btn-primary {
  background: #fa8b3c;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.restart-pricing .btn-primary:hover {
  background: #e3d400;
  color: #333;
}

.restart-pricing .btn-secondary {
  background: #fff;
  border: 2px solid #fa8b3c;
  color: #fa8b3c;
}

.restart-pricing .btn-secondary:hover {
  background: #fa8b3c;
  color: #fff;
}

/* Add gentle fade-on-scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .restart-benefits ul {
    grid-template-columns: 1fr;
  }

  .restart-intro, .restart-benefits, .restart-pricing {
    padding: 2rem 1.5rem;
  }

  .restart-pricing table th,
  .restart-pricing table td {
    font-size: 0.95rem;
  }
}



/* =============== SERVICES SECTION =============== */

.services {
  background: linear-gradient(180deg, #fffaf2 0%, #fff0d6 100%);
  padding-block: 5rem;
  text-align: center;
  position: relative;
}

.services h2 {
  color: #fa8b3c;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.services .section-intro {
  color: #444;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}

/* Responsive grid layout for service tiles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Each service card */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 340px;
  position: relative;
  overflow: hidden;
}

/* Refined icon design for service tiles */
.service-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 139, 60, 0.08);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  margin: 0 auto 1.2rem auto;
  transition: all 0.4s ease;
}

.service-card .icon svg {
  stroke: #fa8b3c;
  width: 40px;
  height: 40px;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.service-card:hover .icon {
  background: rgba(227, 212, 0, 0.15);
  transform: scale(1.05);
}

.service-card:hover .icon svg {
  stroke: #e3d400;
  transform: scale(1.08);
}


.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Subtle gradient border highlight */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #fa8b3c, #e3d400);
  opacity: 0.9;
}

/* Emoji or icon */
.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Headings and text */
.service-card h3 {
  color: #fa8b3c;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Hover glow accent */
.service-card:hover h3 {
  color: #e3d400;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}



/* ================= RECIPES SECTION ================= */
.recipes {
  background: linear-gradient(180deg, #fffef2 0%, #fff3b0 100%);
  padding-block: 5rem;
  text-align: center;
}

.recipes-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

/* Media / Image */
.recipes-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}


.recipes-media img:hover {
  transform: scale(1.03);
}

/* Text Content */
.recipes-content h2 {
  color: #fa8b3c;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;

}

.recipes-content p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.recipes-content .social {
  margin: 1.5rem 0;
}

.recipes-content .social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fa8b3c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recipes-content .social a:hover {
  color: #e3d400;
}

.recipes-content .icon-inline {
  width: 24px;
  height: 24px;
}

/* Recipe List */
.recipe-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.recipe-list li {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #333;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .recipes-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .recipes-content h2 {
    text-align: center;
  }

  .recipe-list {
    grid-template-columns: 1fr;
  }

  .recipes-content .social {
    justify-content: center;
  }
}


/* =============== CONTACT SECTION =============== */

.contact {
  background: linear-gradient(180deg, #fffbea 0%, #fff4cc 100%);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle accent behind section */
.contact::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(250,139,60,0.15), transparent 70%);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

/* Section title */
.contact h2 {
  color: #fa8b3c;
  margin-bottom: 2rem;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

/* Layout grid */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Contact info section */
.contact-info {
  color: #444;
}

.contact-info h2 {
  color: #fa8b3c;
  margin-bottom: 1rem;
  text-align: left;
}

.contact-info p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.contact-info a {
  color: #fa8b3c;
  font-weight: 600;
  text-decoration: underline;
}

.contact-info a:hover {
  color: #e3d400;
}

/* Contact form */
.contact-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fffdf4;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fa8b3c;
  box-shadow: 0 0 0 3px rgba(250,139,60,0.25);
  background-color: #fff;
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Submit button */
.contact-form button {
  background-color: #fa8b3c;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #e3d400;
  color: #333;
  transform: translateY(-2px);
}

/* Success & error feedback (optional) */
.contact-form .success,
.contact-form .error {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.contact-form .success {
  background-color: rgba(227,212,0,0.15);
  color: #666000;
}

.contact-form .error {
  background-color: rgba(250,139,60,0.15);
  color: #8c3c00;
}

/* Mobile-friendly */
@media (max-width: 768px) {
  .contact-grid {
    padding: 1.5rem;
    gap: 2rem;
  }

  .contact-form button {
    width: 100%;
  }
}


/* =============== ANIMATIONS =============== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fade elements on scroll */
.fade {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease-out;
}
.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== MEDIA QUERIES =============== */
@media (max-width: 600px) {
  .hero-inner {
    text-align: center;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .about-grid, .cards-grid, .recipes-inner, .contact-grid {
    grid-template-columns: 1fr;
  }

  .primary-nav ul {
    flex-direction: column;
  }

  .header-inner {
    flex-direction: column;
  }
}
