/* --- Base Variables --- */
:root {
  --bg-deep: #0a0b0f;
  --bg-charcoal: #12141a;
  --accent-red: #e62020;
  --accent-red-glow: rgba(230, 32, 32, 0.4);
  --accent-silver: #c4c6cc;
  --text-main: #f0f2f5;
  --text-muted: #8b909f;
  
  --glass-bg: rgba(18, 20, 26, 0.4);
  --glass-border: rgba(196, 198, 204, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Resets & Globals --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

.text-center {
  text-align: center;
}

.accent {
  color: var(--accent-red);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* --- Background Blobs --- */
.blob-bg {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  animation: float-blob 15s infinite ease-in-out alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-red-glow);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(196, 198, 204, 0.05);
  bottom: -200px;
  left: -200px;
  animation-delay: -5s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.1); }
  100% { transform: translate(-30px, 80px) scale(0.9); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.btn-primary:hover {
  background: #ff2a2a;
  box-shadow: 0 0 30px rgba(255, 42, 42, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--accent-silver);
  color: var(--accent-silver);
}

.btn-outline:hover {
  background: rgba(196, 198, 204, 0.1);
  transform: translateY(-2px);
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-silver);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
  color: var(--accent-red);
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--accent-silver);
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-text h2 {
  font-size: 1.1rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-tire {
  width: 100%;
  max-width: 500px;
  z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6));
  animation: float 6s ease-in-out infinite;
  transition: transform 0.2s ease-out;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Reusable Section Styles --- */
section {
  padding: 5rem 0;
}

.section-title h1,
.section-title h2 {
  font-size: 3rem;
  color: var(--accent-silver);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* --- Welcome --- */
.welcome-text {
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

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

.highlights .glass-card {
  text-align: left;
}

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

.highlights h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.highlights p {
  color: var(--text-muted);
}

/* --- About Us --- */
.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-silver);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-points h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-silver);
}

.about-points ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-points li {
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.about-points li::before {
  content: '→';
  color: var(--accent-red);
  position: absolute;
  left: 0;
  top: 0;
}

.about-points strong {
  color: var(--text-main);
}

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

.service-detail h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-silver);
}

.service-detail p {
  color: var(--text-muted);
}

.service-detail:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 32, 32, 0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

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

.gallery-item {
  padding: 1.5rem;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 32, 32, 0.3);
}

.img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-charcoal);
  aspect-ratio: 3/2;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .img-wrap img {
  transform: scale(1.05);
}

.caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Contact Section --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
}

.contact-info h1 {
  font-size: 2.5rem;
  color: var(--accent-silver);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.nap-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nap-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nap-icon {
  font-size: 1.5rem;
}

.nap-item div {
  color: var(--text-main);
}

.nap-item strong {
  color: var(--accent-silver);
  font-family: var(--font-heading);
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 350px;
  background: var(--bg-charcoal);
  border: 1px solid var(--glass-border);
}


/* --- Footer --- */
footer {
  background: var(--bg-charcoal);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-silver);
}

.footer-brand p {
  color: var(--text-muted);
}

.footer-nap {
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-nap strong {
  color: var(--text-main);
}

.footer-nap a {
  color: var(--accent-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero-content, .about-card, .contact-container {
    grid-template-columns: 1fr;
  }
  
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  
  .hero-text h1 { font-size: 3.5rem; }
  .hero-text h2 { margin: 0 auto 2.5rem; }
  
  .contact-container { padding: 2rem; }
}

@media (max-width: 768px) {
  nav { display: none; }
  .hero-text h1 { font-size: 2.8rem; }
  .detailed-services { grid-template-columns: 1fr; }
}
