/* Domino Fuel - Custom Styles */
:root {
  --primary: #0A7BE8;
  --primary-dark: #005dca;
  --accent: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Header Styles */
.header-dropdown {
  position: relative;
}

.header-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu */
.mobile-menu {
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

.mobile-menu.active {
  max-height: 600px;
}

/* Hero Sections */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-overlay {
  background: linear-gradient(45deg, rgba(10, 123, 232, 0.95), rgba(0, 93, 202, 0.95));
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 123, 232, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Phone Button */
.phone-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Card Styles */
.card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: white;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Area Grid */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: white;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--gray-50);
}

.faq-question.active {
  background-color: var(--gray-50);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--gray-50);
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.25rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Testimonials */
.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Contact Bar */
.contact-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.contact-info {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  margin: 0.25rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.contact-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: white;
}

/* Floating Call Button */
.floating-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  text-align: center;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

footer h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .floating-call {
    display: block;
  }
  
  body {
    padding-bottom: 56px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .area-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary,
  .btn-accent {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.875rem;
  }
  
  .testimonial {
    padding: 1rem;
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Focus States */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
