:root {
  /* COLORS */
  --primary-color: #f4b400;
  --secondary-color: #111111;
  --text-color: #444444;
  --white-color: #ffffff;
  --light-bg: #f8f8f8;
  --border-color: #e5e5e5;

  /* TYPOGRAPHY */
  --font-family: 'Inter', sans-serif;

  --h1-size: 4rem;
  --h2-size: 2.8rem;
  --h3-size: 1.5rem;
  --text-size: 1rem;
  --small-text: 0.9rem;

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;

  /* SPACING */
  --section-padding: 100px;
  --container-width: 1200px;

  /* BORDER RADIUS */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;

  /* SHADOWS */
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.12);

  /* TRANSITIONS */
  --transition: 0.3s ease;

  /* HEADER */
  --header-height: 80px;

  /* Z-INDEX */
  --z-header: 1000;
  --z-overlay: 10;
}

/* --------------------------------------------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--white-color);
  color: var(--secondary-color);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: auto;
}

.section {
  padding: 100px 0;
}

/* HEADER */

.menu {
  position: relative;
  border: none;
  cursor: pointer;
  display: none;
  padding: 0;
  z-index: 2000;

  background: none;
}

.line {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}

.logo h2 {
  color: var(--white-color);
  font-size: var(--h3-size);
  font-weight: var(--font-extra-bold);
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  color: var(--white-color);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* HERO */

.hero {
  height: 100vh;
  position: relative;
  background:
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;

  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    color: var(--white-color); 
    max-width: 700px; 
    margin-left: 0;
}

.hero .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-left: clamp(20px, 6vw, 90px);
}

.tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.85);
}

.hero-buttons {
  display: flex;
  gap: 18px;
}

.btn {
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.primary {
  background: var(--primary-color);
  color: black;
}

.primary:hover {
  transform: translateY(-3px);
}

.secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white-color);
}

.secondary:hover {
  background: var(--white-color);
  color: black;
}

/* SECTION TITLES */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.section-title h2 {
  font-size: 2.7rem;
  margin-top: 12px;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px;
  border-radius: 20px;
  background: var(--light-bg);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* ABOUT */

.about {
  background: #111111;
  color: var(--white-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 20px;
  height: 550px;
  object-fit: cover;
}

.about-content span {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
}

.about-content h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 20px 0;
}

.about-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
}

.about-content ul {
  list-style: none;
}

.about-content li {
  margin-bottom: 14px;
}

/* PROJECTS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  overflow: hidden;
  border-radius: 20px;
}

.project-card img {
  height: 350px;
  object-fit: cover;
  transition: 0.4s;
}

.project-card:hover img {
  transform: scale(1.08);
}

/* CONTACT */

.contact {
  background: var(--primary-color);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-top: 10px;
}

.contact .primary {
  background: black;
  color: var(--white-color);
}

/* FOOTER */

.footer {
  background: #0f0f0f;
  color: #ffffff;
  padding: 80px 0 30px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-col {
    text-align: center;
}

.footer-col h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #f4b400;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #f4b400;
}

.footer-col p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-links p {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.75);
  transition: 0.3s;
}

.footer-links p:hover {
  color: #f4b400;
  cursor: pointer;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  text-align: center;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 10px;

  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;

  transition: 0.3s ease;
  justify-content: center;
}

.social-item i {
  width: 20px;
  text-align: center;
  color: #f4b400;
  transition: 0.3s ease;
}

.social-item:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.social-item:hover i {
  color: #ffffff;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;

    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;

    transition: 0.3s ease;
    animation: pulse 2s infinite;
}

/* ICON */
.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/* HOVER EFFECT */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
  position: absolute;
  right: 75px;
  background: #111;
  color: #fff;

  padding: 6px 12px;
  border-radius: 6px;

  font-size: 12px;
  white-space: nowrap;

  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s ease;

  pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* PULSE ANIMATION */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }

}

/* RESPONSIVE */

@media (max-width: 991px) {

  .hero h1 {
    font-size: 3rem;
  }

  .services-grid,
  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 400px;
  }

  .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {

    .hero {
        padding-left: 0; 
        justify-content: center; 
        text-align: center;
  }

  .hero .container {
    align-items: center;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-content h2,
  .contact h2 {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .menu {
    display: flex;
    align-items: center;
    justify-content: center;

    background: none;
    border: none;

    cursor: pointer;
    z-index: 3000;

    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    }

    .nav {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 10px;
        padding: 18px 0;
     }

     .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
     }

        /* FULL SCREEN NAV */
    .navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;

        background: rgba(11, 15, 20, 0.95);
        backdrop-filter: blur(12px);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;

        transform: translateX(-100%);
        transition: transform 0.4s ease;

        z-index: 2000;

        display: flex;
    }

    /* OPEN STATE */
    .navigation.active {
        transform: translateX(0);
    }

    .navigation a {
        font-size: 22px;
        color: var(--white-color);
        text-decoration: none;
        transition: 0.3s;
    }

    .navigation a:hover {
        color: var(--primary-color);
    }

    .logo {
        text-align: center;
        width: 100%;
    }
}