/* ============================================
   Rodonerobio - Fonte Di Vita
   Static Site Styles
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

/* Screen-reader only (visually hidden) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #c9487e;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poiret One', cursive;
  font-weight: 400;
  line-height: 1.3;
}

/* ============================================
   Header
   ============================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 10px 0;
}

#site-header.scrolled {
  background-color: #c9487e;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  padding: 5px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#site-logo img {
  max-width: 160px;
  height: auto;
  transition: max-width 0.3s ease;
}

#site-header.scrolled #site-logo img {
  max-width: 120px;
}

#site-nav .main-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

#site-nav .main-menu li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

#site-nav .main-menu li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#site-nav .main-menu li a:hover::after,
#site-nav .main-menu li.active a::after {
  transform: scaleX(1);
}

#site-nav .main-menu li a:hover {
  color: #f2f2f2;
}

.search-toggle a {
  font-size: 16px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.mobile-menu-toggle i {
  font-size: 20px;
}

/* Search Dropdown */
.search-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border-top: 3px solid #c9487e;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-dropdown.active {
  display: block;
}

.search-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-form input:focus {
  border-color: #c9487e;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.mobile-menu ul li a:hover {
  color: #c9487e;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  width: 100%;
  min-height: 600px;
  background: url('images/hero-bg.png') center center / cover no-repeat;
  position: relative;
}

.hero-container {
  display: flex;
  min-height: 600px;
}

.hero-left {
  flex: 1;
  position: relative;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px;
  padding-bottom: 40px;
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #c9487e;
  padding: 12px 24px;
  border: 1px solid #c9487e;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-readmore:hover {
  background: #c9487e;
  color: #fff;
  transform: scale(1.05);
}

.btn-readmore i {
  transition: transform 0.3s ease;
}

.btn-readmore:hover i {
  transform: translateX(5px);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  padding: 60px 0;
  background: #fff;
}

.features-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.features-col {
  flex: 1;
}

.features-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image {
  max-width: 295px;
  width: 100%;
  margin: 0 auto;
}

.feature-box {
  text-align: center;
  padding: 25px 15px;
  margin-bottom: 20px;
}

.feature-icon {
  margin-bottom: 15px;
}

.feature-icon i {
  font-size: 32px;
  color: #00d8c6;
}

.feature-box h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #000;
}

.feature-box p {
  font-size: 15px;
  color: #bfbfbf;
  line-height: 1.7;
}

/* ============================================
   Parallax Sections
   ============================================ */
.parallax-section {
  min-height: 400px;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.parallax-1 {
  background-image: url('images/parallax-1.png');
}

.parallax-2 {
  background-image: url('images/parallax-2.png');
}

/* ============================================
   Section Heading & Divider
   ============================================ */
.section-heading {
  text-align: center;
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  gap: 15px;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: #c9487e;
}

.divider-icon {
  color: #c9487e;
  font-size: 14px;
}

/* ============================================
   Quality Secret Section
   ============================================ */
.quality-section {
  padding: 80px 0;
  background: #fff;
}

.quality-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.quality-col {
  flex: 1;
}

.quality-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quality-text p {
  font-family: Arial, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.quality-text em {
  font-style: italic;
  color: #c9487e;
}

/* ============================================
   Rosewater Section
   ============================================ */
.rosewater-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.rosewater-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.rosewater-content p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.rosewater-content p strong {
  font-size: 18px;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

/* ============================================
   Facts Section
   ============================================ */
.facts-section {
  padding: 60px 0;
  background: #fff;
}

.facts-content {
  max-width: 800px;
  margin: 0 auto;
}

.facts-content p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* ============================================
   Page Header (inner pages)
   ============================================ */
.page-header {
  background: #c9487e;
  padding: 120px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  color: #fff;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

.about-content em {
  font-style: italic;
  color: #c9487e;
}

.about-content strong {
  color: #333;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c9487e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 22px;
  color: #fff;
}

.contact-details h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.contact-details p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.contact-details a {
  color: #c9487e;
}

.contact-details a:hover {
  color: #a03465;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
#footer {
  background: #333;
}

.footer-widgets {
  padding: 40px 0;
  background: #222;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 180px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background: #c9487e;
  color: #fff;
  transform: scale(1.1);
}

.footer-bottom {
  background: #f2f2f2;
  padding: 15px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #666;
}

.footer-bottom a {
  color: #f26304;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ed2a2a;
}

/* ============================================
   Scroll to Top
   ============================================ */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: #c9487e;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
  z-index: 999;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background: #c9638e;
  color: #fff;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features-container {
    flex-wrap: wrap;
  }

  .features-col {
    flex: 1 1 100%;
  }

  .features-center {
    order: -1;
  }

  .features-left,
  .features-right {
    display: flex;
    gap: 20px;
  }

  .feature-box {
    flex: 1;
  }

  .quality-row {
    flex-wrap: wrap;
  }

  .quality-col {
    flex: 1 1 calc(50% - 15px);
  }

  .quality-col:nth-child(3) {
    flex: 1 1 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
    min-height: 400px;
  }

  .hero-left {
    min-height: 200px;
  }

  .hero-right {
    padding: 30px 20px;
    align-items: center;
  }

  .hero-section {
    min-height: 400px;
  }

  .features-container {
    flex-direction: column;
  }

  .features-left,
  .features-right {
    flex-direction: column;
  }

  .product-image {
    max-width: 200px;
  }

  .section-heading {
    font-size: 24px;
  }

  .quality-row {
    flex-direction: column;
  }

  .quality-col {
    flex: 1 1 100%;
  }

  .parallax-section {
    min-height: 250px;
    background-attachment: scroll;
  }

  .quality-section,
  .rosewater-section,
  .about-section,
  .contact-section {
    padding: 50px 0;
  }

  .page-header {
    padding: 100px 0 35px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .rosewater-content p strong {
    font-size: 16px;
  }

  #site-logo img {
    max-width: 120px;
  }

  #site-header.scrolled #site-logo img {
    max-width: 100px;
  }
}

/* ============================================
   Animations
   ============================================ */
.animate-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for feature boxes */
.features-left .feature-box:nth-child(1).animate-target { transition-delay: 0.1s; }
.features-left .feature-box:nth-child(2).animate-target { transition-delay: 0.2s; }
.features-right .feature-box:nth-child(1).animate-target { transition-delay: 0.3s; }
.features-right .feature-box:nth-child(2).animate-target { transition-delay: 0.4s; }

/* Quality row stagger */
.quality-row .quality-col:nth-child(1).animate-target { transition-delay: 0.1s; }
.quality-row .quality-col:nth-child(2).animate-target { transition-delay: 0.2s; }
.quality-row .quality-col:nth-child(3).animate-target { transition-delay: 0.3s; }

/* Small Mobile */
@media (max-width: 480px) {
  .hero-section {
    min-height: 350px;
  }

  .hero-container {
    min-height: 350px;
  }

  .btn-readmore {
    padding: 10px 18px;
    font-size: 13px;
  }

  .feature-box h3 {
    font-size: 16px;
  }

  .footer-logo img {
    max-width: 140px;
  }
}
