/* Previne scroll-ul orizontal pe mobil */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
:root {
  --bg-main: #faf8f5;
  --bg-card: #ffffff;
  --bg-accent: #f2ece4;
  --text-dark: #1c1d1d;
  --text-muted: #666666;
  --brand-green: #2d4030;
  --brand-green-hover: #1e2d21;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.small-container {
  max-width: 600px;
}

h1, h2, h3, .logo {
  font-family: var(--font-heading);
}

/* Announcement Bar */
.announcement {
  background-color: var(--brand-green);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.announcement span {
  font-weight: 600;
  text-decoration: underline;
}

/* Navigation */
.navbar {
  padding: 1.5rem 0;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--bg-accent);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-green);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: #fff;
}

.btn-card {
  width: 100%;
  background-color: var(--bg-accent);
  color: var(--text-dark);
}

.btn-card:hover {
  background-color: var(--brand-green);
  color: #fff;
}

.full-width {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-green);
  background-color: var(--bg-accent);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.rating-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-image-box img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  height: 480px;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.highlight-bg {
  background-color: var(--bg-accent);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-img {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-bestseller {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.product-meta h3 {
  font-size: 1.1rem;
}

.product-meta .price {
  font-weight: 600;
  color: var(--brand-green);
}

.product-details p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Section */
.form-wrapper {
  background-color: var(--bg-card);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.form-wrapper p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 30px;
  border: 1px solid #e2e2e2;
  background-color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--brand-green);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--bg-accent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.4rem; }
  .nav-links { display: none; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}
/* Fix-uri responsive pentru mobil */
@media (max-width: 768px) {
  /* Ascunde linkurile din navigație pe ecrane mici */
  .nav-links, 
  nav ul {
    display: none !important;
  }

  /* Impiedică ruperea textului în butoanele din header */
  header nav a,
  header .btn-primary,
  header .btn-header,
  header .btn-project {
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
  }
}