body {
    margin: 0;
    display: flex;
    flex-direction:column;
    place-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #9cb7a5;
    color: #112D32;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
h1 {
    font-family: "Waiting for the Sunrise", cursive;
    text-align: center;
    margin-top: 20px; /* Add spacing above the text */
}
h2 {
    color: #f6f4d7;
    font-family: "Arapey", serif;
}



.grid-header, .grid-navigation, .grid-footer {
    height: auto;
}

.grid-header {
    grid-area: header; /* Ensure it's properly assigned to the header area */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center;
    padding: 0px;
    color: #f6f4d7;
    letter-spacing: 3px;
    border-radius: 10px;
    max-width: 90%;
    height: 100%; /* Ensure it adjusts to content */
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between the images and logo */
    margin-bottom: 20px; /* Space between the images/logo and the button/text */
}


.header-image {
    max-width: 40%; /* Adjust the size of mountain images */
    height: auto;
}

.responsive-image {
    max-width: 40%; /* Adjust the size of the logo */
    height: auto;
}

.openbtn {
    margin: 10px 0; /* Add space between the button and the header text */
}

.grid-header > .responsive-image {
    max-width: 40%;
    height: auto;
}

.grid-right {
    grid-area: right;
    background-color: #869c8c;
    color: #f6f4d7;
    padding: 20px;
    border-radius: 10px;
    font-family: "Arapey", serif;

}

.grid-right h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.blog-post {
    background-color: #8eaa96;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.blog-post h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.read-more:hover {
    color: #f6f4d7;
}

.grid-left {
    grid-area: left;
    background-color: #687559;
    color: white;
    padding: 20px;
    max-height: 400px;
    border-radius: 10px;
   
}
.grid-left h2 {
    text-align: center;
    font-size: 35px;
    padding-top:5px;
    margin-bottom: 0;
    letter-spacing: 3px;
} 

.reviews-container {
    display: flex;
    flex-direction: wrap;
    gap: 10px;
    font-family: "The Girl Next Door", cursive;
    justify-content: center;
    align-items: center;
}

.review {
    display: none;
    padding: 15px;
    background-color: #9cb7a5;
    border-radius: 8px;
    margin: 95px 0;
}

.review p {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
    color:#687559;
    letter-spacing: 1.5px;
}
.review.active {
    display: block;
}
.customer-name {
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
    font-family: "The Girl Next Door", cursive;
    letter-spacing: 1px;
}



.grid-main h1 {
    color: #869c8c;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    font-size:65px;
    text-decoration: underline;
    font-family: "Waiting for the Sunrise", cursive;
}
.grid-main h2{
    color: #869c8c;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    font-family: "Amatic SC", sans-serif;
    font-weight: bold;
    font-size: 65px;
}

.grid-main p{
    color: #869c8c;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.grid-main h3{
    color: #869c8c;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.grid-main li {
    color: #869c8c;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.work-item {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}

.work-item img {
    width: 100%;
    border-radius: 5px;
}

.work-description {
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.work-description h3 {
    font-family: "Amatic SC", sans-serif;
    font-size: 45px;
}

.work-description p {
    font-family: "Arapey", serif;
    font-size: 20px;
}

/* Add spinning class */
.work-item.spinning img {
    animation: spin 1s ease-in-out;
}

/* Show the description after the spin */
.work-item.spinning .work-description {
    display: block;
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.grid-footer {
    grid-area: footer; /* Ensure it's part of the grid layout */
    display: flex; /* Flexbox for layout of icons and copyright */
    justify-content: space-between; /* Icons and text on opposite sides */
    align-items: center; /* Vertically center content */
    padding: 10px 20px;
    background-color: #112D32;
    color: white;
    width: 100%; /* Ensure it spans full width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.social-icons {
    display: flex; /* Arrange icons in a row */
    gap: 145px; /* Space between icons */
}

.social-icons a {
    color: white;
    font-size: 30px; /* Adjust icon size */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Add hover effect */
}

.social-icons a:hover {
    color: #f6f4d7; /* Change color on hover */
}

.grid-footer p {
    margin: 0;
    text-align: center;
    flex: 1; /* Allow copyright text to occupy extra space */
}

.about-me {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
  }
  
  .about-me h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .about-me p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .about-me-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
    border: 3px solid #1a73e8;
  }


  
  .contact-info {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
  }
  
  .contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .contact-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .contact-list li {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .contact-list a {
    color: #b6b199;
    text-decoration: none;
  }
  
  .contact-list a:hover {
    text-decoration: underline;
  }
  
  .contact-logo {
    width: 400px;
    height: auto;
    margin-top: 20px;
  }
  

/* Side bar*/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #f6f4d7;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    font-family: "Waiting for the Sunrise", cursive;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 45px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #f6f4d7;
    color: white#687559;
    border: none;
    padding: 10px 45px;
}

.openbtn:hover {
    background-color: #444;
}

/* Hide .grid-right on smaller screens (mobile devices) */
@media (max-width: 600px) {
    

    .grid-left, .grid-right {
        display: none; /* Hide these sections on mobile */
    }
}

/* Apply styles for larger screens (tablet and above) */
@media (max-width:900px) {
    

    .grid-right {
        display: block; /* Make sure .grid-right is visible on larger screens */
    }
}
.blog-launcher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #f6f4d7;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.blog-card:hover {
    transform: scale(1.03);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3 {
    margin: 0;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.85);
    font-family: "Arapey", serif;
    font-size: 1.2rem;
    color: #112D32;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.script-title {
    font-family: "Waiting for the Sunrise", cursive;
    font-size: 80px;
    text-align: center;
    margin-top: 20px;
}
/* BLOG POST STYLING */

.blog-post {
    background-color: #f6f4d7;
    color: #112D32;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 850px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: "Arapey", serif;
    line-height: 1.8;
}

.blog-post h1 {
    font-family: "Waiting for the Sunrise", cursive;
    font-size: 64px;
    text-align: center;
    color: #869c8c;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.blog-post h2 {
    font-family: "Amatic SC", sans-serif;
    font-size: 48px;
    color: #687559;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post p {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: #112D32;
}

.blog-post em {
    font-style: italic;
    color: #687559;
}

.blog-post strong {
    font-weight: bold;
    color: #1c3738;
}

.blog-post img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post hr {
    margin: 3rem 0;
    border: none;
    border-top: 2px dashed #869c8c;
}

/* Responsive Text Adjustments */
@media (max-width: 768px) {
    .blog-post {
        padding: 1.5rem;
    }

    .blog-post h1 {
        font-size: 48px;
    }

    .blog-post h2 {
        font-size: 36px;
    }

    .blog-post p {
        font-size: 1rem;
    }
}
/* Fix footer placement in full-height grid */




.grid-footer {
    align-self: end; /* Stick the footer to the bottom */
}


/* CLEANED & CONSOLIDATED GRID LAYOUT FIXES */

.grid-container {
    display: grid;
    grid-template-areas:
        "header header header header"
        "left main main right"
        "left main main right"
        "footer footer footer footer";
    grid-template-columns: 1fr 2fr 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    width: 100%;
}

.grid-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 40px;
    text-align: left;
    background-color: #f0f0f0;
    border-radius: 10px;
    font-family: "Arapey", serif;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.grid-footer {
    grid-area: footer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #112D32;
    color: white;
    width: 100%;
    box-sizing: border-box;
    align-self: end;
}
