/* =========================================
   OLD PUEBLO TECHNOLOGIES - MASTER STYLES
   ========================================= */

:root{
  --bg-dark:#071018;
  --nav-dark:#0c1a26;
  --card-bg:#132331;
  --accent:#c8a24d;
  --text-light:#d6dde6;
  --muted:#9fb3c8;
  --white:#ffffff;
}

/* =========================================
   GLOBAL RESET
   ========================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:var(--bg-dark);
  color:var(--text-light);
  font-family:"Segoe UI", Arial, Helvetica, sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================================
   NAVIGATION
   ========================================= */

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1.6rem 3.5rem;
  background:var(--nav-dark);
  position:sticky;
  top:0;
  z-index:1000;
}

nav .logo a{
  font-size:1.6rem;
  font-weight:600;
  color:var(--text-light);
  letter-spacing:.5px;
}

nav ul{
  display:flex;
  list-style:none;
  gap:2.5rem;
  align-items:center;
}

nav ul li a{
  color:var(--accent);
  font-size:1.05rem;
  font-weight:500;
  transition:.2s ease;
}

nav ul li a:hover{
  opacity:.8;
}

.support-btn{
  background:var(--accent);
  color:#000 !important;
  padding:.8rem 1.6rem;
  border-radius:8px;
  font-weight:600;
}

/* =========================================
   HERO
   ========================================= */

.hero{
  min-height:720px;
  padding:6rem 0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
}

/* Background Image Layer */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url('../img/tucson-circuit-bg.jpg');
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
  filter:brightness(1.1);
  z-index:0;
}

/* Dark Overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.65) 60%,
    #071018 100%
  );
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:950px;
  padding:0 20px;
}

.hero h1{
  font-size:3rem;
  font-weight:600;
  margin-bottom:1.2rem;
  line-height:1.3;
}

.hero .accent{
  color:var(--accent);
  font-weight:600;
  font-size:1.4rem;
  margin-bottom:1rem;
}

.hero p{
  font-size:1.25rem;
  margin-bottom:1.4rem;
}

.hero-logo{
  position:absolute;
  top:40px;
  left:60px;
  z-index:3;
  opacity:.9;
}

.hero-logo img{
  width:160px;
  height:auto;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn{
  display:inline-block;
  background:var(--accent);
  color:#000;
  padding:1rem 2rem;
  border-radius:8px;
  font-weight:600;
  margin-top:1.5rem;
  transition:.25s ease;
}

.btn:hover{
  opacity:.9;
}

/* =========================================
   SECTION LAYOUT
   ========================================= */

.section{
  padding:6rem 10%;
}

.section h2{
  font-size:2.4rem;
  margin-bottom:2.5rem;
}

.cards{
  display:flex;
  gap:2.5rem;
  flex-wrap:wrap;
}

.card{
  flex:1;
  min-width:280px;
  background:var(--card-bg);
  padding:2.5rem;
  border-radius:14px;
  transition:.25s ease;
  display:block;
  cursor:pointer;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}

.card h3{
  color:var(--accent);
  margin-bottom:1rem;
  font-size:1.3rem;
}

.card p{
  font-size:1.05rem;
}

/* =========================================
   ABOUT GRID
   ========================================= */

.about-wrapper{
  display:grid;
  grid-template-columns:0.9fr 1.6fr;
  gap:4rem;
  align-items:start;
}

.profile-card{
  background:var(--card-bg);
  padding:2.5rem;
  border-radius:14px;
  text-align:center;
}

.profile-card img{
  width:70%;
  border-radius:10px;
  margin-bottom:1.5rem;
}

.profile-card p{
  color:var(--muted);
}

/* =========================================
   REVIEWS LINK
   ========================================= */

.reviews-link{
  margin-top:18px;
  font-size:0.95rem;
}

.reviews-link a{
  color:var(--muted);
  font-weight:500;
  letter-spacing:0.3px;
  transition:.2s ease;
}

.reviews-link a:hover{
  color:var(--white);
  opacity:.85;
}

/* =========================================
   FOOTER
   ========================================= */

footer{
  text-align:center;
  padding:2.5rem;
  border-top:1px solid rgba(255,255,255,.07);
  font-size:.95rem;
  color:var(--muted);
  margin-top:4rem;
}
/* =========================================
   CONSULTATION SECTION
   ========================================= */

.consultation-wrapper{
  display:flex;
  gap:4rem;
  align-items:flex-start;
}

.consultation-info{
  flex:1;
}

.consultation-details{
  margin-top:2rem;
  line-height:1.8;
}

.consultation-form-box{
  flex:1;
  background:var(--card-bg);
  padding:3rem;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,.4);
}

.consultation-form-box h3{
  margin-bottom:2rem;
  font-size:1.6rem;
}

/* FORM STYLING */

.consultation-form-box form{
  display:flex;
  flex-direction:column;
  gap:1.2rem;
}

.form-row{
  display:flex;
  gap:1rem;
}

.consultation-form-box input,
.consultation-form-box textarea,
.consultation-form-box select{
  width:100%;
  padding:1rem 1.2rem;
  background:#0f1f2b;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  color:var(--text-light);
  font-size:1rem;
  transition:.2s ease;
}
.consultation-form-box input:focus,
.consultation-form-box textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(200,162,77,.25);
}

.consultation-form-box textarea{
  resize:vertical;
  min-height:120px;
}

.consultation-form-box button.btn{
  align-self:flex-start;
  cursor:pointer;
}

@media(max-width:900px){
  .consultation-wrapper{
    flex-direction:column;
  }

  .form-row{
    flex-direction:column;
  }
}
/* =========================================
   RESPONSIVE
   ========================================= */

@media(max-width:900px){

  nav{
    padding:1.2rem 2rem;
  }

  nav ul{
    gap:1.2rem;
  }

  .hero{
    min-height:600px;
  }

  .hero h1{
    font-size:2.3rem;
  }

  .hero-logo{
    left:20px;
  }

  .about-wrapper{
    grid-template-columns:1fr;
  }

  .cards{
    flex-direction:column;
  }
}