/* Main CSS File for CAR REPAIR ADRIAN LIMITED */

:root {
  /* Primary Colors */
  --primary-color: #78b0a0;
  --primary-dark: #5a9283;
  --primary-light: #a5d0c3;
  
  /* Secondary Colors */
  --secondary-color: #f6c28b;
  --secondary-dark: #e9a766;
  --secondary-light: #ffd7ab;
  
  /* Neutral Colors */
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Accent Colors */
  --accent-1: #d1b3c4;
  --accent-2: #b7e4c7;
  --accent-3: #95d5e3;
  
  /* Shadows for Neomorphic Design */
  --shadow-light: rgba(255, 255, 255, 0.7);
  --shadow-dark: rgba(0, 0, 0, 0.05);
  --box-shadow-soft: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light);
  --box-shadow-pressed: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
  --transition-main: all 0.3s ease-in-out;
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 25px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

/* Base Styles */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-main);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

p {
  margin-bottom: var(--spacing-sm);
}

.section-header {
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--spacing-xs);
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.section-header .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Neomorphic Elements */
.neomorph {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
}

.neomorph:hover {
  box-shadow: var(--box-shadow-pressed);
}

.neomorph-inset {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-pressed);
}

/* Button Styles */
.btn {
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: var(--transition-main);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

/* Header Styles */
.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-section.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-nav .nav-link:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:before, 
.navbar-nav .nav-link.active:before {
  width: 80%;
}

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

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

/* About Section */
.about-section {
  padding: var(--spacing-xl) 0;
}

.about-image-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
}

.about-image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image-container:hover img {
  transform: scale(1.03);
}

.about-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.accordion-item {
  border: none;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
}

.accordion-button {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 1.2rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--bg-light);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-body {
  padding: 1.2rem;
  background-color: var(--bg-light);
}

/* Services Section */
.services-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.service-card {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.card-text {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

/* Portfolio Section */
.portfolio-section {
  padding: var(--spacing-xl) 0;
}

.portfolio-gallery {
  position: relative;
}

.portfolio-item {
  margin-bottom: var(--spacing-md);
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
}

.portfolio-item .image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: var(--text-light);
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .overlay h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: var(--text-light);
}

.portfolio-item .overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Resources Section */
.resources-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.resource-card {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.resource-card .card-title {
  color: var(--primary-color);
}

/* Partners Section */
.partners-section {
  padding: var(--spacing-xl) 0;
}

.partner-logo {
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  transition: var(--transition-main);
  box-shadow: var(--box-shadow-soft);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

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

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* Team Section */
.team-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.team-card {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.team-card .card-image {
  height: 300px;
}

.team-card .position {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

/* Behind the Scenes Section */
.behind-scenes-section {
  padding: var(--spacing-xl) 0;
}

.behind-scenes-item {
  margin-bottom: var(--spacing-md);
}

.behind-scenes-item .image-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  height: 300px;
}

.behind-scenes-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.behind-scenes-item:hover img {
  transform: scale(1.03);
}

.behind-scenes-item h3 {
  margin-top: var(--spacing-sm);
  color: var(--text-dark);
}

/* Accolades Section */
.accolades-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.accolade-card {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.accolade-card .card-image {
  height: 250px;
}

.accolade-card .year {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

/* Case Studies Section */
.case-studies-section {
  padding: var(--spacing-xl) 0;
}

.case-study-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
  background-color: #fff;
}

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

.case-study-card .image-container {
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.case-study-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover img {
  transform: scale(1.05);
}

.case-study-card h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.case-study-card h4 {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
}

.stat-item {
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.stat-item .value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-item .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Blog Section */
.blog-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.blog-card {
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-main);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.blog-card .card-image {
  height: 200px;
}

.blog-card .date {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.blog-card .card-title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
}

/* Read More Links */
a.read-more, a.btn-outline-primary {
  position: relative;
  display: inline-block;
  margin-top: auto;
  font-weight: 500;
  color: var(--primary-color);
  padding-right: 25px;
  transition: var(--transition-main);
}

a.read-more:after, a.btn-outline-primary:after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

a.read-more:hover, a.btn-outline-primary:hover {
  color: var(--primary-dark);
  padding-right: 30px;
}

a.read-more:hover:after, a.btn-outline-primary:hover:after {
  transform: translate(5px, -50%);
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
}

.contact-info {
  height: 100%;
}

.contact-card {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
  background-color: #fff;
}

.contact-card h3 {
  color: var(--primary-color);
}

.contact-card ul li strong {
  color: var(--text-dark);
}

.map-container {
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-container {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
  background-color: #fff;
  height: 100%;
}

.form-label {
  color: var(--text-dark);
  font-weight: 500;
}

.form-control, .form-select {
  border: 2px solid #eee;
  border-radius: var(--border-radius-sm);
  padding: 0.8rem;
  transition: var(--transition-main);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: none;
}

/* Footer Section */
.footer-section {
  padding-top: var(--spacing-xl);
  background-color: var(--bg-dark);
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-section p, .footer-section address {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-main);
}

.footer-links ul li a:hover {
  color: var(--text-light);
  padding-left: 5px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-main);
  margin-right: var(--spacing-sm);
}

.social-links a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding: var(--spacing-sm) 0;
  color: rgba(255, 255, 255, 0.5);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-light);
  padding: 15px;
  z-index: 9999;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 20px;
}

.cookie-content a {
  color: var(--primary-light);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
  background-color: #fff;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-2);
  margin-bottom: var(--spacing-md);
}

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
  background-color: #fff;
}

.content-container h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.content-container h2 {
  color: var(--text-dark);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .case-study-card .image-container {
    min-height: 250px;
  }
  
  .contact-info, .contact-form-container {
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .partner-logo {
    height: 80px;
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-section h3 {
    margin-top: var(--spacing-md);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .case-study-card .content {
    padding: var(--spacing-sm);
  }
  
  .stat-item .value {
    font-size: 1.5rem;
  }
}