﻿/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to bottom, #693e6c, #ccbfce, #ffffff);
}

.content {
    max-width: 963px;
    width: 100%;
/*    text-align: center; */
}

.logo {
    max-width: 963px;
    height: auto;
    margin-bottom: 20px;
    width: 100%;
}

.logo-text {
    color: black;
    text-shadow: 0 0 10px white, 0 0 20px white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 54px;
    margin: 8px;
}

.home-link {
    text-decoration: none;
    display: inline-block; /* or block, depending on your layout */
}

    .home-link:hover {
        text-decoration: none; /* Prevents underline on the whole block */
    }

.word {
    display: inline-block;
    /* keeps spacing natural */
}

    .word::first-letter {
        font-size: 1.25em;
        /* 25% larger */
    }

h1 {
    text-transform: uppercase !important;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #eee;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-align: center;
}

.main-content {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    background: white;
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    /* slight breathing room */
    gap: 25px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* subtle shadow separates from gradient */
    border-radius: 8px;
    /* optional: softens the corners */
}

/* Tablet layout (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-content {
        grid-template-columns: 180px 1fr 180px;
        /* narrower sidebars */
        gap: 20px;
    }

    .logo-text {
        font-size: 36px;
    }
}


.left-menu {
    background: transparent;
    /* or match your design */
    text-align: left;
}

    .left-menu ul {
        list-style: none;
        /* removes the bullets */
        margin: 0;
        padding: 0;
    }

    .left-menu li {
        margin-bottom: 12px;
        /* space between items */
    }

    .left-menu a {
        display: block;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

        /* Hover effect */
        .left-menu a:hover {
            background: rgba(0, 0, 0, 0.05);
            color: #693e6c;
            /* matches your gradient purple */
            padding-left: 20px;
            /* subtle indent on hover */
        }

        /* Active page styling */
        .left-menu a.active {
            background: #693e6c;
            color: white;
            font-weight: 600;
        }

        /* Optional: Add subtle indicators */
        .left-menu a::before {
            content: "→";
            opacity: 0;
            margin-right: 8px;
            transition: opacity 0.2s ease;
        }

        .left-menu a:hover::before {
            opacity: 0.6;
        }

/* Mobile layout */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }


    .logo-text {
        font-size: 26px;
    }

    /* Left menu becomes horizontal navigation at the top */
    .left-menu {
        order: 1;
    }

        .left-menu ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

        .left-menu li {
            margin-bottom: 0;
        }

        .left-menu a {
            padding: 6px 12px;
            background: #f5f5f5;
            border-radius: 30px;
            white-space: nowrap;
            font-size: 0.85rem;
        }

            /* Remove the arrow entirely on mobile */
            .left-menu a::before {
                content: none;
            }

            .left-menu a:hover {
                padding-left: 12px; /* keep consistent padding */
                background: #693e6c;
                color: white;
            }

    .center-content {
        order: 2;
    }

    .right-menu {
        order: 3;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .main-content {
        padding: 15px;
        gap: 15px;
    }
}

