:root {
  --primary: #8B4513;     
  --secondary: #F5F5DC;   
  --accent: #A0522D;      
  --text: #333;
  --white: #fff;
  --light-bg: #f0e6d2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--secondary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==================== HEADER ==================== */
header {
  background: var(--primary);
  color: var(--white);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  width: 70px;
  height: auto;
  margin-right: 12px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.nav-toggle-label {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.nav-toggle {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--accent);
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  text-shadow: 0 3px 10px rgba(0,0,0,0.7);
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 1.6rem;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.slider-controls button {
  background: rgba(255,255,255,0.4);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  font-size: 1.4rem;
  color: white;
  transition: 0.3s;
}

.slider-controls button:hover {
  background: white;
  color: var(--primary);
}

/* ==================== GENERAL SECTIONS ==================== */
.section {
  padding: 90px 20px;
  text-align: center;
}

h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: '';
  width: 100px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: 20px auto 0;
}

/* ==================== ABOUT HOME ==================== */
.about-home {
  background: white;
  padding: 100px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-text h2 {
  font-size: 2.6rem;
  text-align: left;
  margin-bottom: 30px;
}

.about-list {
  text-align: left;
  margin: 25px 0;
  padding-left: 20px;
}

.about-list li {
  margin: 12px 0;
  font-size: 1.15rem;
}

.about-img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ==================== PRODUCTS & CARDS - NOW SAME AS INDEX.HTML ==================== */
.product-grid,
.benefits-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto 50px;
  align-items: stretch;
}

.card,
.benefit,
.testimonial-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover,
.benefit:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3,
.benefit h3 {
  color: var(--primary);
  margin: 20px 15px 10px;
  font-size: 1.5rem;
  flex-grow: 1;
}

.card p {
  margin: 0 15px 25px;
  padding: 0 10px;
  font-size: 1.1rem;
  color: #555;
  flex-grow: 1;
}

/* ==================== BUTTONS ==================== */
.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.button:hover {
  background: var(--accent);
  transform: scale(1.08);
}

.button.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ==================== QUICK CONTACT ==================== */
.quick-contact {
  background: var(--primary);
  color: white;
  padding: 80px 20px;
}

.quick-contact h2 {
  color: white;
}

.quick-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.quick-icons a {
  color: white;
  font-size: 1.3rem;
  padding: 15px 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.quick-icons a:hover {
  background: white;
  color: var(--primary);
}

/* ==================== MAP ==================== */
.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.contact-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-item i {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item h3 {
  margin: 15px 0;
  color: var(--primary);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
}

/* ==================== PAGE HERO (About, Contact) ==================== */
.page-hero {
  background: linear-gradient(rgba(139,69,19,0.85), rgba(160,82,45,0.85)),
              url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1920') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.page-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 0.95rem;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo-img {
    width: 60px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .nav-toggle-label {
    display: block;
    position: absolute;
    right: 20px;
    top: 25px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary);
    margin-top: 20px;
  }

  #nav-toggle:checked ~ nav ul {
    display: flex;
  }

  nav ul li a {
    padding: 15px;
    text-align: center;
  }

  .hero-slider {
    height: 70vh;
  }

  .slide-content h1 {
    font-size: 2.3rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-img {
    order: -1;
    margin-bottom: 30px;
  }

  h2 {
    font-size: 2.2rem;
  }

  .quick-icons {
    flex-direction: column;
    align-items: center;
  }
}

/* ==================== NEW: SLICK TEAM & YARD PHOTOS (ABOUT PAGE) ==================== */
.team-yard-section {
  background: white;
  padding: 100px 20px;
}

.team-yard-section h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 60px;
}

.team-yard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  height: 500px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(139,69,19,0.95));
  color: white;
  padding: 80px 30px 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.photo-overlay h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: bold;
}

.photo-overlay p {
  font-size: 1.15rem;
  opacity: 0.95;
}

.photo-card:hover img {
  transform: scale(1.1);
}

.photo-card:hover .photo-overlay {
  padding-bottom: 50px;
}

/* Mobile fix for team/yard photos */
@media (max-width: 768px) {
  .photo-card {
    height: 400px;
  }
  .photo-overlay h3 {
    font-size: 1.6rem;
  }
  .team-yard-grid {
    gap: 30px;
  }
}