/* Gallery Main Container */
.gallery-container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 20px;
}

/* Gallery Placeholder Container */
.gallery-placeholder {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    border: 2px solid var(--primary-color);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(166, 140, 125, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Gallery Placeholder Hover Effect */
.gallery-placeholder:hover {
    background: rgba(166, 140, 125, 0.05);
    transform: scale(1.01);
}

/* Corner Decorations */
.gallery-placeholder::before,
.gallery-placeholder::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.gallery-placeholder::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.gallery-placeholder::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.gallery-placeholder:hover::before,
.gallery-placeholder:hover::after {
    width: 35px;
    height: 35px;
}

/* Gallery Title */
.gallery-placeholder h2 {
    color: var(--text-color);
    font-size: 2em;
    margin-bottom: 20px;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
}

/* Gallery Description */
.gallery-placeholder p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: 'Cormorant Garamond', serif;
}

/* Enter Gallery Button */
.enter-gallery-btn {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    font-family: 'Cormorant Garamond', serif;
    display: inline-block;
}

.enter-gallery-btn:hover {
    background: var(--accent-color);
    transform: scale(1.02);
}

/* Decorative Icon */
.placeholder-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin: 20px 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gallery-placeholder:hover .placeholder-icon {
    opacity: 0.9;
}

.placeholder-icon::before {
    content: '❖';
}

/* Main Content Transition */
#main-content {
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Gallery Navigation Link Styles */
nav a.gallery-link {
    position: relative;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 6px 35px;
    margin: 0;
    min-width: 120px;
    text-align: center;
    display: inline-flex;
    transform: translateY(-6px);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 10px var(--shadow-color);
}

nav a.gallery-link:hover {
    background-color: rgba(166, 140, 125, 0.05);
    color: var(--accent-color);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 15px var(--shadow-color);
    border-color: var(--accent-color);
}

nav a.gallery-link.active {
    background-color: rgba(166, 140, 125, 0.1);
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--shadow-color);
    border-color: var(--accent-color);
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .gallery-placeholder {
        margin: 20px auto;
        padding: 20px 15px;
        min-height: 300px;
    }

    .gallery-placeholder h2 {
        font-size: 1.6em;
    }

    .gallery-placeholder p {
        font-size: 1em;
    }

    .enter-gallery-btn {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .placeholder-icon {
        font-size: 2em;
    }
}

@media screen and (max-width: 480px) {
    .gallery-placeholder {
        margin: 15px auto;
        padding: 15px 10px;
        min-height: 250px;
    }

    .gallery-placeholder h2 {
        font-size: 1.4em;
    }

    .enter-gallery-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}