/*
 * Minimal, responsive stylesheet for the bobcat landing page built with PHP.
 */

:root {
  --primary-color: #e67e22;
  --secondary-color: #d35400;
  --text-color: #333333;
  --light-bg: #f9f9f9;
  --dark-overlay: rgba(0, 0, 0, 0.4);
  --max-width: 1200px;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

h1, h2, h3 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  color: #fff;
}

.btn-primary {
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

.hero {
  position: relative;
  height: 70vh;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #eaeaea;
}

section {
  padding: 3rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.features-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item, .benefit-item {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-item .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.benefit-item h3 {
  margin-bottom: 0.5rem;
}

.cta {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  color: #fff;
  margin-bottom: 1.5rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.btn-mobile {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .mobile-cta {
    display: block;
  }
}


.gallery {
  padding: 3rem 1rem;
  background: #f9f9f9;
}

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

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3; /* toate imaginile vor avea acelasi raport */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* taie excesul, dar pastreaza proportiile */
  display: block;
  border-radius: 10px;
  transition: transform .3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
