@import url('https://fonts.googleapis.com/css2?family=Bakbak+One&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
*{
    font-family: "Bakbak One", sans-serif;
    
    font-style: normal;
}
.photo-row {
    position: relative;
    display: flex;
    justify-content: center;
}

.photo-row img {
    width: 50%;

    object-fit: cover;
    display: block;
}

/* Create overlays using ::before pseudo-element on each image */
.photo-row img::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40%;    /* same width as image */

    background-color: rgba(0, 0, 0, 0.6); /* dark transparent overlay */
    pointer-events: none;
    z-index: 5;
}

/* Instead of pseudo-elements on img (which won't work), wrap images in containers */

.photo-row {
    position: relative;
    display: flex;
    justify-content: center;
}

.photo-container {
    position: relative;
    width: 50%;
    height: 60vh;
    overflow: hidden;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay inside container */
.photo-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    pointer-events: none;
    z-index: 5;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 6rem;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    pointer-events: none;
    text-align: center;
    width: 100%;
    z-index: 10;
}
/* Blue overlay behind content */
.aboutpage {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: background 0.8s ease-in-out;

  /* Effet de profondeur */
  background: #ffffff; /* Fond blanc ou très clair */
  border-radius: 20px; /* coins arrondis pour l'effet carte */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* ombre portée */
  margin: -10px auto 50px auto; /* remonte légèrement sur la section précédente */
  max-width: 1200px; /* limite la largeur pour mieux ressortir */
  position: relative;
  z-index: 2;
}

.aboutpage h1 {

  color: #000000;
}

.aboutpage p {

  color: #333;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.about-card {

  border-radius: 15px;
  padding: 20px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.about-card h3 {

  color: #000000;
  margin: 20px 0 15px 0;
}

.about-card p {
  
  color: #555;
  font-size: 0.95rem;
}

.about-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .aboutpage .row {
    flex-direction: column;
  }

  .about-card {
    margin-bottom: 20px;
  }
}
.sevice-content{
  background-image: url('./images/beautiful-car-washing-service.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* ==========================
   Fourth Page (Appointment / Form)
========================== */
.fourthpage {
    background: linear-gradient(135deg, #f5f7faf5, #e4ebf5a6);

  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fourthpage .container {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Specific styles for intl-tel-input to fix alignment */
.form-floating > .phone-input {
    padding-left: 5rem; /* Adjust padding to accommodate the flag and dial code */
}

.iti {
    width: 100%; /* Ensure the intl-tel-input container takes full width */
}

.iti__flag-container {
    height: 100%; /* Make flag container fill the height of the input */
    top: 0;
    left: 0;
    position: absolute;
    border-top-left-radius: 0.375rem; /* Match Bootstrap's input border-radius */
    border-bottom-left-radius: 0.375rem;
    display: flex; /* Use flexbox for vertical alignment */
    align-items: center; /* Vertically center the flag */
    padding: 0 0.75rem; /* Add some padding around the flag */
}

.iti__selected-flag {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Original styles for intl-tel-input */
.phone-input {
  height: calc(3.5rem + 2px);
  /* padding-left: 3.5rem; This will be overridden by .form-floating > .phone-input */
}

/* This rule might be redundant or conflicting, so removing or modifying */
/* .iti__flag-container {
  top: 0.625rem;
} */

.iti__selected-flag {
  height: 2.5rem;
}


/* ==========================
   Contact Page
========================== */
.contactpage {
    position: relative;
    color: #fff;
  
  background: linear-gradient(to bottom, #0b0b2b, #1b2735 70%, #090a0f);
  overflow: hidden;
}

.contact-card {
  background: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.contact-card h4 {
    color: #000000;
  margin-bottom: 15px;
  font-family: 'Merriweather', serif;
}

.contact-card p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #555;
}

/* ==========================
   Responsive Styles
========================== */
@media (max-width: 1024px) {
  .secondpage {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .secondpage .label_brise {
    max-width: 100%;
  }

  .bluebg {
    display: none;
  }

  .firstpage {
    width: 80%;
    padding: 15px;
  }

  .firstpage h1 {
    font-size: 1.8rem;
  }

  .firstpage h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .firstpage {
    width: 90%;
    padding: 10px;
  }

  .firstpage h1 {
    font-size: 1.5rem;
  }

  .firstpage h4 {
    font-size: 1rem;
  }

  .thirdpage .content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .thirdpage .row.row-cols-md-3 {
    row-gap: 2rem;
  }

  .thirdpage .card h4 {
    font-size: 1.1rem;
  }

  .thirdpage .card h1 {
    font-size: 1.3rem;
  }

  .thirdpage .card ul li {
    font-size: 0.85rem;
  }

  .thirdpage .card button {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  /* Specific mobile adjustments for phone input */
  .form-floating > .phone-input {
      padding-left: 4.5rem; /* Slightly less padding on mobile if needed */
  }

  .iti__flag-container {
      padding: 0 0.5rem; /* Smaller padding on mobile */
  }
}
.contact-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 5rem 2rem;
  background-color: #ffffff;
}

.contact-item {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item img {
  width: 48px;
  height: 48px;
  filter: grayscale(30%);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.contact-item p {
  color: #000000;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.contact-item a {
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item:hover img {
  transform: scale(1.1);
  filter: none;
}

@media (max-width: 768px) {
  .contact-block {
    flex-direction: column;
    gap: 2rem;
  }
}

