/* Base Styles */
:root {
  --primary-color: 210, 100%, 50%; /* #0078FF */
  --secondary-color: 215, 70%, 35%; /* #1A4B8C */
  --accent-color: 25, 100%, 50%; /* #FF8000 */
  --text-color: 220, 20%, 20%; /* #2A303B */
  --light-text: 0, 0%, 100%; /* #FFFFFF */
  --light-bg: 210, 33%, 98%; /* #F5F9FD */
  --dark-bg: 215, 30%, 22%; /* #2C3E50 */
  --border-color: 220, 13%, 91%; /* #E6E8ED */
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: hsl(var(--text-color));
  background-color: #fff;
  overflow-x: hidden;
}

a {
  color: hsl(var(--primary-color));
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: hsl(var(--secondary-color));
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: hsl(var(--primary-color));
  color: hsl(var(--light-text));
  padding: 12px 28px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: hsl(var(--secondary-color));
  color: hsl(var(--light-text));
  transform: translateY(-2px);
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: hsl(var(--secondary-color));
  position: relative;
  display: inline-block;
}

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

.section-header p {
  font-size: 18px;
  color: hsl(var(--text-color), 0.8);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  padding: 16px 0;
  transition: var(--transition);
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: hsl(var(--secondary-color));
  font-weight: 700;
  font-size: 24px;
}

.logo img {
  height: 40px;
  margin-right: 8px;
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin-left: 32px;
}

.nav ul li a {
  color: hsl(var(--text-color));
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav ul li a:hover {
  color: hsl(var(--primary-color));
}

.nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: hsl(var(--primary-color));
  transition: var(--transition);
}

.nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: hsl(var(--text-color));
  margin: 5px 0;
  transition: var(--transition);
}

/* Banner Styles */
.banner {
  padding: 180px 0 100px;
  background-color: hsl(var(--light-bg));
  position: relative;
  overflow: hidden;
}

.banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-content {
  flex: 1;
  padding-right: 30px;
}

.banner-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: hsl(var(--secondary-color));
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: hsl(var(--text-color), 0.8);
}

.banner-image {
  flex: 1;
  text-align: center;
}

.banner-image img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Despre Noi Styles */
.despre-noi {
  background-color: #fff;
}

.despre-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.despre-image {
  flex: 1;
  text-align: center;
}

.despre-text {
  flex: 1;
}

.despre-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: hsl(var(--secondary-color));
}

.despre-text p {
  margin-bottom: 16px;
}

.despre-text .btn {
  margin-top: 20px;
}

/* Servicii Styles */
.servicii {
  background-color: hsl(var(--light-bg));
}

.servicii-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.serviciu-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.serviciu-card:hover {
  transform: translateY(-10px);
}

.serviciu-icon {
  margin-bottom: 20px;
}

.serviciu-icon img {
  height: 80px;
}

.serviciu-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: hsl(var(--secondary-color));
}

.serviciu-card p {
  color: hsl(var(--text-color), 0.8);
}

/* Produse Styles */
.produse {
  background-color: #fff;
}

.produse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.produs-card {
  background-color: hsl(var(--light-bg));
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.produs-card:hover {
  border-bottom: 3px solid hsl(var(--primary-color));
  transform: translateY(-5px);
}

.produs-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: hsl(var(--secondary-color));
}

.produs-card p {
  color: hsl(var(--text-color), 0.8);
}

.produse-cta {
  margin-top: 50px;
  text-align: center;
}

/* Blog Styles */
.blog {
  background-color: hsl(var(--light-bg));
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.blog-image {
  height: 200px;
  background-color: hsl(var(--light-bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image img {
  max-height: 100%;
  max-width: 100%;
  padding: 20px;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: hsl(var(--secondary-color));
}

.blog-content p {
  margin-bottom: 20px;
  color: hsl(var(--text-color), 0.8);
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 10px;
}

/* Testimoniale Styles */
.testimoniale {
  background-color: #fff;
}

.testimoniale-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  text-align: center;
  padding: 0 30px;
}

.testimonial-icon {
  margin-bottom: 20px;
}

.testimonial-icon img {
  height: 60px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  color: hsl(var(--text-color));
}

.testimonial-author {
  font-weight: 600;
  color: hsl(var(--secondary-color));
}

.testimoniale-dots {
  text-align: center;
  margin-top: 30px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: hsl(var(--border-color));
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: hsl(var(--primary-color));
}

/* Contact Styles */
.contact {
  background-color: hsl(var(--light-bg));
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-icon {
  margin-bottom: 30px;
}

.contact-icon img {
  height: 70px;
}

.info-item {
  margin-bottom: 25px;
}

.info-item h4 {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 8px;
  color: hsl(var(--secondary-color));
}

.info-item h4 i {
  margin-right: 10px;
  color: hsl(var(--primary-color));
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: hsl(var(--primary-color));
  color: #fff;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: hsl(var(--secondary-color));
  transform: translateY(-3px);
}

.contact-form {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: hsl(var(--secondary-color));
}

.contact-form p {
  margin-bottom: 25px;
  color: hsl(var(--text-color), 0.8);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid hsl(var(--border-color));
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--primary-color));
  box-shadow: 0 0 0 3px hsla(var(--primary-color), 0.2);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox span {
  font-size: 14px;
}

/* Footer Styles */
.footer {
  background-color: hsl(var(--dark-bg));
  color: #fff;
  padding: 70px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 8px;
}

.footer-logo span {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.footer-col p {
  margin-bottom: 20px;
  color: hsla(var(--light-text), 0.7);
  font-size: 14px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: hsl(var(--accent-color));
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: hsla(var(--light-text), 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-col .social-links a {
  background-color: hsla(var(--light-text), 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid hsla(var(--light-text), 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: hsla(var(--light-text), 0.6);
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .section {
    padding: 80px 0;
  }
  
  .section-header {
    margin-bottom: 50px;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .banner {
    padding: 160px 0 80px;
  }
  
  .banner-content h1 {
    font-size: 40px;
  }
  
  .despre-content {
    flex-direction: column;
  }
  
  .despre-image {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: #fff;
    box-shadow: var(--box-shadow);
    transition: 0.4s;
    z-index: 1000;
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav ul {
    flex-direction: column;
    padding: 30px;
  }
  
  .nav ul li {
    margin: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .banner .container {
    flex-direction: column;
  }
  
  .banner-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .banner-content h1 {
    font-size: 36px;
  }
}

@media screen and (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .banner {
    padding: 140px 0 60px;
  }
  
  .banner-content h1 {
    font-size: 30px;
  }
}
