/* Anti-Corrosion & Protection Treatments - Main Stylesheet
   Created: April 2025
*/

:root {
  /* Main Color Palette - Pastel Theme */
  --primary-1: #f0ead6; /* Light Sand */
  --primary-2: #d5c3aa; /* Taupe */
  --primary-3: #c17c74; /* Dusty Rose */
  --primary-4: #7a918d; /* Sage Green */
  --primary-5: #5e4b56; /* Plum */
  
  /* Shades */
  --primary-1-light: #f7f4e8;
  --primary-1-dark: #d6cdb6;
  --primary-2-light: #e1d4c1;
  --primary-2-dark: #b9a78c;
  --primary-3-light: #d19991;
  --primary-3-dark: #a56760;
  --primary-4-light: #96a9a5;
  --primary-4-dark: #5f7470;
  --primary-5-light: #7e6874;
  --primary-5-dark: #3e313a;
  
  /* Text Colors */
  --text-dark: #2d2926;
  --text-medium: #555555;
  --text-light: #888888;
  
  /* Base Values */
  --base-radius: 8px;
  --base-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Base Styles */
html {
  font-size: 16px;
}

body {
  font-family: 'Montserrat', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-3);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-3-dark);
}

/* Container Adjustments */
.container {
  padding: 0 1.5rem;
}

/* Section Spacing */
section {
  padding: 5rem 0;
}

section.hero {
  padding: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--base-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-3);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-3-dark);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-3);
  border: 2px solid var(--primary-3);
}

.btn-secondary:hover {
  background-color: var(--primary-3);
  color: white;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-5);
}

header .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

header .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-3);
  transition: var(--transition);
  transform: translateX(-50%);
}

header .nav-link:hover,
header .nav-link.active {
  color: var(--primary-3);
}

header .nav-link:hover:after,
header .nav-link.active:after {
  width: 70%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
  background-color: var(--primary-1-light);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary-5-dark);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-medium);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-image {
  position: relative;
  border-radius: var(--base-radius);
  overflow: hidden;
  box-shadow: var(--base-shadow);
}

.about-image:before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background-color: var(--primary-3-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

.about-image:after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -20px;
  width: 150px;
  height: 150px;
  background-color: var(--primary-4-light);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

/* Services Section */
.services {
  background-color: var(--primary-1-light);
  position: relative;
  overflow: hidden;
}

.services:before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  background-color: var(--primary-2-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.services-item {
  background-color: white;
  border-radius: var(--base-radius);
  overflow: hidden;
  box-shadow: var(--base-shadow);
  transition: var(--transition);
  margin-bottom: 30px;
  position: relative;
  height: 100%;
}

.services-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.services-item-image {
  height: 240px;
  overflow: hidden;
}

.services-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.services-item:hover .services-item-image img {
  transform: scale(1.05);
}

.services-item-content {
  padding: 2rem;
}

.services-item-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-5);
}

.services-item-price {
  display: inline-block;
  background-color: var(--primary-3-light);
  color: var(--primary-5-dark);
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-item-desc {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.services-item-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-item-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

.services-item-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-3);
  font-weight: 700;
}

/* Features Section */
.features {
  background-color: white;
}

.feature-item {
  padding: 2rem;
  background-color: var(--primary-1-light);
  border-radius: var(--base-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  height: 100%;
}

.feature-item:hover {
  background-color: white;
  box-shadow: var(--base-shadow);
}

.feature-item-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-2-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature-item:hover .feature-item-icon {
  background-color: var(--primary-3-light);
}

.feature-item-name {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-5-dark);
}

.feature-item-desc {
  color: var(--text-medium);
}

/* Price Plan Section */
.priceplan {
  background-color: var(--primary-1-light);
  position: relative;
  overflow: hidden;
}

.priceplan:after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-4-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.priceplan-item {
  background-color: white;
  padding: 3rem 2rem;
  border-radius: var(--base-radius);
  box-shadow: var(--base-shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  height: 100%;
  border-top: 5px solid transparent;
}

.priceplan-item:hover,
.priceplan-item.featured {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top-color: var(--primary-3);
}

.priceplan-item-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-5-dark);
}

.priceplan-item-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-3);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.priceplan-item-price sup {
  font-size: 1rem;
  position: absolute;
  top: 10px;
  left: -10px;
}

