/* Material Design - Refined with Bootstrap 5 Integration */
:root {
  /* Colors */
  --primary-blue: #1976d2;
  --primary-blue-dark: #1565c0;
  --surface: #ffffff;
  --background: #fafafa;
  --on-surface: #212121;
  --on-background: #212121;
  --on-primary: #ffffff;
  
  /* Elevation */
  --elevation-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.14);
  --elevation-2: 0 3px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
  
  /* Spacing */
  --spacing-unit: 8px;
  --spacing-1: calc(var(--spacing-unit) * 1);
  --spacing-2: calc(var(--spacing-unit) * 2);
  --spacing-3: calc(var(--spacing-unit) * 3);
  --spacing-4: calc(var(--spacing-unit) * 4);
  --spacing-6: calc(var(--spacing-unit) * 6);
  --spacing-8: calc(var(--spacing-unit) * 8);
  --spacing-10: calc(var(--spacing-unit) * 10);
  
  /* Layout */
  --max-width: 1200px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--on-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Bootstrap Overrides */
.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  background-color: var(--primary-blue) !important;
}

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

.btn-primary:hover {
  background-color: var(--primary-blue-dark) !important;
  border-color: var(--primary-blue-dark) !important;
}

/* Header and Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);  /* Enhanced from elevation-1 */
  z-index: 1000;
}

.site-header .container {
  height: 80px;
  padding: 0 var(--spacing-3);
}

.navbar {
  height: 100%;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
}

