/*
proscuba.eu | style.css | Created by IT Kraft Kft. | www.itkraft.hu
*/

:root {
    --deep: #001b2e;
    --mid: #004b7a;
    --light: #2dc8d7;
    --foam: #d5f8ff;
    --sand: #d4b36a;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    /*height: 100%;*/
    height: 100dvh;
    overflow: hidden;
    font-family: "Outfit", sans-serif;
    background: radial-gradient(circle at 20% -10%, #4ecfe0 0%, transparent 35%),
    radial-gradient(circle at 80% 110%, #006f9e 0%, transparent 42%),
    linear-gradient(180deg, #6be6f0 0%, #0f7fa7 36%, #00557f 70%, #00334f 100%);
    color: var(--foam);
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.underwater-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 26px);
    mix-blend-mode: soft-light;
    animation: ripple 12s linear infinite;
}

.reef {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -3vh;
    height: 26vh;
    background: linear-gradient(180deg, rgba(212, 179, 106, 0.1), rgba(212, 179, 106, 0.6));
    clip-path: polygon(0 100%, 0 45%, 8% 56%, 16% 38%, 23% 55%, 32% 36%, 41% 57%, 50% 30%, 59% 58%, 67% 43%, 76% 62%, 85% 41%, 92% 55%, 100% 35%, 100% 100%);
    filter: blur(0.2px);
}

.scene {
    position: relative;
    width: 100%;
    height: 100%;
    isolation: isolate;
}

.top-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 12;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(0, 25, 40, 0.42);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(213, 248, 255, 0.25);
}

.nav-toggle {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(213, 248, 255, 0.14);
    cursor: pointer;
    transition: background 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    /*-webkit-touch-callout: none;*/
}

.nav-toggle-label {
    text-align: center;
    color: var(--foam);
    text-transform: uppercase;
}

.nav-toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--foam);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.main-nav.mobile-only {
    display: none;
}


.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.brand-text {
    display: none;
    color: var(--foam);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lang-btn {
    border: 0;
    min-width: 46px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(213, 248, 255, 0.14);
    color: var(--foam);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lang-btn:hover {
    background: rgba(213, 248, 255, 0.24);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(45, 200, 215, 0.65);
    color: #01202f;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 2rem;
}

.main-nav a {
    flex: 1;
    text-align: center;
    color: var(--foam);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 3px;
    transition: background 0.25s ease, color 0.25s ease;
    border-radius: 0.5rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #ffffff;
    background-color: #D5F8FF1E;
    text-decoration: none;
}

.page-content {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-content.ready {
    visibility: visible;
    opacity: 1;
}

.logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    width: min(92vw, 900px);
    max-height: 88vh;
    overflow: auto;
    padding: clamp(14px, 2.2vw, 24px);
    border-radius: 26px;
    background: linear-gradient(140deg, rgba(0, 27, 46, 0.58), rgba(0, 75, 122, 0.24));
    backdrop-filter: blur(4px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(213, 248, 255, 0.26);
    animation: logoFloat 5.5s ease-in-out infinite;
    text-align: center;
}

.logo-wrap img {
    display: block;
    width: min(100%, 420px);
    margin: 0 auto;
    height: auto;
    filter: drop-shadow(0 0 22px rgba(213, 248, 255, 0.46));
}

.logo-subtitle {
    margin-top: clamp(12px, 2vw, 18px);
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: clamp(0.62rem, 1.2vw, 0.84rem);
    color: rgba(213, 248, 255, 0.85);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
}

.profile-content {
    margin-top: clamp(12px, 2vw, 18px);
    padding: clamp(14px, 1.8vw, 20px);
    border-radius: 18px;
    text-align: left;
    background: linear-gradient(145deg, rgba(0, 20, 34, 0.62), rgba(0, 58, 88, 0.35));
    box-shadow: inset 0 0 0 1px rgba(213, 248, 255, 0.16);
}

.profile-content h1 {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    letter-spacing: 0.04em;
}

.profile-content p {
    margin: 0 0 10px;
    line-height: 1.5;
    font-size: clamp(0.86rem, 1.36vw, 1rem);
    color: rgba(213, 248, 255, 0.95);
}

.profile-content .contact-title {
    margin-top: 16px;
    font-weight: 700;
}

.contact-item {
    margin: 4px 0;
    font-size: clamp(0.82rem, 1.3vw, 0.98rem);
}

.logo-wrap a,
.logo-wrap a:visited {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.75);
}

.logo-wrap a:hover,
.logo-wrap a:focus-visible {
    color: var(--foam);
    text-decoration-color: #000000;
    text-decoration: none;
}

.social-row {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.24);
    box-shadow: inset 0 0 0 1px rgba(213, 248, 255, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover {
    transform: translateY(-1px);
    background: rgba(24, 119, 242, 0.4);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: #d5f8ff;
}

.site-footer {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 14;
    font-size: 0.82rem;
    color: rgba(213, 248, 255, 0.92);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.site-footer a,
.site-footer a:visited {
    color: inherit;
    text-decoration-color: currentColor;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #000000;
    text-decoration-color: #000000;
}

.map-wrap {
    position: relative;
    margin-top: 16px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(213, 248, 255, 0.24), 0 12px 32px rgba(0, 0, 0, 0.35);
    isolation: isolate;
}

.osm-map {
    width: 100%;
    height: clamp(180px, 26vh, 260px);
    background: #001b2e;
    transition: filter 0.4s ease;
}

.osm-map .leaflet-tile {
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
}

.osm-map .leaflet-control-zoom a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    text-align: center;
    color: white;
    background: #001b2e;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.osm-map .leaflet-control-zoom a:hover {
    color: white;
    background: #004b7a;
}


#gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 egyforma oszlop */
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    /*background: #0f172a;*/
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

#gallery-featured {
    width: 100%;
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 4px;
}

#gallery-featured .gallery-link {
    display: block;
    width: 100%;
}

#gallery-featured img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem 0.5rem 0.9rem;
    border-radius:1rem;
    color: var(--foam);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(45, 200, 215, 0.4);
    background: var(--deep);
}

