@import './styles/variables.css';

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  color: var(--primary-blue);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-bold);
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-blue);
  letter-spacing: 1px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  font-weight: var(--font-medium);
  color: var(--text-dark);
}

.header-ctas {
  display: flex;
  gap: var(--spacing-sm);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/public/hero-bg.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--spacing-xl) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Boost text legibility */
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: var(--spacing-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Why Choose Us */
.why-us-flex {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.why-us-content {
  flex: 1;
  min-width: 300px;
}

.why-us-image {
  flex: 1;
  min-width: 300px;
}

.why-us-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.feature-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  padding: var(--spacing-sm);
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.feature-text h3 {
  color: var(--primary-blue);
  margin-bottom: 5px;
}

/* Floating & Sticky */
.floating-ctas {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.btn-floating {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.btn-floating:hover {
  transform: scale(1.1);
}

.sticky-bar-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--white);
  z-index: 1000;
  grid-template-columns: repeat(3, 1fr);
}

.sticky-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 0.8rem;
  font-weight: var(--font-bold);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.sticky-bar-item:last-child {
  border-right: none;
}

/* Responsive */
@media (max-width: 992px) {
  .nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .header-ctas {
    display: none;
  }
  .sticky-bar-mobile {
    display: grid;
  }
  .section {
    padding: var(--spacing-md) 0;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.service-card {
  background: var(--white);
  padding: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.service-card-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.service-icon {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-xs);
}

.service-card h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-blue);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

/* Process Section */
.dark-section {
  background-color: var(--primary-blue);
  color: var(--white);
}

.white-text {
  color: var(--white) !important;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  position: relative;
}

.process-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-gold);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  margin: 0 auto var(--spacing-sm);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.testimonial-card {
  background: var(--off-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.customer-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-gold);
}

.testimonial-info h4 {
  color: var(--primary-blue);
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.stars {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

/* CTA Section */
.cta-banner {
  background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), url('/public/cta-bg.png');
  background-size: cover;
  background-position: center;
  padding: var(--spacing-xl) 0;
  color: var(--white);
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* Lead Form */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-intro {
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

.lead-form {
  display: grid;
  gap: var(--spacing-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-weight: var(--font-medium);
  font-size: 0.9rem;
}

.form-group input, 
.form-group select {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.btn-block {
  width: 100%;
}

/* Footer */
.footer {
  background-color: #00152e;
  color: var(--white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-logo {
  color: var(--primary-gold);
  margin-bottom: var(--spacing-sm);
}

.footer h4 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.footer p {
  opacity: 0.8;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-md);
  text-align: center;
}

.built-by {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.built-by a {
  color: var(--primary-gold);
  text-decoration: none;
}

.built-by a:hover {
  text-decoration: underline;
}

.aura-logo {
  height: 18px;
  width: auto;
  display: inline-block;
}

.disclaimer {
  font-size: 0.8rem;
  margin-top: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.justify-center { justify-content: center; }
.mt-md { margin-top: var(--spacing-md); }

/* Chatbot */
.chat-trigger {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.3s ease;
}

.chat-trigger:hover {
  transform: scale(1.1);
  background-color: var(--secondary-blue);
}

.chatbot-container {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.chatbot-header {
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-status {
  width: 10px;
  height: 10px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--whatsapp-green);
}

.close-chat {
  font-size: 1.5rem;
  color: var(--white);
  opacity: 0.8;
}

.chatbot-body {
  height: 350px;
  padding: var(--spacing-sm);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f0f2f5;
}

.message {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 0.95rem;
  line-height: 1.4;
}

.bot-message {
  background: var(--white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.user-message {
  background: var(--primary-blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-input {
  padding: 10px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #ddd;
}

.chatbot-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-family: inherit;
}

#sendChat {
  background: var(--primary-blue);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* City Services */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
}

.city-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid #eee;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
}

.city-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
}

.city-card h3 {
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.city-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--spacing-sm) 0;
  font-size: 1.1rem;
  font-weight: var(--font-medium);
  color: var(--primary-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.faq-item.active .faq-question::after {
  content: '-';
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: var(--spacing-sm);
}

/* Legal & Contact Page Styles */
.legal-banner {
  background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.9));
}

.legal-text-wrapper {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-text-wrapper h2 {
  color: var(--primary-blue);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
  font-size: 1.75rem;
}

.legal-text-wrapper ul {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.legal-contact-box {
  background: var(--off-white);
  padding: var(--spacing-md);
  border-left: 5px solid var(--primary-gold);
  margin-top: var(--spacing-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: flex-start;
}

.contact-method-card {
  display: flex;
  gap: var(--spacing-md);
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
}

.method-icon {
  font-size: 2rem;
  color: var(--primary-gold);
}

.contact-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid #eee;
}

.hours-list span {
  font-weight: 600;
}

.form-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hidden {
  display: none !important;
}

.form-success-msg {
  text-align: center;
  padding: var(--spacing-lg);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.footer-legal {
  margin-top: var(--spacing-sm);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
}

.map-placeholder iframe {
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
