/* Dealer Page Specific Styles */
.dealer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
}

.dealer-main {
  position: relative;
}

/* Promotional Banner */
.promo-banner {
  background: url("../images/Dealer%20Page.png") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 32px;
  position: relative;
  min-height: 300px;
}

/* Decorative elements */
.promo-banner::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-size: contain;
  opacity: 0.6;
}

.promo-banner::after {
  content: "";
  position: absolute;
  top: 60px;
  right: 40px;
  width: 40px;
  height: 40px;
  background-size: contain;
  opacity: 0.6;
}

.promo-left {
  flex: 1;
  max-width: 300px;
}

.dealer-brand {
  font-size: 3.5rem;
  font-weight: 900;
  color: #333;
  line-height: 0.9;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.dealer-type {
  font-size: 2.8rem;
  font-weight: 900;
  color: #333;
  line-height: 0.9;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.service-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(45deg, #ff1493, #ff69b4);
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.price-section {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.currency {
  font-size: 2rem;
  font-weight: 900;
  color: #ff1493;
  margin-right: 4px;
}

.price {
  font-size: 4rem;
  font-weight: 900;
  color: #ff1493;
  line-height: 1;
}

.asterisk {
  font-size: 1.5rem;
  color: #ff1493;
  margin-left: 4px;
}

.book-now-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-now-btn:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promo-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tyre-image {
  width: 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.tyre-image:hover {
  transform: rotate(0deg) scale(1.05);
}

.tyre-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-right {
  flex: 1;
  text-align: right;
  max-width: 300px;
}

.festive-text {
  font-size: 3rem;
  font-weight: 300;
  color: #ff1493;
  font-style: italic;
  line-height: 1;
  margin-bottom: 8px;
}

.offers-text {
  font-size: 2.5rem;
  font-weight: 900;
  color: #333;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.tagline-highlight {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ff1493;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.valid-locations {
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #ff1493;
}

.valid-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.locations {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.4;
  font-weight: 500;
}

/* Dealer Information Section */
.dealer-info {
  position: relative;
  margin: -100px auto 0;
  width: calc(100% - 60px);
  max-width: 1100px;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Business Summary Section */
.business-summary-section {
  margin: 20px auto 0;
  width: calc(100% - 60px);
  max-width: 1100px;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.business-summary-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #333;
}

.business-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.business-summary-container h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 24px 0 16px 0;
  color: #333;
}

.feedback-section {
  margin-bottom: 24px;
}

.feedback-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #333;
  text-decoration: underline;
}

.feedback-list {
  margin: 0;
  padding-left: 20px;
}

.feedback-list li {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 8px;
}

.feedback-list li strong {
  color: #333;
}

/* User Reviews Section */
.user-reviews-section {
  margin: 20px auto 0;
  width: calc(100% - 60px);
  max-width: 1100px;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-reviews-container {
  padding: 0;
}

.user-reviews-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #333;
}

.reviews-wrapper {
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  z-index: 2;
}

.scroll-left {
  left: -20px;
}

.scroll-right {
  right: -20px;
}

.scroll-btn:hover {
  background: #f8f9fa;
  color: #ff5c1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reviews-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ff5c1a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
}

.user-name {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.review-date {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 4px;
}

.rating {
  color: #ffa500;
  font-size: 0.9rem;
  font-weight: 600;
}

.tyre-model {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.review-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.review-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* Contact Form Section */
.contact-form-section {
  margin: 20px auto 0;
  width: calc(100% - 60px);
  max-width: 1100px;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
  display: flex;
  justify-content: center;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 800px;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff5c1a;
  box-shadow: 0 0 0 3px rgba(255, 92, 26, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  background: #ff5c1a;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #e04e0e;
}

/* FAQ Section */
.faq-section {
  margin: 20px auto 0;
  width: calc(100% - 60px);
  max-width: 1100px;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #333;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 0;
  overflow: hidden;
}

.faq-item:first-child {
  border-radius: 8px 8px 0 0;
}

.faq-item:last-child {
  border-radius: 0 0 8px 8px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #eee;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  flex: 1;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
  transition: transform 0.3s;
}

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

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  padding: 20px 24px;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Localities Section */
.localities-section {
  margin: 20px auto 0;
  width: calc(100% - 60px);
  max-width: 1100px;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.localities-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #333;
}

.localities-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 16px 0;
  color: #333;
}

.localities-links {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
  text-align: justify;
}

/* Navigation Menu Styles */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  display: block;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-menu li {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-menu li:hover {
  color: #ff5c1a;
}

@media (max-width: 1024px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f9fa;
    padding: 20px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .main-nav {
    position: relative;
  }
}

/* Footer Styles */
.main-footer {
  background: #1e88e5;
  color: white;
  margin-top: 3px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 20px;
}

.footer-content {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1;
  max-width: 300px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex: 2;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-column p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  display: inline;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

.footer-bottom-links span {
  opacity: 0.6;
}

.dealer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.dealer-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  flex: 1;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

.dealer-details {
  max-width: 800px;
}

.dealer-details > * {
  margin-bottom: 12px;
}

.description {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.address {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.phone {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dealer-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.review-count {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
}

.rating-score {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.stars {
  color: #ffa500;
  font-size: 0.9rem;
}

.write-review {
  color: #1976d2;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.write-review:hover {
  text-decoration: underline;
}

.status-section {
  display: flex;
  align-items: center;
  gap: 24px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.open {
  background: #4caf50;
}

.status-text {
  font-size: 0.9rem;
  color: #4caf50;
  font-weight: 600;
}

.hours {
  font-size: 0.9rem;
  color: #666;
}

.action-buttons {
  display: flex;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.action-btn.directions {
  background: #e3f2fd;
  color: #1976d2;
}

.action-btn.directions:hover {
  background: #bbdefb;
}

.action-btn.locator {
  background: #e8f5e8;
  color: #388e3c;
}

.action-btn.locator:hover {
  background: #c8e6c9;
}

.action-btn .icon {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .promo-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding: 32px 24px;
  }

  .promo-left,
  .promo-right {
    max-width: none;
  }

  .promo-right {
    text-align: center;
  }

  .dealer-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .status-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .dealer-main {
    padding: 0 16px;
  }

  .promo-content {
    padding: 24px 16px;
  }

  .dealer-brand {
    font-size: 2.5rem;
  }

  .dealer-type {
    font-size: 2rem;
  }

  .service-name {
    font-size: 1.8rem;
  }

  .price {
    font-size: 3rem;
  }

  .dealer-info {
    padding: 24px 16px;
    width: calc(100% - 32px);
    margin: -80px auto 0;
  }

  .dealer-header {
    flex-direction: column;
    gap: 16px;
  }

  .dealer-header h1 {
    font-size: 1.5rem;
  }

  .rating-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .action-btn {
    justify-content: center;
  }

  .user-reviews-section {
    margin: 24px 16px 0;
    padding: 24px 16px;
  }

  .contact-form-section {
    margin: 24px 16px 0;
    padding: 24px 16px;
    width: calc(100% - 32px);
  }

  .contact-form-container {
    flex-direction: column;
    gap: 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .faq-section {
    margin: 24px 16px 0;
    padding: 24px 16px;
    width: calc(100% - 32px);
  }

  .localities-section {
    margin: 24px 16px 0;
    padding: 24px 16px;
    width: calc(100% - 32px);
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .scroll-btn {
    display: flex;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .scroll-left {
    left: -16px;
  }

  .scroll-right {
    right: -16px;
  }
}

@media (max-width: 480px) {
  .tyre-image {
    width: 250px;
    height: 160px;
  }

  .festive-text {
    font-size: 2.2rem;
  }

  .offers-text {
    font-size: 2rem;
  }

  .valid-locations {
    padding: 12px;
  }

  .locations {
    font-size: 0.75rem;
  }

  .dealer-info {
    width: calc(100% - 16px);
    margin: -60px auto 0;
  }

  .user-reviews-section {
    margin: 16px 8px 0;
    width: calc(100% - 16px);
  }

  .review-card {
    min-width: 250px;
  }
}
