/* Gallery Page Styles */

.gallery-hero {
    padding: 70px 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-hero .main-graphic {
    margin-bottom: 0;
}

.gallery-title {
    font-family: 'Boldstrom', sans-serif;
    font-size: 32pt;
    color: #000;
    margin: 20px 0 5px;
    text-transform: uppercase;
}

.gallery-subtitle {
    font-family: 'Boldstrom', sans-serif;
    font-size: 12pt;
    color: #a5a5a5;
    margin: 0 0 25px;
}

/* Nav Buttons */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Boldstrom', sans-serif;
    font-size: 18pt;
    color: #fff;
    background: linear-gradient(to bottom, #ffb347, #ff9d33);
    box-shadow: inset 0 3px 0 rgba(0,0,0,0.08);
    border: 3px solid var(--border-yellow);
    border-radius: 100px;
    padding: 10px 28px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
}

.gallery-nav .nav-icon {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

/* Section Headers (reuse orange-line pattern) */
.gallery-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0 20px;
}

.gallery-section-header .side-line {
    width: 80px;
    height: 3.5px;
    background-color: var(--brand-orange);
}

.gallery-section-header h2 {
    font-family: 'Boldstrom', sans-serif;
    font-size: 18pt;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.gallery-section-header .green {
    color: var(--brand-green);
}

.gallery-section-header .orange {
    color: var(--brand-orange);
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.photo-grid img:hover {
    transform: scale(1.02);
    opacity: 0.92;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid var(--border-yellow);
    cursor: pointer;
    font-family: 'Boldstrom', sans-serif;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--brand-orange);
    transform: scale(1.05);
}

.lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 26pt;
    padding: 0;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 18pt;
    padding: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Boldstrom', sans-serif;
    font-size: 12pt;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 100px;
}

/* Load More Button */
.load-more-wrap {
    text-align: center;
    margin: 25px 0 40px;
}

.load-more-btn {
    font-family: 'Boldstrom', sans-serif;
    font-size: 16pt;
    color: #fff;
    background-color: var(--brand-orange);
    border: 3px solid var(--border-yellow);
    border-radius: 100px;
    padding: 10px 30px;
    cursor: pointer;
    text-transform: uppercase;
    line-height: 1;
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Video Section */
.video-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px;
    text-align: center;
}

.video-section video {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

/* Bottom Section */
.gallery-bottom {
    padding: 40px 20px 60px;
    text-align: center;
}

.back-btn {
    display: inline-block;
    font-family: 'Boldstrom', sans-serif;
    font-size: 16pt;
    color: #fff;
    background-color: var(--brand-orange);
    border: 3px solid var(--border-yellow);
    border-radius: 100px;
    padding: 10px 30px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
    margin-top: 20px;
}

/* Signup Modal */
.signup-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.signup-modal.open {
    display: flex;
}

.signup-modal-content {
    position: relative;
    background-color: var(--bg-color);
    border-radius: 20px;
    padding: 50px 40px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.signup-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 26pt;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 2px solid var(--border-yellow);
    cursor: pointer;
    font-family: 'Boldstrom', sans-serif;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.signup-modal-close:hover {
    background: var(--brand-orange);
    transform: scale(1.05);
}

.signup-modal-content h2 {
    font-family: 'Boldstrom', sans-serif;
    font-size: 16pt;
    color: var(--brand-green);
    margin: 0 0 30px;
    text-transform: uppercase;
    line-height: 1.3;
}

#signup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#signup-form input {
    font-family: 'Boldstrom', sans-serif;
    font-size: 12pt;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 100px;
    background: #fff;
    color: #333;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s ease;
}

#signup-form input::placeholder {
    color: #aaa;
}

#signup-form input:focus {
    border-color: var(--brand-orange);
}

.signup-submit-btn {
    font-family: 'Boldstrom', sans-serif;
    font-size: 16pt;
    color: #fff;
    background-color: var(--brand-orange);
    border: 3px solid var(--border-yellow);
    border-radius: 100px;
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.signup-submit-btn:hover {
    transform: scale(1.02);
    opacity: 0.92;
}

.signup-submit-btn:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
}

.signup-success {
    font-family: 'Boldstrom', sans-serif;
    font-size: 16pt;
    color: var(--brand-green);
    margin: 20px 0 0;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .gallery-title { font-size: 24pt; }
    .gallery-subtitle { font-size: 10pt; }
    .gallery-nav a { font-size: 14pt; padding: 8px 22px; }
    .gallery-section-header .side-line { width: 60px; }
    .gallery-section-header h2 { font-size: 14pt; }
    .photo-grid { gap: 6px; padding: 0 15px; }
    .load-more-btn { font-size: 14pt; }
    .back-btn { font-size: 14pt; }
    .signup-modal-content { padding: 45px 30px 35px; }
    .signup-modal-content h2 { font-size: 14pt; }
    .signup-submit-btn { font-size: 14pt; }
    .video-section video { max-height: 65vh; }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .gallery-hero { padding: 40px 15px 0; }
    .gallery-title { font-size: 18pt; }
    .gallery-subtitle { font-size: 8pt; }
    .gallery-nav { gap: 10px; }
    .gallery-nav a { font-size: 11pt; padding: 7px 16px; border-width: 2px; }
    .gallery-section-header .side-line { width: 30px; }
    .gallery-section-header h2 { font-size: 11pt; }
    .photo-grid { gap: 4px; padding: 0 10px; }
    .load-more-btn { font-size: 12pt; padding: 8px 20px; }
    .video-section video { border-radius: 8px; max-height: 75vh; width: 80%; }
    .back-btn { font-size: 12pt; padding: 8px 20px; }
    .signup-modal { padding: 20px 15px; }
    .signup-modal-content { padding: 40px 20px 30px; border-radius: 16px; }
    .signup-modal-content h2 { font-size: 12pt; margin-bottom: 20px; }
    .signup-modal-close { width: 36px; height: 36px; font-size: 20pt; top: 8px; right: 10px; }
    #signup-form input { font-size: 10pt; padding: 12px 16px; }
    .signup-submit-btn { font-size: 12pt; padding: 10px 24px; }
    .lightbox { padding: 20px 10px; }
    .lightbox-close { width: 36px; height: 36px; font-size: 20pt; top: 10px; right: 10px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 14pt; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-counter { font-size: 10pt; bottom: 10px; }
}
