
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
}

.sidebar {
    background-color: #8B1D20;
    color: #f5e5c3;
    width: 160px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed; /* stick to left corner */
    top: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    z-index: 1000; /* make sure it's on top */
    height: 464px;
    margin-top: 5%;
    margin-bottom: 5%;

}


.sidebar .logo {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar .logo img {
    width: 50px;
    margin-bottom: 10px;
}

.sidebar .logo h2 {
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar nav {
    width: 100%;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.sidebar nav ul li {
    margin: 10px 0;
}

.sidebar nav ul li a {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    color: #f5e5c3;
    text-decoration: none;
}

.sidebar hr {
    width: 60%;
    border: 0.5px solid #333;
    margin: 15px 0;
}

.sidebar .social-icons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.sidebar .social-icons a {
    margin: 0 5px;
}

.sidebar .social-icons a img {
    width: 20px;
}



.overlay button:hover {
    background: white;
    color: #D49C56;
    transform: translateY(-2px);
}
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 8px 0;
    color: #f5e5c3;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.menu li a:hover {
    background-color: #D49C56;
    color: #ffffff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 100%; /* or change to left: 0; for vertical drop */
    top: 0;
    background-color: #8B1D20;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 160px;
    text-align: left;
    border-left: 2px solid #D49C56;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 8px 12px;
    color: #f5e5c3;
    font-size: 11px;
}

.dropdown-menu li a:hover {
    background-color: #D49C56;
    color: #ffffff;
}



/* Popup container */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.popup-content {
    max-width: 80%;
    max-height: 80%;
    border: 4px solid #f5e5c3;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f5e5c3;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/* Popup container */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.popup-content {
    max-width: 80%;
    max-height: 80%;
    border: 4px solid #f5e5c3;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f5e5c3;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.collage-container {
    display: flex;
    width: 100%;
    height: 250px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
    gap: 10px; /* adds gap between images */
}

.collage-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s ease;
    cursor: pointer;
    border-radius: 8px;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

.collage-item .label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(255, 69, 0, 0.8);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.collage-item.active {
    flex: 3;
}

.collage-item.active img {
    transform: scale(1.1);
}

.collage-item:not(.active) img {
    filter: grayscale(80%);
}


.social-icons a .fa-facebook-f {
    color: #1877F2;
}
.social-icons a .fa-x-twitter {
    color: #000000;
}
.social-icons a .fa-youtube {
    color: #FF0000;
}
.social-icons a .fa-instagram {
    /* Instagram uses a gradient, fallback to one color */
    color: #E1306C;
}
.social-icons a .fa-blog, 
.social-icons a .fa-rss {
    color: #FF6600;
}

.social-icons i {
    font-size: 20px;
}

.social-icons i:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}


.corner-logo {
    position: fixed;
    top: 2px;
    right: 24px;          
    width: 90px;          
    height: auto;
    z-index: 2000;        
    border-radius: 6px;
    height: 130px;
}



.main-content {
    width: 100%;
    height: 100vh;
    position: relative;
    background: url('../images/kut.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 7%;    /* space for top fixed quote */
    padding-bottom: 7%; /* space for bottom fixed quote */
    box-sizing: border-box;
}

.top-quote,
.bottom-quote {
    position: fixed;
    width: 100%;
    height: 7%;
    color: #f5e5c3;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
}

 .top-quote {
    top: 0;
    left: 0;
}

.bottom-quote {
    bottom: 0;
    left: 0;
}

.overlay {
    width: 100%;
    max-width: 600px;
    height: 15%;
    background: #8B1D20;
    text-align: center;
    color: white;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0.85;
    padding: 10px 20px;
    margin: 10px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay h1 {
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 1px;

}

.overlay .tagline {
    font-size: 14px;
    font-weight: bold;
    color: #ddd;
}

.image-slider {
    width: 100%;
    max-width: 600px;
    height: 75%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    margin: 10px 0;
}

.slide-track {
    display: flex;
    width: calc(400px * 3);
    transition: transform 0.5s ease;
}

.slide {
    width: 600px;
    flex-shrink: 0;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}




/* Toggle button */
.menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
}

/* Close button inside sidebar */
.menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: none;
}


/* Scrollbar for the entire page */
::-webkit-scrollbar {
    width: 5px; /* Set the width of the scrollbar */
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Light background for the scrollbar track */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #D49C56; /* Darker thumb color */
    border-radius: 5px; /* Rounded corners for the thumb */
    border: 2px solid #8B1D20; /* Border around the thumb for emphasis */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8B1D20; /* Darker color when hovering over the thumb */
}

/* Scrollbar for specific div or container */
.scrollable-container {
    width: 100%;
    height: 300px; /* Example height */
    overflow: auto; /* Enable scrolling */
    padding-right: 10px; /* Add space to ensure the scrollbar appears */
}

.scrollable-container::-webkit-scrollbar {
    width: 12px;
}

.scrollable-container::-webkit-scrollbar-track {
    background-color: #e2e2e2; /* Subtle background color */
    border-radius: 10px;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background-color: #8B1D20;
    border-radius: 10px;
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
    background-color: #D49C56;
}






@media (max-width: 768px) {
    body, html {
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .overlay {
        width: 90%;
        background: #8B1D20;
        border-radius: 12px;
        padding: 10px;
        text-align: center;
    }

    .overlay h1 {
        font-size: 18px;
    }

    .overlay .tagline {
        font-size: 12px;
    }

    .image-slider {
        width: 90%;
        height: 60vh; /* exactly 60% of viewport height */
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden; /* ensure no extra space leaks */
    }

    .slide-track {
        display: flex;
        height: 100%;
        width: 100%;
    }

    .slide {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* fill container fully */
        border-radius: 10px;
        display: block;
    }

    /* Sidebar adjustments */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 220px;
        background-color: #8B1D20;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
        box-sizing: border-box;
        overflow-y: auto;
        z-index: 1100;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .corner-logo {
        position: static;
        width: 100px;
        height: auto;
        margin-bottom: 5px;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 40px; 
        left: 15px;
        font-size: 28px;
        background: #8B1D20;
        border: none;
        color: #fff;
        cursor: pointer;
        z-index: 1200;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);

    }
    


    .menu-close {
        display: block;
        align-self: flex-end;
        margin-bottom: 10px;
        font-size: 28px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }

    .sidebar nav {
        width: 100%;
    }

    .sidebar nav ul {
        width: 100%;
        text-align: center;
    }

    .sidebar nav ul li {
        margin: 5px 0;
    }

    .sidebar nav ul li a {
        font-size: 14px;
        padding: 10px;
    }


    .sidebar .social-icons {
        flex-wrap: wrap; 
        justify-content: space-around; 
        margin-top: 2px;
        gap: 10px;
    }
    
    .sidebar nav {
        margin-bottom: 2px; 
    }

    
}



@keyframes bounce {
    0% {
        transform: translateY(0); /* Starting position */
    }
    50% {
        transform: translateY(-1px); /* Move up by 1px */
    }
    100% {
        transform: translateY(0); /* Move back to original position */
    }
}



.inline-image-row {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.inline-image-row img {
    width: calc(33.33% - 10px);  /* 3 images in a row with gaps */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    object-fit: cover;
}

@media (max-width: 768px) {
    .inline-image-row {
        flex-direction: column;
        gap: 10px;
    }

    .inline-image-row img {
        width: 100%;
    }
}




@media (max-width: 768px) {
    .main-content {
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        padding-top: 20%;
        box-sizing: border-box;
        margin-left: 0;
    }
    .top-quote,
    .bottom-quote {
        width: 100%;
        font-size: 12px;
        padding: 6px 10px;
        box-sizing: border-box;
        text-align: center;
        background: rgba(0, 0, 0, 0.4);
    }
    
   .top-quote,
   .bottom-quote {
        font-size: 12px;
        height: auto;
        padding: 8px;
    }


        .dropdown-menu.show {
        display: block;
        position: relative;
        left: 0;
        top: auto;
        border-left: none;
        width: 100%;
        text-align: center;
    }

}


@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
        position: fixed;
        top: 55px;
        left: 15px;
        font-size: 28px;
        background: #8B1D20;
        border: none;
        color: #fff;
        cursor: pointer;
        z-index: 1200;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 240px;
        background-color: #8B1D20;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 10px;
        box-sizing: border-box;
        overflow-y: auto;
        z-index: 1100;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .menu-close {
        display: block;
        align-self: flex-end;
        margin-bottom: 10px;
        font-size: 28px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }
}



@media (max-width: 1024px) {
    .corner-logo {
        position: relative;       
        top: auto;
        right: auto;
        width: 100px;             
        height: auto;
        margin-bottom: 15px;      
        align-self: center;   
    }
}



@media (min-width: 769px) and (max-width: 1024px) {
    .dropdown-menu.show {
        display: block;
        position: relative;
        left: 0;
        top: auto;
        border-left: none;
        width: 100%;
        text-align: center;
    }

}




@media (min-width: 769px) and (max-width: 1024px) {
    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        box-sizing: border-box;
        padding-top: 100px;   
        padding-bottom: 100px;
        position: relative;
    }


    .image-slider {
        width: 90%;
        height: 30vh;
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .slide {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        display: block;
    }

    .dropdown-menu.show {
        display: block;
        position: relative;
        left: 0;
        top: auto;
        border-left: none;
        width: 100%;
        text-align: center;
        background-color: #8B1D20;
    }

    .menu-toggle{
        position: fixed;
        top: 10;
        left: 5;        
    }


    .top-quote {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        font-size: 16px;
        padding: 6px 10px;
        background: rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        box-sizing: border-box;
    }

    .bottom-quote {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        font-size: 16px;
        padding: 6px 10px;
        background: rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        box-sizing: border-box;
    }


}

