@font-face {
    font-family: 'Kalpurush';
    src: url('../../fonts/Kalpurush/kalpurush.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kalpurush', 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Kalpurush', 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.loader {
    border: 9px solid #f3f3f3;
    border-radius: 50%;
    border-top: 9px solid #2d5a27;
    width: 90px;
    height: 90px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1.3s linear infinite;
    margin: 233px auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header Styles */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 2rem;
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    color: #315B36;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.logo-text p {
    color: #ffffff;
    background-color: #315B36;
    font-size: 14px;
    margin: 0;
    width: fit-content;
    padding: 5px 4px;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Kalpurush', sans-serif;
    font-size: 18px;
}

.nav-menu a img {
    margin-top: -8px;
}

.nav-menu a.active {
    border-bottom: 2px solid #315B36;
}

.nav-menu a:hover {
    color: #2d5a27;
}

/* Hero Section */
.hero-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    font-family: 'Kalpurush', sans-serif;
}

.hero-overlay h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #a8e6a3;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #2d5a27;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 25%;
    transform: translateX(-35%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: #ffffff;
    width: 60px;
}

/* Notice Section */
.notice-section {
    background: white;
    padding: 2rem 0;
    /* border-bottom: 1px solid #eee; */
}

.notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.notice-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-process {
    background: white;
    padding: 0 3.3rem;
    /* border-radius: 12px; */
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
}

.booking-process h3 {
    color: #315B36;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 28px;
}

.process-description {
    font-family: 'Kalpurush', sans-serif;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 5px;
}

.step-icon {
    width: 20px;
    height: 20px;
    background: #e74c3c;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content h4 {
    color: #272835;
    font-family: 'Kalpurush', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;

}

.step-content p {
    font-family: 'Kalpurush', sans-serif;
    color: #666;
    line-height: 21px;
    font-size: 14px;
    font-weight: 400;
}

/* Booking Form */
.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.booking-form h3 {
    color: #2d5a27;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 2rem !important
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 0rem;
}

/* Form Controls */
.form-control {
    width: 100%;
    /* padding: 0.75rem; */
    /* border: 2px solid #e1e8ed; */
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group #phone {
    border: 1px solid #e1e8ed;
    border-radius: 0 8px 8px 0;
}

/* .form-control:focus {
    outline: none;
    border-color: #2d5a27;
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 39, 0.25);
} */

