/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(4, 95%, 55%);
  --second-color: hsl(42, 98%, 52%);
  --first-gradient: linear-gradient(90deg,
  hsl(4, 95%, 55%),
  hsl(4, 95%, 55%));
  --title-color: hsl(255, 12%, 12%);
  --text-color: hsl(225, 12%, 24%);
  --text-color-light: hsl(255, 4%, 70%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 100%);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(255, 20%, 10%);
  --gray-border: hsl(255, 6%, 90%);
  --black-border: hsl(255, 10%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --big-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

  /*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/

.gallery {
   padding: 60px 0;
   text-align: center;
}

.section__title {
   font-size: 2rem;
   margin-bottom: 40px;
}

.gallery__swiper {
   width: 100%;
   height: 400px; /* Height of the slider */
}

.gallery__slide {
   display: flex; 
   align-items: center; 
   justify-content: center;
   /*border: 5px solid #ccc;  Change this color as needed */
   border-radius: 10px; /* Rounded corners */
   overflow: hidden; /* Ensures the image doesn't overflow the border */
   width: 100%; /* Ensures slides take full width */
   height: 100%; /* Ensures slides take full height */
}

.gallery__img {
   /*width: 100%;*/
   /*height: 100%;  Change to 100% to fill container, but use object-fit */
   object-fit: cover; /* Ensures images fill the slide without distortion */
   border-radius: 10px; /* Rounded corners for the images */
   max-height: 100%; /* Ensures the image does not exceed the slide height */
}

/* Swiper Pagination and Navigation */
.swiper-pagination {
   bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
   color: #fff; /* Adjust the color of navigation buttons */
}
/* Larger images for desktop screens */
@media screen and (min-width: 1024px) {
   .gallery__swiper {
      height: 600px; /* Increased height for desktop */
   }

   .gallery__slide {
      height: 100%;
   }

   .gallery__img {
      height: 1000px;
   }
}