@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* vars */
:root {
    --nav-height: 85px;
    --nautica-blue: rgb(41, 22, 111);
    --nautica-blue-semitransparent: rgba(41, 22, 111, 0.7);
    --nautica-yellow: rgb(255, 255, 0);
    --nautica-yellow-semitransparent: rgba(255, 255, 0, 0.7);
    --grey-default: rgb(32, 32, 32);
    --grey-default-semitransparent: rgba(32, 32, 32, 0.7);
    --lightgrey-default: rgb(207, 207, 207);
    --lightgrey-default-semitransparent: rgba(207, 207, 207, 0.7);  
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #222;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    padding-top: var(--nav-height);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

main {
    background-color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
}

/* cursor */
@media (pointer: fine) {
    body, a, button, .dropdown-toggle, .gallery-item, .lightbox button, input, select, textarea, label {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 27px; 
    height: 27px;
    background-color: rgba(255, 255, 0, 0.4);
    border-radius: 50%;
    pointer-events: none; 
    z-index: 99999; 
    transform: translate(-50%, -50%); 
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    backdrop-filter: blur(3px);
}

.custom-cursor.cursor-hover {
    width: 10px; 
    height: 10px;
    background-color: rgba(41, 22, 111, 0.9); 
    border-color: transparent;
}

@media (pointer: coarse) {
    .custom-cursor { display: none; }
}

/* nav */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    height: var(--nav-height);
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
    background-color: rgba(255, 255, 255, 0.45); 
}

body:has(.lightbox.active) nav {
    opacity: 0;
    pointer-events: none;
}

nav::before {
    content: "";
    position: absolute;
    inset: 0; 
    z-index: -1; 
    background-color: transparent; 
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

nav.nav-scrolledSmall::before {
    background-color: rgba(255, 255, 255, 0.5); 
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

nav.nav-scrolledLarge::before {
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

nav img {
    height: calc(var(--nav-height) - 12px);
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav a, nav .dropdown-toggle {
    color: var(--grey-default);
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block; 
    line-height: 1.5;
    padding: 0.4rem 0.8rem;
    border-radius: 60px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

nav .nav-buttons a:hover, nav .dropdown:hover .dropdown-toggle {
    background-color: var(--nautica-yellow-semitransparent);
    color: var(--nautica-blue);
}

nav.nav-scrolledLarge .nav-buttons a,
nav.nav-scrolledLarge .dropdown-toggle {
    color: white;
}

nav .dropdown { position: relative; display: inline-block; }

nav .dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 220px;
    border-radius: 10px;
    transform: translateX(-50%); 
    background: transparent;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    overflow: hidden;
    z-index: 1003;
    flex-direction: column;
    padding: 0.5rem 0;
}

nav .dropdown:hover .dropdown-menu { display: flex; }

nav .dropdown-menu a {
    border-radius: 0; 
    padding: 0.8rem 1.2rem;
    font-size: 1.05rem;
    text-align: left;
    display: block;
}

nav.nav-scrolledSmall .dropdown-menu { background-color: rgba(255, 255, 255, 0.7); }
nav.nav-scrolledLarge .dropdown-menu { background-color: rgba(0, 0, 0, 0.6); }

/* headers */
header {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: height 360ms ease, padding 360ms;
}

header.header--small { height: 18rem; max-height: 18rem; }

header .header-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.5) 100%);
    z-index: -1;
    pointer-events: none;
}

header .logo-container img { width: 36rem; margin-bottom: 0; transition: width 300ms ease; }

header#home .logo-container {
    transform: translateY(-2.5rem);
}
header.header--small .logo-container img { width: 11rem; margin-bottom: 8px; }

header h1 {
    margin: 0;
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: #29166f;
    text-shadow:
        -1.2px -1.2px 0 #ffffff,
        1.2px -1.2px 0 #ffffff,
        -1.2px 1.2px 0 #ffffff,
        1.2px 1.2px 0 #ffffff,
        -1.6px 0 0 #ffffff,
        1.6px 0 0 #ffffff,
        0 -1.6px 0 #ffffff,
        0 1.6px 0 #ffffff,
        0 0 4px rgba(255,255,255,0.22);
    transition: font-size 300ms ease;
    position: relative;
    z-index: 2;
}

header.header--small h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); transform: translateY(-4px); text-shadow: -1.2px -1.2px 0 #ffffff, 1.2px -1.2px 0 #ffffff, -1.2px 1.2px 0 #ffffff, 1.2px 1.2px 0 #ffffff; }

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--nautica-blue);
    z-index: 10;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
    cursor: none;
}