.priceplan-item-price sub {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 400;
}

.priceplan-item-desc {
  margin-bottom: 2rem;
  color: var(--text-medium);
}

.priceplan-item-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.priceplan-item-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-medium);
  position: relative;
  padding-left: 1.5rem;
}

.priceplan-item-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--primary-3);
}

.priceplan-item-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team {
  background-color: white;
}

.team-member {
  position: relative;
  margin-bottom: 30px;
  border-radius: var(--base-radius);
  overflow: hidden;
  box-shadow: var(--base-shadow);
}

.team-member-image {
  position: relative;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .team-member-image img {
  transform: scale(1.05);
}

.team-member-info {
  background-color: white;
  padding: 1.5rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-5-dark);
}

.team-member-role {
  color: var(--primary-3);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background-color: var(--primary-1-light);
  position: relative;
  overflow: hidden;
}

.reviews:before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  width: 200px;
  height: 200px;
  background-color: var(--primary-3-light);
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.review-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--base-radius);
  box-shadow: var(--base-shadow);
  margin-bottom: 30px;
  position: relative;
}

.review-item:after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 5rem;
  color: var(--primary-2-light);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.review-text {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.review-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary-5-dark);
}

.review-author-title {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Core Info Section */
.coreinfo {
  background-color: white;
}

.coreinfo-item {
  padding: 2rem;
  background-color: var(--primary-1-light);
  border-radius: var(--base-radius);
  margin-bottom: 30px;
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.coreinfo-item:hover {
  background-color: white;
  box-shadow: var(--base-shadow);
}

.coreinfo-item-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-5-dark);
  position: relative;
  padding-left: 2rem;
}

.coreinfo-item-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primary-3-light);
  border-radius: 50%;
}

.coreinfo-item-desc {
  color: var(--text-medium);
  padding-left: 2rem;
}

/* Contact Section */
.contact {
  background-color: var(--primary-1-light);
  position: relative;
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: var(--base-radius);
  box-shadow: var(--base-shadow);
}

.form-control {
  background-color: #f9f9f9;
  border: none;
  border-radius: var(--base-radius);
  padding: 0.75rem 1.25rem;
  transition: var(--transition);
}

.form-control:focus {
  background-color: white;
  box-shadow: 0 0 0 2px var(--primary-3-light);
}

.contact-info {
  padding: 2rem;
  background-color: var(--primary-5-dark);
  color: white;
  border-radius: var(--base-radius);
  height: 100%;
}

.contact-info h3 {
  color: white;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  background-color: var(--primary-3);
}

.contact-info-text {
  font-size: 1rem;
}

.contact-info-text strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Footer Styles */
footer {
  background-color: var(--primary-5-dark);
  color: white;
  padding: 4rem 0 1rem;
}

footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer-bottom p {
  margin-bottom: 1rem;
}

/* Shape Decorations */
.shape-decoration {
  position: absolute;
  z-index: 0;
}

.shape-decoration.shape-1 {
  top: 20%;
  left: 5%;
  width: 70px;
  height: 70px;
  background-color: var(--primary-3-light);
  border-radius: 50%;
  opacity: 0.2;
}

.shape-decoration.shape-2 {
  bottom: 10%;
  right: 10%;
  width: 150px;
  height: 150px;
  background-color: var(--primary-4-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.2;
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Swiper Styles */
.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary-3);
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--primary-3);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-3);
  background-color: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.25rem;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-3) !important;
}

.bg-primary {
  background-color: var(--primary-3) !important;
}

.bg-light {
  background-color: var(--primary-1-light) !important;
}

.section-title {
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-5-dark);
}

.section-title p {
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

.title-line {
  width: 60px;
  height: 4px;
  background-color: var(--primary-3);
  margin: 1rem 0;
}

.title-line.centered {
  margin: 1rem auto;
}

.shadow-custom {
  box-shadow: var(--base-shadow);
}

.rounded-custom {
  border-radius: var(--base-radius);
}

/* Media Queries */
@media (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  .hero-bg {
    width: 100%;
  }
  
  .hero-overlay {
    background: linear-gradient(0deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.8) 100%);
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .section-title {
    margin-bottom: 3rem;
  }
  
  .priceplan-item-price {
    font-size: 2rem;
  }
} 