/*
  Theme Name: Allesta Armatur
  Theme URL: https://allestaarmatur.com
  Author: Gemini
  Author URL: https://gemini.google.com
*/

/*--------------------------------------------------------------
# CSS Reset
--------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #28a745;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #1e7e34;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 20px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
  color: #334257;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  display: none;
  background: #28a745;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 14px;
}

.back-to-top:hover {
  background: #1e7e34;
  color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  height: 84px;
  transition: all 0.5s;
  z-index: 997;
  background: transparent;
  margin: 0;
}

#header #logo {
  float: left;
}

#header #logo img {
  padding: 0;
  margin: 0;
  max-height: 44px;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  height: 60px;
  padding: 10px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Nav Menu Essentials */
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

/* Nav Menu Arrows */
.sf-arrows .sf-with-ul {
  padding-right: 22px;
}

/* Nav Meu Styling */
#nav-menu-container {
  float: right;
  margin: 10px 0;
}

.nav-menu a {
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  outline: none;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.header-scrolled .nav-menu a {
  color: #334257;
  text-shadow: none;
}

.nav-menu > li {
  margin-left: 10px;
}

.nav-menu > li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #28a745;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before,
.nav-menu li:hover > a:before,
.nav-menu .menu-active > a:before {
  visibility: visible;
  transform: scaleX(1);
}

.nav-menu .menu-active > a {
  color: #20c997;
}

.header-scrolled .nav-menu .menu-active > a {
    color: #28a745;
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 999;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
}

#mobile-nav-toggle i {
  color: #fff;
}

.header-scrolled #mobile-nav-toggle i {
    color: #334257;
}

/* Mobile Nav Styling */
#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(45, 55, 68, 0.95);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 16px;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}

#mobile-nav ul li a:hover {
  color: #28a745;
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #28a745;
}

#mobile-nav ul .menu-item-active {
  color: #28a745;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(51, 66, 87, 0.8);
  display: none;
}

/* Mobile Nav body classes */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-header h2 {
  font-size: 36px;
  color: #334257;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #28a745;
  bottom: 0;
  left: calc(50% - 30px);
}

.section-header p {
  color: #777;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #f8f9fa;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

#intro .intro-content {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
}

#intro .intro-content h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}

#intro .intro-content h2 span {
  color: #20c997;
  text-decoration-style: wavy;
}

#intro .intro-content .btn-get-started,
#intro .intro-content .btn-projects {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
}

#intro .intro-content .btn-get-started {
  background: #28a745;
  border: 2px solid #28a745;
}

#intro .intro-content .btn-get-started:hover {
  background: transparent;
  border-color: #fff;
}

#intro .intro-content .btn-projects {
  background: transparent;
  border: 2px solid #fff;
}

#intro .intro-content .btn-projects:hover {
  background: #28a745;
  border-color: #28a745;
}

#intro #intro-carousel {
  z-index: 8;
  height: 100vh;
}

#intro #intro-carousel .item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#about {
    background: #f8f9fa;
    padding: 80px 0;
}

#about .about-img img {
    transition: 0.3s;
}

.about-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-card h2 {
    font-weight: 700;
    font-size: 32px;
    color: #334257;
}

.about-card h3 {
    color: #555;
    font-weight: 400;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.about-card p {
    line-height: 26px;
    color: #555;
    margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
#portfolio {
  background: #fff;
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #334257;
  margin: 0 4px 10px 4px;
  text-transform: uppercase;
  border-radius: 50px;
  background: #f8f9fa;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
  background: #28a745;
  color: #fff;
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-wrap {
  position: relative;
  background: #fff;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}

.portfolio-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.portfolio-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s;
}

.portfolio-info {
  padding: 20px;
  text-align: center;
}

.portfolio-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #334257;
  margin: 0;
}

.portfolio-links {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 167, 69, 0.7);
  opacity: 0;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-wrap:hover .portfolio-links {
  opacity: 1;
}

.portfolio-links a {
  color: #fff;
  font-size: 28px;
  margin: 0 10px;
  transition: 0.3s;
}

.portfolio-links a:hover {
  color: #e9f5ff;
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
  background: #fff;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #28a745;
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: #555;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #334257;
}

#contact .contact-info a {
  color: #555;
}

#contact .contact-info a:hover {
  color: #28a745;
}

#contact iframe {
  border-radius: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #334257;
  padding: 0 0 30px 0;
  color: #eee;
  font-size: 14px;
}

#footer .footer-top {
  background: #3b4c64;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #fff;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  color: #eee;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #28a745;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #1e7e34;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background: #28a745;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 5px;
  color: #28a745;
  font-size: 18px;
}

#footer .footer-top .footer-links ul li {
  padding: 8px 0;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #eee;
}

#footer .footer-top .footer-links ul a:hover {
  color: #20c997;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .footer-top .footer-newsletter {
  margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type="email"] {
  border: 0;
  padding: 6px 8px;
  width: 65%;
  border-radius: 50px 0 0 50px;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: #28a745;
  border: 0;
  width: 35%;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s;
  cursor: pointer;
  border-radius: 0 50px 50px 0;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
  background: #1e7e34;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #ddd;
}

#footer .credits a {
    color: #20c997;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 991px) {
  #header {
    background: rgba(255, 255, 255, 0.98);
    height: 60px;
    padding: 10px 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }
  
  #header .nav-menu a {
      color: #334257;
      text-shadow: none;
  }
  
  #header #logo img {
    max-height: 40px;
  }

  #nav-menu-container {
    display: none;
  }

  #mobile-nav-toggle {
    display: inline;
  }
  
  #intro .intro-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
  #about .content {
    padding-left: 0;
    padding-top: 30px;
  }
}