.scroll-arrow:hover {
    color: var(--nautica-yellow);
    animation-play-state: paused; 
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* content */
section.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: transparent; 
    padding: 3.5rem 1rem 2rem 1rem; 
}


section.section-header h2 {
    font-size: 2.5rem;
    color: var(--nautica-blue);
    margin: 0 0 1rem 0;
    position: relative;
    padding-bottom: 1rem;
    --line-width: 60px;
}

section.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--line-width);
    height: 4px;
    background-color: var(--nautica-yellow);
    border-radius: 2px;
    transition: ease 0.05s;
}

section.section-header p {
    max-width: 600px;
    margin: 1rem 0 0 0;
    color: #555;
    font-size: 1.15rem;
    line-height: 1.7;
}

section.section-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 1rem 6rem 1rem;
    background-color: transparent; 
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto; 
}

section.section-box .box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1 1 320px;
    max-width: 700px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section.section-box .box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.12);
}

section.section-box .box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

section.section-box .box h3 {
    color: var(--nautica-blue);
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

section.section-box .box p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
    flex-grow: 1;
}

.cta-section {
    background-color: var(--nautica-blue);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 4rem 1rem;
    margin-top: 0rem;
}

.wave-divider {
    display: block;
    width: 100%;
    height: 120px;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.cta-section h2 { font-size: 2.5rem; margin-top: 0; margin-bottom: 1rem; }
.cta-section p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem auto; opacity: 0.9; }

.cta-button {
    display: inline-block;
    background-color: var(--nautica-yellow);
    color: var(--grey-default);
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 60px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: none; 
}
.cta-button:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

/* events */
.z-pattern-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 4rem 1rem; display: flex; flex-direction: column; gap: 4rem; }
.z-row { display: flex; align-items: center; gap: 3rem; }
.z-row.reverse { flex-direction: row-reverse; }
.z-image { flex: 1; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15); }
.z-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.z-row:hover .z-image img { transform: scale(1.03); }
.z-text { flex: 1; }
.z-text h3 { color: var(--nautica-blue); font-size: 2rem; margin: 0 0 1rem 0; }
.z-text ul { background-color: var(--lightgrey-default-semitransparent); padding: 1.5rem 1.5rem 1.5rem 2.5rem; border-radius: 8px; margin-top: 1.5rem; }
.z-text li { margin-bottom: 0.5rem; font-weight: 600; }

