/* ROYAL AUTO 99 GROUP - STYLE.CSS */

:root{
  --bg:#07090f;
  --bg2:#101522;
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.12);
  --line:rgba(255,255,255,.12);
  --text:#f5f7fb;
  --muted:#aeb7c8;
  --gold:#d8a23a;
  --red:#c51f2f;
  --green:#31d178;
  --shadow:0 20px 60px rgba(0,0,0,.4);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(197,31,47,.18), transparent 35%),
    radial-gradient(circle at top right, rgba(216,162,58,.14), transparent 35%),
    linear-gradient(180deg,var(--bg),#05060a);
  color:var(--text);
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

ul{
  list-style:none;
}

.container{
  width:min(1180px,92%);
  margin:auto;
}

/* HEADER */

.site-header,
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background:rgba(7,9,15,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
  transition:.25s;
}

.nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.logo img{
  width:170px;
  height:auto;
}

.main-nav ul,
nav ul{
  display:flex;
  align-items:center;
  gap:26px;
}

.main-nav a,
nav a{
  color:var(--muted);
  font-weight:700;
  font-size:15px;
  position:relative;
  transition:.25s;
}

.main-nav a::after,
nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,var(--red),var(--gold));
  transition:.25s;
}

.main-nav a:hover,
.main-nav a.active,
nav a:hover,
nav a.active{
  color:var(--gold);
}

.main-nav a:hover::after,
.main-nav a.active::after,
nav a:hover::after,
nav a.active::after{
  width:100%;
}

.phone-btn{
  padding:14px 22px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--red),var(--gold));
  color:#fff;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 10px 30px rgba(197,31,47,.35);
  transition:.25s;
}

.phone-btn:hover{
  transform:translateY(-3px);
}

.mobile-btn{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}

/* GENERAL */

main{
  min-height:70vh;
}

section{
  padding:90px 0;
}

.section-title{
  text-align:center;
  margin-bottom:52px;
}

.section-title h2{
  font-size:clamp(34px,4vw,54px);
  margin-bottom:16px;
}

.section-title p{
  max-width:760px;
  margin:auto;
  color:var(--muted);
  line-height:1.8;
}

.section-label{
  display:inline-block;
  margin-bottom:14px;
  color:var(--gold);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* HERO */

.hero{
  min-height:100vh;
  padding-top:150px;
  display:flex;
  align-items:center;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:50px;
  align-items:center;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--muted);
  margin-bottom:24px;
  backdrop-filter:blur(12px);
}

h1{
  font-size:clamp(44px,6vw,78px);
  line-height:1;
  margin-bottom:24px;
  letter-spacing:-2px;
}

h1 span{
  background:linear-gradient(135deg,var(--gold),#fff,var(--red));
  -webkit-background-clip:text;
  color:transparent;
}

.hero p{
  color:var(--muted);
  line-height:1.8;
  font-size:18px;
  margin-bottom:34px;
  max-width:680px;
}

.actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

/* BUTTONS */

.btn{
  padding:16px 26px;
  border-radius:16px;
  font-weight:900;
  border:1px solid var(--line);
  transition:.25s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--red),var(--gold));
  color:#fff;
  box-shadow:0 10px 35px rgba(197,31,47,.3);
}

.btn-secondary{
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(12px);
}

.btn:hover{
  transform:translateY(-3px);
}

/* HERO IMAGE */

.hero-image{
  position:relative;
  border-radius:34px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:540px;
}

.floating{
  position:absolute;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(7,9,15,.82);
  border:1px solid var(--line);
  backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  font-weight:700;
}

.f1{
  top:24px;
  left:24px;
}

.f2{
  bottom:24px;
  right:24px;
}

/* PAGE HERO */

.page-hero{
  padding:150px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(197,31,47,.22), transparent 35%),
    radial-gradient(circle at top right, rgba(216,162,58,.16), transparent 35%);
}

.page-hero h1{
  max-width:850px;
}

.page-hero p{
  color:var(--muted);
  line-height:1.8;
  font-size:18px;
  max-width:760px;
}

.breadcrumb{
  margin-bottom:24px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.breadcrumb a:hover{
  color:var(--gold);
}

/* GRID / CARDS */

.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.grid.two{
  grid-template-columns:repeat(2,1fr);
}

.grid.three{
  grid-template-columns:repeat(3,1fr);
}

.grid.four{
  grid-template-columns:repeat(4,1fr);
}

.card{
  padding:28px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:.25s;
}

.card:hover{
  transform:translateY(-6px);
  border-color:rgba(216,162,58,.4);
}

.icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--red),var(--gold));
  margin-bottom:20px;
  font-size:24px;
}

.card h3{
  margin-bottom:14px;
  font-size:22px;
}

.card p{
  color:var(--muted);
  line-height:1.7;
}

