/* 
   Prozac Automotive - Main Stylesheet
   Created May 2024
*/

/* ===== Base Styles ===== */
:root {
  --primary-color: #F28C28;
  --secondary-color: #212121;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-text: #fff;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --gray-bg: #e9e9e9;
  --border-color: #ddd;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 1px;
  transition: var(--transition);
  font-family: var(--font-heading);
}

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

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

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

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--secondary-color);
}

/* ===== Section Styles ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.section-light {
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(255, 87, 34, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  border-radius: 4px;
  font-family: var(--font-heading);
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  position: relative;
}

.section-dark .section-header h2,
.section-dark .section-header p {
  color: var(--light-text);
}

.section-header p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  color: #777;
}

.no-padding {
  padding: 0;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

#header.scrolled {
  background-color: var(--secondary-color);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--light-text);
}

.logo img {
  height: 90px;
  margin-right: 15px;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--light-text);
  margin: 3px 0;
  transition: var(--transition);
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  margin-right: 20px;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--light-text);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

nav ul li a:after {
  content: '';
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--light-text);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  background-image: url('IMG_3352.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

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

.hero-subtitle {
  display: inline-block;
  background-color: rgba(255, 87, 34, 0.2);
  color: var(--primary-color);
  padding: 5px 15px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.scroll-down {
  display: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

.about-text h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  color: var(--secondary-color);
}

.about-text p {
  margin-bottom: 20px;
}

.about-features {
  margin: 30px 0;
}

.about-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.about-features li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 18px;
}

/* ===== Stats Section ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--light-text);
  font-family: var(--font-heading);
}

.stat-text {
  font-size: 18px;
  color: #ccc;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 87, 34, 0.1);
  margin-bottom: 25px;
}

.service-icon i {
  font-size: 36px;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.service-card p {
  margin-bottom: 20px;
  color: #777;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ===== Why Choose Us ===== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-choose-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.why-choose-item:hover {
  transform: translateY(-5px);
}

.why-choose-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 87, 34, 0.1);
  margin-bottom: 20px;
}

.why-choose-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.why-choose-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.why-choose-item p {
  color: #777;
}

/* ===== Gallery Section ===== */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light-text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  height: 300px;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-info {
  text-align: center;
  color: var(--light-text);
  padding: 20px;
}

.gallery-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.gallery-info p {
  margin-bottom: 15px;
}

.gallery-zoom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--light-text);
  transition: var(--transition);
}

.gallery-zoom:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info {
  padding-right: 30px;
}

.contact-info-item {
  display: flex;
  margin-bottom: 40px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(242, 140, 40, 0.1);
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.contact-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.contact-text p, .contact-text a {
  color: #777;
}

.contact-text a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(242, 140, 40, 0.1);
  color: var(--primary-color);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: #f9f9f9;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e74c3c;
}

.form-success {
  background-color: #2ecc71;
  color: #fff;
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
}

/* ===== Map Section ===== */
.map-container {
  height: 450px;
  overflow: hidden;
}

.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* ===== Footer ===== */
#footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: #aaa;
  margin-bottom: 25px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 15px;
}

.footer-links h4:after,
.footer-services h4:after,
.footer-contact h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: #aaa;
  transition: var(--transition);
}

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

.footer-contact ul li {
  display: flex;
  margin-bottom: 15px;
  color: #aaa;
}

.footer-contact ul li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-contact ul li a {
  color: #aaa;
}

.footer-contact ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #aaa;
}

.footer-bottom-links {
  display: flex;
}

.footer-bottom-links li {
  margin-left: 20px;
}

.footer-bottom-links li a {
  color: #aaa;
}

.footer-bottom-links li a:hover {
  color: var(--primary-color);
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
}

/* ===== Animation ===== */
.animate {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated {
  opacity: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
  
  .hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 750px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 44px;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid,
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 400px;
    background-color: var(--secondary-color);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px;
    transition: var(--transition);
    z-index: 1000;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    margin-right: 0;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 20px;
  }
  
  .nav-btn {
    margin-top: 20px;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
  }
  
  .section {
    padding: 60px 0;
    text-align: center;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
  }
  
  .about-content {
    text-align: center;
  }
  
  .about-features {
    display: inline-block;
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .services-grid,
  .why-choose-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .contact-grid {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .footer-links h4:after,
  .footer-services h4:after,
  .footer-contact h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .contact-icon i {
    font-size: 28px;
  }
  
  .contact-text {
    flex: 1;
    width: 100%;
    text-align: center;
  }
  
  .contact-text h4 {
    margin-top: 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 36px;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  /* Center align elements for smaller screens */
  .about-features li {
    text-align: left;
  }
  
  .footer-contact ul li {
    justify-content: center;
    text-align: center;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

/* ===== Lightbox Styles ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  touch-action: manipulation;
}

.lightbox-content {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--light-text);
  text-align: center;
  padding: 10px 0;
  position: absolute;
  bottom: 20px;
  width: 100%;
  left: 0;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--light-text);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary-color);
} 