/* ============================================
   Phoenix European Motors - Stylesheet
   ============================================ */

:root {
  --green-dark: #1B3A2D;
  --green-darker: #152e23;
  --gold: #C5A55A;
  --gold-light: #d4b96e;
  --cream: #F5F2ED;
  --white: #ffffff;
  --text-light: #c8c4be;
  --text-dark: #2c2c2c;
  --text-muted: #6b6b6b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Label ---- */
#about {
  scroll-margin-top: 190px;
}

#services {
  scroll-margin-top: 100px;
}

#contact {
  scroll-margin-top: 140px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  background-color: var(--green-dark);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: -20px;
}

.logo-img {
  width: 148px;
  height: 148px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--white);
  align-self: flex-end;
  margin-bottom: 16px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* Mobile nav icons */
.nav-mobile-icons {
  display: none;
  gap: 20px;
  align-items: center;
}

.nav-mobile-icon {
  color: var(--gold);
  transition: color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.icon-circle {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile-icon svg {
  width: 18px;
  height: 18px;
}

.nav-mobile-icon span {
  font-size: 0.5rem;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.nav-mobile-icon:hover {
  color: var(--gold-light);
}

.hero-phone {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--white);
  text-align: center;
  margin-top: 20px;
  transition: color 0.3s;
}

.hero-phone:hover {
  color: var(--gold);
}

.hero-call-mobile {
  display: none;
}

.hero-srm {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 8px;
  text-align: center;
}

.hero-independent {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 10px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-divider .divider-line {
  width: 50px;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.4;
}

.hero-divider .divider-diamond {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  transform: rotate(45deg);
  opacity: 0.5;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background-color: var(--green-dark);
  padding: 80px 24px 160px;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  padding-top: 0;
}

.hero-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 30px;
}

.hero-label .line {
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.5;
}

.hero h1 {
  font-size: 4.2rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-brands {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--text-light);
  margin-bottom: 36px;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 44px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--cream);
  color: var(--green-dark);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.scroll-arrow:hover {
  transform: translateY(4px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--green-dark);
}

.btn-gold:hover {
  background-color: var(--gold-light);
}

.btn-outline {
  border: 1.5px solid var(--text-light);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--white);
}

/* ============================================
   Values
   ============================================ */
.values {
  background-color: var(--green-dark);
  padding: 60px 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 20px 30px;
}

.value-item-border {
  border-left: 1px solid rgba(197, 165, 90, 0.3);
  border-right: 1px solid rgba(197, 165, 90, 0.3);
}

.value-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}

.value-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
}

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

  .value-item-border {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(197, 165, 90, 0.3);
    border-bottom: 1px solid rgba(197, 165, 90, 0.3);
  }
}

/* ============================================
   About
   ============================================ */
.about {
  padding: 90px 24px;
  text-align: center;
  background-color: var(--cream);
}

.about h2 {
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: 80px 24px 100px;
  text-align: center;
  background-color: var(--white);
  border-top: 1px solid #e8e4df;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.divider-line {
  display: inline-block;
  width: 60px;
  height: 1.5px;
  background-color: var(--gold);
  opacity: 0.6;
}

.divider-diamond {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

.section-label-bottom {
  margin-top: 48px;
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: none;
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 28px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background-color: var(--green-dark);
  padding: 80px 24px 90px;
  text-align: center;
  color: var(--white);
}

.section-divider-light .divider-line {
  background-color: var(--gold);
  opacity: 0.4;
}

.section-divider-light .divider-diamond {
  background-color: var(--gold);
  opacity: 0.5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-map {
  width: 100%;
  height: 370px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197, 165, 90, 0.3);
}

.contact-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-info .contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--white);
  font-weight: 400;
  line-height: 1.4;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

.contact-info a {
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--white);
}

.contact-divider {
  width: 50px;
  height: 2px;
  background-color: var(--gold);
  opacity: 0.4;
  margin: 26px 0;
}

.get-directions-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.get-directions-link:hover {
  color: var(--gold-light);
}

.map-section {
  display: none;
}

.contact-map-desktop {
  width: 100%;
  height: 370px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197, 165, 90, 0.3);
}

.map-section .contact-map {
  margin-top: 30px;
  height: 350px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#map-section {
  scroll-margin-top: 100px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--green-darker);
  padding: 24px;
  text-align: center;
}

.footer-tagline {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-top: 12px;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.footer .disclaimer {
  margin-top: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  line-height: 1.6;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  ::-webkit-scrollbar { display: none; }
  * { scrollbar-width: none; }

  .nav-links {
    display: none;
  }

  .nav-mobile-icons {
    display: flex;
  }

  .logo-img {
    width: 132px;
    height: 132px;
  }

  .navbar {
    padding: 6px 0;
  }

  .nav-logo {
    margin-left: 15px;
    margin-top: -10px;
  }

  .nav-mobile-icons {
    margin-right: 20px;
    margin-top: -40px;
  }

  .hero {
    padding: 55px 24px 60px;
    min-height: 100vh;
  }

  .hero-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-brands {
    font-size: 0.8rem;
    letter-spacing: 3px;
    white-space: nowrap;
  }

  .about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about .section-divider {
    margin-bottom: 28px;
  }

  .hero-phone {
    display: none;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .hero-call-mobile {
    display: block;
    margin-top: 20px;
    text-align: center;
  }

  .hero-call-mobile .section-divider {
    margin-bottom: 8px;
  }

  .hero-call-mobile .divider-line {
    width: 35px;
  }

  .hero-call-mobile .divider-diamond {
    width: 6px;
    height: 6px;
  }

  .hero-call-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 6px;
  }

  .hero-call-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
  }

  #about {
    scroll-margin-top: 50px;
  }

  #services {
    scroll-margin-top: 120px;
  }

  #contact {
    scroll-margin-top: 50px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .service-card {
    padding: 12px 8px;
  }

  .service-card h3 {
    font-size: 0.9rem;
  }

  .services {
    padding: 60px 2px 80px;
    min-height: 100vh;
  }

  .services .container {
    padding: 0 4px;
  }

  .services-grid {
    gap: 5px;
    max-width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact {
    min-height: 100vh;
  }

  .contact-map-desktop {
    display: none;
  }

  .map-section {
    display: block;
    text-align: center;
    margin-top: 200px;
  }

  .contact-info {
    order: -1;
    margin-top: -20px;
  }

  .map-section .contact-map {
    height: 300px;
    margin: 20px auto 0;
    width: calc(100% - 30px);
  }

  #map-section {
    scroll-margin-top: 160px;
  }

  .about h2,
  .services h2,
  .contact h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}
