/* ========================================
   MOUNTROOF - GLOBAL STYLES
   ======================================== */

:root {
  --primary: #2c5f2d;
  --secondary: #f39c12;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --text: #333;
  --border: #e0e0e0;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover:after {
  width: 100%;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #1f4620;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 95, 45, 0.4);
}

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

.btn-secondary:hover {
  background: #e07c08;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1f4620 100%);
  color: white;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .sub-headline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
}

.hero .btn {
  margin-top: 1rem;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

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

.section {
  padding: 80px 20px;
}

.section-light {
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   GRID LAYOUT
   ======================================== */

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ========================================
   CARD STYLES
   ======================================== */

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

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

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

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.card-text {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.card-features {
  list-style: none;
  margin: 1rem 0;
}

.card-features li {
  padding: 0.5rem 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.card-features li:before {
  content: '✓ ';
  color: var(--success);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.product-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: var(--light);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--secondary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 2rem;
}

.product-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.product-desc {
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.product-specs {
  background: var(--light);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.spec-label {
  font-weight: 600;
  color: var(--text);
}

.spec-value {
  color: var(--gray);
}

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

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-section {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--primary);
  color: white;
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: #1f4620;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 95, 45, 0.4);
}

.form-message {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ========================================
   INTRO + FORM LAYOUT (HOME)
   ======================================== */

.intro-form-grid {
  /* display: grid; */
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.intro-content h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.intro-content p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* ========================================
   FEATURES/BENEFITS SECTION
   ======================================== */

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

.benefit-card {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 95, 45, 0.1);
  border-radius: 10px;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.benefit-card h4 {
  margin-bottom: 0.8rem;
}

.benefit-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========================================
   LIST STYLES
   ======================================== */

.list-unstyled {
  list-style: none;
}

.list-unstyled li {
  padding: 0.8rem 0;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list-unstyled li:before {
  content: '→';
  color: var(--secondary);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.list-bullet li:before {
  content: '-';
  color: var(--primary);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--dark);
  color: #fff;
  padding: 3rem 20px 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: #bbb;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .header-container {
    height: auto;
    padding: 15px 20px;
  }

  nav ul {
    display: none;
    gap: 0;
  }

  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .sub-headline {
    font-size: 1.1rem;
  }

  .hero:before {
    width: 300px;
    height: 300px;
  }

  .intro-form-grid,
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 50px 20px;
  }

  .grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero .sub-headline {
    font-size: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 15px;
  }

  .form-section,
  .benefit-card {
    padding: 1.5rem;
  }

  .card-image,
  .product-image {
    height: 200px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-gray {
  color: var(--gray);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
