@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  scroll-behavior: smooth;
  text-transform: capitalize;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #dc690b;
}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 20px;
}

.nav ul {
  list-style: none;
  font-size: 20px;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 37px; 
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  position: relative; 
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px; 
  width: 0;
  height: 2px; 
  background-color: #4b2e00; 
  transition: width 0.4s ease; 
}

.nav a:hover {
  color: #4b2e00;
  transition: all 0.6s ease;
}


.nav a:hover::after {
  width: 100%;
}

.logo{
    margin: 12px;
    width: 60px;
    height: 60px;
}

/* home-section */

.home-section {
  display: flex;
  align-items: center; 
  justify-content: space-around; 
  gap: 40px; 
  padding: 50px;
}
.home-section img {
  max-width: 550px;
  height: auto;
  border-radius: 10px; 
}

.home-text {
  max-width: 700px;
  text-transform: capitalize;
  text-align: left;
} 

.home-title {
  font-size: 40px;
  color: #333;
  margin-bottom: 20px;
}
.home-description {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.home-button {
display: block;
font-size: 16px;
width: 120px;
height: 40px;
margin: 20px 0;
padding:5px;
background-color: #dc690b;
color: #fff;
text-align: center;
border-radius: 5px;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border: none;
cursor: pointer;
}

.home-button:hover {
  background-color: #b65506;
  transition: all 0.6s ease;
}

/* about section */

.about-section {
  display: flex;
  align-items: center; 
  justify-content: space-around; 
  gap: 40px; 
  padding: 50px;
  background-color: #dc690b;
  border-radius: 20px;
  margin: 15px;
}

.about-section img {
  max-width: 550px;
  height: auto;
  border-radius: 10px; 
}

.about-text {
  max-width: 700px;
  text-transform: capitalize;
  text-align: left;

} 

.about-title {
  font-size: 40px;
  color: #333;
  margin-bottom: 20px;
}
.about-description {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .nav {
    justify-content: center;
    padding: 10px 0;
    width: 100%;
  }

  .home-section,
  .about-section {
    flex-direction: column;
    gap: 20px;
    padding: 30px 15px;
  }

  .home-section img,
  .about-section img {
    max-width: 100%;
  }

  .types-section .cards {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {
  .home-title,
  .about-title {
    font-size: 28px;
  }

  .home-description,
  .about-description {
    font-size: 16px;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
  }
}


/* types section */


.types-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


.types-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.types-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.types-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}


.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card h3 {
  margin-top:10px;
  color: #444;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

.card figure {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
}

.card figure img {
  width: 100%;
  aspect-ratio: 1 / 1; 
  object-fit: cover;    
  display: block;
  transition: transform 0.3s ease;
}


.card:hover figure img {
  transform: scale(1.05);
}

/* Gallery-section */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.gallery-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 1rem;
}

.gallery-buttons button {
  background-color: #e2e2e2;
  border: none;
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.gallery-buttons button:hover {
  background-color: #ccc;
}

.gallery-buttons img {
  width: 15px;
  height: 15px;
}
.gallery-wrapper {
  overflow: hidden;
  padding: 0 10px;
}

.gallery-track {
  display: flex;
  gap: 35px; 
  transition: transform 0.5s ease-in-out;
}

.gallery-item {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}


/* Responsive Gallery Items */
@media (min-width: 768px) {
  .gallery-item { flex: 0 0 48%; max-width: 48%; }
}

@media (min-width: 1024px) {
  .gallery-item { flex: 0 0 23%; max-width: 23%; }
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}


/* contact-section */

.contact-section {
  text-align: center;
  padding: 6rem 2rem;
  width: 100%;
  overflow: hidden;
  background-color: #f9fafb;
}


.contact-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-section h1 span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  font-weight: 300;
}


.contact-section p {
  color: #6b7280;
  max-width: 20rem;
  margin: 0 auto 2rem;
}


.contact-section form {
  max-width: 48rem;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.contact-section input,
.contact-section textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  resize: none;
}

.contact-section textarea {
  height: 12rem;
}

/* Flex container */
.contact-section .flex {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.contact-section .flex > div {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-top: 1rem;
}


@media(min-width: 768px) {
  .contact-section .w-half {
    width: 50%;
  }
  .contact-section .w-full {
    width: 100%;
  }
}

.contact-section button {
  margin-top: 1rem;
  background-color: #dc690b;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  transition: background-color 0.3s;
}

.contact-section button:hover {
  background-color: #b45c0f;
}

.footer {
  text-align: center;
  padding: 2rem; 
  background-color: #dc690b;
  color: white;
  margin-top: 20px;
  font-size: 1.1rem; 
}