.fish-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 3;
}

.diver-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 4;
    pointer-events: none;
}

.fish {
    position: absolute;
    left: -16vw;
    top: var(--y);
    width: var(--size);
    height: calc(var(--size) * 0.46);
    border-radius: 50% 44% 48% 42%;
    background: linear-gradient(90deg, rgba(213, 248, 255, 0.95), rgba(62, 206, 220, 0.7));
    opacity: var(--opacity);
    filter: blur(var(--blur));
    animation: swim var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.fish::before {
    content: "";
    position: absolute;
    left: -18%;
    top: 18%;
    width: 30%;
    height: 65%;
    background: rgba(213, 248, 255, 0.85);
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    transform-origin: left center;
    animation: tail 0.8s ease-in-out infinite;
}

.fish::after {
    content: "";
    position: absolute;
    right: 14%;
    top: 35%;
    width: 8%;
    height: 20%;
    border-radius: 50%;
    background: #001521;
    opacity: 0.7;
}

.fish.back {
    transform: scale(0.7);
    opacity: calc(var(--opacity) * 0.6);
}

.shark {
    position: absolute;
    left: -24vw;
    top: var(--y);
    width: var(--size);
    height: calc(var(--size) * 0.34);
    border-radius: 46% 52% 44% 58%;
    background: linear-gradient(90deg, rgba(150, 186, 204, 0.9), rgba(92, 125, 148, 0.85));
    opacity: var(--opacity);
    filter: blur(var(--blur));
    animation: sharkSwim var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.shark::before {
    content: "";
    position: absolute;
    left: 36%;
    top: -38%;
    width: 22%;
    height: 54%;
    background: rgba(128, 164, 183, 0.86);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.shark::after {
    content: "";
    position: absolute;
    left: -20%;
    top: 18%;
    width: 24%;
    height: 62%;
    background: rgba(168, 201, 218, 0.9);
    clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.jellyfish {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: calc(var(--size) * 1.4);
    opacity: var(--opacity);
    filter: blur(var(--blur));
    animation: jellyDrift var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.jellyfish::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 54%;
    border-radius: 50% 50% 42% 42%;
    background: radial-gradient(circle at 45% 20%, rgba(233, 250, 255, 0.88), rgba(126, 202, 224, 0.46));
}

.jellyfish::after {
    content: "";
    position: absolute;
    left: 20%;
    top: 48%;
    width: 60%;
    height: 52%;
    background: repeating-linear-gradient(
            90deg,
            rgba(169, 232, 246, 0.78) 0 2px,
            transparent 2px 8px
    );
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.12));
}

.diver {
    position: absolute;
    left: -20vw;
    top: var(--y, 50%);
    width: var(--size, 120px);
    height: calc(var(--size, 120px) * 0.44);
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.34));
    animation: diverSwim var(--duration, 15s) linear forwards;
    transform-origin: center center;
}

