/* Add your custom styles below this line */
body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #212025;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Variables for consistent colors */
:root {
  --primary-color: #ff5a36;
  --background-color: #fff8f3;
  --text-color: #212025;
}

/* Base container for content alignment on larger screens */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sticky Header Banner */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  background: #fff8f3;
  z-index: 1002;
  box-shadow: 0 2px 8px rgba(255, 90, 54, 0.1);
  display: flex;
  align-items: center;
  height: 4rem;
  padding-left: 1rem;
}
.hero {
  /* position: relative; */
  background-image: url("hero.webp");
  background-repeat: no-repeat;
  background-position: right -40vw bottom 0;
  background-size: contain;
  overflow: hidden;
  padding-top: 20px;
}

h1 {
  font-size: 4rem;
  line-height: 0.9;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.diclertas {
  margin-top: 1rem;
  color: #212025;
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.5);
}

h2 {
  font-size: 1.5rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.hero-text {
  max-width: 100%;
  padding-left: 1.5rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  align-self: flex-start;
  position: relative;
  color: #212025;
  text-shadow: 0px 0px 25px rgba(255, 255, 255, 0.5);
  z-index: 1; /* Ensure text appears above background image */
}

.animated-section {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  color: #212025;
  text-shadow: 0px 0px 100px rgba(255, 255, 255, 0.5);
}


#animated-center {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.6rem;
  transition: font-size 0.25s;
  height: 4.6rem;
  width: 18ch;
  line-height: 1.3;
  margin-left: -0.3rem;
}

#animated-bottom {
  width: 45vw;
}

.offers p {
  margin-top: 2rem;
  max-width: 55%;
  /* margin-right: -4rem; */
}
.offers i {
  /* font-style: italic; */
  /*text-decoration: underline #806d68;
  text-underline-offset: 2px;*/
  font-weight: 900;
}

