@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root {
    --primary: #CC6635;     /* Rich orange from logo */
    --secondary: #FFD8B1;   /* Light beige/orange as accent */
    --light: #FFFFFF;       /* White from logo background */
    --dark: #2C1B12;        /* Deep brown for contrast */
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .3s ease;
}

body {
    background-color: var(--secondary); /* Light beige background */
    color: var(--dark); /* Text color */
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--dark); /* Deep brown scrollbar thumb */
}

.heading {
    margin-bottom: 20px;
    font-size: 32px;
    color: var(--dark); /* Deep brown heading */
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    cursor: pointer;
    font-size: 18px;
    background-color: var(--light); /* White button background */
    color: var(--dark); /* Deep brown text */
    text-transform: capitalize;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--primary); /* Rich orange on hover */
    color: var(--light); /* White text on hover */
    transform: translateY(-3px); /* Subtle lift effect */
}

.go-home-btn {
    background-color: var(--primary); /* Orange button background */
    color: var(--light); /* White text */
    border: 2px solid var(--primary);
    margin-bottom: 30px;  /* Adds space below the button */
    width: 100%;
}

.go-home-btn:hover {
    background-color: var(--dark); /* Darker background on hover */
    color: var(--light); /* White text on hover */
    transform: translateY(-3px); /* Subtle move up effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.gallery {
    padding: 40px 20px;
    text-align: center;
}

.gallery .image-container {
    gap: 20px;
    columns: 3 350px;
}

.gallery .image-container img {
    break-inside: avoid;
    width: 100%;
    background-color: var(--light); /* White background for images */
    object-fit: cover;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .1); /* Subtle shadow for images */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery .image-container img:hover {
    transform: scale(0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.side-bar {
    height: 100vh;
    width: 320px;
    position: fixed;
    top: 0;
    left: -350px;
    z-index: 1000;
    background-color: var(--light); /* White sidebar */
    padding: 25px;
    border-right: 2px solid var(--dark); /* Deep brown border */
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
}

.side-bar.active {
    left: 0;
}

.side-bar .box {
    border-bottom: 2px solid var(--dark); /* Deep brown border */
    padding: 25px 0;
}

.side-bar .box .title {
    margin-bottom: 15px;
    color: var(--dark); /* Deep brown title text */
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

.side-bar .btn {
    padding: 12px;
    background-color: var(--light);
    color: var(--dark);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.side-bar .btn.active {
    background-color: var(--primary); /* Active button in orange */
    color: var(--light); /* White text for active button */
}

.side-bar .box #search-box {
    border: 1px solid var(--dark); /* Deep brown border for input */
    padding: 12px;
    color: var(--dark);
    width: 100%;
    font-size: 18px;
    border-radius: 8px;
}

.side-bar .reset-btn .btn {
    margin-top: 20px;
    background-color: var(--light);
    width: 100%;
    text-align: center;
}

#side-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--light); /* White background for side menu */
    color: var(--dark); /* Deep brown icon */
    cursor: pointer;
    font-size: 30px;
    z-index: 1100;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--dark); /* Deep brown border */
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#side-menu:hover {
    transform: scale(1.1);
    background-color: var(--primary); /* Hover effect */
    color: var(--light); /* Change icon color */
}

.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
    height: 100vh;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 50px;
    overflow-y: scroll;
}

.image-popup img {
    width: 80%;
    max-width: 900px;
    cursor: pointer;
    border: 10px solid var(--light); /* White border around image */
    transition: transform 0.3s ease;
}

.image-popup img:hover {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .gallery {
        padding-left: 20px;
    }

    #side-menu {
        display: block;
    }

    #side-menu.fa-times {
        top: 0;
        left: 300px;
    }

    .side-bar {
        left: -350px;
    }

    .side-bar.active {
        left: 0;
    }
}

@media (max-width: 768px) {
    .image-popup img {
        width: 100%;
    }
}

@media (max-width: 450px) {
    #side-menu.fa-times {
        top: 10px;
        left: 10px;
    }

    .side-bar.active {
        padding-top: 70px;
    }
}
