@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Katibeh&display=swap');

/* CSS muutujad värvide jaoks */
:root {
  --primary-light: #ffcad4;
  --primary-dark: #f4a261;
  --accent-beige: #e0ddcf;
  --black: #000000;
  --white: #efefef;  
}
 /* Eemaldab vaikeväärtused, et vältida soovimatuid tühikuid */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  /* Väldib horisontaalset kerimist */
  overflow-x: hidden;
}
body {
  /* Määrab body teksti fonti */
  font-family: "Katibeh", sans-serif;
}
a {
  /* Eemaldab linkidelt allajoonimise ja määrab nende värvi pärimiseks */
  text-decoration: none;
  color: inherit;
}

 /* Header stiil */
#header {
  width: 100vw;
  background-color: white;
  padding: 0;
  margin: 0;
}
/* Slideri suurus ja asukoht */
#slider {
  position: relative;
  width: 100vw;
  min-height: 100%;
  overflow: hidden; 
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 400%; 
}

.slide {
  width: 100vw;
  height: auto; 
}

.prev, .next {
  position: absolute;
  top: 30%; 
  transform: translateY(-50%); 
  background-color: rgba(255, 255, 255, 0.7); 
  border: none;
  padding: 10px;
  cursor: pointer; /
  z-index: 1; 
}
 /* Paigutab eelmise nupu vasakule */
.prev {
  left: 10px;
}

/* Paigutab järgmise nupu paremale */
.next {
  right: 10px;
}

/* Konteineri asukoht */
.container {
  max-width: 1200px;
  margin: auto; 
  padding: 0 8px;
  margin-top: 5px; 
}
/* Navigeerimise paigutus */
nav {
  display: flex;
  justify-content: space-between; 
  padding: 16px 0; 
}
/* Navigeerimise stiil */
nav ul {
  display: flex;
  list-style: none;
  gap: 32px; 
  font-size: 18px;
}
.nav-links li {
  position: relative;
  display: inline-block; 
  margin-right: 20px; 
}
/* Linkide üldine stiil */
.nav-links a {
 
  text-decoration: none; 
  color: black; 
  font-size: 30px; 
  transition: font-size 0.3s ease; 
}
/* Hover-olek linkide jaoks */
.nav-links a:hover {
  font-size: 35px; 
}
 /* Lisaelement, mis kujutab joont */
.nav-links a::after {
  content: ""; 
  display: block; 
  height: 2px; 
  background-color: pink; 
  width: 100%; 
  position: absolute; 
  bottom: -5px; 
  left: 0; 
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
/* Hover-olek, mis toob joone esile */
.nav-links a:hover::after {
  transform: scaleX(1); 
}

/* Logo konteineri stiil */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container .nav-link {
  display: flex;
  align-items: center;
  font-size: 30px;
}
/* Logo kujundus */
.logo-img {
  width: 50px; 
  height: auto;
  border-radius: 50%; 
  object-fit: cover; 
  margin-right: 10px; 
}

/* Header-contenti kujundus ja teksti stiil */
.header-content {
  display: flex;
  flex-direction: colmun; 
  align-items: center; 
  justify-content: center; 
  gap: 16px; 
  margin-top: 0px; 
}
/* teksti h1 stiil */
.header-content h1 {
  font-size: 60px; 
  color: black; 
  background-color: #ffcad470; 
  font-weight: 500; 
  padding: 10px; 
  border-radius: 10px; 
}
/* teksti p stiil */
.header-content p {
  font-size: 40px; 
  color: var(--primary-dark);  
}

/* Galerii paigutus */
.gallery-content {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 16px; 
  margin-top: 0px; 
}
/* h1 teksti stiil */
.gallery-content h1 {
  font-size: 60px; 
  color: black; 
  font-weight: 500; 
  padding: 30px; 
  border-radius: 10px; 
}
/* galerii header paigutus */
#gallery-header {
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
/* Nupu stiil*/
.primary-btn {
  padding: 14px 20px; 
  background-color: var(--primary-light); 
  color: white; 
  border: none; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  max-width: 220px; 
  font-size: 25px; 
}
/* Hover-olek nupu jaoks */
.primary-btn:hover {
  background-color: var(--primary-dark); 
}
.primary-btn1 {
  padding: 14px 20px; 
  background-color: var(--primary-dark); 
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 220px;
  font-size: 25px;
}
.primary-btn1:hover {
  background-color: var(--accent-beige); 
}
/* Menyy nupu stiil*/
.menu-btn {
  position: absolute; 
  right: 16px; 
  top: 16px; 
  background: var(--primary-light); 
  padding: 8px 12px; 
  border-radius: 4px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  display: none; 
}
/* Galerii stiil*/
#gallerys {
  display: flex; 
  margin-top: 120px;
  gap: 30px; 
  justify-content: center; 
  flex-wrap: wrap; 
}
/* Galerii laius */
.gallery {
  width: 300px; 
}
/* Pildi max laius ja transition*/
.gallery img {
  max-width: 100%; 
  transition: transform 0.3s ease-in-out; 
}
.gallery img:hover {
  transform: scale(1.1); 
}
/* teksti p varv */
.gallery p {
  color: gray; 
}
/* Pildi max laius */
 img {
  max-width: 100%;
}
/* about contenti paigutus ja teksti stiil*/
#about {
  display: flex;
  margin-top: 120px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