.diver .head {
    position: absolute;
    right: 12%;
    top: 23%;
    width: 9%;
    height: 24%;
    border-radius: 50%;
    background: #1c3642;
}

.diver .mask {
    position: absolute;
    right: 9.5%;
    top: 28%;
    width: 7%;
    height: 12%;
    border-radius: 8px;
    background: #84d8ee;
    border: 1px solid rgba(8, 20, 28, 0.55);
}

.diver .snorkel {
    position: absolute;
    right: 7.8%;
    top: 18%;
    width: 2.2%;
    height: 16%;
    border-radius: 4px;
    background: #0f2430;
}

.diver .torso {
    position: absolute;
    right: 20%;
    top: 28%;
    width: 30%;
    height: 22%;
    border-radius: 16px 20px 20px 14px;
    background: linear-gradient(90deg, #07131a, #16313e 65%, #1d3e4f);
    transform: rotate(-8deg);
}

.diver .waist {
    position: absolute;
    right: 41%;
    top: 43%;
    width: 10%;
    height: 11%;
    border-radius: 8px;
    background: #0e2734;
}

.diver .tank {
    position: absolute;
    right: 42%;
    top: 23%;
    width: 9%;
    height: 30%;
    border-radius: 7px;
    background: linear-gradient(180deg, #91a8b5, #657f8e);
}

.diver .arm {
    position: absolute;
    top: 46%;
    width: 13%;
    height: 6%;
    background: #0f2c3a;
    border-radius: 7px;
}

.diver .arm.front {
    right: 28%;
    transform-origin: right center;
    animation: armMove 1.5s ease-in-out infinite;
}

.diver .arm.back {
    right: 37%;
    opacity: 0.85;
    transform-origin: right center;
    animation: armMove 1.5s ease-in-out infinite reverse;
}

.diver .thigh {
    position: absolute;
    top: 48%;
    width: 18%;
    height: 7%;
    background: #112d3b;
    border-radius: 7px;
    transform-origin: right center;
}

.diver .thigh.front {
    right: 46%;
    animation: none;
    transform: rotate(4deg);
}

.diver .thigh.back {
    right: 51%;
    opacity: 0.8;
    animation: none;
    transform: rotate(-8deg);
}

.diver .shin {
    position: absolute;
    top: 52%;
    width: 15%;
    height: 6.5%;
    background: #0f2c3a;
    border-radius: 7px;
    transform-origin: right center;
}

.diver .shin.front {
    right: 58%;
    animation: none;
    transform: rotate(12deg);
}

.diver .shin.back {
    right: 62%;
    opacity: 0.82;
    animation: none;
    transform: rotate(3deg);
}

.diver .fin {
    position: absolute;
    top: 52.5%;
    width: 13%;
    height: 11%;
    background: #0b1f2b;
    clip-path: polygon(0 50%, 100% 14%, 100% 86%, 18% 76%, 18% 24%);
}

.diver .fin.front {
    right: 69%;
    transform-origin: right center;
    animation: none;
    transform: rotate(8deg);
}

.diver .fin.back {
    right: 73%;
    opacity: 0.84;
    transform-origin: right center;
    animation: none;
    transform: rotate(-6deg);
}

.diver .bubble-trail {
    position: absolute;
    right: 14%;
    top: 13%;
    width: 6%;
    height: 12%;
    border-radius: 50%;
    background: rgba(213, 248, 255, 0.72);
    box-shadow: -11px -7px 0 -2px rgba(213, 248, 255, 0.45), -18px -13px 0 -4px rgba(213, 248, 255, 0.3);
}

.bubbles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -10vh;
    width: var(--b-size);
    height: var(--b-size);
    left: var(--x);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), rgba(213, 248, 255, 0.05));
    border: 1px solid rgba(213, 248, 255, 0.55);
    animation: rise var(--b-duration) linear infinite;
    animation-delay: var(--b-delay);
    opacity: 0.45;
}