.logo {
  height: auto;
  max-height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.navbar-toggler {
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: var(--primary-blue-dark);
}

.navbar-nav {
  align-items: center;
}

.nav-link {
  color: var(--on-surface) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero {
  min-height: 70vh;
  position: relative;
  background: url('./assets/background.jpg') center/cover no-repeat;
  margin-top: 80px;
  padding: var(--spacing-4);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.6) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
}

/* Glassmorphism Effect - DO NOT MODIFY */
.hero-content {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: var(--spacing-6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  color: var(--on-primary);
  line-height: 1.2;
}

.hero .tagline {
  color: var(--on-primary);
}

.hero p {
  color: var(--on-primary);
  max-width: 540px;
  margin: 0 auto;
}

/* Sections */
section {
  background: var(--surface);
}

section:nth-of-type(even) {
  background: var(--background);
}

/* Products Grid */
.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 0;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.product-img-large {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin-top: 0;
  margin-bottom: 1rem;
  border-radius: 0;
  box-shadow: none;
}
.product-content h3 {
  font-weight: 500;
  margin-bottom: 0;
  color: #222;
}
.bg-light {
  background: #fafbfc !important;
}

/* Specific override for service cards to adjust height */
#services .product-card {
  min-height: auto;
  padding: 2rem 1rem;
}

.service-logo {
  max-height: 50px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.grass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  border-radius: 12px;
}

.product-card .product-content {
  position: relative;
  z-index: 1;
}

.product-img-large {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin-top: 0;
  margin-bottom: 1rem;
  border-radius: 0;
  box-shadow: none;
}

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

.product-card h3 {
  color: var(--on-surface);
  font-weight: 500;
}

/* Contact Section */
.contact-link {
  color: var(--on-surface);
  font-weight: 500;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: var(--spacing-2);
  border-radius: 8px;
}

.contact-link:hover {
  transform: translateY(-2px);
  color: var(--primary-blue) !important;
}

.contact-link i {
  transition: transform 0.2s ease;
}

.contact-link:hover i {
  transform: scale(1.1);
}

/* Footer */
.site-footer {
  background: var(--on-surface);
  color: var(--on-primary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
  .site-header .container {
    height: auto;
    min-height: 64px;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-nav {
    align-items: flex-start;
  }
  
  .nav-link {
    padding: 0.75rem 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: var(--spacing-4);
  }

  .hero {
    min-height: 60vh;
  }
  
  .logo {
    max-height: 56px;
    margin-right: 0.5rem;
  }
  
  .site-header .container {
    height: 64px;
  }
  
  .hero {
    margin-top: 64px;
  }
  
  .product-card {
    margin-bottom: var(--spacing-3);
  }
  
  .contact-link {
    margin-bottom: var(--spacing-3);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    min-height: 65vh;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 50vh;
  }
  
  .hero-content {
    padding: var(--spacing-3);
  }
  
  .logo {
    max-height: 48px;
    margin-right: 0.25rem;
  }
  
  .site-header .container {
    height: 56px;
    padding: 0 var(--spacing-2);
  }
  
  .hero {
    margin-top: 56px;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
}

/* Bootstrap Grid Enhancements */
.container {
  max-width: var(--max-width);
}

/* Product CTA styling */
.product-cta {
  font-style: italic;
  color: #555;
  margin-top: var(--spacing-4);
}

@media (max-width: 768px) {
  .product-img-large {
    height: 200px;
  }
}

/* WhatsApp specific styling */
.contact-link .fa-whatsapp {
  color: #25D366 !important;
}

.contact-link:hover .fa-whatsapp {
  color: #128C7E !important;
} 

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 991px) {
  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
@media (max-width: 576px) {
  .product-card, .why-card, #services .product-card {
    max-width: 98vw;
  }
  .contact-link {
    max-width: 98vw !important;
    font-size: 0.97rem !important;
  }
} 

/* Photo Gallery Section */
.gallery-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 0.5rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.gallery-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.gallery-item:hover .gallery-img {
  filter: grayscale(0%);
}
@media (max-width: 991px) {
  .gallery-item {
    height: 200px;
  }
  .gallery-img {
    height: 180px;
  }
}
@media (max-width: 576px) {
  .gallery-item {
    height: 160px;
  }
  .gallery-img {
    height: 140px;
  }
}

/* Why Choose Us Card Grid */
.why-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: 1px solid #eee;
  font-size: 1.1rem;
  font-weight: 500;
  min-height: 72px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.why-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991px) {
  .why-card {
    font-size: 1rem;
    padding: 1.25rem;
  }
} 

/* Contact Button Styling */
.nav-item .btn-primary.nav-link {
  color: #fff !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-item .btn-primary.nav-link:hover {
  background-color: var(--primary-blue-dark) !important;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .nav-item .btn-primary.nav-link {
    margin: 0.5rem 0;
    text-align: center;
    padding: 0.75rem !important;
  }
  
  .navbar-nav .nav-item.ms-lg-3 {
    width: 100%;
    margin: 0.5rem 0;
  }
} 

/* Pure CSS Responsive Navbar */
.navbar-static {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 80px;
}
.navbar-static .navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-links li {
  display: flex;
  align-items: center;
}
.navbar-links a {
  color: var(--on-surface);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary-blue);
  background: #eaf2fb;
}
.navbar-links .btn {
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: none;
  background: var(--primary-blue);
  color: #fff !important;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.navbar-links .btn:hover {
  background: var(--primary-blue-dark);
  color: #fff !important;
  transform: translateY(-2px); /* Add a slight lift on hover */
}
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle-label span,
.nav-toggle-label span:before,
.nav-toggle-label span:after {
  display: block;
  background: #222;
  height: 3px;
  width: 28px;
  border-radius: 2px;
  position: absolute;
  left: 6px;
  transition: 0.3s;
}
.nav-toggle-label span {
  top: 19px;
}
.nav-toggle-label span:before {
  content: '';
  top: 10px;
}
.nav-toggle-label span:after {
  content: '';
  top: 28px;
}
@media (max-width: 991px) {
  .navbar-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 1rem 0.5rem;
    display: none;
    z-index: 1000;
  }
  .navbar-links li {
    width: 100%;
  }
  .navbar-links a,
  .navbar-links .btn {
    width: 100%;
    text-align: left;
    margin: 0.25rem 0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
  }
  .nav-toggle:checked + .nav-toggle-label + .navbar-links {
    display: flex;
  }
  .nav-toggle-label {
    display: block;
  }
} 

/* Hamburger menu icon fix */
.nav-toggle-label {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle-label span {
  display: block;
  position: relative;
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  margin: 0 auto;
  transition: background 0.3s;
}
.nav-toggle-label span:before,
.nav-toggle-label span:after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle-label span:before {
  top: -9px;
}
.nav-toggle-label span:after {
  top: 9px;
}
@media (max-width: 991px) {
  .nav-toggle-label {
    display: block;
  }
} 