:root {
  --primary-color: #4caf50;
  --secondary-color: #388e3c;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --border-color: #e0e0e0;
}

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

html,
body {
  height: 100%;
  font-family: "Signika", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

a:hover {
  color: #0a3d7a;
}

button,
.btn {
  font-weight: 600;
}

/* Only homepage should have no scrollbars */
.home-container {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* Company Info Section */
.company-info {
  display: flex;
  align-items: center;
  padding: 2rem;
  height: 100%;
}

.content-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.logo-container {
  margin-bottom: 1.5rem;
}

.company-info h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.company-description {
  margin-bottom: 2rem;
}

.company-description p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.cta-buttons {
  margin-top: 2rem;
}

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

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

/* Background Image Section */
.bg-image {
  background-image: url("/assets/images/KoncretePlanetFarmalink_bg_green.webp");
  background-size: cover;
  background-position: center;
  height: 100%;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(56, 142, 60, 0.2) 100%);
}

/* Menu Toggle Button */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1030;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Vertical Menu */
.vertical-menu-container {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: white;
  z-index: 1040;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.vertical-menu-container.open {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  position: sticky;
  top: 0;
  z-index: 2;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  margin-bottom: 0.5rem;
}

.menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu-item a:hover,
.menu-item.active a {
  background-color: rgba(14, 76, 146, 0.1);
  color: var(--primary-color);
}

.menu-icon {
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-item a:hover .menu-icon,
.menu-item.active a .menu-icon {
  opacity: 1;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
}

/* Dock-style Contact Icons */
.dock-container {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 990;
}

.dock {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dock-icon {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dock-icon:hover,
.dock-icon.active {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dock-icon .icon {
  color: var(--primary-color);
}

.dock-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  background-color: white;
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  font-size: 0.9rem;
  z-index: 10;
  min-width: 200px;
  text-align: center;
}

.dock-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

/* Site Header */
.site-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.site-logo {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}

.site-logo img {
  margin-right: 0.75rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.8;
}

/* Page Container */
.page-container {
  min-height: 100vh;
  padding-bottom: 60px;
  position: relative;
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

/* Site Footer */
.site-footer {
  background-color: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.site-footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Product Card */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
  height: 200px;
  object-fit: cover;
}

.view-details-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10;
}

.view-details-btn:hover {
  transform: scale(1.1);
}

.product-prices {
  margin-top: 0.5rem;
}

.sale-price {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Category and Salt Filters */
.category-filter,
.salt-filter {
  margin-bottom: 1rem;
}

.category-filter li,
.salt-filter li {
  margin-bottom: 0.5rem;
}

.category-filter a,
.salt-filter a {
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.category-filter a:hover,
.salt-filter a:hover,
.category-filter a.active,
.salt-filter a.active {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary-color);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  backdrop-filter: blur(3px);
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  color: #777;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #333;
}

/* Brand Card */
.brand-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  height: 80px;
  object-fit: contain;
}

.brand-logo-large {
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Contact Card */
.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: all 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  background-color: var(--secondary-color);
}

/* Team Card */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-card img {
  height: 250px;
  object-fit: cover;
}

/* Certification Card */
.certification-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Country Card */
.country-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .company-info {
    padding: 1.5rem;
  }

  .company-info h1 {
    font-size: 2rem;
  }

  .bg-image {
    display: none;
  }

  .col-md-6.company-info {
    width: 100%;
  }

  .dock {
    padding: 6px 10px;
  }

  .dock-icon {
    width: 40px;
    height: 40px;
    margin: 0 5px;
  }

  .dock-tooltip {
    min-width: 150px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

/* Add this class to allow scrolling on mobile */
.home-mobile-scroll {
  @media (max-width: 768px) {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
}

/* Bootstrap button overrides */
.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

