/* Body styling to ensure proper layout */
body {
    margin: 0;
    padding: 0;
}

/* Transparent and fixed navbar over slider */
.navbar {
    position: sticky;
    width: 80%;
    z-index: 10;
    background: transparent;
    opacity: 0.9;
    padding: 20px 10px;
    margin: 1.25rem auto;
    background-color: #fbfcfe;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-radius: 1.375rem;
}

.navbar-brand {
    font-weight: 400;
    font-size: 20px;
    color: white !important; /* Force white color */
    background-color: black !important; /* Force black background */
    padding: 15px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
}

.navbar .nav-link {
    color: gray;
    margin-right: 15px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    padding: 8px 0;
    letter-spacing: 1px;
}

.navbar .nav-link:hover {
    color: #f95a25;
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    
    /* margin-top: 10px; */
}

.social-links a {
    color: #333;
    margin-left: 15px;
    font-size: 14px;
}

/* Styling for the slider images */
.carousel-item img {
 
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0px;
    left: 20px;
}

.carousel-caption h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 10px 0;
    color: white;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.carousel-caption h2 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    color: white;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.carousel-caption .btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color:black;
    border: 2px #fff solid;
    color: #fff;
    text-transform: uppercase;
    font-weight:500;

}

/* Gallery transition effects */
.gallery img {
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
    filter: grayscale(0);
}

/* Category Section */
.category-section {
    padding: 50px 0;
}

.category-section h3 {
    margin-bottom: 20px;
    font-weight: 400;
    font-family: "Jost", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.category-section .row {
    margin-top: 50px;
}

.category-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.category-card h5 {
    font-weight: bold;
    margin-top: 20px;
}

.category-card p {
    margin-top: 10px;
    color: #6c757d;
}

/* Hero Section */
.hero{
    position: relative;
    background-image: url('https://prium.github.io/freya/v2.1.0/assets/img/img_1.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

/* Black overlay effect on the topmost image */
.hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity to control the darkness */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.5rem;
}

.section-gallery{
    padding: 80px 0;
}

.section-text{
    padding: 2rem;
}

.section-text h2 {
    margin-bottom: 1rem;
    font-weight: 200;
    font-size: 40px;
}

.section-text p {
    width: 60%;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 20px 200px;
}

.gallery img {
    width: 450px;
    height: 500px;        
    border-radius: 10px;
    object-fit: cover; /* Ensure images fill their containers without stretching */
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.gallery .img3 {
    grid-column: span 2;
    justify-self: center;
    height: 800px; /* Adjust the height as necessary */
    object-fit: cover; /* Maintain aspect ratio without stretching */
}

/* Call to Action Banner */
.cta-banner {
    background: url('https://prium.github.io/freya/v2.1.0/assets/img/img_1.jpg') center/cover no-repeat;
    color: white;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-banner h1 {
    font-size: 36px;
    font-weight: 700;
}

/* Green Hero Section */
.both-green{
    padding: 80px 0;
}
.green{
    position: relative;
    width: 100%;
    background-image: url('https://prium.github.io/freya/v2.1.0/assets/img/banner_2.jpg ');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity to control the darkness */
    z-index: 1;
}

/* .green-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate3d(0, 0, 0);
} */

.green-hero{
    position:relative;
    z-index: 2;
}

.green-hero h1 {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.green-hero p {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Green Text Section */

.green-text-section {
    padding: 2rem;
}

.green-text-section h2 {
    margin-bottom: 1rem;
    font-weight: 200;
    font-size: 40px;
}

.green-text-section p {
    width: 60%;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Green Gallery Section */
.green-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px auto;
    padding: 20px 20px;
    width: 80%;
}

.green-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.green-gallery img:first-child {
    grid-column: span 2;
    transform: translate3d(20px, 0, 0); /* Applying transform to first image */
}

/* General Heading Styles */
h1,
h2,
p {
    text-align: center;
}

/* Showcase Section */
.showcase-area {
    position: relative;
    background-image: url('https://prium.github.io/freya/v2.1.0/assets/img/banner_3.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

/* Black overlay effect on the topmost image */
.showcase-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity to control the darkness */
    z-index: 1;
}

.showcase-content {
    position: relative;
    z-index: 2;
}

.showcase-content h1 {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.showcase-content p {
    font-size: 1.5rem;
}

.down{
    padding: 80px 0;
}
/* Project Description Section */
.project-details {
    padding: 2rem;
}

.project-details h2 {
    margin-bottom: 1rem;
    font-weight: 200;
    font-size: 40px;
}

.project-details p {
    width: 60%;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Image Collection */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 20px 200px;
}

.image-gallery img {
    width: 100%; /* Ensure images take full width of grid cell */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Hawaii Section */
.Hawaii {
    position: relative;
    background-image: url('https://prium.github.io/freya/v2.1.0/assets/img/banner_4.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.Hawaii::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity to control the darkness */
    z-index: 0.7;
}

.Hawaii-content {
    position: relative;
    z-index: 2;
}

.Hawaii-details{
    padding: 2rem;
}
.Hawaii-details h2 {
    font-size: 2rem;
    padding-top: 80px;
}

.Hawaii-details p {
    width: 60%;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

/* Hawaii Gallery */
.Hawaii-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px; /* Restrict the width for larger screens */
}

.Hawaii-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* Styling for specific images (First row and third row) */
.Hawaii-gallery img:nth-child(1),
.Hawaii-gallery img:nth-child(4) {
    grid-column: span 2; /* Take up the full width */
}

.carousel-caption h2 {
        font-size: 3.5rem;
        margin-bottom:;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .Hawaii-gallery {
        grid-template-columns: 1fr; /* Stack images vertically on small screens */
    }
    .navbar-brand {
        font-size: 18px;
    }
    
     .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .navbar 
    {
        padding: 10px 15px;
        width:100%;
    }
    .carousel 
    {
        margin-top: 140px;
        
    }
    
    .gallery {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .gallery img {
        height: 200px;
        width: 150px;
        filter: grayscale(0);
        
    }
}

/* Footer */
.footer {
    background-color: lightgrey;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Social Media Section */
.social-media {
    /* margin-bottom: 10px; */
}

.social-icon {
    color: black;
    margin: 0 15px;
    font-size: 20px;
    transition: color 0.3s ease;
}

/* .social-icon:hover {
    color: #f39c12;
} */
 

.footer-black {
    background-color: black;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    align-items: center;
}

.footer-black-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-black h5 {
    color: lightgrey;
    letter-spacing: 2px;
    font-weight: 400;
    font-size: medium;
}
