@charset utf-8;

/*--
	Theme Name: Tudich Roof
	Theme URI: https://tudichroof.ro
	Description: 
	Author: efficientsolutions.ro
	Author URL: https://www.efficientsolutions.ro/ 
--*/


/* Basic button styling */
.fixed-share-buttons a {
  padding: 8px;
  border-radius: 50%; /* Make the buttons circular */
  text-decoration: none;
  font-size: 24px; /* Size of the icon */
  color: white;
  display: inline-block;
  margin: 5px 0;
  background-color: #333; /* Default background color */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Facebook icon styling */
#facebook-share {
  background-color: #3b5998; /* Facebook blue */
}

/* WhatsApp icon styling */
#whatsapp-share {
  background-color: #25D366; /* WhatsApp green */
}

/* Hover effect for the icons */
.fixed-share-buttons a:hover {
  background-color: #000; /* Darken background on hover */
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

/* Positioning the icons at the bottom center */
.fixed-share-buttons {
  position: fixed; /* Fix the buttons in place */
  bottom: 20px; /* 20px from the bottom edge of the screen */
  left: 50%; /* Position the container at the center horizontally */
  transform: translateX(-50%); /* Adjust to perfectly center the buttons */
  z-index: 9999; /* Ensure the buttons are above other content */
}


/* Adjust button container for proper spacing */
.fixed-share-buttons a {
  display: inline-block; /* Align the buttons horizontally */
  margin: 0 10px; /* Add space between buttons */
  width: 40px; /* Fixed width for the icons */
  height: 40px; /* Fixed height for the icons */
  text-align: center;
  line-height: 40px; /* Vertically center the icon */
  font-size: 24px; /* Size of the icon */
  border-radius: 50%; /* Circular shape */
}


    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Segoe UI', sans-serif; background: #f9f9f9; color: #333; margin: 0; }
    .container { width: 90%; max-width: 1100px; margin: auto; }
    #despre p{margin: 10px 0px;}
    .header { background: #003466; color: white; padding: 20px 0; height: 120px;}
    .header-inner { display: flex;  align-items: center; position:relative; }
    .logo span { display: inline-block;}
    .logo{ font-size: 24px; margin-left: -25px;}
    #logo2{ margin:0px 0px 0px -20px; padding:0px; background: url('images/logo3.jpg') center/cover no-repeat; width:150px;height:80px; }
    .cta-button { background: #ff9900;  color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; }
    .hero { background: url('images/hero.jpg') center/cover no-repeat; height: 40vh; display: flex; align-items: center; color: white; position: relative; }
    .hero-overlay { background-color: rgba(0, 0, 0, 0.5); padding: 40px 10px; width: 100%; text-align: center; }
    .services, .about, .testimonials { padding: 60px 0; text-align: center; }
    .services { background: white; }
    .about { background: #e3e3e3; }
    .testimonials { background: white; }
    .services-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
    .service-card { background: #eef2f7; padding: 20px; width: 300px; border-radius: 8px; }
    .testimonial { margin-bottom: 30px; }
    .cta-banner { background: #003466; color: white; padding: 40px 0; text-align: center; }
    .footer { background: #222; color: #ccc; text-align: center; padding: 20px 0; }
    .gtranslate_wrapper {position:absolute;top:10px; right:10px; background-color:#fff; padding: 5px; z-index: 99999999;}
/*	.gtranslate_wrapper a { color:red; }*/
.more-link{color: #ff9900; display: block; margin-top: 10px;}



    /* Common link styles */
    nav a {
      text-decoration: none;
      color: white;
      padding: 10px 10px;
      display: block;
    }

    nav a:hover {
      background-color: #ff9900;
    }

    /* Menu button (mobile only) */
    .menu-btn {
      position: absolute;
      top: 23px;
      right: 0px;
      background-color: #ff9900;
      color: white;
      padding: 10px 15px;
      border: none;
      cursor: pointer;
      z-index: 1001;
      display: block;
    }
    .menu-btn:hover {
      background-color: #ff9900;
    }
    /* Mobile side menu */
    .side-menu {
      height: 100%;
      width: 250px;
      position: fixed;
      top: 0;
      right: -250px;
      background-color: #003466;
      overflow-x: hidden;
      transition: right 0.3s ease;
      padding-top: 120px;
      z-index: 1000;
    }

    .side-menu a {
      font-size: 18px;
      text-decoration: none;
      color: white;
      padding: 14px 20px;
      display: block;

    }
    .side-menu a:hover {
      background-color: #ff9900;
    }

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

    .overlay {
      position: fixed;
      display: none;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }

    .overlay.show {
      display: block;
    }

    /* Desktop nav (hidden on mobile) */
    .desktop-nav {
      display: none;
      background-color: #003466;
    }

    .desktop-nav ul {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
    }

    .desktop-nav li {
      flex: none;
    }

    #galerie a { margin:0px; width: 320px;height: 220px; display:inline-block; }
    #galerie a img { padding:10px 10px; display:inline-block; }


        .swiper {
      width: 100%;
      max-width: 1200px;
      height: 500px;
      margin: auto;
      border-radius: 0px;
      overflow: hidden;
      /*box-shadow: 0 5px 15px rgba(0,0,0,0.2);*/
      position: relative;
    }

    .swiper-slide {
      background-position: center;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
            width: 100%;
      height: 100%;
position: relative;
    }

    .swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Optional: Custom navigation styles */
    .swiper-button-next,
    .swiper-button-prev {
      color: #fff;
    }

    .swiper-pagination-bullet-active {
      background: #007bff;
    }

    .caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px) translateX(-50%);
  transition: all 0.6s ease;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  max-width: 90%;
}

.swiper-slide-active .caption {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}


input, textarea { width: 100%; margin: 10px 0; padding: 8px; }

/*#rc-anchor-container { margin: 10px auto; text-align: center;}*/

    @media (max-width: 768px) {
      .swiper {
        height: 300px;
        .caption { font-size:20px; }
      }
    }

    /* Show desktop nav and hide mobile menu on wider screens */
    @media screen and (min-width: 768px)
      {
        .menu-btn,
        .side-menu,
        .overlay {
          display: none;
        }

        .desktop-nav {
          display: block;
        }

        .desktop-nav a {
          display: inline-block;
        }

        #grid2 .service-card{
          width: 880px;
        }
            #logo2{ margin:0px; padding:0px; background: url('images/logo3.jpg') center/cover no-repeat; width:150px;height:80px; }
    .logo {display: inline-block; margin-left:-150px;}
    .logo span {display: none;}
    .header-inner { display: flex; justify-content: space-between; align-items: center; position:relative; }

    }



