/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background:#e3e3e3;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar{ 
  display: none;
}

/*::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #e20f0f;

}

::-webkit-scrollbar-thumb:hover {
  background: #960202;
}*/


/* Header section */


header {
  background-color: #e3e3e3;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* Navigation */

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #565d65;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #960202;
  outline: none;
}

/* Hamburger button */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #960202;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive behavior */

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    background: #e3e3e3;
    height: calc(100vh - 60px);
    width: 200px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }
}

/* Hamburger animation when active */

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


#contact {
  position: relative;
  left: 0;
  margin-left: 0;
  width: 100vw;
  background-color: #960202;
  padding: 2rem 1rem;
  box-sizing: border-box;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #e3e3e3;
}


@media (min-width: 768px) {
  #contact {
    left: 0;
    margin-left: 0;
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
  }
}


.brands-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: auto;
}


@media (min-width: 768px) {
  .brands-grid {
    width: 40%;
    max-width: 500px;
  }
}




@media (min-width: 768px) {
  .brands-grid {
    order: 2; /* show on right */
    width: 40%;
    margin-bottom: 0;
  }
}


.brand {
  aspect-ratio: 0.5 / 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.brand img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}




.contact-info {
  flex: 1 1 60%;
  order: 1; /* show first on small screens */
}


@media (max-width: 767px) {
  .contact-info {
    order: 2; /* below grid on small screens */
  }
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info a {
  color: #e3e3e3;
  text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
  text-decoration: underline;
}


.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-weight: 700;
  font-size: 1.2rem;
  color: #e3e3e3;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  background-color: #e20f0f;
  color: white;
  border-color: #e20f0f;
}


footer {
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Playfair Display', Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: #000;
  gap: 0.5rem;
  flex-wrap: wrap;
  text-align: center;
}

footer a {
  color: #e3e3e3;
  text-decoration: 4px underline;
  text-decoration-color: #e20f0f;
  font-weight: 700;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}


.background{
  position: fixed;
  top: 11vh;
  width: 100%;
  height: 100vh;
  z-index: -3;
}

.hard_hat{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}

@media (min-width: 496px){
  .hard_hat{
    width: 70%;
  }
}

@media (min-width: 777px){
  .hard_hat{
    width: 50%;
  }
}

@media (min-width: 1030px){
  .hard_hat{
    width: 55%;
  }
}

.landing {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 4rem 1rem;
  background-color: transparent; 
}

.text-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 2%;
  left: 0;
}

.text-stack h1 {
  font-size: 2.5rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #565d65;
}

.text-stack h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #333;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.text-stack .side-text {
  font-size: 2rem;
  color: #e20f0f;
  font-weight: bold;
  font-family: 'Monoton', Arial, Helvetica, sans-serif;
}

.cta-link {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #960202;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta-link:hover {
  background-color: #e20f0f;
}

.cert-logo img {
  max-width: 80px;
  height: auto;
  margin-top: 1rem;
}

.landing .scroll-text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #960202;
}

/* INFO SECTION STYLES */
.info-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 4rem 1rem;
  background-color: #e3e3e3;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-header {
  text-align: center;
  margin-bottom: 2rem;
}

.info-header h1 {
  font-size: 2.5rem;
  color: #e20f0f;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.info-content-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-grid {
  flex: 1 1 45%;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

.info-grid img {
  width: 100%;
  height: auto;
  border: 3px solid #960202;

}

.about-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1.5rem;
}

.about-cta .cta-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #960202;
  color: #e3e3e3;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-family: 'Inter', Arial, Helvetica, sans-serif;

}

.about-cta .cta-link:hover {
  background-color: #e20f0f;
}

.info-text {
  flex: 1 1 45%;
  min-width: 300px;
  font-size: 1.1rem;
  line-height: 1.7;
  padding: 0 1rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #565d65;
}

.info-text span {
  color: #000;
  font-weight: 600;
}


