/* =========================================
   VVA Infras - HOME PAGE CSS
   ======================================== */

/* ========== 1. RESET & VARIABLES ========== */
:root {
  --primary-navy: #002147;
  --primary-gold: #C5A059;
  --text-dark: #333333;
  --text-light: #777777;
  --bg-white: #FFFFFF;
  --bg-light: #F9F9F9;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

/* ========== 2. HEADER ========== */
header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
 
  height: var(--header-height);
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.logo img{
    height: 160px;
    width: auto;
    object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a{
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-gold);
}

.mobile-toggle{
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

@media (max-width: 768px){
  .nav-links{
    display: none;
  }

  .mobile-toggle{
    display: block;
  }
}
/* ========== 3. HERO SECTION ========== */
.hero {
  height: 85vh;
  background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.7)),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  margin-top: 0px;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Hero Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-right: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-filled {
  background: var(--primary-navy);
  color: var(--bg-white);
  border-color: var(--primary-navy);
}

.btn-filled:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-navy);
}

.btn-white-outline {
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.btn-white-outline:hover {
  background: var(--bg-white);
  color: var(--primary-navy);
}

/* ========== 4. SERVICES SECTION ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-navy);
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gold);
  margin: 15px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 20px;
  justify-items: center;
}


.service-card {
  background: var(--bg-white);
  padding: 50px 30px;
  border: 1px solid #eee;
  border-top: 4px solid var(--primary-gold);
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-top-color: var(--primary-navy);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-navy);
  margin-bottom: 20px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  flex-grow: 1;
}

.link-gold {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.link-gold:hover {
  color: var(--primary-navy);
}

/* ========== WHY CHOOSE US ========== */
.why-choose-container {
    background: var(--bg-light);
    padding: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.why-card {
    background: var(--bg-white);
    padding: 45px 30px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(197,160,89,0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), #D4B085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotateY(180deg);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .why-choose-container {
        padding: 60px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
}


/* ========== 5. FOOTER ========== */
footer {
  background: #d2d0d0;
  color: var(--bg-white);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-image{
  height: 150px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: black;
  margin-top: 15px;
  line-height: 1.7;
}

.footer-col-links h4 {
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col-links li, .footer-col-links p {
  list-style: none;
}

.footer-col-links li, .footer-col-links p {
  margin-bottom: 12px;
  color: black;
}

.footer-col-links a {
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col-links a:hover {
  color: var(--primary-gold);
}
.copyright {
  text-align: center;
  color: black;
  font-size: 0.85rem;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid #444;
}

/* ========== 6. RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .container {
    padding: 60px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .btn {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 columns desktop */
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 columns tablet */
    gap: 25px;
  }

}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;  /* 1 column mobile */
    gap: 25px;
  }
}
