@font-face {
  font-family: 'Ogg';
  src: url('fonts/OggTRIAL-Regular.woff2') format('woff2'),
       url('fonts/OggTRIAL-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Ogg', serif;
  margin: 0;
  padding: 0;
  color: #333;
}

#landing-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
h1, h2, h3 {
  font-family: 'Ogg', serif;
    font-weight: bold;
}
.carousel {
  display: flex;
  transition: transform 0.8s ease-in-out;
  min-height: 50vh;
}

.slide {
  display: flex;
  width: 100%;
}

.slide img {
  width: 53%;
  /* Each image takes half of the slide */
  height: 100%;
  object-fit: cover;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

h1,
h2 {
  text-align: center;
  margin: 10px 0;
}

p {
  text-align: center;
  margin: 5px 0 20px;
}

header {
  background-color: #f4f4f4;
  padding: 20px;
}

/* Hero Section */
.hero {
  background: #f4f4f4 url('hero_background.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 0;
  text-align: center;
}

.hero h1 {
  color: #333;
  font-size: 2.5rem;
}

#product-section {
  display: flex;
  align-items: flex-start;
  /* Align items at the top */
  justify-content: space-between;
  /* Add space between text and products */
  gap: 20px;
  /* Space between the containers */
  padding: 20px;
}

/* Product Container */
#product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

/* Product Wrapper */
.product-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin-bottom: 20px;
}

/* Product Card */
.product-card {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 5px 0;
  color: #333;
}

.product-card p {
  font-size: 1rem;
  margin: 5px 0;
  color: #555;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background-color: transparent;
  color: black;
  border-color: black;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
}

.add-to-cart:hover {
  background-color: #E26D5A;
  color: white;
  border: #ddd;
}


/* Luxury Banner */
.luxury-banner {
  background: #ececec;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.luxury-content img {
  max-width: 100%;
  margin-right: 20px;
}

.luxury-content h2 {
  font-size: 2rem;
}

/* Cloud Banner */
.cloud-banner {
  background: #f4f4f4;
  padding: 50px 20px;
  text-align: center;
}

.cloud-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.slider {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.product-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
}

#prev-btn {
  left: 10px;
}

#next-btn {
  right: 10px;
}

/* Text Container Styling */
.text-container {
  max-width: 250px;
  text-align: center;
}

.text-container h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #333;
}

.text-container p {
  font-size: 1rem;
  color: #555;
}


/* Button Styling */
#explore-btn {
  background-color: #E26D5A;
  /* Orange color */
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
}

#explore-btn:hover {
  background-color: #e64a19;
  /* Darker orange on hover */
  transform: scale(1.05);
  /* Slight scaling effect */
}

#explore-btn:active {
  background-color: #d84315;
  /* Even darker orange on click */
  transform: scale(0.98);
  /* Slight shrink on click */
}

/* Button Styling */
#hero-btn {
  background-color: #E26D5A;
  /* Orange color */
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
}

#hero-btn:hover {
  background-color: #e64a19;
  /* Darker orange on hover */
  transform: scale(1.05);
  /* Slight scaling effect */
}

#hero-btn:active {
  background-color: #d84315;
  /* Even darker orange on click */
  transform: scale(0.98);
  /* Slight shrink on click */
}



@media (max-width: 568px) {
  #product-section {
    flex-direction: column;
    align-items: center;
  }

  #product-container {
    gap: 20px;
  }

  .product-wrapper {
    width: 80%;
  }

  .product-card img {
    width: 100%;
  }

  .slider {
    padding: 0;
  }

  .slider-btn {
    padding: 5px;
  }

  .text-container {
    max-width: 100%;
  }

  .text-container h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
  }

  .text-container p {
    font-size: 16px;
    color: #555;
  }

  #explore-btn {
    background-color: #E26D5A;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.2s;
  }

  .hero h1 {
    color: #333;
    font-size: 22px;
  }

  p {
    text-align: center;
    margin: 15px 31px 20px;
    font-size: 14px;
  }
  .hero {
    background: #f4f4f4 url(hero_background.jpg) no-repeat center center;
    background-size: cover;
    padding: 25px 0;
    text-align: center;
}
}


.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  padding: 20px 30px;
  border-radius: 12px;
  opacity: 0; /* Initially hidden */
  transition: opacity 3s ease-in-out;
}

/* Add animations */
.show-text .text-overlay {
  opacity: 1; /* Text fades in */
}

.show-text .slide img {
  opacity: 1; /* Images return to full opacity */
}

/* Tablet screens */
@media (max-width: 1024px) {
  .text-overlay {
      font-size: 1.5rem;
      padding: 15px 25px;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  .slide {
    min-width: 100%;
  }
  .text-overlay {
      font-size: 14px;
      padding: 4px 0px;
  }
  p {
    text-align: center;
    margin: 15px 31px 20px;
    font-size: 12px;
}
}

/* Small mobile screens */
@media (max-width: 480px) {
  .text-overlay {
      font-size: 12px;
      padding: 8px 15px;
  }
  p{
    font-size: 10px;
  }
}


@media (max-width: 768px) {
  .carousel {
    width: 100%; /* Show one image at a time */
  }

  .carousel img {
    width: 100%; /* Each image takes full width */
  }

  .cloud-heading {
    font-size: 32px !important; /* Ensure it overrides */
  }
}

.cloud-content {
  position: relative; /* Needed for absolute children */
  width: 100%;
  height: 100%;
}

.cloud-heading {
  position: absolute;
  top: 30%; /* Position at the middle */
  left: 50%; /* Position at the center */
  transform: translate(-50%, -50%); /* Center exactly */
  color: white;
  font-size: 60px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  white-space: nowrap; /* Prevents text wrapping */
}


.overlay-cloud {
  position: relative;
  top: 50px;
  left: 0;
  width: 250%;
  height: 100px;
  background: url("https://terriotech.com/cloud-overlay.png") repeat-x;
  background-size: contain;
  animation: cloudMove 60s linear infinite;
}

/* Keyframes for Infinite Cloud Movement */
@keyframes cloudMove {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* Additional Cloud */
.cloud-2 {
  top: 150px;
  animation-duration: 80s;
  opacity: 0.8;
}
