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

:root {
  --primary-color: #245880;
  --secondary-color: #fea609;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

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

/* ========================
   Utilities
   ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #1a4460;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 88, 128, 0.3);
}

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

.btn-secondary:hover {
  background-color: #e59808;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 166, 9, 0.3);
}

.section {
  padding: 80px 0;
}

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

/* ========================
   Header
   ======================== */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 8px rgba(36, 88, 128, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.language-switcher:hover {
  border-color: var(--primary-color);
  background-color: var(--white);
}

.flag {
  font-size: 1.2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.flag.active {
  opacity: 1;
}

.lang-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ========================
   Hero Section
   ======================== */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, #245880 0%, #1a4460 100%);
  background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
    linear-gradient(135deg, #245880 0%, #1a4460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: url(/images/car-showroom.webp);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgb(0 0 0 / 58%) 0%, #00000080 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease;
}

.hero-btn {
  font-size: 1.1rem;
  padding: 15px 40px;
  animation: fadeInUp 1.2s ease;
}

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

/* ========================
   Page Hero
   ======================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4460 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin: 0;
}

/* ========================
   Home Page Sections
   ======================== */
.intro-section {
  background-color: var(--bg-light);
}

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(36, 88, 128, 0.15);
  border-color: var(--secondary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.cta-section {
  background: #0c2a41;
  color: var(--white);
  text-align: center;
}

.cta-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-btn {
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* ========================
   About Page
   ======================== */
.about-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
}

.values-section {
  background-color: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.value-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(36, 88, 128, 0.15);
}

.value-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

.experience-section {
  background-color: var(--white);
}

.experience-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
}

.cta-text-about {
  max-width: 800px;
  margin: 2rem auto 0;
  font-size: 1rem;
  color: var(--primary-color);
  text-align: center;
  font-weight: 500;
}

/* ========================
   Services Page
   ======================== */
.services-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
}

.services-detail-section {
  background-color: var(--bg-light);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-detail-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary-color);
}

.service-detail-card img {
    border-radius: 10px;
}

.service-icon img {
    border-radius: 10px;
}


.service-detail-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(36, 88, 128, 0.15);
}

.service-detail-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-detail-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-detail-desc {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

.services-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4460 100%);
  color: var(--white);
}

.services-cta-content {
  text-align: center;
}

.services-cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.services-cta-content .btn {
  font-size: 1.1rem;
  padding: 15px 40px;
}

.flag img {
    width: 23px;
}

/* ========================
   Contact Page
   ======================== */
.contact-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
}

.contact-content-section {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form .btn {
  margin-top: 1rem;
}

.map-section {
  background-color: var(--white);
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ========================
   Legal Pages
   ======================== */
.legal-page {
  min-height: 60vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--bg-light);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.logo-text img {
    width: 200px;
}

/* ========================
   Footer
   ======================== */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 0;
}

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

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-ico {
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================
   Responsive Design
   ======================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 1.5rem;
  }

  .nav.active {
    right: 0;
  }

  .logo-text {
    display: none;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
  }

  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-title,
  .services-cta-content h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
