
/*************************************************
 * Barrelectic
 * © 2026 All rights reserved
 * 
 * style.css
 * 
**************************************************/

@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

h1 {

}

h2{
  text-align: center;
}

.navbar-nav .nav-link {
    font-weight: 800; /* Bold */
}
.services {
    display: flex;
    justify-content: space-between;
    gap: 0.3px;
    text-align: center;
}

.service-card {
    flex: 1;
}

.bulb {
    width: 200px;
    height: 260px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 100px 100px 80px 80px;
    overflow: hidden;
    background: #f5f5f5;
}

.bulb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bulb::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 40px;
    background: #ff7a00;
    border-radius: 0 0 20px 20px;
}

.icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

h5 {
    /* font-size: 50px;
    margin-bottom: 10px; */
    font-size: clamp(12px, 4vw, 50px);
    margin-bottom: 0.5em;
}

.carousel-inner p {
    font-size: clamp(10px, 3vw, 40px);
    margin-bottom: 0.75em;
}

.more {
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.more span {
    color: #ff7a00;
    margin-left: 5px;
}

/* Style for the carousel container */
#heroCarousel {
    position: relative;
    height: 35vh;
   
}

/* Style for images */
.carousel-item img {
    width: 100%;
    object-fit: cover; 
    height: 35vh; 

}

.carousel-item img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
}

/* Style for the carousel caption */
.carousel-caption {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  display: flex !important;
  flex-direction: column;
  justify-content: center !important;  /* vertical center */
  align-items: center !important;      /* horizontal center */
  /* ⬆⬇ vertical center */
  align-items: center;      /* ⬅➡ horizontal center */

    /* transform: translate(-50%, -50%); */
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Shadow for text */
}

/* Optional: Add a hover effect for the buttons */
button:hover {
    cursor: pointer;
    opacity: 0.7; /* Slightly transparent when hovered */
}

/* Style the icon-button class */
.icon-button {
    background: transparent; /* No background */
    border: none;
    padding: 10px 10px; /* Adds padding around the icon */
    outline: none;

}

.icon-button img {
    width: 40px;  /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    transition: transform 0.2s ease; /* Smooth scaling effect */
}

.icon-button:hover img {
    transform: scale(1.1);  /* Slightly scale up the icon on hover */
}



.intro-section h3 {
    font-size: 2rem;          /* Increase the font size for the heading */
    color: #2d2d2d;           /* Dark text color for the heading */
    margin-bottom: 20px;      /* Space below the heading */
    text-align: center;       /* Center-align the heading */
    font-weight: bold;        /* Bold font weight */
}

.intro-section p {
    font-size: 1.3rem;        /* Slightly larger font for the paragraph */
    color: #555;              /* Soft gray color for text */
    line-height: 1.6;         /* Add space between lines for better readability */
    text-align: justify;      /* Justify the paragraph text */
}

.service-carousel p {
    font-size: 1.1rem;        /* Slightly larger font for the paragraph */
    color: #555;              /* Soft gray color for text */
    line-height: 1.6;         /* Add space between lines for better readability */
    text-align: justify;      /* Justify the paragraph text */
}


.intro-section {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 35px);
  max-width: 1300px;
  margin: 50px auto;
  padding: 20px;
  flex-wrap: wrap;
}

.intro-section > * {
  flex: 1 1 520px;
  min-width: 0;
}

.intro-images {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  gap: 16px;
}

.intro-images .image-left img {
  width: clamp(180px, 30vw, 300px);
  height: auto;
  border-radius: 8px;
  display: block;
}

.intro-images .image-right {
  margin-left: clamp(-60px, -5vw, -100px);
  margin-top: clamp(80px, 12vw, 250px);
}