.calendar-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 4rem 1rem; display: flex; flex-direction: column; gap: 4rem;}
.calendar-item { display: flex; align-items: center; gap: 3rem; background-color:white; padding: 1.5rem; border-radius: 12px; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);}
.calendar-text { flex: 1; }
.calendar-text h4 { color: var(--nautica-blue); font-size: 1.8rem; margin: 0 0 1rem 0; }
.calendar-text ul { background-color: var(--lightgrey-default-semitransparent); padding: 1.5rem 1.5rem 1.5rem 2.5rem; border-radius: 8px; margin-top: 1.5rem; }
.calendar-text li { margin-bottom: 0.5rem; font-weight: 600; }
.spaces-number.spaces-available { color: #2e7d32; }
.spaces-number.spaces-full { color: #d32f2f; }


/* courses */
.courses-container { max-width: 1200px; margin: 2rem auto 4rem auto; padding: 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.course-card { background-color: white; border-radius: 12px; box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08); padding: 2.5rem 2rem; display: flex; flex-direction: column; border-top: 6px solid var(--lightgrey-default); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.course-card:hover { transform: translateY(-8px); box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.12); }
.course-card.highlighted { border-top: 6px solid var(--nautica-blue); transform: scale(1.02); }
.course-card.highlighted:hover { transform: scale(1.02) translateY(-8px); }
.course-badge { background-color: var(--lightgrey-default-semitransparent); color: var(--grey-default); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: 4px; align-self: flex-start; margin-bottom: 1rem; }
.course-card.highlighted .course-badge { background-color: var(--nautica-blue); color: var(--nautica-yellow); }
.course-card h3 { margin: 0 0 0.5rem 0; font-size: 1.8rem; color: var(--grey-default); }
.course-price { font-size: 1.5rem; font-weight: 800; color: var(--nautica-blue); margin: 0 0 1rem 0; }
.course-desc { margin-bottom: 1.5rem; color: #555; }
.course-list { list-style: none; padding: 0; margin: 0 0 2rem 0; flex-grow: 1; }
.course-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; position: relative; padding-left: 1.5rem; }
.course-list li::before { content: "✓"; color: var(--nautica-blue); font-weight: bold; position: absolute; left: 0; }
.course-btn { display: block; text-align: center; background-color: var(--grey-default); color: white; text-decoration: none; padding: 1rem; border-radius: 8px; font-weight: 600; transition: background-color 0.3s ease; cursor: none; }
.course-card.highlighted .course-btn { background-color: var(--nautica-blue); }
.course-btn:hover, .course-card.highlighted .course-btn:hover { background-color: var(--nautica-yellow); color: var(--grey-default); }

.course-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}
.course-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}
.course-card ul li::before {
    content: "✓";
    color: var(--nautica-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.courses-container--mini {
    margin-top: 1rem;
}
.course-card--mini {
    padding: 1.5rem;
    border-top-width: 3px;
}
.course-card--mini h3 {
    font-size: 1.3rem;
}
.course-card--mini .course-price {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.course-card--mini .course-desc {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.info-section { background-color: #f8f9fa; padding: 4rem 1rem; text-align: center; }
.info-inner { max-width: 800px; margin: 0 auto; }
.info-inner h2 { color: var(--nautica-blue); margin-top: 0; }

/* gallery */

.gallery-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {

    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-block; 
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-item:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.album-wrapper {
    margin-bottom: 4rem;
}

.album-title {
    font-size: 2rem;
    color: var(--nautica-blue);
    border-bottom: 3px solid var(--lightgrey-default);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: inline-block;
}


.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);

}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
    max-height: 90vh;
}

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

.lightbox-caption {
    color: white;
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: none;
    padding: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10006;
}

.lightbox button:hover {
    color: var(--nautica-yellow);
    transform: scale(1.1);
}

.lightbox-close { top: 20px; right: 30px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(10%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(10%); }

@media (max-width: 700px) {
    .lightbox-prev, .lightbox-next { font-size: 2rem; padding: 0.5rem; }
    .lightbox-content { max-width: 95%; }
}

@media (max-width: 1000px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 0.8rem;
    }
    
    .gallery-item {
        margin-bottom: 0.8rem;
        border-radius: 8px;
    }
}

/* docs */

.document-container {
    max-width: 800px; 
    margin: 0 auto;
    padding: 0 1rem 4rem 1rem;
}

.document-container h3 {
    color: var(--nautica-blue);
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--lightgrey-default-semitransparent);
    padding-bottom: 0.5rem;
}

.document-container h3:first-child {
    margin-top: 1rem;
}

.document-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.document-container ul {
    background-color: #f8f9fa;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.document-container li {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.download-box {
    background-color: var(--lightgrey-default-semitransparent);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border: 1px solid var(--lightgrey-default);
}

.download-box h4 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
    color: var(--nautica-blue);
}

.download-box p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* downloads */

.downloads-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}

.downloads-category-title {
    font-size: 1.8rem;
    color: var(--nautica-blue);
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--lightgrey-default-semitransparent);
}

.downloads-category-title:first-child {
    margin-top: 0;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background-color: white;
    border: 1px solid var(--lightgrey-default);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--nautica-blue);
}

.doc-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.doc-pdf {
    background-color: #ffeaea;
    color: #d32f2f;
}

.doc-doc {
    background-color: #e3f2fd;
    color: #1976d2;
}

.download-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--grey-default);
}

.download-card p {
    color: #666;
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.download-btn {
    display: inline-block;
    text-align: center;
    background-color: var(--nautica-blue-semitransparent);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: none;
}

.download-card:hover .download-btn {
    background-color: var(--nautica-blue);
}

.download-btn:hover {
    background-color: var(--nautica-yellow) !important;
    color: var(--nautica-blue) !important;
}

/* footer */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--grey-default);
}
 
.form-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.2rem 0 0 0;
    accent-color: var(--nautica-blue);
}
 
.form-consent input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--nautica-blue-semitransparent);
    outline-offset: 2px;
}
 
.form-consent a {
    color: var(--nautica-blue);
    font-weight: 600;
}

.site-footer {
    background-color: #1a1a24;
    color: #e0e0e0;
    padding: 5rem 1rem 1rem 1rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--nautica-yellow);
    border-radius: 2px;
}

.footer-logo {
    background-color: white;
    border-radius: 10px;
    padding: 0.5rem;
    width: 160px;
    margin-bottom: 1rem;
}
.brand-col p {
    line-height: 1.7;
    color: #a0a0a0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    color: #a0a0a0;
}

.footer-col a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    cursor: none;
}

.links-col a:hover {
    color: var(--nautica-yellow);
    padding-left: 6px; 
}

