@import url('https://fonts.googleapis.com/css2?family=Inter');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    padding: 20px;
    background-color: #212e2b;
    max-width: 100%;
    overflow-x: hidden;
    font-family: sans-serif;
    line-height: 1.6;
    position: relative;
}

.background-img {
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0.9;
    z-index: -1;
}

.navigation {
    width: fit-content;
    position: sticky;
    top: 10px;
    overflow: hidden;
    background-image: url('/images/wood.jpg');
    background-repeat: repeat;
    border-radius: 10px;
    z-index: 1;
    margin-top: 10px;
    margin-left: 10px;
}


h1 {
    color: rgba(188, 224, 177, 0.718);
    font-size: 3em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.main-image {
    max-width: 100%;
    height: auto;
}

.nav-list {
    list-style-type: none;
    display: flex;
    margin: 0px;
    padding: 0px;
}

.nav-item {
    --rotateX: 0;
    --rotateY: 0;
    background-image: url('/images/sign.png');
    background-size: cover;
    background-position: center;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
    width: 10vw;
    height: 6vw;
    margin: 10px;
    transform: perspective(500px) rotateX(var(--rotateX)) rotateY(var(--rotateY));
    transition: transform 0.1s linear;
    will-change: transform;
}

.nav-item:hover {
    transform: perspective(600px) rotateX(var(--rotateX)) rotateY(var(--rotateY)) ;
}

.nav-item a {
    display: block;
    font-size: 2vw;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: black;
    text-align: center;
    line-height: 5vw;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.base-div {
    color: black;
    font-size: clamp(18px, 3vw, 25px);
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

.top-container {
    width: 100%;
    max-width: 700px;
    background-color: rgba(24, 26, 27, 0.85);
    margin-top: 100px;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.bottom-top-container {
    color: rgba(188, 224, 177, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;

}

.star-icon {
    height: 28px;
    width: auto;
    vertical-align: middle;
    margin: 0 4px;
}

.break-div {
    height: 100px;
}

.cottage-euquipment {
    background-color: #406c47;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: fit-content;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.base-info-div {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.appearing-img.base-img {
    width: 40vw;
    max-width: 500px;
    height: auto;
    padding-left: 35px;
    padding-top: 30px;
    border-radius: 50px;
    box-sizing: border-box;
}

@keyframes visible-right {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes visible-left {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.appearing-img.move-left {
    opacity: 0;
    animation-name: visible-left;
    animation-duration: 1ms;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    animation-fill-mode: forwards;
}

.appearing-img.move-right {
    opacity: 0;
    animation-name: visible-right;
    animation-duration: 1ms;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    animation-fill-mode: forwards;
}


.base-info-div-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.euipment-h1 {
    margin-left: 30px;
    position: top;
}

.kitchen-h1 {
    position: top;
    color: rgba(188, 224, 177, 0.718);
    font-size: 2em;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
}

.base-ul {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.base-li::marker {
    content: "✓ ";
}

.base-li {
    margin-left: 20px;
    font-size: 0.8em;
}

.download_button {

    display: inline-block;
    outline: 0;
    border: none;
    cursor: pointer;
    line-height: 1.2rem;
    font-weight: 900;
    background: #007a5a;
    padding: 8px 14px 9px;
    font-size: 15px;
    border-radius: 4px;
    color: #fff;
    height: 36px;
    transition: all 75ms ease-in-out;
}

.download_button:hover {
    box-shadow: 0 1px 4px rgb(0 0 0 / 30%);
}
.download_button a {
    display: block;
    font-size: 2vw;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: black;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.hike-div{
    background-color: rgb(0, 57, 46);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 20px;
    box-sizing: border-box;
}
.hike-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    padding: 50px;
}
.hike-main-header{
    padding-top: 20px;
}
.hike-main-p{
    color: #557856;
}
.hike-header{
    color: #87b48e;
    font-size: larger;
}
.hike-header::before{
    content: "✴";
    color: #c8e6ca;
    display: block;
}
.hike-info{
    color: #75a576;
    font-size: 18px;
}
.hike-a{
    display: inline-block;
    text-decoration: none;
    color: #c8e6ca;
    font-size: large;
    font-weight: 700;
    background: rgb(0, 57, 46);
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.hike-a:hover {
    background: #005a2c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.hike-button {

    display: inline-block;
    outline: 0;
    border: none;
    cursor: pointer;
    line-height: 1.2rem;
    font-weight: 900;
    background: #007a5a;
    padding: 8px 14px 9px;
    font-size: 15px;
    border-radius: 4px;
    color: #c8e6ca;
    height: 36px;
    transition: all 75ms ease-in-out;
    margin-top: 10px;
}

.hike-button:hover {
    box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
}

@keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}

@keyframes slideIn {
  from {transform: scale(0.7); opacity: 0}
  to {transform: scale(1); opacity: 1}
}

.hike-popup {
  display: none; 
  position: fixed !important; 
  z-index: 1000; 
  left: 0 !important;
  top: 0 !important;
  width: 100% !important; 
  height: 100% !important; 
  background-color: rgba(0,0,0,0.4); 
  animation-name: fadeIn;
  animation-duration: 0.4s;
  justify-content: center !important;
  align-items: center !important;
  overflow: auto;
}

.hike-popup-content {
  background-color: #406c47;
  padding: 30px 40px;
  border: 1px solid #888;
  width: 90%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 8px 24px 0 rgba(0,0,0,0.3);
  animation-name: slideIn;
  animation-duration: 0.4s;
  text-align: center;
  font-size: larger;
  line-height: 1.6;
  font-weight: 560;
}

.hike-popup-content h2{
    padding: 10px;
    color: #87b48e
}

.hike-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.hike-close:hover,
.hike-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.footer {
  background-color: #1a3329;
  color: #c8e6ca;
  padding: 40px 20px 20px;
  margin-top: 60px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content h2 {
  color: #87b48e;
  font-size: 2em;
  margin-bottom: 20px;
}

.footer-cta {
  font-size: 1.2em;
  color: #a9d4af;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-info {
  margin: 20px 0;
  line-height: 2;
}

.footer-info p {
  font-size: 1.1em;
  margin: 10px 0;
}

.footer-info a {
  color: #a9d4af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #c8e6ca;
  text-decoration: underline;
}

.footer-pricing {
  background-color: #213d32;
  padding: 25px;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 600px;
}

.footer-pricing h3 {
  color: #87b48e;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.footer-pricing p {
  font-size: 1.1em;
  margin: 10px 0;
}

.footer-note {
  font-size: 0.95em !important;
  color: #a9d4af;
  font-style: italic;
  margin-top: 15px !important;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #406c47;
  color: #75a576;
  font-size: 0.9em;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  body {
    padding: 15px;
    font-size: 18px;
    line-height: 1.6;
  }

  /* Slower background fade on mobile */
  .background-img {
    opacity: 0.9;
  }

  /* Navigation - hide on mobile */
  .navigation {
    display: none;
  }

  /* Star icon larger on mobile */
  .star-icon {
    height: 32px;
    margin: 0 6px;
  }

  /* Headings bigger */
  h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .kitchen-h1 {
    font-size: 1.8em;
    text-align: center !important;
  }

  /* Top container */
  .top-container {
    width: 95%;
    padding: 20px;
    margin-top: 50px;
    position: relative;
  }

  .base-div {
    font-size: clamp(22px, 5vw, 30px);
    padding: 15px;
  }

  /* Break div smaller on mobile */
  .break-div {
    height: 50px;
  }

  /* Base info sections */
  .base-info-div {
    flex-direction: column;
    padding: 0;
    width: 100%;
  }

  .base-info-div-text {
    padding: 20px 15px;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .base-img {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }

  .base-ul {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .base-li {
    font-size: 1.1em;
    margin: 10px 0;
    line-height: 1.5;
  }

  /* Full width sections on mobile - fix overflow */
  .cottage-euquipment,
  .hike-div,
  .footer {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 15px;
  }
  
  .base-info-div {
    max-width: 100%;
  }

  /* Hike grid - single column on mobile */
  .hike-grid {
    grid-template-columns: 1fr;
    padding: 20px 15px;
    gap: 20px;
  }

  .hike-item {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }

  .hike-header {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .hike-header::before {
    font-size: 1.3em;
  }

  .hike-info {
    font-size: 1.05em;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .hike-button {
    font-size: 17px;
    padding: 12px 20px;
    width: 100%;
    margin-top: 10px;
  }

  /* Popup adjustments */
  .hike-popup-content {
    width: 95%;
    padding: 30px 20px;
    max-width: none;
    font-size: 17px;
  }

  .hike-popup-content h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .hike-popup-content p {
    font-size: 1em;
    line-height: 1.6;
  }

  .hike-close {
    font-size: 36px;
  }

  .hike-a {
    font-size: 17px;
    padding: 14px 24px;
    display: inline-block;
  }

  /* Footer */
  .footer {
    padding: 40px 20px 20px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-content h2 {
    font-size: 2em;
  }

  .footer-cta {
    font-size: 1.15em;
    line-height: 1.5;
  }

  .footer-info p {
    font-size: 1.05em;
    line-height: 1.7;
  }

  .footer-info a {
    display: inline-block;
    padding: 5px;
  }

  .footer-pricing,
  .contact-form-section {
    padding: 25px 20px;
    margin: 25px 0;
  }

  .footer-pricing h3,
  .contact-form-section h3 {
    font-size: 1.4em;
  }

  .footer-pricing p {
    font-size: 1.05em;
    line-height: 1.6;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 14px;
  }

  .form-submit {
    font-size: 17px;
    padding: 14px 28px;
    width: 100%;
  }

  .download_button {
    font-size: 16px;
    padding: 12px 18px;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }

  .download_button a {
    font-size: 16px;
  }
}

/* Adjust background fade speed on mobile */
@media screen and (max-width: 768px) {
  body {
    background-color: #212e2b;
  }
}