/* ===== Reset and Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lobster-regular {
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}



body {
  font-family: 'Lato', sans-serif;
 /* background: linear-gradient(135deg, #121212, #1e1e2f);*/
   background: linear-gradient(135deg, #000000, #f8efe0);
  color: #f0f0f0;
  line-height: 1.8;
  overflow-x: hidden;
  padding-top: 80px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}
.nav-brand {
  font-size: 24px;
  font-weight: bold;
  color: #c7914a;
}
.nav-links a {
  margin-left: 30px;
  font-weight: 600;
  color: #f0f0f0;
  text-decoration: none;
  transition: 0.3s ease;
}
.nav-links a:hover {
  color: #ffa07a;
}

/* ===== Jumbotron ===== */
.jumbotron {
  position: relative;
  height: 100vh;
  background: url('../kuvat/IMG_20250805_170212.jpg') center center / cover no-repeat;
  background-position-y: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jumbotron::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18,18,18,0.8), rgba(30,30,47,0.3));
  backdrop-filter: blur(2px);
  z-index: 1;
}
.jumbotron-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
/*  border: 1px solid rgba(255,255,255,0.1);*/
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}
.jumbotron h1 {
  font-size: 72px;
  
  background: linear-gradient(90deg, #956c36, #c7914a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* text-transform: uppercase;*/
  margin-bottom: 20px;
  animation: glowText 2s ease-in-out infinite alternate;
}
.jumbotron p {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}
.glow-button {
  background: linear-gradient(90deg, #956c36, #c7914a);
  border: none;
  padding: 15px 35px;
  font-size: 18px;
  color: #121212;
  border-radius: 50px;
  box-shadow: 0 0 20px #956c36;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.9s;
}
.glow-button:hover {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 0 40px #c7914a;
}

/* ===== Sections ===== */
section {
  padding: 100px 40px;
}
h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

/* ===== Glass Card ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
}
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.about-content p {
  flex: 1;
  font-size: 18px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.about-content img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}


/* ===== Image Zoom ===== */
img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ===== CAROUSEL ===== */






/* ===== Services ===== */
.services-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.service-box {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.06);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.service-box:nth-child(1) { animation-delay: 0.2s; }
.service-box:nth-child(2) { animation-delay: 0.4s; }
.service-box:nth-child(3) { animation-delay: 0.6s; }
.service-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.service-box p {
  font-size: 16px;
}

/* ===== Contact ===== */
#contact iframe {
  width: 100%;
  max-width: 600px;
  height: 450px;
  border-radius: 15px;
  border: none;
  margin-top: 20px;
  
}
#contact a {
  font-weight: bold;
  color: #ffffff;
}
#contact a:hover {
  color: #dadada;
}
#contact p {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ===== Footer ===== */
footer {
  background-color: #121212;
  color: #f0f0f0;
  padding: 40px 0;
  font-size: 14px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}


/* ===== Typewriter Effect ===== */
.typewriter h1 {
  overflow: hidden;
/*  border-right: 3px solid #ffa07a; */
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 2px;
  animation: typing 3s steps(30, end), blink 0.7s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}



/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowText {
  from { text-shadow: 0 0 10px #ff6f61; }
  to { text-shadow: 0 0 20px #ffa07a; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .jumbotron h1 {
    font-size: 48px;
  }
  .glow-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  section {
    padding: 60px 20px;
  }
}



.banner-image {
  
  background-position: center;
  background-size: cover;
  height: 300px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255, 0.255)
}


.banner-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
  max-width: 100%;
 /* height: auto;*/
  border-radius: 12px;
}
.banner-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}






  .bg-rotator {
    
     
      animation: changeBg 15s infinite;
     
    }



  .bg-rotator2 {
    
     
      animation: changeBg2 15s infinite;
     
    }
  
      @keyframes changeBg {
        0%   { background-image: url("../kuvat/257.JPG"); }
        20%  { background-image: url("../kuvat/Katti.jpg"); }
        40%  { background-image: url("../kuvat/puu.jpg"); }
        80% { background-image: url("../kuvat/nalle.jpg");}
        100% { background-image: url("../kuvat/257.JPG");}
      }



   @keyframes changeBg2 {
    0% { background-image: url("../kuvat/tuoli\ edestä.jpg"); }
   40%  { background-image: url("../kuvat/vanha\ penkki.jpg"); }
      60%   { background-image: url("../kuvat/korjattu\ penkki.jpg"); }
      80%  { background-image: url("../kuvat/vanha\ penkki.jpg"); }
      100% { background-image: url("../kuvat/tuoli\ edestä.jpg"); }

      
      
    }



