/* Global Color Variables */
:root {
  --primary-dark-red: #780000;
  --primary-red: #c1121f;
  --primary-cream: #fff;
  --primary-dark-blue: #003049;
  --primary-blue: #669bbc;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background-image: url('./images/Automotive.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cream);
  text-align: center;
  overflow: hidden;
  padding-top: 100px; /* Add padding to account for fixed header */
  margin-top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 48, 73, 0.8), rgba(0, 48, 73, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 90%;
  padding: 2rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-item {
  flex: 1 1 200px;
  max-width: 250px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--primary-dark-blue);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  display: block;
  height: 50px;
  width: 50px;
  margin: 0 auto 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.key-icon {
  background-image: url('../images/key-icon.svg');
}

.fob-icon {
  background-image: url('../images/fob-icon.svg');
}

.lock-icon {
  background-image: url('../images/lock-icon.svg');
}

.ignition-icon {
  background-image: url('../images/ignition-icon.svg');
}

.service-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark-red);
}

.service-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
}

.phone-button {
  background-color: var(--primary-red);
  color: white;
  border: 2px solid var(--primary-red);
}

.phone-button:hover {
  background-color: var(--primary-dark-red);
  border-color: var(--primary-dark-red);
}

.contact-button {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.contact-button:hover {
  background-color: white;
  color: var(--primary-dark-blue);
}

/* FAQ Section Styles */
.faq-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background-color: white;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark-blue);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px; /* Adjust based on content */
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

@media screen and (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-container {
    padding: 0 1rem;
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-tagline {
    font-size: 1.3rem;
  }
  
  .service-item {
    flex: 1 1 180px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 4rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-services {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .cta-button, .hero-cta .cta-button {
    max-width: 80%;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
  }
}

/* Features Section Styles */
.features-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-dark-blue);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 1.5rem;
}

.clock-icon {
  background-image: url('./images/clock-icon.svg');
}

.emergency-icon {
  background-image: url('./images/emergency-icon.svg');
}

.price-icon {
  background-image: url('./images/price-icon.svg');
}

.certified-icon {
  background-image: url('./images/certified-icon.svg');
}

.tools-icon {
  background-image: url('./images/tools-icon.svg');
}

.guarantee-icon {
  background-image: url('./images/guarantee-icon.svg');
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1rem;
}

.feature-card p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Features Section */
@media screen and (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 768px) {
  .features-section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  .features-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
  }
}

/* Services Section Styles */
.services-section {
  padding: 6rem 0;
  background-color: white;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.service-box {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.service-box.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
  max-width: 45%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.service-content {
  flex: 1;
}

.service-content h3 {
  font-size: 2rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-content h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
}

.service-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark-red);
}

.arrow-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

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

/* Responsive Services Section */
@media screen and (max-width: 992px) {
  .service-box {
    gap: 2rem;
  }
  
  .service-content h3 {
    font-size: 1.8rem;
  }
  
  .service-content p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .services-section {
    padding: 4rem 0;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }
  
  .services-container {
    gap: 4rem;
  }
  
  .service-box, 
  .service-box.reverse {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .service-image {
    max-width: 100%;
  }
  
  .service-content h3 {
    text-align: center;
  }
  
  .service-content h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 576px) {
  .services-section {
    padding: 3rem 0;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .services-container {
    gap: 3rem;
  }
  
  .service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .service-content p {
    font-size: 0.95rem;
  }
  
  .service-link {
    font-size: 1rem;
    display: block;
    text-align: center;
    margin-top: 1rem;
  }
}

/* Call to Action Section Styles */
.cta-section {
  position: relative;
  padding: 3rem 0;
  background-image: url('./images/Locksmith.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

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

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 50%;
  margin: 0 auto;
}

.primary-button {
  background-color: var(--primary-red);
  color: white;
  border: 2px solid var(--primary-red);
}

.primary-button:hover {
  background-color: var(--primary-dark-red);
  border-color: var(--primary-dark-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-button {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.secondary-button:hover {
  background-color: white;
  color: var(--primary-dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.phone-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('./images/phone-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 10px;
}

/* Responsive CTA Section */
@media screen and (max-width: 768px) {
  .cta-section {
    padding: 4rem 0;
  }
  
  .cta-section h2 {
    font-size: 2.2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 576px) {
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-button {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Service Area Section Styles */
.service-area-section {
  padding: 5rem 0;
  background-color: #f8f8f8;
}

.service-area-container {
  margin-top: 3rem;
}

.service-area-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.service-area-text {
  flex: 1;
}

.service-area-text h3 {
  font-size: 2rem;
  color: var(--primary-dark-blue);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.service-area-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
}

.service-area-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

.service-area-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-area-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.area-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('./images/location-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.florida-location {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid var(--primary-red);
}

.florida-location h4 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark-blue);
}

.florida-location address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #333;
}

.service-area-map {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-area-map iframe {
  display: block;
  height: 450px;
}

/* Responsive Service Area Styles */
@media screen and (max-width: 992px) {
  .service-area-content {
    flex-direction: column;
  }
  
  .service-area-text,
  .service-area-map {
    width: 100%;
  }
  
  .service-area-map iframe {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  /* Button responsive styles */
  .hero-cta .cta-button,
  .cta-buttons .cta-button {
    max-width: 70%;
  }
  
  .service-area-section {
    padding: 4rem 0;
  }
  
  .service-area-text h3 {
    font-size: 1.8rem;
  }
  
  .service-area-text p,
  .service-area-list li {
    font-size: 1rem;
  }
  
  .florida-location h4 {
    font-size: 1.3rem;
  }
  
  .florida-location address {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  /* Button responsive styles for small screens */
  .hero-cta .cta-button,
  .cta-buttons .cta-button {
    max-width: 90%;
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
  
  .service-area-section {
    padding: 3rem 0;
  }
  
  .service-area-map iframe {
    height: 300px;
  }
  
  .service-area-text h3 {
    font-size: 1.6rem;
  }
  
  .florida-location {
    padding: 1.25rem;
  }
}

/* Footer Styles */
.site-footer {
  background-color: #ffffff;
  color: #333333;
  padding: 4rem 0 2rem;
  margin-top: 3rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #f0f0f0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
  filter: none;
  mix-blend-mode: normal;
  background-color: transparent;
}

.footer-logo p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 300px;
  margin: 0 auto;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  padding: 0;
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.footer-links, 
.footer-contact, 
.footer-legal {
  flex: 1 0 200px;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  color: #222222;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.9rem;
  position: relative;
}

.site-footer a {
  color: #444444;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
  font-size: 1.05rem;
  display: inline-block;
  padding: 3px 0;
}

.site-footer a:hover {
  color: var(--primary-red);
  opacity: 1;
  transform: translateX(5px);
}

.footer-contact address {
  font-style: normal;
  line-height: 1.8;
  opacity: 0.9;
  font-size: 1.05rem;
  color: #444444;
}

.footer-contact .phone a {
  font-weight: 700;
  color: var(--primary-red);
  font-size: 1.15rem;
  margin-top: 10px;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  opacity: 0.8;
  color: #555555;
}

/* Footer Responsive Styles */
@media (min-width: 768px) {
  .footer-logo {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: left;
    margin-bottom: 0;
  }
  
  .footer-logo p {
    margin: 0;
  }
  
  .footer-links, 
  .footer-contact, 
  .footer-legal {
    flex: 0 0 22%;
    max-width: 22%;
  }
}
