/* Global Styles - Shared across all pages */

/* CSS Variables */
:root {
    /* Colors */
    --primary-red: #DC2626;
    --primary-yellow: #FDE047;
    --accent-red: #EF4444;
    --accent-yellow: #FACC15;
    --dark: #1F2937;
    --light: #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;
    --white: #FFFFFF;
    
    /* Typography */
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-script: 'Dancing Script', cursive;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    
    /* Border Radius */
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    padding: 0.5rem 1rem;
    flex-wrap: nowrap;
}

.logo {
    margin: 0.5rem 0 0 1.5rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 2.5rem;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.desktop-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-900);
    border-radius: var(--rounded);
    transition: var(--transition);
    display: inline-block;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        height: auto;
    }
    
    .desktop-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .desktop-nav.active {
        display: flex;
    }
    
    .logo {
        margin: 0;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-red);
    }
    
    .nav-link {
        padding: 0.8rem 0;
        font-size: 1rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--gray-100);
    }
}

/* Footer Styles */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Footer Styles */
.footer {
  background-color: #111827;
  color: #d1d5db;
  padding: 60px 20px;
  font-family: "Montserrat", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-about h3 {
  color: #facc15;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo {
  height: 35px;
  margin-right: 10px;
  border-radius: 4px;
}

.footer-about p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

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

.footer-links ul li {
  margin: 8px 0;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #facc15;
}

.footer-contact p {
  margin: 8px 0;
}

.footer-contact i {
  color: #dc2626;
  margin-right: 8px;
}

.footer-contact a {
  color: #facc15;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-local-seo {
  margin-top: 40px;
  padding-top: 30px;
  padding-bottom: 20px;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #d1d5db;
}

.footer-local-seo p {
  margin: 5px 0;
}

.footer-local-seo strong {
  color: #e5e7eb;
}

.footer-local-seo .service-areas {
  margin-top: 15px;
  font-size: 0.8rem;
  color: #9ca3af;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 25px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #9ca3af;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}

.footer-bottom p:first-child {
  font-weight: 500;
  color: #d1d5db;
}

/* Scroll to Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: #e93a3a;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background-color: #d32f2f;
}

@media (max-width: 600px) {
  #scrollToTopBtn {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about h3 {
        justify-content: center;
    }
}