.intro-images .image-right img {
  width: clamp(140px, 22vw, 200px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  display: block;
}

/* When the intro-images area becomes narrow, disable the overlap */
@supports (container-type: inline-size) {
  .intro-images { container-type: inline-size; }

  @container (max-width: 520px) {
    .intro-images .image-right {
      margin-left: 0;
      margin-top: 0;
    }
  }
}


.intro-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.intro-text .btn {
    font-size: 1rem;
    padding: 10px 20px;
}



.info-blocks {
    display: flex;
    gap: 20px;           /* Space between blocks */
    margin-top: 30px;    /* Space below paragraph */
    flex-wrap: wrap;     /* Stack blocks on smaller screens */
}

.info-block {
    flex: 1;                     /* Each block takes equal space */
    min-width: 250px;            /* Minimum width for responsiveness */
    padding: 20px;
    background-color: #f8f9fa;   /* Light background */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-block h5 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.info-block p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.dynamic-bg {
    background: linear-gradient(135deg, #dfecfc, #cfdcf3);
    color: white;
    padding: 45px;
    border-radius: 16px;
    max-width: 1500px;
    margin: auto;
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet dynamique au survol */
.dynamic-bg:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(13, 110, 253, 0.45);
}

.dynamic-bg h5 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.dynamic-bg p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Bouton */
.dynamic-bg .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
}

.step-item {
    padding: 18px 20px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #0d6efd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #131314;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.photo-grid {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 20px;
}

/* Each image starts hidden and below */
.photo-item {
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 0.6s forwards;
    width: 200px;
}

/* Stagger delays for sequential entry */
.photo-frame:nth-child(1) .photo-item { animation-delay: 0.2s; }
.photo-frame:nth-child(2) .photo-item { animation-delay: 0.6s; }
.photo-frame:nth-child(3) .photo-item { animation-delay: 1s; }

/* Slide-in keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-toggle::after {
    display: none ;
}

/*Contact section */
.contact-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.contact-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-left, .contact-right {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* Map styling */
.map-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Form styling */
.contact-right h2, .contact-left h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button[type="submit"] {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background: #0056b3;
}

.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}


/* Target ONLY this intro block */
.intro-section {
  display: flex;
  flex-wrap: wrap;          /* allow stacking when space is tight */
  gap: 20px;
  align-items: center;
}

/* Make each child able to take full width when wrapping */
.intro-section > * {
  flex: 1 1 480px;          /* will wrap when container can't fit both */
  min-width: 0;             /* prevents overflow */
}

/* Images: ensure they fit and don't overflow */
.intro-images {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;          /* allow images to stack if needed */
}

.intro-images > div {
  flex: 1 1 240px;
  min-width: 0;
}

.intro-images img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 768px) {
  section.contact-section .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* test */
.center-wrapper{
  min-height:20vh;      /* full viewport height */
  display:flex;
  justify-content:center;
  align-items:center;
}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  max-width:1000px;
  margin:30px auto;
}

.card{
  padding:20px 20px 5px 20px;
  border-radius:14px;
  background:#f2f2f2;
  border:2px solid transparent;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  justify-content:center;
}

.btn-card{
  margin-top: 1em;
  text-align: center;
  padding:10px;
  border-radius:14px;
  background:#aca5a5;
  border:2px solid transparent;
}

.card h4 {
  text-align: center;
  min-height: 2.3em;
}

.card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}

.card.active{
  z-index: 2;
  transform: translateY(-6px) scale(1.03);
  border-color: #746f6f;
  box-shadow:
    0 14px 32px rgba(0,0,0,.18),
    0 4px 10px rgba(0,0,0,.12);
}

.text-area{
  max-width:1000px;
  margin:10px auto 40px;
  padding:18px;
  border-radius:14px;
  background:#fafafa;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  display: none;

  /* animation-friendly */
  transition:opacity .2s ease, max-height .25s ease, padding .25s ease, margin .25s ease;
}

.text-area.is-active{
  display:block;
}

/* text switching */
.text-item{ display:none; }
.text-item.active{ display:block; }

.text-intro{
  max-width:1100px;
  margin:10px auto 40px;
  padding:18px;
  border-radius:14px;
  background:#fafafa;
  box-shadow:0 8px 18px rgba(0, 0, 0, 0.352);

  /* animation-friendly */
  transition:opacity .2s ease, max-height .25s ease, padding .25s ease, margin .25s ease;
}