/* Services Carousel - Swiper */
.services-container {
  scroll-margin-top: 100px;
  margin: 3rem 1.5rem 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.services-title {
  text-align: center;
  font-size: 2.3rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  margin-bottom: 1.5rem;
  color: #ff5a36;
}

.services-carousel {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 3rem; /* Space for pagination */
}

.service {
  text-align: center;
}

.service img {
  display: block;
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Grid layout for services on larger screens */
.services-grid {
  display: none; /* Hidden by default, shown in media query */
}

.service h3 {
  font-size: 1.9rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.service p {
  font-size: 1.1rem;
  margin: 0.5rem auto;
  max-width: 500px;
  padding: 0 1rem;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background-color: #ccc;
  opacity: 1;
  margin: 0 0.3rem;
  transition: background-color 0.3s;
}

.swiper-pagination-bullet-active {
  background-color: #ff5a36;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #ff5a36;
  background: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #ff5a36;
  box-shadow: 0 2px 8px rgba(255, 90, 54, 0.1);
  transition: background-color 0.3s, color 0.3s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1rem;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #ff5a36;
  color: white;
}

.demo-dersi {
  scroll-margin-top: 100px;
  background: bisque;
  margin: 0rem 1.5rem 2.5rem 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 0.9rem;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.demo-dersi h2 {
  font-size: 2rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  margin-bottom: 1rem;
}
.demo-dersi p {
  margin: 0 auto;
}

.cta-btn {
  display: inline-block;
  background: #ff5a36;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85em 1.2em;
  border: none;
  border-radius: 2em;
  text-decoration: none;
  margin-top: 1.2em;
  box-shadow: 0 2px 8px rgba(255, 90, 54, 0.15);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  cursor: pointer;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ff532c;
  box-shadow: 0 4px 16px rgba(255, 90, 54, 0.25);
  transform: translateY(-2px) scale(1.03);
}

/* makes it easy to see elements */
* {
  /* outline: 1px solid red; */
}

/* Desktop Navigation Menu */
.desktop-menu {
  display: none; /* Hidden on mobile */
}

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

.desktop-menu li {
  margin: 0 1.5rem;
}

.desktop-menu a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--primary-color, #ff5a36);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s;
  cursor: pointer;
}

.desktop-menu a:hover,
.desktop-menu a:focus {
  color: #d13c00;
}

/* Hamburger Menu */
.hamburger {
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff8f3;
  border: 2px solid #ff5a36;
  border-radius: 0.7em;
  box-shadow: 0 2px 8px rgba(255, 90, 54, 0.1);
  cursor: pointer;
  padding: 0.4rem;
  gap: 0.3rem;
}
.hamburger span {
  display: block;
  width: 1.7rem;
  height: 0.23rem;
  background: #ff5a36;
  border-radius: 1em;
  transition: all 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.5rem) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.5rem) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 248, 243, 0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-menu[hidden] {
  display: none !important;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu li {
  margin: 1.2rem 0;
}
.mobile-menu a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 2rem;
  color: #ff5a36;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  cursor: pointer;
}
.mobile-menu a:hover,
.mobile-menu a:focus {
  color: #d13c00;
}

/* Instagram Carousel Section */
.carousel-section {
  scroll-margin-top: 100px;
  margin: 3rem auto 2.5rem auto;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  max-width: 600px;
  background: #fff8f3;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(255, 90, 54, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Media Queries for Responsive Design */

@media (min-width: 455px) {
  .hero {
    background-position: right -20vw bottom 0;
  }

  .hero-text {
    padding-left: 3rem;
    max-width: 70%;
  }
}
/* Tablet (768px and up) */
@media (min-width: 768px) {
  body {
    font-size: 1.2rem;
  }

  /* Show desktop menu, hide hamburger on tablet and up */
  .hamburger {
    display: none;
  }

  .desktop-menu {
    display: block;
  }

  .site-header {
    display: flex;
    justify-content: flex-end;
    padding: 0 2rem;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    background-position: right -10vw bottom 0;
  }

  .hero-text {
    padding-left: 3rem;
  }

  .offers p {
    max-width: 100%;
  }

  #animated-center {
    font-size: 2rem;
    width: 22ch;
    height: 5rem;
  }

  .services-title {
    font-size: 2.6rem;
  }

  /* Hide the carousel on tablet screens and up, replace with grid */
  .services-carousel {
    display: none;
  }

  /* Services Grid for larger screens */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
  }

  .services-grid .service {
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .services-grid .service img {
    width: 100%;
    object-fit: cover;
    position: static;
    transform: none;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
  }

  .services-grid .service h3 {
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .services-grid .service p {
    margin-top: auto;
    padding: 0;
  }

  .demo-dersi {
    padding: 3rem 2rem;
    margin: 3rem auto;
    max-width: 80%;
  }

  .carousel-section {
    max-width: 80%;
    padding: 3rem 2rem;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  body {
    font-size: 1.3rem;
  }

  .site-header {
    height: 5rem;
    padding-left: 2rem;
  }

  .hero {
    padding-left: 6rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-position: right 0 bottom 0;
    min-height: 75vh;
  }

  .hero-text {
    padding-left: 5rem;
    max-width: 60%;
  }

  .diclertas {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
  }

  h1 {
    font-size: 6rem;
  }

  #animated-center {
    font-size: 2.4rem;
    height: 6rem;
    width: auto;
  }
  
  #animated-bottom {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .service h3 {
    font-size: 2.2rem;
    height: 2rem;
  }

  .service p {
    font-size: 1.2rem;
    height: 4rem;
  }

  .demo-dersi {
    padding: 4rem 3rem;
    max-width: 70%;
  }

  .carousel-section {
    max-width: 70%;
    padding: 3.5rem 3rem;
  }

  .carousel-title {
    font-size: 2.8rem;
  }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
  .hero {
    min-height: 80vh;
  }

  .hero-text {
    max-width: 50%;
  }

  h1 {
    font-size: 7rem;
  }

  .services-container,
  .demo-dersi {
    max-width: 1200px;
  }

  .demo-dersi {
    padding: 5rem 4rem;
    max-width: 60%;
  }

  .carousel-section {
    max-width: 60%;
    margin: 4rem auto 3rem;
  }
}

.carousel-title {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #ff5a36;
  background: #fff;
  border: 4px solid #ff5a36;
  border-radius: 1.2em;
  padding: 0.5em 1.5em;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(255, 90, 54, 0.13);
  letter-spacing: 0.04em;
  text-align: center;
  position: relative;
  z-index: 2;
}
