/* Modern styling for Synergy Essential */

:root {
  --primary-color: #2c7873;
  --secondary-color: #6fb98f;
  --accent-color: #ffa62b;
  --light-color: #f7f7f7;
  --dark-color: #333333;
  --text-color: #4a4a4a;
  --font-main: 'Raleway', sans-serif;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  margin: 0;
  padding: 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Improved menu styling */
.rd-navbar-classic {
  background-color: white;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.rd-navbar-main {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rd-navbar-nav-wrap {
  display: flex;
  justify-content: flex-end;
}

.rd-navbar-nav {
  display: flex;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rd-nav-item {
  position: relative;
}

.rd-nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  padding: 10px 15px;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.rd-nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.rd-nav-link:hover {
  color: var(--primary-color) !important;
}

.rd-nav-link:hover:after {
  width: 70%;
}

.rd-nav-item.active .rd-nav-link {
  color: var(--primary-color) !important;
}

.rd-nav-item.active .rd-nav-link:after {
  width: 70%;
}

.rd-navbar-toggle {
  border: none;
  background: none;
  padding: 10px;
  cursor: pointer;
  display: none;
}

.rd-navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  position: relative;
  transition: var(--transition);
}

.rd-navbar-toggle span:before,
.rd-navbar-toggle span:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  transition: var(--transition);
}

.rd-navbar-toggle span:before {
  top: -8px;
}

.rd-navbar-toggle span:after {
  bottom: -8px;
}

@media (max-width: 992px) {
  .rd-navbar-toggle {
    display: block;
  }
  
  .rd-navbar-nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    display: none;
  }
  
  .rd-navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .rd-nav-link {
    padding: 12px 20px;
    display: block;
  }
  
  .rd-navbar-nav-wrap.active {
    display: block;
  }
}

/* Modern hero section */
.hero-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-caption {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image-container {
  padding-right: 20px;
}

.hero-text-container {
  text-align: left;
}

.hero-caption h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.hero-caption h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.hero-caption h3, .hero-caption h4 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

/* Hero section improvements */
@media (max-width: 768px) {
  .hero-caption {
    flex-direction: column;
  }
  
  .hero-image-container {
    padding-right: 0;
    padding-bottom: 20px;
  }
  
  .hero-text-container {
    text-align: center;
  }
}

/* Modern section styling */
section {
  padding: 5rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Modern product card styling */
.products-section {
  background-color: white;
  padding: 5rem 0;
}

.products-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-title {
  font-size: 1.2rem;
  padding: 15px;
  margin: 0;
  background-color: var(--primary-color);
  color: white;
}

.product-description {
  padding: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

/* Modern About Us section */
.about-us-section {
  background-color: white;
}

.about-us-section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Modern footer styling */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
}

footer h4 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

footer p, footer a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-caption h1 {
    font-size: 2.5rem;
  }
  
  .hero-caption h2 {
    font-size: 1.8rem;
  }
  
  .hero-caption h3, .hero-caption h4 {
    font-size: 1.3rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .products-cards-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .hero-caption h1 {
    font-size: 2rem;
  }
  
  .hero-caption h2 {
    font-size: 1.5rem;
  }
  
  .hero-caption h3, .hero-caption h4 {
    font-size: 1.2rem;
  }
}

/* Animation effects */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* New product sections styling */
.feature-product {
  background-color: rgba(111, 185, 143, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
}

.feature-product h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.feature-product-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.feature-product-image {
  flex: 1;
  min-width: 300px;
}

.feature-product-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.feature-product-details {
  flex: 2;
  min-width: 300px;
}

.feature-list {
  margin-top: 20px;
  list-style-type: none;
  padding-left: 0;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}
