/* ===================================================
   PW Krzysztof Mayer — Automotive Website
   Style: Modern, Clean, Professional
   =================================================== */

:root {
  --color-navy:    #0d1b2a;
  --color-navy-2:  #1a2f45;
  --color-orange:  #e8890c;
  --color-orange-2:#f59e0b;
  --color-white:   #ffffff;
  --color-light:   #f4f6f9;
  --color-gray:    #e8ecf0;
  --color-text:    #1e2a35;
  --color-muted:   #5a6a7a;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--color-muted); }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.section-title {
  color: var(--color-navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.btn-primary:hover {
  background: var(--color-orange-2);
  border-color: var(--color-orange-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,137,12,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--color-navy);
  box-shadow: var(--shadow-lg);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-white);
  letter-spacing: -0.3px;
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--color-orange);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.nav-links .btn {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,27,42,0.95) 40%, rgba(26,47,69,0.85) 100%),
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1800&q=80') center/cover no-repeat;
}

.hero-accent {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,137,12,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,137,12,0.15);
  border: 1px solid rgba(232,137,12,0.35);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-orange-2);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 8px;
}
.hero h1 span { color: var(--color-orange); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 36px;
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 500;
}

/* ---- SECTION COMMON ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--color-light); }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  opacity: 0.9;
}

.about-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.about-list li::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(232,137,12,0.12);
  border: 2px solid var(--color-orange);
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23e8890c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ---- SERVICES OVERVIEW ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: rgba(232,137,12,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.service-card h3 {
  color: var(--color-navy);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.93rem; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.service-card-link:hover { gap: 10px; }

/* ---- CAR SALES ---- */
.car-sales-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.car-sales-hero h2 { color: var(--color-white); }
.car-sales-hero p  { color: rgba(255,255,255,0.7); margin-bottom: 28px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-orange);
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  color: var(--color-navy);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.88rem; }

/* ---- MECHANIC ---- */
.mechanic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius);
  transition: var(--transition);
}
.service-item:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow);
}
.service-item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: rgba(232,137,12,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.service-item-body h4 { color: var(--color-navy); margin-bottom: 4px; }
.service-item-body p  { font-size: 0.86rem; }

.mechanic-image {
  position: sticky;
  top: 96px;
}
.mechanic-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.mechanic-note {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--color-navy);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  border-left: 3px solid var(--color-orange);
}

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  transition: var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.why-emoji {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.why-card h3 {
  color: var(--color-navy);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.why-card p { font-size: 0.88rem; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-orange) 0%, #d97706 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 8px; }
.cta-banner p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.cta-banner-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-white {
  background: var(--color-white);
  color: var(--color-orange);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius);
}
.contact-card-icon {
  width: 46px; height: 46px;
  min-width: 46px;
  border-radius: var(--radius);
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-card-body strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.contact-card-body p {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-hours {
  padding: 24px;
  background: var(--color-navy);
  border-radius: var(--radius);
  color: var(--color-white);
}
.contact-hours h4 {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { font-weight: 600; color: rgba(255,255,255,0.9); }

/* CONTACT FORM */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  color: var(--color-navy);
  margin-bottom: 8px;
}
.contact-form-wrap > p {
  margin-bottom: 28px;
  font-size: 0.93rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--color-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232,137,12,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bac5; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--color-orange);
  cursor: pointer;
}
.form-consent label {
  font-size: 0.82rem;
  color: var(--color-muted);
  cursor: pointer;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main { font-size: 1.3rem; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--color-orange); }

/* ---- SCROLL TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-orange-2);
  transform: translateY(-2px);
}

/* ---- ANIMATE ON SCROLL ---- */
.aos {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos.visible {
  opacity: 1;
  transform: translateY(0);
}
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }
.aos-delay-4 { transition-delay: 0.4s; }

/* ---- NOTIFICATION ---- */
.notification {
  position: fixed;
  bottom: 88px; right: 28px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--color-orange);
  transform: translateX(120%);
  transition: var(--transition);
  z-index: 9999;
  max-width: 300px;
}
.notification.show { transform: translateX(0); }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .about-grid,
  .car-sales-hero,
  .mechanic-layout,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .car-sales-hero { padding: 36px 28px; }

  .about-badge { bottom: 16px; right: 16px; }

  .about-image,
  .mechanic-image img { height: 340px; }

  .mechanic-image { position: static; }

  .cta-banner { padding: 40px 28px; }
  .cta-banner-btns { width: 100%; }

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

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-stats { gap: 24px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .nav-links { display: none; flex-direction: column; padding: 16px 0; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .navbar-inner { flex-wrap: wrap; position: relative; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--color-navy);
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { text-align: center; flex-direction: column; }
}