/* contenti paigutus */
.about-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 30px;
}
/* h1 teksti stiil ja suurus */
.about-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-transform: uppercase;
}
/* Pildi suurus */
#about img {
  max-width: 100%;
}


#talk-to-us {
  background-color: #e0ddcf;
  background-size: contain;
  background-position: no-repeat;
  background-position: center;
  min-height: 500px;
  margin-top: 120px;
}

.talk-to-us-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 670px;
  gap: 16px;
  padding: 0 16px;
  background-color:#e0ddcf;
}
#about-me {
  background-color: hsl(349, 100%, 90%);
  background-size: contain;
  background-position: no-repeat;
  background-position: center;
  min-height: 500px;
  margin-top: 120px;
}
.aboutme-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 670px;
  gap: 16px;
  padding: 0 16px;
  background-color: hsl(349, 100%, 90%);
}
.aboutme-content h1 {
  color: #dd8238;
  font-size: 35px;
  
}
.aboutme-content p {
  max-width: 500px;
  font-size: 25px;
}
.aboutme-wrapper {
  display: flex;
  gap: 20px; 
  align-items: center;
}
/* Tekst võtab vähem ruumi kui video */
.aboutme-wrapper p {
  flex: 1; 
}
/* Video suurus */
.aboutme-wrapper iframe {
  flex: 1; 
  max-width: 560px;
  height: auto;
}
/* about-me2 paigutus ja teksti stiil*/
#about-me2 {
  background-color: white;
  background-size: contain;
  background-position: no-repeat;
  background-position: center;
  min-height: 500px;
  margin-top: 120px;
}
.aboutme2-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 395px;
  gap: 16px;
  padding: 0 16px;
  background-color: white;
}
/* h1 stiil */
.aboutme2-content h1 {
  color: #dd8238;
  font-size: 35px;
  
}
/* p stiil */
.aboutme2-content p {
  max-width: 500px;
  font-size: 30px;
}
.aboutme2-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}
/* p stiil */
.aboutme2-wrapper p {
  flex: 1; 
}

.aboutme2-wrapper iframe {
  flex: 1;
  max-width: 560px;
  height: auto;
}

/* Paigutus ja teksti suurus */
.crochet-intrests {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 500px;
  gap: 16px;
  padding: 0 16px;
  background-color: white;
}
/* h1 stiil */
.talk-to-us-content h1 {
  color: #dd8238;
  font-size: 35px;
  
}
/* p stiil */
.talk-to-us-content p {
  max-width: 500px;
  font-size: 25px;
}
.talk-to-us-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}
/* Tekst võtab vähem ruumi kui video */
.talk-to-us-wrapper p {
  flex: 1; 
}
/* Video suurus */
.talk-to-us-wrapper iframe {
  flex: 1; 
  max-width: 560px;
  height: auto;
}
/* Teksti suurus*/
.greeting {
  font-size: 45px; 
}

/* Jaluse paigutus ja stiil */
footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  align-items: center;
}
footer ul {
  display: flex;
  list-style: none;
  gap: 32px;
}
footer .logo {
  color: var(--primary-dark);
}

/* Kontakt leht */
#contact-header {
  display: flex;
  align-items: center; 
  justify-content: center; 
  height: 80vh; 
  background-image: url("./img/taustapiltheegeldamine.jpg");
  background-size: cover; 
  background-position: center; 
}

