/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Times;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-left: 50px; /* ⬅️ SAME NUMBER AS ABOVE */
    margin-right: 50px; /* ⬅️ SAME NUMBER AS ABOVE */
}

.content-wrapper {
    margin: 0 100px; /* Same as border width */
    position: relative;
    z-index: 1;
}

.container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
}

/* Header 
header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
}
*/

header .container {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0 35px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.left-border,
.right-border {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 80px; /* ⬅️ CHANGE THIS - smaller number = smaller border */
    z-index: 999;
}

.left-border {
    left: 0;
    background: url('images/tiles2.png') no-repeat left top;
    background-size: 80px 100%; /* ⬅️ FIRST NUMBER HERE SHOULD MATCH WIDTH ABOVE */
}

.right-border {
    right: 0;
    background: url('images/tiles2.png') no-repeat right top;
    background-size: 80px 100%; /* ⬅️ FIRST NUMBER HERE SHOULD MATCH WIDTH ABOVE */
}

/* Main content */
main {
    flex: 1;
    padding-top: 50px;
}

.image-container {
    display: inline-block;
      max-width: 100vh;
    justify-content: space-between;
    transform: translateY(30px);
    margin-left: auto;
    vertical-align: bottom;
}

.image-container img {
    max-width: 100px;
    height: 100%;
    transform: scaleY(0.6);
    top: 10%;
    display: block;
    left: -20px;
}

/* Container for both buttons - PUTS THEM SIDE BY SIDE */
.main-buttons {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 2px solid #000000;
    height: 350px;
    padding: 10px 20px;
}

/* Button Wrapper */
.button-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Image Button */
.image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.image-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ===== LEFT BUTTON DROPDOWN (YOUR ORIGINAL WORKING CODE) ===== */
.dropdown-menu {
    display: block;
    position: absolute;
    padding: 6px 10px;
    top: 17%;
    left: 45%;
    background-color: white;
    width: 200px;
    border-radius: 4px;
    z-index: -1;
    transform: translateX(-20px);
    transition: all 0.4s;
}

.dropdown-menu.show {
    left: 94%;
    transform: translateX(0);
    z-index: 50;
}

/* Dropdown items */
.dropdown-item {
    display: block;
    padding: 7px 16px;
    text-decoration: none;
    color: #000000;
    font-size: 19px;
    border: 2px solid #000000;
    border-bottom: 2px solid #eee;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.dropdown-menu.show .dropdown-item {
    transform: translateX(0);
}

.dropdown-item:last-child {
    border-bottom: 2px solid #000000;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

/* ===== RIGHT BUTTON DROPDOWN (NEW - ANIMATES DOWN) ===== */
.dropdown-right {
    display: block;
    position: absolute;
    padding: 6px 10px;
    top: 10%; /* Below button */
    left: 3%; /* Align with button */
    background-color: white;
    width: 280px;
    z-index: 50;

    transform: translateY(-20px) skewY(8deg);;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-sizing: border-box;
}

.dropdown-right.show {
    transform: translateY(100%) skewY(8deg);;
    pointer-events: auto;
}

/* Right dropdown items */
.dropdown-right .dropdown-item {
    display: block;
    padding: 5px 16px;
    text-decoration: none;
    color: #000000;
    font-size: 19px;
    border: 2px solid #000000;
    border-bottom: 2px solid #eee;
    margin-bottom: 4px;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
    box-sizing: border-box;
}

.dropdown-right.show .dropdown-item {
    transform: translateY(0);
}

.dropdown-right .dropdown-item:last-child {
    margin-bottom: 0;
    border-bottom: 2px solid #333;
}

.dropdown-right .dropdown-item:hover {
    background-color: #f5f5f5;
}

.image-button.right-btn {
    transform: scale(0.97); /* Make it 90% size */
    margin-top: 20px; /* Move it down slightly */
    margin-left: 10px; /* Move it right slightly */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.image-button.right-btn:hover {
    stroke-width: 1;
}

/* Optional: Adjust dropdown position if needed */
.right-btn-wrapper .dropdown-right {
    scale: 90%;
    top: calc(100% - 210px);
    left: calc(20px);
}
/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: white;
    padding: 0;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-back:hover {
    background: #555;
}

.lightbox-image-container {
    max-width: 100%;
    max-height: 70vh;
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    font-family: Times;
    font-size: 18px;
    color: #333;
    padding: 10px;
}

.lightbox-nav {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.lightbox-prev,
.lightbox-next {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: Times;
    font-size: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #555;
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Make grid images clickable */
.grid-item {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.grid-item:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}