.search-box {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.section-header {
    background: #f0f4f8;
    padding: 0.75rem 1rem;
    margin: 1.5rem 0 1rem 0;
    border-left: 4px solid #007bff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

    .section-header:first-of-type {
        margin-top: 0;
    }

.country-header {
    background: #e8f0fe;
    padding: 0.5rem 1rem;
    margin: 1rem 0 0.75rem 0;
    border-left: 4px solid #28a745;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.lot {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
    margin-left: 1rem;
}

    .lot:hover {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }

.lot-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e466e;
    margin-bottom: 0.5rem;
}

.lot-section {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.lot-description {
    margin: 0.75rem 0;
    color: #2d3e50;
}

/*.lot-prices {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #dee2e6;
}

    .lot-prices span {
        background: #f8f9fa;
        padding: 0.25rem 0.75rem;
        border-radius: 2rem;
        font-size: 0.875rem;
    }*/

.unsold {
    background: #f8d7da;
    color: #721c24;
    font-style: italic;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
}

.lot-images {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

    .lot-images img {
        max-width: 120px;
        max-height: 120px;
        border-radius: 0.5rem;
        border: 1px solid #ddd;
        cursor: pointer;
        transition: transform 0.2s;
    }

        .lot-images img:hover {
            transform: scale(1.05);
        }

.alert {
    background-color: #fff3e0;
    border-left: 5px solid #e67e22;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

    .alert a {
        color: #e67e22;
        text-decoration: underline;
        font-weight: 500;
    }

        .alert a:hover {
            color: #b85e0a;
        }

.hidden {
    display: none;
}

.count {
    margin: 0.5rem 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.lot-prices {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 4pt 0 0 0;
    padding: 4pt 0 0 0;
    border-top: 1px dashed #dee2e6;
}

    .lot-prices span {
        background: #f8f9fa;
        padding: 0.2rem 0.6rem;
        border-radius: 2rem;
        font-size: 0.75rem;
    }

.video-link {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    text-decoration: none;
    margin-left: auto; /* Pushes the video link to the right */
}

    .video-link:hover {
        background: #cc0000;
        color: white;
        text-decoration: none;
    }

@media (max-width: 600px) {
    .content {
        padding: 1rem;
    }

    .lot-images img {
        max-width: 80px;
        max-height: 80px;
    }

    .lot {
        margin-left: 0.5rem;
    }
}

.map-container {
    margin: 20px 0; /* Adds space above and below the map */
    border-radius: 8px; /* Optional: gives the map soft, modern corners */
    overflow: hidden; /* Ensures the rounded corners hide the iframe's sharp edges */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: adds a subtle shadow */
}

    /* The iframe will now automatically fill this container */
    .map-container iframe {
        width: 100%;
        height: 450px;
        display: block; /* Removes any extra spacing below the iframe */
    }

/* For mobile screens, you can adjust the height */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px; /* A bit shorter on phones */
    }
}

.right-menu h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.auction-dates {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .auction-dates li {
        margin-bottom: 10px;
        padding: 8px 0;
        font-weight: 500;
        font-size: 0.95rem;
        border-bottom: 1px solid #eee; /* subtle separator */
    }

        .auction-dates li:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }



.site-footer {
    background: #4c2c4e;
    color: #ecf0f1;
    padding: 1.5rem 0 1rem 0;
    margin-top: 2rem;
    border-radius: 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem;
}

    .footer-section h3 {
        color: #fff;
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section li {
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        color: #bdc3c7;
        text-decoration: none;
    }

        .footer-section a:hover {
            color: #fff;
            text-decoration: underline;
        }

.footer-bottom {
    text-align: center;
    padding-top: 0.75rem;
    margin-top: 1rem;
    border-top: 1px solid #7f8c8d;
    font-size: 0.875rem;
    color: #bdc3c7;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Sidebar styles */
.sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 1.5rem 0;
    flex-shrink: 0;
}

    .sidebar h3 {
        padding: 0 1rem 0.75rem 1rem;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #6c757d;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 0.75rem;
    }

.category-list {
    list-style: none;
}

    .category-list li {
        margin: 0;
        padding: 0;
    }

.category-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    cursor: pointer;
}

    .category-link:hover {
        background: #f7fafc;
        color: #007bff;
        border-left-color: #007bff;
    }

    .category-link.active {
        background: #ebf5ff;
        color: #007bff;
        border-left-color: #007bff;
        font-weight: 500;
    }

/* Image gallery styles for auction images page */
.images-page {
    max-width: 1000px;
    margin: 0 auto;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.gallery-caption {
    padding: 1rem;
    background: #f8f9fa;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    border-top: 1px solid #eee;
}

/* Lightbox overlay */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

    .lightbox.active {
        display: flex;
    }

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: rgba(0,0,0,0.8);
    }

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .images-page {
        padding: 1rem;
    }

    .gallery-item {
        border-radius: 0.5rem;
    }
}

/* Two-column layout overrides for auction pages */
.auction-layout {
    display: flex;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem 0 0.3rem;
}

.auction-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
    height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 1rem;
/*    padding: 1rem;*/
}

    .auction-sidebar nav ul {
        list-style: none;
        padding: 0;
    }

    .auction-sidebar nav li {
        margin-bottom: 0.25rem;
    }

    .auction-sidebar nav a {
        display: block;
        padding: 0.5rem 0.75rem;
        color: #4a5568;
        text-decoration: none;
        border-radius: 0.5rem;
        transition: all 0.2s;
    }

        .auction-sidebar nav a:hover {
            background: #e9ecef;
            color: #007bff;
        }

        .auction-sidebar nav a.active {
            background: #007bff;
            color: white;
        }

    .auction-sidebar .home-link {
        font-weight: bold;
        border-bottom: 1px solid #dee2e6;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }

.auction-main {
    flex: 1;
    min-width: 0;
}

/* Mobile responsive - hide sidebar, full width content */
@media (max-width: 768px) {
    .auction-layout {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    /* Hide the sidebar completely on mobile */
    .auction-sidebar {
        display: none;
    }

    .auction-main {
        width: 100%;
    }

    /* Ensure lot images don't overflow */
    .lot-images {
        flex-wrap: wrap;
    }

        .lot-images img {
            max-width: 80px;
            max-height: 80px;
        }

    /* Reduce padding on lots */
    .lot {
        padding: 0.75rem;
        margin-left: 0;
    }

    /* Adjust price display for small screens */
    .lot-prices {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .lot-prices span,
        .enquiry-button {
            font-size: 0.75rem;
        }
}

/* Extra small screens (below 480px) */
@media (max-width: 480px) {
    .auction-layout {
        padding: 0.5rem;
        border-radius: 4px;
    }

    .auction-main h1 {
        font-size: 1.2rem;
    }

    .lot-number {
        font-size: 1rem;
    }

    .lot-section {
        font-size: 0.7rem;
    }

    .lot-description {
        font-size: 0.85rem;
    }

    .lot-prices {
        flex-direction: column;
        gap: 0.25rem;
    }

        .lot-prices span,
        .enquiry-button {
            display: inline-block;
            width: auto;
        }
}