* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    
}

main > section:last-child{
  margin-bottom: 0;
  padding-bottom: 0;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #00381f;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.1s ease;
  border: 1px solid #00381f;
}
.btn:hover {
  background-color: #ffffff; 
  color: #00381f;
}


/* **** *****/
/* Fade-in */
/* 1. Keyframes */ 
@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dropFromTop {
  0% {
    opacity: 0;
    transform: translateY(-70px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromBottom {
  0% {
    opacity: 0.5;
    transform: translateY(70px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hide only main content */
.text-paragraph, .image-element,
.fade-in-section {
  opacity: 0;
}

/* Sections: animate on page load */
.fade-in-section.page-load {
  animation: slideFromLeft 1s ease forwards;
}

/* Paragraphs: animate on scroll */
.text-paragraph.visible {
  animation: dropFromTop 0.5s ease 0.3s forwards;
} 

/* Images: animate on scroll */
.image-element.visible {
  animation: slideFromBottom 0.8s ease 0.2s forwards;
}






/************************************************/
 /* Property-pages styles*/

.property-hero{
            position: relative;
            background-image: url('luckysummer-edenproject.jpg');
            background-size: cover;
            background-position: center;
            height: 100vh;
            color: #f5f5dc;
        }
        .overlay{
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            background: rgba(0, 0, 0, 0.75);
            display: flex;
            align-items: center;
            justify-content:center;
            text-align: center;
        }
        .hero-caption{
            max-width: 1500px;
        }
        .hero-caption h2{
            font-size: 3rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }
        .hero-caption p{
            font-size: 1.1rem;
            
        }
        @media(max-width: 768px)  {
            .hero-caption h2{
                font-size: 2rem;
            }
            .hero-caption p{
                font-size: 1rem;
            }
        }

        /*******************************/
        /* Invitation*/
        .container{
          width: 90%;  
          max-width: 1100px;
          margin: 0 auto;
        }
        .invitation{
            background-color: #fff;
            color: #083108;
            text-align: center;
            padding: 3rem 1rem;
        }
        .invitation h2{
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        .invitation p{
            max-width: 700px;
            margin: 0 auto 2rem; 
            font-size: 1.1rem;
            line-height: 1.6rem;
        }

        /************************************/
        /* Features*/
        .features{
            background-color: #f8f8f8;
            padding: 3rem 1rem;
            margin-bottom: 3rem;
        }
        .features h2{
            text-align: center;
            font-size: 2rem;
            margin-bottom: 2rem;
            color: #083108;
        }
        .feature-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        .feature-item{
            background: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
            border-radius: 4px; 
            padding: 1.5rem;
            text-align: center;
        }
        .feature-item i{
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.8rem;
            color: #083108;
            background: linear-gradient(135deg, #b5bfa1, #46765d);
            width: 50px;
            height:50px;
            border-radius: 50%;
            margin: 0 auto 10px auto;
        }
        .feature-item h3{
            color: #083108;
            padding-bottom: 0.4rem;
        }
        .feature-item p{
            color: #083108;
            line-height: 1.3rem;
        }

        /*********************************/
        /*Gallery*/
        .gallery {
        padding: 3rem 1rem;
        background: #fff;
        }

        .section-title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #083108;
        }

        .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1px;
        }

        .gallery-item {
        position: relative;
        overflow: hidden;
        }

        .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease-in-out;
        }

        /* Hover zoom effect */
        .gallery-item:hover img {
        transform: scale(1.15) !important;
        }

        /*****************************************/
        /* Availabilty status*/
       /* Section */
        .availability {
        text-align: center;
        padding: 3rem 1rem;
        background: #f8f9fa;
        }

        .availability h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        }

        /* Card layout */
        .availability-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto;
        }

        .availability-card {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
        }

        .availability-card:hover {
        transform: translateY(-5px);
        }

        .availability-card h3 {
        margin-bottom: 0.5rem;
        }

        .availability-card p {
        margin-bottom: 1rem;
        font-size: 1.1rem;
        color: #444;
        }

        /* Button styles */ 
        .btn.disabled {
        background: #ccc;
        color: #666;
        cursor: not-allowed;
        pointer-events: auto;
        opacity: 0.95;
        }

        /***************************/
        /* cta*/
         .cta {
            height: 100%;
            background: #fff;
            color: #083108;
            text-align: center;
            padding: 2rem;
            margin: 2rem auto;
        }

        .cta h2 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: #083108;
        }

        .cta p {
            font-size: 1.1rem;
            color: #083108;
        }
        .last-p{
            margin-bottom: 1.5rem;
        }
        .btn{
            margin-bottom: 40px;
        }     












