/* HERO SECTION */
.home {
    padding: 0;
}

.hero-wrapper {
    background: linear-gradient(135deg, #f8e7df, #f3d6cc);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
}

.hero-content {
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 600;
    text-transform: capitalize;
    color: rgb(27, 26, 26);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 1.1rem;
    color: rgb(46, 45, 45);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image img {
    max-width: 100%;
    height: 100%;
    transition: var(--transition);
}

/* Search Form */
.home-search {
    position: relative;
    max-width: 500px;
    margin-top: 2rem;
}

.home-search .input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.home-search input {
    height: 3.5rem;
    border: none;
    padding: 1rem 1.8rem;
    font-size: 1rem;
    background: white;
}

.home-search input:focus {
    outline: none;
    box-shadow: none;
}

.home-search .btn {
    height: 3.5rem;
    width: 3.5rem;
    background: gold;
    color: #000;
    border: none;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.home-search .btn:hover {
    background: #e6b800;
    transform: scale(1.05);
}

.home-search .lnr {
    font-size: 1.2rem;
    font-weight: 800;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .home-search {
        margin: 2rem auto;
    }

    .hero-image {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* ================= GALLERY SECTION ================= */

/* Pinterest Style Gallery */
.pinterest-gallery {
    padding: 50px 0;
    background-color: var(--second-text-color);
}

.section-title {
    text-align: center;
}

/* Pinterest Grid */
.pinterest-grid {
    columns: 4;
    column-gap: 20px;
}

.pinterest-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.pinterest-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pinterest-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.pinterest-item:hover .pinterest-img {
    transform: scale(1.05);
}

.pinterest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.pinterest-item:hover .pinterest-overlay {
    transform: translateY(0);
}

.pinterest-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.pinterest-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.pinterest-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Grid Item Heights - Pinterest Style */
.pinterest-grid .pinterest-item:nth-child(5n+1),
.pinterest-grid .pinterest-item:nth-child(5n+3) {
    height: 320px;
}

.pinterest-grid .pinterest-item:nth-child(5n+2),
.pinterest-grid .pinterest-item:nth-child(5n+4) {
    height: 280px;
}

.pinterest-grid .pinterest-item:nth-child(5n+5) {
    height: 350px;
}

.pinterest-grid .pinterest-item:nth-child(5n+6) {
    height: 300px;
}

.pinterest-grid .pinterest-item:nth-child(5n+7) {
    height: 260px;
}

/* Animation for grid items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox Styles */
.gallery-lightbox .modal-content {
    background-color: transparent;
    border: none;
}

.lightbox-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.lightbox-sidebar {
    background-color: white;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Load More Button */
#loadMoreBtn {
    padding: 10px 20px;
    font-weight: 500;
    margin-top: 3rem;
    cursor: pointer;
    background: palevioletred;
    border: none;
    color: #000;
    border-radius: 2px;
    
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .pinterest-grid {
        columns: 3;
    }
}

@media (max-width: 992px) {
    .pinterest-grid {
        columns: 2;
    }

    .lightbox-img {
        height: 400px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }

    .lightbox-sidebar {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
}

@media (max-width: 768px) {
    .pinterest-grid {
        columns: 1;
    }

    .nav-container {
        width: 100%;
        justify-content: center;
    }
}


section {
    padding: 2rem 0 3rem;
}

section h2 {
    text-align: center;
    margin-bottom: 0.6rem;
}

.title {
    text-align: center;
    /* margin-bottom: 4rem; */
}

.title h2 {
    font-size: 2rem;
    font-weight: 400;
    text-transform: capitalize;
    font-family: 'Dancing Script', cursive;
    color: palevioletred;
    display: inline-block;
    position: relative;
}