@keyframes swim {
    0% {
        transform: translateX(-20vw) translateY(0) scaleX(1);
    }
    18% {
        transform: translateX(22vw) translateY(-2vh) scaleX(1);
    }
    42% {
        transform: translateX(47vw) translateY(2.5vh) scaleX(1);
    }
    67% {
        transform: translateX(75vw) translateY(-1.8vh) scaleX(1);
    }
    100% {
        transform: translateX(135vw) translateY(0.8vh) scaleX(1);
    }
}

@keyframes sharkSwim {
    0% {
        transform: translateX(-22vw) translateY(0) scaleX(1);
    }
    30% {
        transform: translateX(36vw) translateY(-1.6vh) scaleX(1);
    }
    65% {
        transform: translateX(84vw) translateY(1.4vh) scaleX(1);
    }
    100% {
        transform: translateX(140vw) translateY(-0.8vh) scaleX(1);
    }
}

@keyframes jellyDrift {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }
    25% {
        transform: translateX(1.4vw) translateY(-3.8vh) scale(1.02);
    }
    55% {
        transform: translateX(-1.1vw) translateY(-7vh) scale(0.98);
    }
    100% {
        transform: translateX(1.9vw) translateY(-12vh) scale(1.03);
    }
}

@keyframes tail {
    0%, 100% {
        transform: rotate(8deg);
    }
    50% {
        transform: rotate(-12deg);
    }
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-118vh) translateX(2.8vw);
    }
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, calc(-50% - 10px));
    }
}

@keyframes diverSwim {
    0% {
        transform: translateX(-22vw) translateY(0) rotate(1deg) scale(var(--scale, 1));
        opacity: 0;
    }
    8% {
        opacity: 0.82;
    }
    42% {
        transform: translateX(44vw) translateY(calc(var(--drift, 10px) * -1)) rotate(-2deg) scale(var(--scale, 1));
    }
    72% {
        transform: translateX(84vw) translateY(var(--drift, 10px)) rotate(1.5deg) scale(var(--scale, 1));
    }
    100% {
        transform: translateX(136vw) translateY(0) rotate(0deg) scale(var(--scale, 1));
        opacity: 0;
    }
}

@keyframes kickFront {
    0%,
    100% {
        transform: rotate(16deg);
    }
    50% {
        transform: rotate(-24deg);
    }
}

@keyframes kickBack {
    0%,
    100% {
        transform: rotate(-18deg);
    }
    50% {
        transform: rotate(16deg);
    }
}

@keyframes armMove {
    0%,
    100% {
        transform: rotate(-7deg);
    }
    50% {
        transform: rotate(12deg);
    }
}

@keyframes thighFront {
    0%,
    100% {
        transform: rotate(9deg);
    }
    50% {
        transform: rotate(-12deg);
    }
}

@keyframes thighBack {
    0%,
    100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(12deg);
    }
}

@keyframes shinFront {
    0%,
    100% {
        transform: rotate(20deg);
    }
    50% {
        transform: rotate(-4deg);
    }
}

@keyframes shinBack {
    0%,
    100% {
        transform: rotate(-6deg);
    }
    50% {
        transform: rotate(16deg);
    }
}

@keyframes finFront {
    0%,
    100% {
        transform: rotate(13deg);
    }
    50% {
        transform: rotate(-15deg);
    }
}

