/* Support pages specific styles */
.support-page {
  background: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.4)), 
              url('/images/audi-support.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  font-family: 'Inter', 'Poppins', sans-serif;
}

/* Keep header and footer black */
.support-page .header,
.support-page .footer {
  background: #111 !important;
  position: relative;
  z-index: 10;
}

/* Ensure header navigation matches index styling on support pages */
.support-page .desktop-nav ul li a,
.support-page .desktop-nav .submenu > a {
  color: var(--text-secondary) !important;       /* visible grey like index */
  background: transparent !important;            /* no pill by default */
}
.support-page .desktop-nav ul li a:hover,
.support-page .desktop-nav .submenu > a:hover {
  background: var(--gradient-primary) !important;/* yellow pill on hover */
  color: var(--background-dark) !important;      /* dark text like index */
}

/* Reset header action buttons on support pages to match index header */
.support-page .header .header-actions .action-btn {
  background: transparent !important;
  color: #ffd23f !important;
  border-radius: 0 !important;
  padding: .25rem .4rem !important;
  gap: .25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
}
.support-page .header .header-actions .action-btn:hover {
  background: #ffd23f !important;
  color: #111 !important;
}

/* Hero section */
.support-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.support-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  letter-spacing: -1px;
}

.support-hero h1 i {
  margin-right: 1rem;
  color: #ffd23f;
}

.support-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

/* Support content */
.support-content {
  padding: 3rem 0;
  background: transparent;
}

.support-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.main-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* Phone Support Styles */
.phone-numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.phone-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #ffd23f33;
}

.phone-card i {
  font-size: 2rem;
  color: #ffd23f;
  min-width: 40px;
}

.phone-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffd23f;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0.5rem 0;
}

.phone-details span {
  color: #ffd23f;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Email Form Styles */
.email-form {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border: 2px solid #ffd23f;
  border-radius: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffd23f;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background: rgba(17, 17, 17, 0.8);
  border: 2px solid #ffd23f;
  border-radius: 6px;
  color: #ffd23f;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px #ffd23f44;
}

/* Location Styles */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.location-card {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #ffd23f33;
}

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.location-header h3 {
  color: #ffd23f;
  font-size: 1.3rem;
  margin: 0;
}

.location-badge {
  background: #ffd23f;
  color: #111;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.address {
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.location-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.location-features span {
  background: rgba(255, 210, 63, 0.2);
  color: #ffd23f;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #ffd23f;
}

/* Chat Styles */
.chat-container {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: rgba(17, 17, 17, 0.8);
  padding: 1rem;
  border-bottom: 1px solid #ffd23f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agent-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agent-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffd23f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.2rem;
}

.agent-details h3 {
  color: #ffd23f;
  margin: 0;
  font-size: 1.1rem;
}

.status {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
}

.status.online {
  background: #4CAF50;
  color: white;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.message {
  margin-bottom: 1rem;
}

.agent-message .message-content {
  background: rgba(255, 210, 63, 0.2);
  border: 1px solid #ffd23f;
  padding: 1rem;
  border-radius: 15px 15px 15px 5px;
  max-width: 80%;
}

.message-time {
  font-size: 0.8rem;
  color: #ffd23f;
  opacity: 0.7;
  margin-top: 0.5rem;
  display: block;
}

.quick-replies {
  margin-top: 1rem;
}

.quick-reply {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid #ffd23f;
  color: #ffd23f;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-reply:hover {
  background: #ffd23f;
  color: #111;
}

.chat-input {
  border-top: 1px solid #ffd23f;
  padding: 1rem;
}

.input-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-container input {
  flex: 1;
  padding: 0.75rem;
  background: rgba(17, 17, 17, 0.8);
  border: 2px solid #ffd23f;
  border-radius: 25px;
  color: #ffd23f;
}

.attachment-btn,
.send-btn {
  background: #ffd23f;
  color: #111;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.attachment-btn:hover,
.send-btn:hover {
  background: #e6bd39;
  transform: scale(1.1);
}

/* Sidebar Styles */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hours-card,
.email-info,
.response-times,
.chat-info,
.agents-online,
.directions,
.quick-actions {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  padding: 1.5rem;
}

.sidebar h3 {
  color: #ffd23f;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hours-list,
.email-list,
.time-list,
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hour-item,
.email-item,
.time-item,
.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 210, 63, 0.2);
}

.hour-item:last-child,
.email-item:last-child,
.time-item:last-child,
.feature-item:last-child {
  border-bottom: none;
}

.priority {
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.priority.high {
  background: #f44336;
  color: white;
}

.priority.medium {
  background: #ff9800;
  color: white;
}

.priority.low {
  background: #4CAF50;
  color: white;
}

/* Action Buttons */
.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffd23f;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.action-btn:hover {
  background: #e6bd39;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #ffd23f44;
}

.action-btn.small {
  padding: 0.5rem;
  min-width: 40px;
  margin: 0;
}

.submit-btn {
  background: linear-gradient(135deg, #ffd23f 0%, #e6bd39 100%);
  color: #111;
  border: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #e6bd39 0%, #ffd23f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px #ffd23f66;
}

/* Common Elements */
.call-tips,
.visit-tips {
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px);
  border: 2px solid #ffd23f;
  border-radius: 12px;
  padding: 2rem;
}

.call-tips h3,
.visit-tips h3 {
  color: #ffd23f;
  margin-bottom: 1rem;
}

.call-tips ul {
  list-style: none;
  padding: 0;
}

.call-tips li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #ffd23f;
}

.call-tips li i {
  color: #4CAF50;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.tip-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(17, 17, 17, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 63, 0.3);
}

.tip-card i {
  font-size: 2rem;
  color: #ffd23f;
  margin-bottom: 1rem;
}

.tip-card h4 {
  color: #ffd23f;
  margin-bottom: 0.5rem;
}

.tip-card p {
  color: #fff;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .support-hero h1 {
    font-size: 2rem;
  }
  
  .phone-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .location-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .chat-container {
    height: 500px;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
}