/* ====== VARIABLES & RESET ====== */
:root {
  --red: #C82020;
  --red-dark: #a01a1a;
  --red-glow: rgba(200, 32, 32, 0.3);
  --charcoal: #2A2A2A;
  --dark: #1a1a1a;
  --gray: #CACACA;
  --gray-light: #f5f5f5;
  --white: #FFFFFF;
  --font-heading: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 4px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 60px rgba(0,0,0,0.2);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

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

/* ====== SECTION HEADERS ====== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header.light h2,
.section-header.light p {
  color: var(--white);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--red-glow);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 3px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white);
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%);
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

.hero-logo {
  width: 220px;
  max-width: 50vw;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(200, 32, 32, 0.3));
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(26,26,26,0.6), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ====== ABOUT ====== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-text .section-tag {
  display: block;
  margin-bottom: 12px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--red);
  letter-spacing: 1px;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ====== SERVICES ====== */
.services {
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 32, 32, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ====== WHY US ====== */
.why-us {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--red);
  transform: translateY(-4px);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.why-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ====== PROJECTS ====== */
.projects {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

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

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-info {
  padding: 20px 24px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.project-info p {
  color: #888;
  font-size: 0.9rem;
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: var(--gray-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--red);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #999;
}

/* ====== CTA BANNER ====== */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  left: -10%;
  top: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== CONTACT ====== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--gray-light);
  padding: 40px;
  border-radius: var(--radius);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--gray-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.info-card:hover {
  background: #eee;
}

.info-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 32, 32, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.info-card a {
  color: var(--red);
  font-weight: 500;
}

.info-card a:hover {
  text-decoration: underline;
}

.info-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
}

.footer-logo img,
.footer-logo-img {
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ====== ANIMATIONS ====== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== FORM SUCCESS ====== */
.form-success {
  text-align: center;
  padding: 40px;
}

.form-success svg {
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-success p {
  color: #666;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .services-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-badge {
    bottom: -10px;
    right: 10px;
    padding: 16px;
  }

  .exp-number {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Hero */
  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stat {
    padding: 12px 0;
  }

  .stat:not(:last-child) {
    border-bottom: 1px solid var(--gray);
  }
}
