/* Green Roof Service - Main CSS */
/* Color Variables */
:root {
  --primary-color: #30932b;
  --primary-light: #459c4d;
  --primary-dark: #1a551e;
  --secondary-color: #478130;
  --secondary-light: #7ed546;
  --secondary-dark: #295d16;
  --accent-color: #4d8c30;
  --accent-light: #b3e36b;
  --accent-dark: #478500;
  --neutral-color: #744b45;
  --neutral-light: #99867c;
  --neutral-dark: #2c1e1a;
  --support-color: #80c483;
  --support-light: #e7f8e9;
  --support-dark: #37983c;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #ada1a2;
  --dark-gray: #414141;
  --black: #2f2f2f;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 { font-size: 2.57rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.88rem; }
h4 { font-size: 1.55rem; }
h5 { font-size: 1.36rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 9px 14px rgba(0,0,0,0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.navbar-brand {
  font-size: 1.59rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--support-light) !important;
}

.navbar-toggler {
  border: none;
  color: var(--white);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.59rem;
  text-shadow: 4px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.53rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.30rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 20%;
  animation-delay: -2s;
}

.hero-shape:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.51rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-subtitle {
  font-size: 1.59rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--neutral-color);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--support-light), var(--white));
}

.feature-card {
  background: var(--white);
  border-radius: 13px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 17px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 11px 28px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-name {
  font-size: 1.52rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.feature-desc {
  color: var(--neutral-color);
}

/* Services Section */
.services-section {
  background: var(--light-gray);
}

.service-card {
  background: var(--white);
  border-radius: 19px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 7px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 110px 30px rgba(0,0,0,0.2);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.70rem;
}

.service-name {
  font-size: 1.56rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.service-desc {
  color: var(--neutral-color);
  margin-bottom: 1.67rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.64rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--neutral-dark);
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.priceplan-section .section-title,
.priceplan-section .section-subtitle {
  color: var(--white);
}

.priceplan-section .section-desc {
  color: rgba(255,255,255,0.9);
}

.priceplan-card {
  background: var(--white);
  color: var(--black);
  border-radius: 19px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

.priceplan-card:hover {
  transform: scale(1.05);
}

.priceplan-name {
  font-size: 1.92rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.priceplan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.74rem;
}

.priceplan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.priceplan-features li {
  padding: 0.5rem 0;
  color: var(--neutral-dark);
}

.priceplan-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Team Section */
.team-section {
  background: var(--light-gray);
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--primary-light);
}

.team-name {
  font-size: 1.58rem;
  font-weight: 600;
  margin-bottom: 0.68rem;
  color: var(--primary-dark);
}

.team-role {
  color: var(--secondary-color);
  font-weight: 500;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--support-light), var(--white));
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--white);
  padding: 0 10px;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.57rem;
  color: var(--neutral-dark);
}

.review-author {
  font-weight: 600;
  color: var(--primary-dark);
  text-align: right;
}

/* Case Study Section */
.casestudy-section {
  background: var(--light-gray);
}

.casestudy-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-5px);
}

.casestudy-title {
  font-size: 1.64rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.casestudy-desc {
  color: var(--neutral-color);
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.process-section .section-title,
.process-section .section-subtitle {
  color: var(--white);
}

.process-section .section-desc {
  color: rgba(255,255,255,0.9);
}

.process-card {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.process-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.52rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.process-desc {
  color: rgba(255,255,255,0.9);
}

/* FAQ Section */
.faq-section {
  background: var(--light-gray);
}

.faq-card {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-dark);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--neutral-dark);
  border-radius: 0 0 10px 10px;
}

/* Timeline Section */
.timeline-section {
  background: var(--white);
}

/* Career Section */
.career-section {
  background: linear-gradient(135deg, var(--support-light), var(--white));
}

/* Core Info Section */
.coreinfo-section {
  background: var(--white);
}

/* Blog Section */
.blog-section {
  background: var(--light-gray);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h4 {
  font-size: 1.60rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.blog-card p {
  color: var(--neutral-color);
  margin-bottom: 1.62rem;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--primary-dark);
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
  padding: 2rem 0;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--support-light), var(--white));
}

.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.58rem;
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(75, 183, 66, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-info {
  background: var(--primary-color);
  color: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.14rem;
}

.contact-info i {
  margin-right: 0.5rem;
  color: var(--support-light);
}

/* Footer */
.footer {
  background: var(--neutral-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.62rem;
}

.footer p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.68rem;
}

.footer a {
  color: var(--support-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.23rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.42rem; }
.mb-2 { margin-bottom: 0.60rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.60rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.34rem; }
.mt-2 { margin-top: 0.63rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.58rem; }
.mt-5 { margin-top: 3rem; }

/* Enhanced CSS for Production Ready */

/* Reduced Motion Support */
.reduced-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* Touch Device Optimizations */
.touch-device .service-card:hover,
.touch-device .team-card:hover,
.touch-device .feature-card:hover {
  transform: none;
}

.touch-hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* In-view Animation Class */
.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn-primary:focus,
.form-control:focus,
.nav-link:focus,
.faq-question:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Error States */
.error {
  border-color: #f13152 !important;
  box-shadow: 0 0 0 0.2rem rgba(201, 46, 72, 0.25) !important;
}

/* Success States */
.success {
  border-color: #2cb747 !important;
  box-shadow: 0 0 0 0.2rem rgba(41, 174, 59, 0.25) !important;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
