header {
    overflow: hidden;
    background: #14161b;
    color: white;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1;
    will-change: transform;
}

header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(20, 22, 27, 0.75) 68%);
    pointer-events: none;
}

#hero-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.content-layer {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

header.hero-content-hidden .header-inner {
    opacity: 0;
    transform: translateY(-12px);
    filter: blur(2px);
    pointer-events: none;
}

.header-inner>* {
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeIn 0.9s ease forwards;
}

.header-inner>*:nth-child(1) {
    animation-delay: 0.12s;
}

.header-inner>*:nth-child(2) {
    animation-delay: 0.26s;
}

.header-inner>*:nth-child(3) {
    animation-delay: 0.38s;
}

.header-inner>*:nth-child(4) {
    animation-delay: 0.5s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    font-family: 'Montserrat', 'Nunito', sans-serif;
    margin: 0;
    font-size: clamp(2.1rem, 5.8vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.6px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.38);
}

header p {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1rem, 2.3vw, 1.4rem);
    margin-top: 0.85rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.35px;
}

.contact-links {
    margin-top: 1.8rem;
    display: flex;
    gap: 0.95rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-links a {
    color: white;
    text-decoration: none;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.contact-links a svg {
    width: 22px;
    height: 22px;
}

.contact-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px) scale(1.03);
}

.contact-links a:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.header-inner,
.container,
footer {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hero-travel-link {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 0;
    border: 0;
    background: none;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}

.hero-travel-link:hover {
    transform: translateY(-1px);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 22px rgba(255, 255, 255, 0.4);
}

.hero-travel-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

header.hero-content-hidden .hero-travel-link {
    opacity: 0;
    pointer-events: none;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateX(-50%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    animation: scrollCueFloat 1.9s ease-in-out infinite;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

header.hero-content-hidden .hero-scroll-cue {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
    pointer-events: none;
}

.hero-scroll-cue svg {
    width: 22px;
    height: 22px;
}

.hero-scroll-cue:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.hero-scroll-cue:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@keyframes scrollCueFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 36px 20px 20px;
}

section {
    color: rgba(255, 255, 255, 0.88);
}

section p,
section li {
    color: rgba(255, 255, 255, 0.78);
}

section strong {
    color: rgba(255, 255, 255, 0.96);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 240px;
    gap: 15px;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        grid-auto-rows: 300px;
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-auto-rows: 360px;
        gap: 24px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item:nth-child(4n + 1) {
    grid-column: span 1;
}

.gallery-item:nth-child(4n + 2) {
    grid-column: span 2;
}

.gallery-item:nth-child(4n + 3) {
    grid-column: span 1;
}

.gallery-item:nth-child(4n) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    opacity: 0;
}

.gallery-img.loaded {
    opacity: 1;
    animation: imageLoadFadeIn 0.5s ease forwards;
}

@keyframes imageLoadFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gallery-img.loading {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* Camera Info Section */
.camera-info {
    margin-bottom: 2.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.camera-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.camera-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}


#lightbox-image {
    max-width: calc(90vw - 32px);
    max-height: calc(90vh - 32px);
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}

/* Travel Wishlist Popup */
.travel-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.travel-modal.active {
    opacity: 1;
    visibility: visible;
}

.travel-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 18, 0.82);
}

.travel-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 760px);
    max-height: 86vh;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
    padding: 1.25rem 1.2rem 1.1rem;
}

.travel-modal-content h2 {
    margin: 0 0 1rem;
}

.travel-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.travel-list-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.95rem 1rem;
}

.travel-list-card h3 {
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.94);
}

.travel-list-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.travel-list-card li {
    margin-bottom: 0.35rem;
}

.travel-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    cursor: pointer;
}

.travel-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 600px) {
    header {
        min-height: 72vh;
        min-height: 72svh;
        min-height: 72dvh;
        padding: 3.5rem 1rem 4.5rem;
    }

    .content-layer {
        margin-top: -20px;
        border-radius: 20px 20px 0 0;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .container {
        padding-top: 24px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-scroll-cue {
        bottom: 16px;
        width: 48px;
        height: 48px;
    }

    .hero-travel-link {
        top: 12px;
        right: 12px;
        font-size: 0.8rem;
        padding: 0;
    }

    .hero-scroll-cue svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-content {
        max-width: 92vw;
        max-height: 86vh;
        padding: 12px;
    }

    #lightbox-image {
        max-width: calc(92vw - 24px);
        max-height: calc(86vh - 24px);
    }

    .travel-modal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .container {
        padding-top: 30px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .camera-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-inner>* {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-scroll-cue {
        animation: none;
    }
}

/* Section Navigation Dots (Option 3) */
.section-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.section-dot::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    pointer-events: auto;
}

.section-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(0);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.8), 0 0 20px rgba(96, 165, 250, 0.4);
    transform-origin: right center;
}

.section-dot:hover {
    background: rgba(96, 165, 250, 0.4);
    border-color: rgba(96, 165, 250, 0.6);
    transform: scale(1.3);
}

.section-dot:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1) translateX(-28px);
}

.section-nav:hover .section-dot::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1) translateX(-28px);
}

.section-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    padding: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    animation: none;
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}

.back-to-top:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: backToTopFloat 1.9s ease-in-out infinite;
}

@keyframes backToTopFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hide navigation on small screens */
@media (max-width: 900px) {
    .section-nav {
        display: none;
    }
}

@media (max-width: 768px) {

    .container {
        padding: 28px 14px 16px;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(240px, auto);
        gap: 12px;
    }

    .gallery-item,
    .gallery-item:nth-child(4n + 1),
    .gallery-item:nth-child(4n + 2),
    .gallery-item:nth-child(4n + 3),
    .gallery-item:nth-child(4n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 16px;
    }

    .camera-card {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
}

@media (hover: none) {
    .gallery-caption {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.88rem;
        padding: 10px 12px;
    }

    .gallery-item:hover .gallery-img,
    .gallery-item:active .gallery-img {
        transform: none;
    }

    .back-to-top.visible {
        animation: none;
    }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {

    .content-layer {
        background: rgba(17, 24, 39, 0.62);
    }

    .contact-links a,
    .hero-scroll-cue,
    .back-to-top {
        background: rgba(17, 24, 39, 0.78);
    }
}