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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Header styles */
/* Base Styles & Variables */
  :root {
    --primary: #e63946;
    --secondary: #1d3557;
    --accent: #f1faee;
    --dark: #2b2d42;
    --light: #f9f9f9;
    --transition: 0.3s ease;
    --border-radius: 4px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --header-height: 80px;
  }

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

  /* Header Container */
  .tire-shop-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--light);
    box-shadow: var(--shadow);
  }

  .header-container {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
  }

  /* Logo Styles */
  .logo-wrapper {
    padding-right: 30px;
    position: relative;
  }

  .logo-wrapper::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: #ddd;
  }

  .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
  }

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

  .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
    letter-spacing: -0.5px;
  }

  /* Desktop Navigation */
  .desktop-nav {
    margin-left: 20px;
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: block;
    text-decoration: none;
    color: var(--dark);
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 15px;
    transition: var(--transition);
    border-radius: var(--border-radius);
  }

  .nav-link:hover {
    background-color: rgba(29, 53, 87, 0.05);
    color: var(--primary);
  }

  .nav-item.active .nav-link {
    color: var(--primary);
    font-weight: 600;
  }

  .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
  }

  /* Header Actions */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
  }

  .contact-info {
    gap: 8px;
    padding: 0;
    border-right: 1px solid #ddd;
  }
  
  .phone-icon {
    font-size: 1.2rem;
    color: var(--primary);
  }

  .phone-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: var(--secondary);
  }

  .appointment-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
  }

  .appointment-btn:hover {
    background-color: #d32836;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
  }

  /* Mobile Toggle */
  .mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }

  .toggle-line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: var(--transition);
  }

  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--light);
    padding: 80px 30px 30px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
  }

  .close-menu:hover {
    background-color: rgba(29, 53, 87, 0.1);
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav-item {
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
  }

  .mobile-nav-link {
    display: block;
    text-decoration: none;
    color: var(--dark);
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 0;
    transition: var(--transition);
  }

  .mobile-nav-item.active .mobile-nav-link {
    color: var(--primary);
    font-weight: 600;
  }

  .mobile-contact {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: center;
  }

  .mobile-phone {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 15px;
  }

  .mobile-appointment-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    width: 100%;
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-appointment-btn:hover {
    background-color: #d32836;
  }

  /* Responsive Styles */
  @media (max-width: 1024px) {
    .header-container {
      grid-template-columns: auto 1fr auto;
    }
    
    .desktop-nav .nav-link {
      padding: 8px 10px;
      font-size: 0.9rem;
    }
    
    .contact-info {
      display: none;
    }
  }

  @media (max-width: 1279px) {
    .header-container {
      grid-template-columns: auto 1fr auto;
      height: 70px;
    }
    
    .desktop-nav {
      display: none;
    }
    
    .mobile-toggle {
      display: flex;
    }
    
    .phone-header {
     display: none;
    }
    
    .header-actions {
      margin-left: auto;
    }
    
    .appointment-btn {
      display: none;
    }
    
    .logo-text {
      font-size: 1.3rem;
    }
    
    .logo-wrapper::after {
      display: none;
    }
  }

/* Footer styles */
/* Footer Main Styles */
  .footer-main {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #f2f2f2;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
  }
  
  .footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ff4d00, #ff7700, #ff4d00);
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
  }
  
  /* Section Styles */
  .footer-section {
    position: relative;
  }
  
  .footer-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff6b00;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff6b00;
    border-radius: 2px;
  }
  
  .footer-subheading {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #e0e0e0;
  }
  
  /* Contact Section */
  .footer-contact-info {
    margin-bottom: 20px;
  }
  
  .footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }
  
  .footer-contact-item i {
    margin-right: 10px;
    color: #ff6b00;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
  }
  
  .footer-hours-item {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #cccccc;
  }
  
  /* Navigation Links */
  .footer-nav-list,
  .footer-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-nav-item,
  .footer-services-item {
    margin-bottom: 12px;
    position: relative;
  }
  
  .footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
  }
  
  .footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff6b00;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .footer-link:hover {
    color: #ff6b00;
    transform: translateX(5px);
  }
  
  .footer-link:hover::before {
    background-color: #ff6b00;
    box-shadow: 0 0 8px #ff6b00;
  }
  
  /* Newsletter Section */
  .footer-newsletter-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #cccccc;
  }
  
  .footer-newsletter-cta {
    margin-bottom: 25px;
  }
  
  .footer-newsletter-button {
    display: inline-block;
    background-color: #ff6b00;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
  }
  
  .footer-newsletter-button:hover {
    background-color: #ff8c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.3);
  }
  
  /* Social Media */
  .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
  }
  
  .footer-section-newsletter {
    max-width: 400px;
    width: 100%;
  }
  
  .footer-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .footer-social-item:hover {
    background-color: #ff6b00;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
  }
  
  /* Footer Bottom */
  .footer-bottom {
    background-color: #111111;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-legal {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-legal-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
  }
  
  .footer-legal-link:hover {
    color: #ff6b00;
  }
  
  .footer-copyright {
    color: #777777;
    font-size: 0.85rem;
    margin: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .footer-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px 30px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-container {
      gap: 40px;
      padding: 50px 20px 30px;
      flex-direction: column;
    }
    
    .footer-section {
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-section:last-child {
      border-bottom: none;
    }
    
    .footer-heading {
      font-size: 1.3rem;
    }
    
    .footer-bottom-container {
      flex-direction: column;
    }
    
    .footer-legal {
      flex-direction: column;
      gap: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .footer-container {
      padding: 40px 15px 20px;
    }
    
    .footer-heading {
      font-size: 1.2rem;
    }
    
    .footer-newsletter-button {
      width: 100%;
      text-align: center;
      padding: 12px 0;
    }
    
    .footer-social {
      justify-content: center;
    }
  }


/* Cookie Banner styles */
.tire-cookie-notification {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #2a2a2a !important;
    color: #ffffff;
    z-index: 9999 !important;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2) !important;
  }

  .tire-cookie-container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column;
  }

  .tire-cookie-message {
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .tire-cookie-message a {
    color: #ff5722;
    text-decoration: underline;
  }

  .tire-cookie-buttons {
    display: flex !important;
    gap: 15px;
    justify-content: flex-end;
  }

  .tire-cookie-btn {
    padding: 10px 20px !important;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .tire-cookie-accept {
    background-color: #ff5722 !important;
    color: white;
  }

  .tire-cookie-accept:hover {
    background-color: #e64a19 !important;
  }

  .tire-cookie-reject {
    background-color: #e0e0e0 !important;
    color: #333333;
  }

  .tire-cookie-reject:hover {
    background-color: #c0c0c0 !important;
  }

  @media (min-width: 768px) {
    .tire-cookie-container {
      flex-direction: row !important;
      align-items: center;
      justify-content: space-between;
    }

    .tire-cookie-message {
      margin: 0 20px 0 0;
      flex: 1;
    }

    .tire-cookie-buttons {
      flex-shrink: 0;
    }
  }