.navbar {
    background: #1a1a1a;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    text-align: center;
}

.nav-logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.gallery-container {
    padding: 100px 40px 40px;
    max-width: 1800px;
    margin: 0 auto;
    text-align: center;
}

.gallery-container h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: lowercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.item-overlay h3 {
    margin: 0;
    font-size: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.item-overlay p {
    margin: 5px 0 0;
    opacity: 0.8;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 25px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 40px auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.modal-gallery {
    position: relative;
    margin-bottom: 30px;
}

.main-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail-strip img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.6;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail-strip img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.thumbnail-strip img.active {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.build-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 20px;
    align-items: start;
}

.info-column, .specs-column {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.build-header {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.build-header h2 {
    margin-bottom: 25px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.build-description {
    font-size: 1.25rem;
    line-height: 1.5;
    text-transform: lowercase;
}

.specs-column h3 {
    margin-bottom: 20px;
    text-align: center;
    text-transform: lowercase;
}

.specs-column ul {
    list-style: none;
    padding: 0;
}

.specs-column li {
    margin: 10px 0;
    padding: 12px;
    background: #252525;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.specs-column li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quote-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 47px;
    padding: 15px 0;
}

.quote-text {
    color: #ffffff;
    font-size: 1.65rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.quote-button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 11px 27px;
    border-radius: 5px;
    font-size: 1.17rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.quote-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.contact-section {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
}

.inquire-button {
    display: none;
}

.contact-button {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 2rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.contact-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 15px;
        margin: 20px auto;
    }
}
