/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* ===== Colors ===== */
:root {
  --red: #CC0400;
  --red-dark: #990300;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #1a1a2e;
  --gray-light: #f5f5f5;
  --gray: #666;
  --overlay: rgba(0, 0, 0, 0.64);
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--gray {
  background: var(--gray-light);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--white);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

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

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo img {
  height: 50px;
  width: auto;
}

.nav__logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

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

.nav__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.3s !important;
}

.nav__cta:hover {
  background: var(--red-dark) !important;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  min-width: 220px;
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav__dropdown:hover .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.nav__dropdown-menu a:hover {
  background: var(--red);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Mobile Nav */
@media (max-width: 968px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    gap: 0;
  }
  .nav__links.active { display: flex; }
  .nav__links a {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
  .nav__dropdown:hover .nav__dropdown-menu {
    display: block;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero--small {
  height: 45vh;
  min-height: 300px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero__subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero__tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero__title { font-size: 2.25rem; }
  .hero__tagline { font-size: 1.25rem; }
  .hero { height: 70vh; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

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

.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(204, 4, 0, 0.4);
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn--large {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
}

/* ===== Content Sections ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .content-block {
    grid-template-columns: 1fr;
  }
  .content-block--reverse {
    direction: ltr;
  }
}

.content-block__text h2 {
  margin-bottom: 1.5rem;
  color: var(--red);
}

.content-block__text h3 {
  margin-bottom: 1rem;
}

.content-block__img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.content-block__img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--red);
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--red);
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--red);
}

/* ===== Project Gallery ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: var(--white);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card__img {
  height: 250px;
  overflow: hidden;
}

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

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

.project-card__body {
  padding: 1.5rem;
}

.project-card__body h3 {
  margin-bottom: 0.75rem;
  color: var(--red);
}

.project-card__body p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Photo Gallery */
.gallery-section h3 {
  margin-bottom: 1.5rem;
  color: var(--red);
  font-size: 1.75rem;
}

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

.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--red);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__item .icon {
  font-size: 1.5rem;
  color: var(--red);
  flex-shrink: 0;
}

.contact-info__item p {
  margin: 0;
}

.contact-info__item a {
  color: var(--red);
  font-weight: 600;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ===== Numbered List ===== */
.numbered-list {
  counter-reset: item;
  margin: 1.5rem 0;
}

.numbered-list li {
  counter-increment: item;
  padding: 0.75rem 0 0.75rem 3rem;
  position: relative;
  font-size: 1.05rem;
}

.numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--red);
  font-size: 1.25rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-banner h2 {
  margin-bottom: 1.5rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ===== Utility ===== */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