/* ABOUT */

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.about-image img,
.image-card img{
  border-radius:30px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.about-content h2,
.content-block h2{
  font-size:clamp(34px,4vw,54px);
  margin-bottom:22px;
}

.about-content p,
.content-block p{
  color:var(--muted);
  line-height:1.9;
  margin-bottom:24px;
}

.about-points,
.check-list{
  display:grid;
  gap:18px;
}

.about-points div,
.check-list li{
  padding:18px 20px;
  border-radius:20px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
}

.about-points strong{
  display:block;
  margin-bottom:8px;
}

.about-points span,
.check-list li{
  color:var(--muted);
  line-height:1.7;
}

/* CTA / TRUST */

.trust-box,
.cta-box{
  padding:50px;
  border-radius:34px;
  background:
    linear-gradient(135deg,rgba(197,31,47,.75),rgba(216,162,58,.65));
  box-shadow:var(--shadow);
}

.trust-box h2,
.cta-box h2{
  font-size:clamp(32px,4vw,52px);
  margin-bottom:18px;
}

.trust-box p,
.cta-box p{
  line-height:1.8;
  max-width:760px;
}

.trust-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:40px;
}

.stat-card{
  padding:24px;
  border-radius:24px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.2);
  text-align:center;
}

.stat-card strong{
  display:block;
  font-size:42px;
  margin-bottom:8px;
}

.cta-actions{
  display:flex;
  gap:16px;
  margin-top:30px;
  flex-wrap:wrap;
}

/* CARS PAGE */

.filters{
  padding:24px;
  border-radius:24px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  margin-bottom:35px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  align-items:center;
}

.filters input,
.filters select,
.form input,
.form textarea,
.form select{
  width:100%;
  min-height:52px;
  padding:15px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.22);
  color:#fff;
  outline:none;
}

.filters option{
  color:#111;
}

.filters input::placeholder,
.form input::placeholder,
.form textarea::placeholder{
  color:#8d96a8;
}

.cars-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}

.car-card{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:.3s;
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.car-card:hover{
  transform:translateY(-8px);
  border-color:rgba(216,162,58,.35);
}

.car-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  background:#111;
}

.car-info{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.car-info h3{
  font-size:24px;
  margin-bottom:10px;
}

.car-meta{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin:18px 0 20px;
  color:var(--muted);
  font-size:14px;
}

.price{
  font-size:28px;
  font-weight:900;
  color:var(--gold);
  margin-bottom:20px;
}

.car-info .btn{
  margin-top:auto;
}

/* CONTACT / LOCATION */

.location-grid,
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:start;
}

.contact-list{
  margin-top:24px;
}

.contact-list li{
  margin:14px 0;
  color:var(--muted);
  line-height:1.7;
}

.map-card{
  border-radius:30px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.map-card iframe{
  width:100%;
  height:420px;
  border:0;
}

.form{
  padding:30px;
  border-radius:26px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  display:grid;
  gap:16px;
}

.form textarea{
  min-height:140px;
  resize:vertical;
}

/* FAQ */

.faq-list{
  display:grid;
  gap:16px;
  max-width:900px;
  margin:auto;
}

.faq-item{
  padding:24px;
  border-radius:22px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
}

.faq-item h3{
  margin-bottom:10px;
}

.faq-item p{
  color:var(--muted);
  line-height:1.8;
}

/* BLOG */

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.blog-card{
  border-radius:26px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:.25s;
}

.blog-card:hover{
  transform:translateY(-6px);
}

.blog-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.blog-content{
  padding:24px;
}

.blog-content h3{
  font-size:22px;
  margin-bottom:12px;
}

.blog-content p{
  color:var(--muted);
  line-height:1.7;
  margin-bottom:18px;
}

/* FOOTER */

.site-footer,
footer{
  padding:60px 0;
  border-top:1px solid var(--line);
  background:#05060a;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:30px;
}

footer h2,
footer h3{
  margin-bottom:16px;
}

footer p,
footer li{
  color:var(--muted);
  line-height:1.9;
}

footer ul{
  display:grid;
  gap:10px;
}

footer a:hover{
  color:var(--gold);
}

/* JS MOBILE MENU + ANIMATIONS */

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:.7s ease;
}

.reveal.revealed{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */

@media(max-width:1100px){

  .grid,
  .grid.four,
  .cars-grid,
  .blog-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .filters{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:950px){

  .hero-grid,
  .about-grid,
  .location-grid,
  .contact-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .trust-stats{
    grid-template-columns:1fr;
  }

  nav,
  .main-nav{
    display:none;
  }

  .phone-btn{
    display:none;
  }

  .mobile-btn{
    display:block;
  }

  .main-nav.nav-open,
  nav.nav-open{
    display:block;
    position:absolute;
    top:82px;
    left:4%;
    right:4%;
    padding:22px;
    border-radius:24px;
    background:rgba(7,9,15,.96);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }

  .main-nav.nav-open ul,
  nav.nav-open ul{
    display:grid;
    gap:18px;
  }

  body.menu-open{
    overflow:hidden;
  }

  .hero{
    padding-top:130px;
  }

  .page-hero{
    padding-top:130px;
  }

  h1{
    font-size:52px;
  }

  .hero-image img{
    min-height:420px;
  }

}

@media(max-width:700px){

  .grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .cars-grid,
  .blog-grid,
  .filters{
    grid-template-columns:1fr;
  }

  section{
    padding:70px 0;
  }

  .trust-box,
  .cta-box{
    padding:32px;
  }

  h1{
    font-size:42px;
  }

  .section-title h2,
  .about-content h2{
    font-size:38px;
  }

  .btn{
    width:100%;
  }

  .actions,
  .cta-actions{
    flex-direction:column;
  }

  .logo img{
    width:145px;
  }

  .floating{
    font-size:14px;
    padding:12px 14px;
  }

  .car-card img{
    height:220px;
  }

}