@media (max-width: 768px) {
  .info-header h1 {
    font-size: 2rem;
  }

  .info-content-wrapper {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .info-text {
    width: 100%;
    padding: 0;
    margin-top: 1rem;
  }

  .about-cta .cta-link {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .info-header h1 {
    font-size: 1.75rem;
  }
  
  .info-text {
    font-size: 1rem;
  }
}

/* Services Section */
.services-section {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background: #e3e3e3;
}

.servicesh{
  position: absolute;
  top:0;
}
.services-container {
    width: 90vw;
    min-height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
}


.services-grid {
    flex: 0 1 45%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.service-item h3 {
    font-size: 1.25rem;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: #565d65;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.95rem;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: #565d65;
    line-height: 1.5;
}


.service-item:hover {
    transform: translateY(-5px);
}


@media (max-width: 768px) {
    .service-item {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
}


.stats-section {
    flex: 0 1 45%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-bars {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
}


.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#960202 calc(3.6deg * var(--progress)), #ddd 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-value {
    position: absolute;
    font-size: 1rem;
    font-weight: 600;
    color: #960202;
    font-family: 'Inter', Arial, Helvetica, sans-serif;

}

.progress-item h4{
    font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #565d65;
}


@media (max-width: 1024px) {
    .services-container {
        flex-direction: column;
        gap: 3rem;
    }

    .services-grid,
    .stats-section {
        width: 100%;
        max-width: 600px;
    }

    .stats-section {
        flex-direction: row;
        align-items: center;
    }

    .stats-image {
        height: 300px;
        order: 2;
    }

    .progress-bars {
        flex-direction: column;
        order: 1;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        flex-direction: column;
    }

    .progress-bars {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .circular-progress {
        width: 100px;
        height: 100px;
    }
}

/* Projects Section */
.projects-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e3e3e3;
}

.projects-link {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #960202;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;

    height: 30%;
}

.projects-link span{
  padding-top: 1%;
  padding-bottom: 1%;
}

.projects-link:hover {
    color: #e20f0f;
    background-color: #e3e3e3;
}

.projects-container {
    width: 90vw;
    height: 90vh;
    background: url('assets/images/deco/Frame\ 28.png') center/cover;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.projects-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 80%;
    max-width: 800px;
    border: 4px #e3e3e3 soild;
}

.project-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    border: 4px #e3e3e3 soild;
    
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #960202;
}


@media (max-width: 768px) {
    .projects-link {
        writing-mode: horizontal-tb;
        position: static;
        transform: none;
        margin-top: 2rem;
        text-align: center;
        width: 100%;
    }

    .projects-section {
        flex-direction: column;
        padding: 2rem 0;
        height: auto;
    }

    .projects-container {
        width: 90vw;
        height: 90vw;
        margin: 2rem 0;
    }

    .projects-grid {
        width: 90%;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item {
        aspect-ratio: 1.5;
    }
}

.social_logo {
  width: 20%;
  height: auto;
}

@media (min-width: 768px){
  .social_logo{
    width: 5vw;
    max-width: 10vw;
    height: auto;
  }
}

        #cookie-popup {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 600px;
            background: #e3e3e3; /* Dark grey */
            color: #565d65; /* Light grey */
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            display: none;
            font-family: Arial, sans-serif;
        }
        
        #cookie-popup p {
            margin: 0 0 15px 0;
            line-height: 1.5;
        }
        
        .cookie-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .cookie-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            flex: 1;
            min-width: 120px;
            transition: all 0.3s ease;
        }
        
        #accept-btn {
            background: #960202; /* Red */
            color: white;
        }
        
        #reject-btn {
            background: #f2f2f2; /* Light grey */
            color: #333; /* Dark grey */
        }
        
        .cookie-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

        @media (max-width: 480px) {
            .cookie-buttons {
                flex-direction: column;
            }
            
            .cookie-btn {
                width: 100%;
            }
        }