#contact-us {
  display: flex;
  justify-content: space-between;
  margin: 80px auto;
  gap: 60px;
}
#contact-us h1 {
  font-size: 36px;
}
.nav-links {
  display: flex;
  font-size: 30px;
  align-items: center;
}

form {
  flex-basis: 50%;
}
#contact-us .form-container h1 {
  margin-left: 60px;
  font-size: 50px;
}
.inputsWrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
  margin-left: 60px;
}
.inputsWrapper input,
.inputsWrapper textarea {
  padding: 12px 16px;
  width: 100%;
  border: 1px solid var(--primary-dark);
  outline: none;
  max-width: 500px; 
  box-sizing: border-box;
}
.addresss {
  flex-basis: 50%;
  margin-top: 50px;
}
.detailsWrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
  margin-left: 30px;
}
.detail {
  display: flex;
  gap: 10px;
  font-size: 20px;
}
/* Pildi suurus */
.detail img {
  width: 40px;
  height: 40px;
}
.detail h6 {
  color: gray;
}
.followUsWrapper {
  margin-top: 30px;
  margin-left: 30px;
}
/* h3 suurus ja paigutus */
.followUsWrapper h3 {
  font-size: 25px;
  margin-right: 100px;
  }
.socialLink {
  display: flex;
  gap: 16px;
  list-style: none;
  margin-top: 16px;
}
/* Teksti suurus */
footer .footerlinks a {
  font-size: 25px; 
}
/* Teksti suurus */
footer .logo {
  font-size: 35px; 
}
/* Teksti suurus */
footer p {
  font-size: 20px; 
}

/* Galerii leht */
#services-header {
  background-image: url("./img/services-banner.png");
  background-size: cover;
  background-position: bottom center;
  height: 600px;
}
#services-section {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 100%;
  margin: 60px auto;
}
#services-section .service {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
/* Pildi suurus */
#services-section .service img {
  width: 500px;
  height: 400px;
  max-width: 100%;
}
#services-section .service .content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
/* Minust leht */
.about-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 30px;
}
.about-page-content {
  display: flex;
  justify-content: space-between;
  margin: 80px auto;
}
.about-page-content .content {
  max-width: 500px;
  line-height: 30px;
  font-size: 18px;
}
.about-page-content .content h1 {
  color: var(--primary-dark);
  margin-bottom: 30px;
}
/* Mobiilivaade */
@media only screen and (max-width: 520px) {
  #header {
    min-height: auto;
    margin: 0; 
    padding: 0;
  }
  /* h1 stiil */
  .header-content h1 {
    font-size: 32px;
  }
  /* p stiil */
  .header-content p {
    font-size: 24px;
  }
  .menu-btn {
    display: block;
  }
  nav {
    padding: 16px;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -100%; 
    flex-direction: column;
    background-color: #ffcad488;
    width: 80%; 
    height: 100vh;
    align-items: flex-end;
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 200;
  }
  
  nav ul.active {
    right: 0; 
  }
  nav li {
    border-bottom: 1px solid var(--primary-dark);
    width: 100%;
    padding: 8px 16px;
    text-align: right;
  }
  /* Laius */
  #services .service {
    width: 100%;
  }
  /* Pildi suurus */
  #services .service img {
    min-width: 100%;
    max-height: 300px;
  }
  /* Jaluse paigutus ja selle stiil */
  footer {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 !important;
  }
  footer .footerlinks a {
    font-size: 20px; 
  }
  
  footer .logo {
    font-size: 24px; 
  }
  
  footer p {
    font-size: 13px; 
  }
  /* Slaideri paigutus */
  .slider {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: auto; /
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: auto; 
}

/* Nuppude paigutus */
.prev, .next {
    position: absolute; 
    top: 45%; 
    transform: translateY(-50%); 
}
.slide {
  margin: 0; 
  padding: 0; 
  display: block; 
}

  #contact-header {
    min-height: 400px;
  }
  #contact-us {
    flex-direction: column;
    padding: 10px;
  }
  .inputsWrapper {
    margin-left: 0;
  }
  /* Galerii leht */

  #services-section .service {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: center;
    justify-content: center;
  }

  /* Minust leht */
  .about-page-content {
    flex-direction: column;
    gap: 16px;
  }
}