.form-control:readonly {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Input Group */
.input-group {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 1;
}

.input-group-prepend {
    display: flex;
}

.input-group-append {
    display: flex;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-right: none;
    /* padding: 0.75rem; */
    border-radius: 8px 0 0 8px;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.input-group .form-control {
    border-radius: 0;
    flex: 1;
    border-left: none;
    border-right: none;
}

/* .input-group .form-control:focus {
    border-color: #2d5a27;
} */

.input-group .input-group-prepend:first-child .input-group-text {
    border-radius: 8px 0 0 8px;
    border-right: 2px solid #e1e8ed;
}

.input-group .input-group-append:last-child .input-group-text {
    border-radius: 0 8px 8px 0;
    border-left: 2px solid #e1e8ed;
}

/* Quantity Buttons */
.btn-quantity {
    background: #315B36;
    color: white;
    border: 1px solid #315B36;
    /* padding: 0.75rem 1.25rem; */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    position: relative;
    z-index: 1;
}

.btn-quantity:hover {
    background: #2d5a27;
    border-color: #2d5a27;
}

.btn-quantity:active {
    background: #1e3d1a;
    border-color: #1e3d1a;
}

.input-group-prepend .btn-quantity {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.input-group-append .btn-quantity {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.input-group .form-control.text-center {
    border-left: 2px solid #e1e8ed;
    border-right: 2px solid #e1e8ed;
}

/* Quantity input specific styling */
#quantity {
    font-weight: 600;
    font-size: 1.1rem;
    color: #272835;
}

/* Disable spinner for quantity input */
#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#quantity {
    -moz-appearance: textfield;
}

/* Text alignment utility */
.text-center {
    text-align: center;
}

/* Number input styling */
input[type="number"].form-control {
    -moz-appearance: textfield;
}

input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Form group spacing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* jQuery UI Datepicker z-index fix */
.ui-datepicker {
    z-index: 9999 !important;
}

.quantity-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    border: none;
    padding: 0.75rem 1rem;
    text-align: center;
    width: 80px;
    font-size: 1rem;
    font-weight: 600;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.unit-price {
    color: #666;
    font-size: 0.9rem;
}

.total-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d5a27;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2d5a27;
}

.pay-button {
    width: 100%;
    background: #2d5a27;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.pay-button:hover {
    background: #1e3d1a;
}


/* Animated Thumbnails Gallery */
/* #animated-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px 0;
}

#animated-thumbnails a {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
}

#animated-thumbnails a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 10;
}

#animated-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

#animated-thumbnails a:hover img {
    transform: scale(1.1);
} */

/* Responsive styles for animated thumbnails */
@media (max-width: 768px) {
    #animated-thumbnails a {
        width: 120px;
        height: 120px;
    }

    #animated-thumbnails {
        gap: 10px;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    #animated-thumbnails a {
        width: 100px;
        height: 100px;
    }

    #animated-thumbnails {
        gap: 8px;
        padding: 10px 0;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay h2 {
        font-size: 1.2rem;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-prev {
        left: 0.5rem;
    }

    .slider-next {
        right: 0.5rem;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* Gallery Section */
.gallery-section-title {
    scroll-margin-top: 100px;
}

.gallery-section {
    padding: 3rem 0;
    margin-top: 2rem;
    background-color: #EFECEA;
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1rem;
    text-align: center;
}

.gallery-title {
    color: #2d5a27;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gallery-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* LightGallery Custom Styles */
#lightgallery .gallery-item {
    cursor: pointer;
}

/* LightGallery modal customization */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
}

.lg-toolbar {
    background: rgba(0, 0, 0, 0.8);
}

.lg-toolbar .lg-icon {
    color: #fff;
}

.lg-toolbar .lg-icon:hover {
    color: #4caf50;
}

.lg-sub-html h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.lg-sub-html p {
    color: #ccc;
    font-size: 14px;
}

.lg-thumb-outer {
    background: rgba(0, 0, 0, 0.8);
}

.lg-thumb-item {
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.lg-thumb-item.active {
    border-color: #4caf50;
}

/* Loading spinner */
.lg-spinner {
    border-color: #4caf50 transparent transparent transparent;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 0 0;
    position: relative;
    background-image: url('/assets/frontend/imgs/footer-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top Section */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
}

.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon {
    font-size: 24px;
    color: white;
}

.footer-park-info h2 {
    width: 152px;
    height: 14px;
    font-family: 'Kalpurush', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0px;
    text-transform: lowercase;
    margin: 0 0 5px 0;
    opacity: 1;
}

.footer-park-info h3 {
    width: 70px;
    height: 10px;
    font-family: 'Kalpurush', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0px;
    text-transform: lowercase;
    margin: 0;
    opacity: 1;
    background-color: #315B36;
    ;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-text {
    color: white;
}

.contact-item.phone .contact-text {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Kalpurush', sans-serif;
    line-height: 32px;
}

.contact-item.location .contact-text {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Kalpurush', sans-serif;
    line-height: 20px;
}

/* Footer Middle Section */
.footer-middle {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.operating-hours h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.operating-hours p {
    color: white;
    font-size: 16px;
    margin: 0;
}

.time-highlight {
    background: #4caf50;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.payment-section h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.payment-logo {
    background: white;
    color: #2c2c2c;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid #FFFFFF;
    padding: 1.5rem 0;
    /* background: #2c2c2c; */
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: white;
    font-size: 14px;
    margin: 0;
}

.social-website-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #4caf50;
}

.social-icon {
    font-size: 16px;
}

.legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.legal-links a {
    color: white;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #4caf50;
}

/* Footer Landscape Background */
.footer-landscape {
    height: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
        max-width: 800px;
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        justify-content: flex-start;
    }

    .logo-section {
        position: static;
        margin-bottom: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay h2 {
        font-size: 1.5rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 1rem;
    }

    .slider-next {
        right: 1rem;
    }

    .carousel-indicators {
        bottom: 1rem;
    }

    .indicator {
        width: 30px;
    }

    .indicator.active {
        width: 45px;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .btn-quantity {
        padding: 0.65rem 1rem;
        font-size: 1.1rem;
        min-width: 40px;
    }

    .booking-process {
        padding: 0 1rem;
    }

    .footer-top {
        gap: 1.5rem;
    }

    .footer-middle {
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-website-links {
        justify-content: center;
    }

    .legal-links {
        justify-content: center;
    }

    /* Gallery responsive behavior */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto);
        max-width: 600px;
        gap: 0.8rem;
    }

    /* Reassign grid positions for mobile (2 columns) */
    .gallery-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .gallery-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-item:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-item:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
    }

    .gallery-item:nth-child(7) {
        grid-column: 1;
        grid-row: 4;
    }

    .gallery-item:nth-child(8) {
        grid-column: 2;
        grid-row: 4;
    }

    .gallery-item:nth-child(9) {
        grid-column: 1;
        grid-row: 5;
    }

    .gallery-item:nth-child(10) {
        grid-column: 2;
        grid-row: 5;
    }

    .gallery-item:nth-child(11) {
        grid-column: 1;
        grid-row: 6;
    }

    .gallery-item:nth-child(12) {
        grid-column: 2;
        grid-row: 6;
    }
}

.error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}


/*--- gallery css start---*/
.gallery-content {
    position: relative;
}

#animated-thumbnails {
    column-width: 280px;
    column-gap: 10px;
    /* padding: 5px; */
}

#animated-thumbnails img {
    width: 100%;
    cursor: pointer;
    padding: 5px 0;
}