.contact-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--nautica-blue);
    color: var(--nautica-yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

.footer-bottom a {
    color: #777;
}
.footer-bottom a:hover {
    color: white;
}

/* sponsors */
.sponsors { background: #67717e; color: #fff; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.04); }
.sponsors-inner { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.sponsor-view { overflow: visible; }
.sponsor-track { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0.25rem 0; }
.sponsor-item { flex: 0 0 calc((100% - 4rem) / 5); max-width: calc((100% - 4rem) / 5); display: flex; align-items: center; justify-content: center; padding: 0.25rem; min-width: 120px; }
.sponsor-item img { max-height: 64px; width: auto; opacity: 0.95; }
.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
}

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0px 20px 50px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--grey-default);
    cursor: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: var(--nautica-blue);
    transform: scale(1.1);
}

.modal-header h2 {
    color: var(--nautica-blue);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.modal-header p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--grey-default);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--lightgrey-default);
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--nautica-blue);
    box-shadow: 0 0 0 3px var(--nautica-blue-semitransparent);
    background-color: white;
}

.submit-btn {
    width: 100%;
    border: none;
    margin-top: 1rem;
    font-size: 1.1rem;
}

#form-result {
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

.result-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.result-error {
    background-color: #ffeaea;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.result-sending {
    background-color: #f8f9fa;
    color: var(--nautica-blue);
    border: 1px solid var(--lightgrey-default);
}

/* mobile */

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none; 
    z-index: 10001;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    
    .header-background {
        background-attachment: scroll !important;
    }
    
    .mobile-toggle {
        position: absolute !important;
        right: 1.5rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
    }

    .mobile-toggle span { background-color: white; }

    .nav-scrolledSmall .mobile-toggle span {
        background-color: var(--nautica-blue) !important;
    }

    .nav-scrolledLarge .mobile-toggle span {
        background-color: white !important;
    }

    .mobile-toggle.active span {
        background-color: white !important;
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .dropdown-menu {
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .nav-buttons > a, 
    .nav-buttons .dropdown-toggle {
        font-family: inherit !important; 
        font-size: 1.8rem !important; 
        font-weight: 600;
        background: transparent;
        border: none;
        padding: 0.8rem 2rem !important;
        color: white !important;
        width: 100%;
        text-align: center;
        -webkit-tap-highlight-color: transparent; 
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.2rem !important;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        color: var(--nautica-yellow) !important;
        opacity: 1;
    }

    .mobile-toggle.active span {
        background-color: white !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .lang-buttons {
        display: none; 
    }

    .nav-buttons {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 36, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 10000;
    }

    .nav-buttons.active {
        right: 0;
    }

    .nav-buttons a, .dropdown-toggle {
        font-size: 1.5rem;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        display: none; 
        text-align: center;
        width: 100%;
        margin-top: 15px;
        padding: 1rem 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    header#home {
        height: 100svh; 
    }
    
    header#home h1 {
        font-size: 3rem;
        padding: 0 1rem;
    }

    .header--small {
        height: 50vh;
    }
    
    .z-row {
        flex-direction: column !important;
        gap: 2rem;
        padding: 2rem 1rem;
    }
}

.sponsor-track {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 1;
}


.sponsor-item img {
    width: auto;
    height: auto;
    max-width: 160px;  
    max-height: 70px;  
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sponsor-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 900px) {
    .sponsor-track {
        flex-wrap: wrap;
        gap: 2rem 1.5rem;
        padding: 0 1rem;
    }

    .sponsor-item {
        flex: 1 1 30%; 
    }

    .sponsor-item img {
        max-width: 110px;
        max-height: 50px;
    }

    .sponsors,
    .sponsors-inner,
    .sponsor-view {
        height: auto !important;
        overflow: visible !important;
    }
}

@media (min-width: 901px) {
    .nav-buttons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* gallery folders */
.gallery-masonry:not(.expanded) .gallery-item:nth-child(n+7) {
    display: none;
}


.expand-gallery-wrapper {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}

.expand-gallery-btn {
    background-color: transparent;
    color: var(--nautica-blue);
    border: 2px solid var(--nautica-blue);
    padding: 0.8rem 2.5rem;
}

.expand-gallery-btn:hover {
    background-color: var(--nautica-blue);
    color: white;
}

.floating-collapse-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--nautica-blue);
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 60px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
    cursor: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.floating-collapse-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-collapse-btn:hover {
    background-color: var(--nautica-yellow);
    color: var(--nautica-blue);
}

@media (max-width: 700px) {
    .floating-collapse-btn {
        right: 1rem;
        bottom: 1rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