@keyframes finBack {
    0%,
    100% {
        transform: rotate(-11deg);
    }
    50% {
        transform: rotate(14deg);
    }
}

@keyframes ripple {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(6px) scale(1.03);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
}

@media (max-width: 720px) {

    .logo-wrap {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-block;
    }

    .top-nav {
        left: 0;
        right: 0;
        top: 0;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 0 0 16px 16px;
        border-radius: 0;
    }

    #main-nav.mobile-only {
        display: flex;
        position: fixed;
        top: 2.5rem;
        left: 0;
        right: 0;
        /*background: rgba(14, 25, 39, 0.95);*/
        background: rgba(0, 25, 40, 0.92);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1rem;
        z-index: 100;
        max-height: calc(100vh - 2.5rem);
        overflow-y: auto;
        opacity: 0;
        /*border-radius: 1rem;*/
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
    }

    #main-nav.mobile-only.open {
        display: flex;
        opacity: 1;
        transition: opacity 0.2s ease, visibility 0s linear 0s;
    }

    .lang-btn-row {
        margin-top: 1rem;
    }


    .brand-text {
        display: inline-block;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .logo-wrap {
        width: min(92vw, 560px);
        border-radius: 20px;
        top: 50%;
        padding: 12px 12px 36px 12px;
        max-height: 90vh;
    }


    .logo-wrap img {
        /*width: min(100%, 240px);*/
    }

    .reef {
        height: 22vh;
    }

    .site-footer {
        font-size: 0.74rem;
        bottom: 8px;
    }

    /* ezt megnézni!!! */
    #main-nav.mobile-only {
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    #main-nav.mobile-only.open {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
    }

    #gallery-grid {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {
    .fish,
    .shark,
    .jellyfish,
    .diver,
    .bubble,
    .underwater-glow,
    .logo-wrap {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (min-width: 769px) {
    .logo-wrap::-webkit-scrollbar {
        width: 8px;
    }

    .logo-wrap::-webkit-scrollbar-track {
        background: rgba(0, 27, 46, 0.35);
        border-radius: 10px;
    }

    .logo-wrap::-webkit-scrollbar-thumb {
        background: var(--light);
        border-radius: 10px;
    }

    .logo-wrap::-webkit-scrollbar-thumb:hover {
        background: #2dc8d7;
    }
}

/* Rentals */
.rentals-table-wrapper {
    width: 100%;
    margin-top: 12px;
}

.rentals-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: clamp(0.85rem, 1.2vw, 0.98rem);
}

.rentals-table th {
    background: rgba(0, 20, 34, 0.45);
    color: rgba(213, 248, 255, 0.85);
    font-weight: 600;
    padding: 0.5rem 0.5rem;
    border-bottom: 2px solid rgba(45, 200, 215, 0.25);
}

.rentals-table td {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid rgba(213, 248, 255, 0.1);
}

#dives-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap:1rem;
}

.dive-card {
    background: transparent;
    border-radius: 0;
    padding: 0 0 1.5rem 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(213, 248, 255, 0.1);
}

.dive-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dive-card h3 {
    margin: 0 0 8px 0;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--light);
    letter-spacing: 0.04em;
}

.swiper-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.dive-card p, .dive-card div {
    margin: 0 0 8px 0;
    font-size: clamp(0.85rem, 1.2vw, 0.98rem);
    color: rgba(213, 248, 255, 0.9);
    line-height: 1.5;
}

.gallery-album-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.prev-galleries-section {
    margin-top: 2rem;
    border-top: 1px solid rgba(213, 248, 255, 0.9);
    text-align: left;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(213, 248, 255, 0.14);
    cursor: pointer;
    margin: 1rem 1rem;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: rgba(213, 248, 255, 0.25) !important;
}

.swiper-button-disabled {
    opacity: 0.35;
    cursor: default !important;
}

.prev-gallery-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
}

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

.prev-gallery-card:hover .album-cover img {
    transform: scale(1.05);
}

.prev-gallery-info {
    margin-top: 0.5rem;
}