.lightbox {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    display: none;
    background: #7f8c8d;
    perspective: 1000;
    z-index: 9999;
}

.filter {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(20px);
    opacity: 0.5;
    background-position: center;
    background-size: cover;
}

.lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(0deg);
    /* max-height: 95vh;
max-width: calc(95vw - 100px); */
    transition: 0.8s cubic-bezier(0.7, 0, 0.4, 1);
    transform-style: preserve-3d;
}


/*.lightbox:hover img{
transform: translate(-50%, -50%) rotateY(180deg);
}*/

[class^="arrow"] {
    height: 200px;
    width: 50px;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

[class^="arrow"]:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 15px;
    height: 15px;
}

.arrowr {
    right: 0;
}

.arrowr:after {
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}

.arrowl {
    left: 0;
}

.arrowl:after {
    border-left: 1px solid white;
    border-top: 1px solid white;
}

.close {
    position: absolute;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    margin: 20px;
    cursor: pointer;
}

.close:after,
.close:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 100%;
    background: #e74c3c;
}

.close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.title {
    font-size: 20px;
    color: #000;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
}

.container {
    display: grid;
    grid-gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 150px);
    margin: 0 auto;
    max-width: 95%;
    padding: 3rem 0;
    max-width: 1200px;
}

/* Responsive columns */
@media (max-width: 992px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* Grid images --------------------------------------------*/
.img {
    border-radius: 1rem;
    height: 100%;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img:hover {
    transform: scale(1.05);
}

/* Grid items --------------------------------------------*/
.item-1 {
    grid-row: 1/4;
}

.item-2 {
    grid-row: 1/3;
}

.item-3 {
    grid-row: 1/4;
}

.item-4 {
    grid-row: 1/3;
}

.item-5 {
    grid-row: 4/6;
}

.item-6 {
    grid-row: 3/6;
}

.item-7 {
    grid-row: 4/6;
}

.item-8 {
    grid-row: 3/6;
}

.item-9 {
    grid-row: 6/8;
}

.item-10 {
    grid-row: 6/8;
}

.item-11 {
    grid-row: 6/8;
}

.item-12 {
    grid-row: 6/8;
}

.item-13 {
    grid-row: 9/13;
}

.item-14 {
    grid-row: 11/13;
}

/* Lightbox --------------------------------------------*/
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* .lightbox img {
    max-width: 1200px;
    max-height: 100vh;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
} */

.lightbox.active {
    display: flex;
}

.lightbox:after {
    content: "×";
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    font-weight: bold;
}
#gallery{
    margin-top: 5rem;
}