/* ============================================
   SAN CRISTOBAL ENNA
   Pirate / Galleon Theme - Multipage
   ============================================ */

/* --- CSS Variables --- */
:root {
    --dark: #0a0a0f;
    --dark-brown: #1a1209;
    --dark-navy: #0d1117;
    --wood: #2c1810;
    --wood-light: #4a2c1a;
    --gold: #c8a44e;
    --gold-light: #e8c96a;
    --gold-dim: rgba(200, 164, 78, 0.15);
    --cream: #f5e6c8;
    --cream-dim: rgba(245, 230, 200, 0.7);
    --red: #8b1a1a;
    --red-bright: #c0392b;
    --sea-dark: #0c1929;
    --sea: #1a3a5c;
    --white: #ffffff;
    --text: #d4c5a9;
    --text-dim: #8a7e6a;
    --font-pirate: 'Pirata One', cursive;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 70px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ship {
    width: 120px;
    height: 100px;
    animation: shipRock 3s ease-in-out infinite;
}

.ship-loader-svg {
    width: 100%;
    height: 100%;
}

.loader-waves path {
    animation: waveMove 2s ease-in-out infinite alternate;
}

.loader-waves path:nth-child(2) {
    animation-delay: 0.3s;
}

.pirate-flag {
    animation: flagWave 1.5s ease-in-out infinite alternate;
    transform-origin: 60px 20px;
}

.loader-text {
    font-family: var(--font-pirate);
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes shipRock {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(3deg) translateY(-3px); }
    75% { transform: rotate(-3deg) translateY(3px); }
}

@keyframes waveMove {
    from { transform: translateX(-5px); }
    to { transform: translateX(5px); }
}

@keyframes flagWave {
    from { transform: skewX(0deg); }
    to { transform: skewX(-3deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    max-width: 160px;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 32px;
        max-width: 120px;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--cream-dim);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: var(--gold-dim);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Mini hero for subpages */
.hero-mini {
    min-height: 50vh;
}

.hero-mini .hero-content {
    padding: 100px 24px 60px;
}

.hero-mini .hero-badge {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
}

.hero-mini .hero-skull-svg {
    width: 42px;
    height: 42px;
}

.hero-mini .hero-title-main {
    font-size: clamp(2.2rem, 6vw, 4rem);
}

.hero-mini .hero-desc {
    margin-bottom: 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139, 26, 26, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 58, 92, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(200, 164, 78, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, var(--dark-navy) 0%, var(--dark-brown) 40%, var(--dark) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a44e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin-bottom: 32px;
    animation: float 4s ease-in-out infinite;
    position: relative;
}

.hero-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(200, 164, 78, 0.3);
    border-radius: 50%;
    animation: rotateSlow 20s linear infinite;
    border-style: dashed;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotateSlow {
    to { transform: rotate(360deg); }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-pre {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title-main {
    display: block;
    font-family: var(--font-pirate);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--cream);
    line-height: 1.1;
    text-shadow: 0 0 60px rgba(200, 164, 78, 0.3);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-title-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 2vw, 0.95rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 16px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
}

.hero-social {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.3s forwards;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.1);
    color: var(--gold);
    transition: var(--transition);
}

.hero-social-link:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.hero-social-link svg {
    width: 18px;
    height: 18px;
}

/* Hero Ships */
.hero-ship {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero-ship-left {
    left: -5%;
    bottom: 10%;
    width: 300px;
    animation: shipDrift 20s ease-in-out infinite;
}

.hero-ship-right {
    right: -3%;
    top: 15%;
    width: 200px;
    animation: shipDrift 25s ease-in-out infinite reverse;
}

@keyframes shipDrift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-5px); }
    50% { transform: translateX(-5px) translateY(5px); }
    75% { transform: translateX(8px) translateY(-3px); }
}

/* Hero Floating Pirate Elements */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-el {
    position: absolute;
    opacity: 0.08;
}

.floating-hook {
    width: 45px;
    top: 15%;
    left: 8%;
    animation: floatSlow 8s ease-in-out infinite;
}

.floating-swords {
    width: 60px;
    top: 25%;
    right: 10%;
    animation: floatSlow 10s ease-in-out infinite 1s;
}

.floating-anchor {
    width: 50px;
    bottom: 25%;
    left: 12%;
    animation: floatSlow 9s ease-in-out infinite 2s;
}

.floating-rum {
    width: 35px;
    top: 55%;
    right: 8%;
    animation: floatSlow 7s ease-in-out infinite 0.5s;
}

.floating-treasure {
    width: 55px;
    bottom: 20%;
    right: 15%;
    animation: floatSlow 11s ease-in-out infinite 3s;
}

.floating-compass {
    width: 50px;
    top: 40%;
    left: 5%;
    animation: floatSlow 12s ease-in-out infinite 1.5s, rotateSlow 30s linear infinite;
}

.floating-cannon {
    width: 55px;
    top: 70%;
    left: 15%;
    animation: floatSlow 9s ease-in-out infinite 2.5s;
}

.floating-wheel {
    width: 50px;
    top: 18%;
    right: 18%;
    animation: floatSlow 11s ease-in-out infinite 1s, rotateSlow 25s linear infinite;
}

.floating-hat {
    width: 50px;
    top: 60%;
    left: 6%;
    animation: floatSlow 10s ease-in-out infinite 3.5s;
}

.floating-parrot {
    width: 45px;
    top: 35%;
    right: 5%;
    animation: floatSlow 8s ease-in-out infinite 0.8s;
}

.floating-eyepatch {
    width: 35px;
    bottom: 30%;
    right: 20%;
    animation: floatSlow 9s ease-in-out infinite 4s;
}

.floating-coin {
    width: 30px;
    top: 45%;
    left: 18%;
    animation: floatSlow 7s ease-in-out infinite 1.2s;
}

.floating-jolly {
    width: 45px;
    bottom: 15%;
    left: 8%;
    animation: floatSlow 10s ease-in-out infinite 2s;
}

.floating-telescope {
    width: 50px;
    top: 20%;
    left: 15%;
    animation: floatSlow 11s ease-in-out infinite 0.3s;
}

.floating-barrel {
    width: 35px;
    bottom: 35%;
    right: 6%;
    animation: floatSlow 8s ease-in-out infinite 3s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

/* Hero Waves */
.hero-waves {
    display: none;
}

.hero-waves svg {
    display: none;
}

/* Hero Swords Divider */
.hero-swords-divider {
    display: block;
    margin: 12px auto 8px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

/* Hero Skull */
.hero-skull-svg {
    width: 55px;
    height: 55px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-icon {
    font-size: 1.1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 164, 78, 0.4);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 0.9rem;
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-pirate);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--cream);
    line-height: 1.2;
}

.section-title em {
    font-style: normal;
    color: var(--gold);
}

.section-divider {
    margin: 20px auto;
    max-width: 200px;
}

.rope-divider {
    width: 100%;
    height: 20px;
}

.swords-divider {
    width: 100%;
    height: 30px;
}

.section-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.section-decor-left {
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
}

.section-decor-right {
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto;
}

/* --- About Section --- */
.section-about {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(200, 164, 78, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-brown) 100%);
}

/* --- About Photos Strip --- */
.about-photos {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 12px;
    margin-bottom: 40px;
}

.about-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-photo:hover img {
    transform: scale(1.03);
}

.about-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(transparent, rgba(10, 10, 15, 0.75));
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: rgba(26, 18, 9, 0.75);
    border: 1px solid rgba(200, 164, 78, 0.12);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    border-color: rgba(200, 164, 78, 0.35);
    border-top-color: var(--gold-light);
}

.about-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.08);
    border: 1px solid rgba(200, 164, 78, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
    transition: var(--transition);
}

.about-card:hover .about-card-icon {
    background: rgba(200, 164, 78, 0.18);
    border-color: rgba(200, 164, 78, 0.4);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--cream);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- Menu Section (Homepage preview) --- */
.section-menu {
    background:
        radial-gradient(ellipse at 70% 100%, rgba(139, 26, 26, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-brown) 0%, var(--dark) 100%);
}

/* --- Menu Preview (Homepage) --- */
.menu-preview {
    margin-bottom: 48px;
}

.menu-preview-featured {
    margin-bottom: 24px;
    padding: 36px 40px;
    position: relative;
}

.menu-preview-featured .menu-preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: none;
}

.menu-preview-header h3 {
    font-family: var(--font-pirate);
    font-size: 1.6rem;
    color: var(--gold);
}

.menu-preview-badge {
    margin-left: auto;
    font-size: 0.72rem;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(200, 164, 78, 0.15), rgba(200, 164, 78, 0.05));
    border: none;
    border-radius: 20px;
    color: var(--gold);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-preview-items {
    display: flex;
    flex-direction: column;
}

.menu-preview-item {
    display: flex;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: none;
}

.menu-preview-item:last-child {
    border-bottom: none;
}

.menu-preview-item-name {
    color: var(--cream);
    font-size: 0.9rem;
    white-space: nowrap;
}

.menu-preview-item-dots {
    flex: 1;
    margin: 0 10px;
    border-bottom: 1px dotted rgba(200, 164, 78, 0.2);
    min-width: 20px;
    position: relative;
    top: -4px;
}

.menu-preview-item-price {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.menu-preview-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(200, 164, 78, 0.1);
    font-style: italic;
}

.menu-preview-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: var(--font-cinzel);
    font-size: 0.78rem;
    color: var(--gold);
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transition);
    letter-spacing: 0.03em;
}
.menu-preview-more:hover {
    opacity: 1;
    color: var(--gold);
    gap: 10px;
}
.menu-preview-more svg {
    transition: var(--transition);
}
.menu-preview-more:hover svg {
    transform: translateX(3px);
}

.menu-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.menu-preview-card {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.5), rgba(10, 10, 15, 0.5));
    border: none;
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.menu-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.menu-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 164, 78, 0.08);
}

.menu-preview-card h4 {
    font-family: var(--font-pirate);
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: none;
}

.menu-preview-card .menu-preview-item-name {
    font-size: 0.85rem;
}

.menu-preview-card .menu-preview-item-price {
    font-size: 0.82rem;
}

.menu-preview-card .menu-preview-item {
    padding: 6px 0;
}

/* Legacy .menu-grid support (keep for backwards compat if needed) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.menu-category {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.5), rgba(10, 10, 15, 0.5));
    border: none;
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.menu-category:hover {
    border-color: rgba(200, 164, 78, 0.25);
    transform: translateY(-4px);
}

.menu-category:hover::after {
    width: 60%;
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.menu-category-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.menu-category-icon svg {
    width: 32px;
    height: 32px;
}

.menu-category h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--cream);
    letter-spacing: 0.5px;
}

.menu-category p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.menu-cta {
    text-align: center;
}

.menu-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

/* --- Menu Page Full Styles --- */
.section-menu-full {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(200, 164, 78, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 26, 26, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-brown) 50%, var(--dark) 100%);
}

.menu-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.menu-full-card {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.6), rgba(10, 10, 15, 0.6));
    border: none;
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-full-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.menu-full-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 164, 78, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.menu-full-card:hover::before {
    opacity: 1;
}

.menu-full-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: none;
}

.menu-full-card-icon svg {
    width: 40px;
    height: 40px;
}

.menu-full-card-header h3 {
    font-family: var(--font-pirate);
    font-size: 1.5rem;
    color: var(--gold);
}

.menu-full-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.8;
}

.menu-full-card .menu-items-list {
    list-style: none;
    margin-top: 12px;
}

.menu-full-card .menu-items-list li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text);
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-full-card .menu-items-list li:last-child {
    border-bottom: none;
}

.menu-items-list .item-name {
    color: var(--cream);
}

.menu-items-list .item-price {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Rope border decorative */
.rope-border {
    position: relative;
}

.rope-border::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--gold) 0px,
        var(--gold) 8px,
        transparent 8px,
        transparent 12px
    );
    opacity: 0.2;
    border-radius: 2px;
}

/* Supplementi info box */
.menu-supplementi {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.4), rgba(10, 10, 15, 0.4));
    border: 1px dashed rgba(200, 164, 78, 0.25);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 48px;
}

.menu-supplementi h3 {
    font-family: var(--font-pirate);
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.menu-supplementi p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.menu-supplementi .supplementi-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.menu-supplementi .supplementi-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--gold-dim);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--gold);
}

/* Pergamena/Scroll style */
.pergamena {
    background: linear-gradient(
        145deg,
        rgba(74, 44, 26, 0.3),
        rgba(44, 24, 16, 0.5),
        rgba(74, 44, 26, 0.3)
    );
    border: 2px solid rgba(200, 164, 78, 0.2);
    border-radius: var(--radius);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.pergamena:hover {
    border-color: rgba(200, 164, 78, 0.4);
    box-shadow: 0 0 30px rgba(200, 164, 78, 0.08), inset 0 0 30px rgba(200, 164, 78, 0.03);
}

.pergamena::before,
.pergamena::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        rgba(200, 164, 78, 0.15) 0px,
        rgba(200, 164, 78, 0.15) 2px,
        transparent 2px,
        transparent 6px
    );
}

.pergamena::before {
    top: 0;
    border-bottom: 1px solid rgba(200, 164, 78, 0.15);
}

.pergamena::after {
    bottom: 0;
    border-top: 1px solid rgba(200, 164, 78, 0.15);
}

/* --- Social Section --- */
.section-social {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(26, 58, 92, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--sea-dark) 50%, var(--dark) 100%);
}

.social-hub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.social-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 16px 20px;
    transition: var(--transition);
    border: none;
    min-height: auto;
}

.social-card:hover {
    transform: translateY(-6px);
}

.social-card-bg {
    position: absolute;
    inset: 0;
    transition: var(--transition);
}

.social-card-ig .social-card-bg {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    opacity: 0.15;
}

.social-card-ig:hover .social-card-bg {
    opacity: 0.25;
}

.social-card-fb .social-card-bg {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    opacity: 0.15;
}

.social-card-fb:hover .social-card-bg {
    opacity: 0.25;
}

.social-card-tk .social-card-bg {
    background: linear-gradient(135deg, #010101, #69c9d0, #ee1d52);
    opacity: 0.15;
}

.social-card-tk:hover .social-card-bg {
    opacity: 0.25;
}

.social-card-content {
    position: relative;
    z-index: 2;
}

.social-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
}

.social-card-icon {
    width: 26px;
    height: 26px;
    grid-column: 1;
    grid-row: 1 / 3;
    opacity: 0.9;
    align-self: center;
}

.social-card h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--white);
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
}

.social-handle {
    font-size: 0.72rem;
    color: var(--gold);
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 0;
}

.social-desc {
    display: none;
}

.social-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    transition: var(--transition);
    white-space: nowrap;
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
}

.social-card:hover .social-cta {
    gap: 9px;
}

.social-video-section {
    text-align: center;
}

.social-video-title {
    font-family: var(--font-pirate);
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 12px;
}

.social-video-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.video-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.video-carousel .swiper {
    overflow: hidden;
    border-radius: var(--radius);
}

.video-slide {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 560px;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-slide__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.video-slide__badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.video-slide__badge--fb {
    background: rgba(24, 119, 242, 0.85);
}

/* Swiper Navigation */
.video-carousel .swiper-button-prev,
.video-carousel .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.15);
    backdrop-filter: blur(8px);
    color: var(--gold);
    transition: var(--transition);
}

.video-carousel .swiper-button-prev:hover,
.video-carousel .swiper-button-next:hover {
    background: var(--gold);
    color: var(--dark);
}

.video-carousel .swiper-button-prev::after,
.video-carousel .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.video-carousel .swiper-button-prev {
    left: 0;
}

.video-carousel .swiper-button-next {
    right: 0;
}

.video-carousel .swiper-pagination-bullet {
    background: rgba(200, 164, 78, 0.4);
    opacity: 1;
}

.video-carousel .swiper-pagination-bullet-active {
    background: var(--gold);
    transform: scale(1.2);
}

/* --- Fun Section --- */
.section-fun {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 164, 78, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-brown) 100%);
}

.fun-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.fun-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: var(--transition);
}

.fun-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.fun-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.fun-card:hover .fun-card-image {
    transform: scale(1.05);
}

.fun-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.9) 100%);
}

.fun-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.fun-card h3 {
    font-family: var(--font-pirate);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.fun-card p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.5;
}

/* --- Gallery Page --- */
.section-gallery {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(200, 164, 78, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(26, 58, 92, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-brown) 50%, var(--dark) 100%);
}

.gallery-section {
    margin-bottom: 80px;
}

.gallery-section:last-child {
    margin-bottom: 0;
}

.gallery-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: none;
}

.gallery-section-header svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.gallery-section-header h3 {
    font-family: var(--font-pirate);
    font-size: 1.8rem;
    color: var(--gold);
}

.gallery-section-header p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-left: auto;
    max-width: 400px;
    text-align: right;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.8) 100%);
    opacity: 1;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.9) 100%);
}

.gallery-item-overlay span {
    font-family: var(--font-pirate);
    font-size: 1.1rem;
    color: var(--gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Gallery featured (larger) */
.gallery-grid .gallery-item.featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* --- Contact Section --- */
.section-contact {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(26, 58, 92, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-brown) 0%, var(--dark-navy) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-dim);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-social a {
    font-size: 0.85rem;
    padding: 6px 14px;
    border: none;
    border-radius: 20px;
    background: rgba(200, 164, 78, 0.1);
    color: var(--gold);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--gold);
    color: var(--dark);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: none;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.5) contrast(1.1);
}

/* Contact page full styles */
.section-contact-full {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(26, 58, 92, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(200, 164, 78, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-navy) 50%, var(--dark) 100%);
}

.contact-full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 64px;
}

.contact-full-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.6), rgba(10, 10, 15, 0.6));
    border: none;
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-dim);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-card a {
    color: var(--text);
    transition: color var(--transition);
}

.contact-card a:hover {
    color: var(--gold);
}

.contact-hours {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.6), rgba(10, 10, 15, 0.6));
    border: none;
    border-radius: var(--radius);
    padding: 32px;
}

.contact-hours h3 {
    font-family: var(--font-pirate);
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: none;
    font-size: 0.9rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li .day {
    color: var(--cream);
}

.hours-list li .time {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.82rem;
}

.hours-list li.closed {
    color: var(--red-bright);
}

.hours-list li.closed .day,
.hours-list li.closed .time {
    color: var(--red-bright);
}

/* Social prominent section on contact page */
.contact-social-prominent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.contact-social-card {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.5), rgba(10, 10, 15, 0.5));
    border: none;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-social-card:hover {
    transform: translateY(-4px);
}

.contact-social-card svg {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
}

.contact-social-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.contact-social-card p {
    font-size: 0.82rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.contact-social-card .btn {
    font-size: 0.75rem;
    padding: 10px 24px;
}

/* Prenota CTA */
.prenota-section {
    text-align: center;
    padding: 64px 0;
}

.prenota-section .pergamena {
    max-width: 700px;
    margin: 0 auto;
}

.prenota-section h3 {
    font-family: var(--font-pirate);
    font-size: 2rem;
    color: var(--cream);
    margin-bottom: 16px;
}

.prenota-section p {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.prenota-phones {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.prenota-phones a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(200, 164, 78, 0.1);
    color: var(--gold);
    font-size: 0.9rem;
    transition: var(--transition);
}

.prenota-phones a:hover {
    background: var(--gold);
    color: var(--dark);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    border-top: none;
    padding: 48px 0 32px;
    position: relative;
}

.footer-waves {
    display: none;
}

.footer-waves svg {
    display: none;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-address {
    margin-top: 4px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
    margin-bottom: 24px;
    justify-content: center;
}

.footer-nav a {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.1);
    color: var(--gold);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--dark);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: none;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Footer pirate elements */
.footer-pirate-decor {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    opacity: 0.12;
}

.footer-pirate-decor svg {
    width: 28px;
    height: 28px;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Contact strip (homepage) --- */
.section-contact-strip {
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--dark-navy) 100%);
    padding: 64px 0;
}

.contact-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.contact-strip-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-strip-info h3 {
    font-family: var(--font-pirate);
    font-size: 1.6rem;
    color: var(--cream);
}

.contact-strip-info p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.contact-strip-info a {
    color: var(--text);
}

.contact-strip-info a:hover {
    color: var(--gold);
}

/* --- Page Hero (subpages) --- */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139, 26, 26, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 58, 92, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(200, 164, 78, 0.04) 0%, transparent 70%),
        linear-gradient(180deg, var(--dark-navy) 0%, var(--dark-brown) 40%, var(--dark) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 700px;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    margin-bottom: 24px;
    animation: float 4s ease-in-out infinite;
}

.page-hero-title {
    font-family: var(--font-pirate);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--cream);
    line-height: 1.1;
    text-shadow: 0 0 60px rgba(200, 164, 78, 0.3);
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 500px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.page-hero-wheel {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

/* Ship Wheel */
.ship-wheel {
    width: 100%;
    height: 100%;
    transition: transform 0.1s linear;
}

/* Active page in nav */
.nav-links a.current {
    color: var(--gold);
    background: var(--gold-dim);
}

/* --- Menu Full Page Styles --- */
.section-menu-full {
    background:
        radial-gradient(ellipse at 70% 100%, rgba(139, 26, 26, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-brown) 50%, var(--dark) 100%);
}

/* Pirate menu scroll - parchment with rope border */
.menu-scroll {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    padding: 48px 40px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200, 164, 78, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(200, 164, 78, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, rgba(35, 25, 15, 0.6) 0%, rgba(25, 18, 10, 0.4) 50%, rgba(35, 25, 15, 0.6) 100%);
    border: 2px solid rgba(200, 164, 78, 0.12);
    border-radius: 8px;
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(200, 164, 78, 0.04);
}

/* Parchment texture overlay */
.menu-scroll::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a44e' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.menu-scroll > * {
    position: relative;
    z-index: 1;
}

/* Pirate emblem */
.menu-pirate-emblem {
    text-align: center;
    margin-bottom: 16px;
    opacity: 0.5;
    animation: emblemPulse 4s ease-in-out infinite;
}

@keyframes emblemPulse {
    0%, 100% { opacity: 0.4; filter: drop-shadow(0 0 4px rgba(200, 164, 78, 0.1)); }
    50% { opacity: 0.6; filter: drop-shadow(0 0 12px rgba(200, 164, 78, 0.25)); }
}

/* Menu chapters */
.menu-chapter {
    margin-bottom: 52px;
}

.menu-chapter:last-child {
    margin-bottom: 0;
}

.menu-chapter-heading {
    text-align: center;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.menu-chapter-heading h2 {
    font-family: var(--font-pirate);
    font-size: 2.2rem;
    color: var(--gold);
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow:
        0 0 20px rgba(200, 164, 78, 0.3),
        0 0 40px rgba(200, 164, 78, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-chapter-icon {
    opacity: 0.6;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(200, 164, 78, 0.3));
}

/* Crossed swords dividers */
.menu-swords-divider {
    width: 100%;
    max-width: 300px;
}

.menu-swords-divider svg {
    width: 100%;
    height: 14px;
}

.menu-chapter-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 3px 14px;
    background: rgba(200, 164, 78, 0.08);
    border: 1px solid rgba(200, 164, 78, 0.15);
    border-radius: 20px;
    color: var(--gold);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Menu sub-headings (within combined sections) */
.menu-sub-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 28px 0 14px;
    opacity: 0.6;
    font-weight: 400;
}
.menu-sub-heading:first-child {
    margin-top: 0;
}
.menu-chapter-items--two-col .menu-sub-heading {
    grid-column: 1 / -1;
}

/* Menu items */
.menu-chapter-items {
    display: flex;
    flex-direction: column;
}

.menu-chapter-items--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.menu-row {
    display: flex;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid rgba(200, 164, 78, 0.05);
    transition: background 0.3s, padding-left 0.3s;
}

.menu-row:hover {
    background: rgba(200, 164, 78, 0.05);
    padding-left: 6px;
}

.menu-row:last-child {
    border-bottom: none;
}

.menu-row-name {
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* Menu item descriptions (ingredients) */
.menu-row.has-desc {
    flex-wrap: wrap;
}

.menu-row-desc {
    width: 100%;
    font-size: 0.78rem;
    color: var(--cream);
    opacity: 0.35;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.3;
    margin-top: -2px;
    padding-bottom: 2px;
}

.menu-row-dots {
    flex: 1;
    margin: 0 14px;
    border-bottom: 1px dotted rgba(200, 164, 78, 0.15);
    min-width: 24px;
    position: relative;
    top: -4px;
}

.menu-row-price {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(200, 164, 78, 0.15);
}

@media (max-width: 860px) {
    .menu-scroll {
        padding: 32px 20px;
        margin: 0 -8px;
    }
    .menu-chapter-items--two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .menu-chapter-heading h2 {
        font-size: 1.7rem;
        letter-spacing: 2px;
    }
    .menu-chapter-icon {
        width: 26px;
        height: 26px;
    }
    .menu-chapter {
        margin-bottom: 40px;
    }
    .menu-swords-divider {
        max-width: 200px;
    }
}

/* --- Gallery Section --- */
.section-gallery {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(200, 164, 78, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-brown) 100%);
}

.gallery-item-large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* --- Orari Table --- */
.orari-table {
    margin-top: 8px;
}

.orari-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(200, 164, 78, 0.06);
}

.orari-row:last-child {
    border-bottom: none;
}

.orari-row span:first-child {
    color: var(--cream);
}

.orari-row span:last-child {
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.82rem;
}

.orari-closed {
    color: var(--red-bright) !important;
    font-weight: 600;
}


/* ============================================
   NEW PIRATE-THEMED ENHANCEMENTS
   ============================================ */

/* --- 1. Page Hero Enhancement (waves at bottom) --- */
.page-hero-waves {
    display: none;
}

.page-hero-waves svg {
    display: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a44e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}


/* --- 2. Pirate Rope Border --- */
.rope-border {
    border: 3px dashed rgba(200, 164, 78, 0.4) !important;
    box-shadow:
        inset 0 0 0 2px rgba(200, 164, 78, 0.06),
        0 0 0 1px rgba(200, 164, 78, 0.08);
    position: relative;
}

.rope-border::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(200, 164, 78, 0.1);
    border-radius: inherit;
    pointer-events: none;
}

/* Alternate rope style for rectangular cards */
.rope-border-box {
    border-image: repeating-linear-gradient(
        90deg,
        var(--gold) 0px,
        var(--gold) 8px,
        transparent 8px,
        transparent 12px,
        var(--gold-light) 12px,
        var(--gold-light) 20px,
        transparent 20px,
        transparent 24px
    ) 6;
    border-width: 3px;
    border-style: solid;
}


/* --- 3. Pergamena / Scroll Style Enhancement --- */
.pergamena-full {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(210, 180, 120, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(180, 150, 90, 0.06) 0%, transparent 50%),
        linear-gradient(
            180deg,
            #3a2a18 0%,
            #3e2e1c 2%,
            #2c1f12 4%,
            #2a1d10 8%,
            #28190e 92%,
            #2c1a0f 96%,
            #3a2616 98%,
            #3e2a18 100%
        );
    border: 2px solid rgba(200, 164, 78, 0.2);
    border-radius: var(--radius);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 3px 15px rgba(0, 0, 0, 0.5),
        inset 0 -3px 15px rgba(0, 0, 0, 0.5),
        inset 3px 0 12px rgba(0, 0, 0, 0.25),
        inset -3px 0 12px rgba(0, 0, 0, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(200, 164, 78, 0.04);
    color: var(--cream);
}

.pergamena-full h2,
.pergamena-full h3 {
    font-family: var(--font-pirate);
    color: var(--gold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pergamena-full p {
    color: var(--cream-dim);
}


/* --- 4. Ship Wheel Spin Animation --- */
.ship-wheel-spin {
    animation: shipWheelSpin 15s linear infinite;
    will-change: transform;
}

.ship-wheel-spin-slow {
    animation: shipWheelSpin 30s linear infinite;
}

.ship-wheel-spin-fast {
    animation: shipWheelSpin 8s linear infinite;
}

@keyframes shipWheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ship-wheel-spin:hover {
    animation-play-state: paused;
}


/* --- 5. Cannon Decoration --- */
.cannon-decor {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cannon-decor::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 8px;
    background: linear-gradient(90deg, var(--wood), var(--wood-light), var(--wood));
    border-radius: 4px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cannon-decor::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--gold-light), var(--gold));
    border-radius: 50%;
    top: 10px;
    right: 10px;
    animation: cannonGlow 2s ease-in-out infinite alternate;
}

@keyframes cannonGlow {
    from {
        box-shadow: 0 0 4px rgba(200, 164, 78, 0.4);
        opacity: 0.6;
    }
    to {
        box-shadow: 0 0 12px rgba(200, 164, 78, 0.8), 0 0 24px rgba(200, 164, 78, 0.3);
        opacity: 1;
    }
}

.cannon-decor-left {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    opacity: 0.15;
    font-size: 2.5rem;
    pointer-events: none;
}

.cannon-decor-right {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    font-size: 2.5rem;
    pointer-events: none;
}


/* --- 6. Pirate Coin --- */
.pirate-coin {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 35% 35%,
        #f0d878 0%,
        #e8c96a 20%,
        #c8a44e 50%,
        #a68530 75%,
        #8a6e20 100%
    );
    border: 3px solid #a68530;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.4);
    animation: coinSpin 4s ease-in-out infinite;
    position: relative;
}

.pirate-coin::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.pirate-coin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(166, 133, 48, 0.6);
    border-radius: 50%;
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    25% { transform: rotateY(180deg); }
    50% { transform: rotateY(360deg); }
    100% { transform: rotateY(360deg); }
}

.pirate-coin-sm {
    width: 36px;
    height: 36px;
}

.pirate-coin-lg {
    width: 90px;
    height: 90px;
}

.pirate-coin-shimmer {
    animation: coinSpin 4s ease-in-out infinite, coinShimmer 2s ease-in-out infinite;
}

@keyframes coinShimmer {
    0%, 100% {
        box-shadow:
            inset 0 2px 4px rgba(255, 255, 255, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow:
            inset 0 2px 4px rgba(255, 255, 255, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(200, 164, 78, 0.5),
            0 0 40px rgba(200, 164, 78, 0.2);
    }
}


/* --- 7. Treasure Map Background --- */
.treasure-map-bg {
    position: relative;
    background:
        /* Compass rose hint */
        radial-gradient(circle at 85% 15%, rgba(200, 164, 78, 0.06) 0%, transparent 20%),
        /* X marks the spot */
        radial-gradient(circle at 30% 70%, rgba(139, 26, 26, 0.05) 0%, transparent 15%),
        /* Aged spots */
        radial-gradient(ellipse at 15% 40%, rgba(180, 150, 90, 0.04) 0%, transparent 25%),
        radial-gradient(ellipse at 65% 55%, rgba(160, 130, 70, 0.03) 0%, transparent 30%),
        radial-gradient(ellipse at 45% 85%, rgba(170, 140, 80, 0.04) 0%, transparent 20%),
        /* Grid lines like map coordinates */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(200, 164, 78, 0.03) 79px,
            rgba(200, 164, 78, 0.03) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(200, 164, 78, 0.03) 79px,
            rgba(200, 164, 78, 0.03) 80px
        ),
        /* Parchment base */
        linear-gradient(180deg, var(--dark-brown) 0%, var(--dark) 50%, var(--dark-navy) 100%);
}

.treasure-map-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 Q 30 5, 50 10 T 90 10' fill='none' stroke='%23c8a44e' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Cpath d='M10 50 Q 30 45, 50 50 T 90 50' fill='none' stroke='%23c8a44e' stroke-opacity='0.02' stroke-width='0.5'/%3E%3Cpath d='M10 90 Q 30 85, 50 90 T 90 90' fill='none' stroke='%23c8a44e' stroke-opacity='0.02' stroke-width='0.5'/%3E%3C/svg%3E");
    pointer-events: none;
}


/* --- 8. Gallery Grid Enhancement (masonry-like) --- */
.gallery-grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 200px;
}

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

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

/* Gallery lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: pointer;
}

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

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
    box-shadow: 0 0 60px rgba(200, 164, 78, 0.2);
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 164, 78, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(10, 10, 15, 0.8);
    transition: var(--transition);
    z-index: 10000;
}

.gallery-lightbox-close:hover {
    background: var(--gold);
    color: var(--dark);
}


/* --- 9. Pirate Banner --- */
.pirate-banner {
    position: relative;
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--red) 0%, #6b1515 100%);
    color: var(--cream);
    font-family: var(--font-pirate);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Left ribbon tail */
.pirate-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -24px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 24px 28px 0;
    border-color: transparent var(--red) transparent transparent;
    filter: brightness(0.75);
}

/* Right ribbon tail */
.pirate-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: -24px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 24px;
    border-color: transparent transparent transparent var(--red);
    filter: brightness(0.75);
}

.pirate-banner-fold-left,
.pirate-banner-fold-right {
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 0;
    border-style: solid;
}

.pirate-banner-fold-left {
    left: 0;
    border-width: 10px 16px 0 0;
    border-color: #4a0e0e transparent transparent transparent;
}

.pirate-banner-fold-right {
    right: 0;
    border-width: 10px 0 0 16px;
    border-color: #4a0e0e transparent transparent transparent;
}

/* Gold trim on banner */
.pirate-banner-trim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pirate-banner-trim-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}


/* --- 10. Wood Plank Texture --- */
.wood-bg {
    position: relative;
    background:
        /* Wood grain lines */
        repeating-linear-gradient(
            92deg,
            transparent,
            transparent 18px,
            rgba(200, 164, 78, 0.03) 18px,
            rgba(200, 164, 78, 0.03) 19px
        ),
        /* Plank separators */
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 58px,
            rgba(0, 0, 0, 0.25) 58px,
            rgba(0, 0, 0, 0.35) 60px,
            transparent 60px
        ),
        /* Knots */
        radial-gradient(ellipse 12px 10px at 25% 30%, rgba(0, 0, 0, 0.12) 0%, transparent 100%),
        radial-gradient(ellipse 10px 8px at 70% 65%, rgba(0, 0, 0, 0.1) 0%, transparent 100%),
        radial-gradient(ellipse 8px 6px at 50% 80%, rgba(0, 0, 0, 0.08) 0%, transparent 100%),
        /* Secondary grain */
        repeating-linear-gradient(
            175deg,
            transparent,
            transparent 28px,
            rgba(200, 164, 78, 0.02) 28px,
            rgba(200, 164, 78, 0.02) 30px
        ),
        /* Base wood color */
        linear-gradient(180deg, var(--wood) 0%, var(--wood-light) 50%, var(--wood) 100%);
    color: var(--cream);
}

/* Nail heads on wood */
.wood-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 3px at 30px 30px, rgba(100, 80, 50, 0.4) 0%, transparent 100%),
        radial-gradient(circle 3px at calc(100% - 30px) 30px, rgba(100, 80, 50, 0.4) 0%, transparent 100%),
        radial-gradient(circle 3px at 30px calc(100% - 30px), rgba(100, 80, 50, 0.4) 0%, transparent 100%),
        radial-gradient(circle 3px at calc(100% - 30px) calc(100% - 30px), rgba(100, 80, 50, 0.4) 0%, transparent 100%);
    pointer-events: none;
}


/* --- 11. Enhanced About Card with Corner Pirate Ornaments --- */
.about-card-ornate {
    position: relative;
}

.about-card-ornate::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 40px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-top-left-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

.about-card-ornate::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 40px;
    height: 40px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-bottom-right-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

.about-card-ornate:hover::before,
.about-card-ornate:hover::after {
    opacity: 1;
}

/* Inner ornament corners via child elements */
.about-card-ornate .ornament-tl,
.about-card-ornate .ornament-br {
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity var(--transition);
}

.about-card-ornate .ornament-tl {
    top: 8px;
    left: 8px;
}

.about-card-ornate .ornament-br {
    bottom: 8px;
    right: 8px;
}

.about-card-ornate .ornament-tl::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--gold-light);
    border-left: 2px solid var(--gold-light);
}

.about-card-ornate .ornament-br::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--gold-light);
    border-right: 2px solid var(--gold-light);
    bottom: 0;
    right: 0;
}

.about-card-ornate:hover .ornament-tl,
.about-card-ornate:hover .ornament-br {
    opacity: 0.7;
}


/* --- 12. Active Nav Link Enhancement (Multipage) --- */
.nav-links a.current::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.nav-links a.current::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 6px;
    background: radial-gradient(ellipse, rgba(200, 164, 78, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}


/* --- 13. Contact Form Card (Pirate Scroll) --- */
.contact-form-scroll {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(210, 180, 120, 0.06) 0%, transparent 50%),
        linear-gradient(
            180deg,
            #342416 0%,
            #2c1f12 3%,
            #261a0e 6%,
            #231710 94%,
            #2a1c12 97%,
            #322214 100%
        );
    border-radius: var(--radius);
    padding: 48px 40px;
    border: 1px solid rgba(200, 164, 78, 0.2);
    box-shadow:
        inset 0 2px 10px rgba(0, 0, 0, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Scroll curl top */
.contact-form-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(
        180deg,
        rgba(60, 42, 24, 0.9) 0%,
        rgba(44, 31, 18, 0.6) 40%,
        transparent 100%
    );
    border-bottom: 1px solid rgba(200, 164, 78, 0.08);
    pointer-events: none;
}

/* Scroll curl bottom */
.contact-form-scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(
        0deg,
        rgba(60, 42, 24, 0.9) 0%,
        rgba(44, 31, 18, 0.6) 40%,
        transparent 100%
    );
    border-top: 1px solid rgba(200, 164, 78, 0.08);
    pointer-events: none;
}

.contact-form-scroll h3 {
    font-family: var(--font-pirate);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.contact-form-scroll > p {
    color: var(--text-dim);
    margin-bottom: 32px;
    font-size: 0.9rem;
}

/* Form fields inside contact scroll */
.contact-form-scroll .form-group {
    margin-bottom: 20px;
}

.contact-form-scroll label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-form-scroll input,
.contact-form-scroll textarea,
.contact-form-scroll select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(200, 164, 78, 0.15);
    border-radius: var(--radius-sm);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.contact-form-scroll input::placeholder,
.contact-form-scroll textarea::placeholder {
    color: var(--text-dim);
}

.contact-form-scroll input:focus,
.contact-form-scroll textarea:focus,
.contact-form-scroll select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 78, 0.1);
}

.contact-form-scroll textarea {
    resize: vertical;
    min-height: 120px;
}


/* --- 14. Section Wave Separators --- */
.wave-separator {
    position: relative;
    height: 60px;
    overflow: hidden;
    pointer-events: none;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-separator-top {
    margin-top: -1px;
}

.wave-separator-bottom {
    margin-bottom: -1px;
}

/* CSS-only wave separator */
.wave-separator-css {
    position: relative;
    height: 50px;
    overflow: hidden;
}

.wave-separator-css::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 40px at 20% 100%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 50% 35px at 50% 100%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 55% 38px at 80% 100%, var(--dark) 98%, transparent 100%);
}

.wave-separator-css-up::before {
    top: 0;
    bottom: auto;
    background:
        radial-gradient(ellipse 60% 40px at 20% 0%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 50% 35px at 50% 0%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 55% 38px at 80% 0%, var(--dark) 98%, transparent 100%);
}


/* --- 15. Pirate Stamp / Seal --- */
.pirate-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--red);
    position: relative;
    color: var(--red);
    font-family: var(--font-pirate);
    font-size: 1rem;
    text-align: center;
    padding: 10px;
}

.pirate-seal::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px dashed var(--red);
    border-radius: 50%;
    animation: sealRotate 20s linear infinite;
}

.pirate-seal::after {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px dotted rgba(139, 26, 26, 0.4);
    border-radius: 50%;
    animation: sealRotate 30s linear infinite reverse;
}

@keyframes sealRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pirate-seal-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.pirate-seal-gold::before {
    border-color: var(--gold);
}

.pirate-seal-gold::after {
    border-color: rgba(200, 164, 78, 0.4);
}

.pirate-seal-sm {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
    border-width: 2px;
}

.pirate-seal-sm::before {
    inset: -6px;
    border-width: 1px;
}

.pirate-seal-sm::after {
    inset: -11px;
}

.pirate-seal-lg {
    width: 140px;
    height: 140px;
    font-size: 1.3rem;
}


/* --- 16. Fun Card Pirate Corner Flags --- */
.fun-card-flag {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 70px 70px 0;
    border-color: transparent var(--dark) transparent transparent;
    pointer-events: none;
}

.fun-card-flag::before {
    content: '';
    position: absolute;
    top: 0;
    right: -70px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 66px 66px 0;
    border-color: transparent var(--red) transparent transparent;
}

.fun-card-flag-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    font-size: 1.2rem;
    transform: rotate(10deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.fun-card-flag-gold::before {
    border-color: transparent rgba(200, 164, 78, 0.9) transparent transparent;
}

.fun-card-flag-navy::before {
    border-color: transparent var(--sea) transparent transparent;
}


/* --- 17. Info Box (Wooden Sign / Plank) --- */
.info-box {
    position: relative;
    background:
        /* Wood grain */
        repeating-linear-gradient(
            93deg,
            transparent,
            transparent 14px,
            rgba(200, 164, 78, 0.04) 14px,
            rgba(200, 164, 78, 0.04) 15px
        ),
        /* Plank lines */
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 38px,
            rgba(0, 0, 0, 0.2) 38px,
            rgba(0, 0, 0, 0.3) 40px,
            transparent 40px
        ),
        linear-gradient(145deg, var(--wood-light) 0%, var(--wood) 50%, #1e1008 100%);
    border-radius: var(--radius-sm);
    padding: 32px 28px;
    color: var(--cream);
    border: 2px solid rgba(200, 164, 78, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -2px 6px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Nail decorations top-left */
.info-box::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #6b6b6b 30%, #3a3a3a 60%, transparent 70%);
    border-radius: 50%;
}

/* Nail top-right */
.info-box::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #6b6b6b 30%, #3a3a3a 60%, transparent 70%);
    border-radius: 50%;
}

.info-box h4 {
    font-family: var(--font-pirate);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.info-box p {
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.6;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(200, 164, 78, 0.1);
    font-size: 0.9rem;
    color: var(--cream-dim);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box ul li .price {
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hanging sign variant with ropes */
.info-box-hanging {
    margin-top: 40px;
}

.info-box-hanging .info-box-rope-left,
.info-box-hanging .info-box-rope-right {
    position: absolute;
    top: -30px;
    width: 3px;
    height: 30px;
    background: repeating-linear-gradient(
        180deg,
        var(--gold) 0px,
        var(--gold) 3px,
        var(--wood-light) 3px,
        var(--wood-light) 6px
    );
}

.info-box-hanging .info-box-rope-left {
    left: 30px;
}

.info-box-hanging .info-box-rope-right {
    right: 30px;
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-pirate { font-family: var(--font-pirate); }
.text-heading { font-family: var(--font-heading); }
.bg-dark { background: var(--dark); }
.bg-dark-brown { background: var(--dark-brown); }
.bg-dark-navy { background: var(--dark-navy); }

.border-gold {
    border: 1px solid rgba(200, 164, 78, 0.2);
}

.border-gold-strong {
    border: 2px solid var(--gold);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(200, 164, 78, 0.2), 0 0 40px rgba(200, 164, 78, 0.1);
}

/* Pirate themed list style */
.pirate-list {
    list-style: none;
    padding: 0;
}

.pirate-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.6;
}

.pirate-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(200, 164, 78, 0.4);
}


/* Pirate Coins Strip */
.pirate-coins-strip {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--dark) 0%, rgba(44, 24, 16, 0.3) 50%, var(--dark) 100%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.pirate-coins-strip.visible {
    opacity: 1;
    transform: scale(1);
}

.pirate-coins-strip .pirate-coin {
    width: 40px;
    height: 40px;
    animation: coinSpinStrip 3s ease-in-out infinite;
    opacity: 0.2;
    display: inline-block;
    border-radius: 0;
    background: none;
    border: none;
    box-shadow: none;
    position: static;
}

.pirate-coins-strip .pirate-coin::before,
.pirate-coins-strip .pirate-coin::after {
    display: none;
}

.pirate-coins-strip .pirate-coin:nth-child(2) { animation-delay: 0.5s; }
.pirate-coins-strip .pirate-coin:nth-child(3) { animation-delay: 1s; }
.pirate-coins-strip .pirate-coin:nth-child(4) { animation-delay: 1.5s; }
.pirate-coins-strip .pirate-coin:nth-child(5) { animation-delay: 2s; }

.pirate-coins-strip .pirate-coin svg {
    width: 100%;
    height: 100%;
}

@keyframes coinSpinStrip {
    0%, 100% { transform: rotateY(0deg) scale(1); opacity: 0.15; }
    25% { transform: rotateY(90deg) scale(0.8); opacity: 0.3; }
    50% { transform: rotateY(180deg) scale(1); opacity: 0.2; }
    75% { transform: rotateY(270deg) scale(0.8); opacity: 0.3; }
}

/* Ship Wheel Interlude */
.ship-wheel-interlude {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 0;
    opacity: 0.1;
    position: relative;
    overflow: hidden;
}

.ship-wheel-interlude::before,
.ship-wheel-interlude::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.ship-wheel-interlude::before {
    left: 0;
}

.ship-wheel-interlude::after {
    right: 0;
}

.ship-wheel-interlude .ship-wheel {
    width: 120px;
    height: 120px;
}

/* Rope Wave Divider */
.rope-wave-divider {
    display: none;
}

.rope-wave-divider.visible {
    display: none;
}

.rope-wave-divider svg {
    display: none;
}

/* Skull Pattern Overlay */
.section-about::after,
.section-fun::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23c8a44e' fill-opacity='0.015'%3E%3Ccircle cx='40' cy='30' r='10'/%3E%3Ccircle cx='35' cy='28' r='2'/%3E%3Ccircle cx='45' cy='28' r='2'/%3E%3Cpath d='M32,38 L28,50 L36,46 L40,50 L44,46 L52,50 L48,38' fill='%23c8a44e'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.section-about > .container,
.section-fun > .container {
    position: relative;
    z-index: 1;
}

/* Treasure map texture for social */
.section-social::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10,50 Q30,30 50,50 Q70,70 90,50' fill='none' stroke='%23c8a44e' stroke-width='0.5' opacity='0.03'/%3E%3Ccircle cx='80' cy='20' r='3' fill='%23c8a44e' opacity='0.02'/%3E%3Ctext x='78' y='22' fill='%23c8a44e' font-size='4' opacity='0.02'>X%3C/text%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.section-social > .container {
    position: relative;
    z-index: 1;
}


/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-preview-featured {
        padding: 28px 24px;
    }

    .fun-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid .gallery-item.featured,
    .gallery-item-large {
        grid-column: span 2;
    }

    .gallery-section-header {
        flex-wrap: wrap;
    }

    .gallery-section-header p {
        margin-left: 0;
        text-align: left;
        max-width: 100%;
    }

    .page-hero-wheel {
        display: none;
    }

    /* New elements - 1024px */
    .pirate-banner {
        padding: 14px 36px;
    }

    .pirate-banner::before {
        left: -18px;
        border-width: 24px 18px 24px 0;
    }

    .pirate-banner::after {
        right: -18px;
        border-width: 24px 0 24px 18px;
    }

    .gallery-grid-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

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

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

@media (max-width: 768px) {
    .hero-floating-elements,
    .hero-ship,
    .section-decor,
    .page-hero-wheel {
        display: none;
    }

    .page-hero {
        min-height: 40vh;
    }

    .page-hero-content {
        padding: 100px 20px 40px;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid rgba(200, 164, 78, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 14px 16px;
    }

    .hero-content {
        padding: 88px 20px 40px;
    }

    .hero-mini .hero-content {
        padding: 90px 20px 50px;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 8px;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-photos {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 28px;
    }

    .about-photo {
        height: 260px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-card {
        padding: 24px 18px;
    }

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

    .menu-preview-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .menu-preview-featured {
        padding: 24px 18px;
    }

    .menu-preview-header h3 {
        font-size: 1.3rem;
    }

    .menu-full-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-hub {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .social-hub .social-card {
        min-width: 240px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .social-card {
        min-height: auto;
        padding: 14px 16px;
    }

    .social-video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .fun-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .fun-card {
        height: 210px;
    }

    .contact-grid,
    .contact-full-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-map {
        height: 300px;
    }

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

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

    .gallery-grid .gallery-item.featured {
        grid-column: span 1;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .contact-strip-inner {
        flex-direction: column;
        text-align: center;
    }

    .pergamena {
        padding: 32px 24px;
    }

    .prenota-phones {
        flex-direction: column;
        align-items: center;
    }

    /* New elements - 768px */
    .nav-links a.current::after {
        bottom: 6px;
    }

    .pirate-banner {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        padding: 12px 32px;
    }

    .pirate-banner::before {
        left: -14px;
        border-width: 20px 14px 20px 0;
    }

    .pirate-banner::after {
        right: -14px;
        border-width: 20px 0 20px 14px;
    }

    .contact-form-scroll {
        padding: 32px 24px;
    }

    .pergamena-full {
        padding: 32px 24px;
    }

    .info-box {
        padding: 28px 20px;
    }

    .pirate-seal-lg {
        width: 100px;
        height: 100px;
        font-size: 1rem;
    }

    .cannon-decor-left,
    .cannon-decor-right {
        display: none;
    }

    .wave-separator {
        height: 40px;
    }

    .wave-separator-css {
        height: 35px;
    }

    .fun-card-flag {
        border-width: 0 60px 60px 0;
    }

    .fun-card-flag::before {
        right: -60px;
        border-width: 0 56px 56px 0;
    }

    .gallery-grid-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 16px;
    }

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

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

    .pirate-coins-strip {
        display: none;
    }

    .ship-wheel-interlude {
        display: none;
    }

    .rope-wave-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .hero-logo-img {
        width: 56px;
        height: 56px;
    }

    .about-photos {
        grid-template-columns: 1fr;
    }

    .about-photo-secondary {
        display: none;
    }

    .about-photo {
        height: 220px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .fun-grid {
        grid-template-columns: 1fr;
    }

    .fun-card {
        height: 230px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .video-carousel {
        padding: 0 36px;
    }

    .video-carousel .swiper-button-prev,
    .video-carousel .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    /* New elements - 480px */
    .pirate-banner {
        font-size: 1.1rem;
        padding: 10px 24px;
    }

    .pirate-banner::before {
        left: -10px;
        border-width: 17px 10px 17px 0;
    }

    .pirate-banner::after {
        right: -10px;
        border-width: 17px 0 17px 10px;
    }

    .pirate-coin {
        width: 48px;
        height: 48px;
    }

    .pirate-coin-lg {
        width: 70px;
        height: 70px;
    }

    .pirate-seal {
        width: 70px;
        height: 70px;
        font-size: 0.75rem;
    }

    .pirate-seal::before {
        inset: -5px;
    }

    .pirate-seal::after {
        inset: -10px;
    }

    .page-hero {
        min-height: 35vh;
    }

    .page-hero-content {
        padding: 90px 16px 30px;
    }

    .contact-form-scroll {
        padding: 24px 18px;
    }

    .contact-form-scroll input,
    .contact-form-scroll textarea,
    .contact-form-scroll select {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .pergamena-full {
        padding: 24px 18px;
    }

    .info-box {
        padding: 24px 16px;
    }

    .fun-card-flag {
        border-width: 0 55px 55px 0;
    }

    .fun-card-flag::before {
        right: -55px;
        border-width: 0 51px 51px 0;
    }

    .wave-separator {
        height: 30px;
    }

    .wave-separator-css {
        height: 25px;
    }

    .gallery-grid-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }
}


/* ============================================
   FULL POWER PIRATE EFFECTS
   ============================================ */

/* --- Fog / Mist Effect --- */
.hero-fog {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-fog::before,
.hero-fog::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -50%;
    background:
        radial-gradient(ellipse 600px 200px at 20% 60%, rgba(200, 164, 78, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 150px at 60% 40%, rgba(245, 230, 200, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 500px 180px at 80% 70%, rgba(200, 164, 78, 0.05) 0%, transparent 60%);
    animation: fogDrift 25s ease-in-out infinite alternate;
}

.hero-fog::after {
    animation: fogDrift 30s ease-in-out infinite alternate-reverse;
    opacity: 0.7;
    background:
        radial-gradient(ellipse 500px 200px at 30% 50%, rgba(26, 58, 92, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 120px at 70% 60%, rgba(245, 230, 200, 0.03) 0%, transparent 60%);
}

@keyframes fogDrift {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(5%) translateY(-2%); }
    100% { transform: translateX(-5%) translateY(2%); }
}

/* --- Ocean Canvas --- */
#oceanCanvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* --- Lightning Flash --- */
.lightning-flash {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(200, 164, 78, 0.08);
    pointer-events: none;
    animation: lightningFlash 0.15s ease-out forwards;
}

@keyframes lightningFlash {
    0% { opacity: 1; }
    20% { opacity: 0.3; }
    40% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* --- Title Glow Pulse --- */
.hero-title-main {
    animation: fadeUp 0.8s ease 0.5s forwards, titleGlow 4s ease-in-out 2s infinite !important;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 60px rgba(200, 164, 78, 0.3);
    }
    50% {
        text-shadow:
            0 0 40px rgba(200, 164, 78, 0.5),
            0 0 80px rgba(200, 164, 78, 0.3),
            0 0 120px rgba(200, 164, 78, 0.15),
            0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

.section-title {
    animation: sectionTitleGlow 5s ease-in-out infinite;
}

@keyframes sectionTitleGlow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 30px rgba(200, 164, 78, 0.2), 0 0 60px rgba(200, 164, 78, 0.1); }
}

/* --- Cursor Trail Particles --- */
.cursor-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--gold-light), var(--gold));
    border-radius: 50%;
    opacity: 0;
    animation: cursorParticleFade 0.8s ease-out forwards;
}

@keyframes cursorParticleFade {
    0% { opacity: 0.8; transform: scale(1) translate(0, 0); }
    100% { opacity: 0; transform: scale(0.2) translate(var(--drift-x, 0px), var(--drift-y, -20px)); }
}

/* --- Cannon Button Effect --- */
.btn-primary.cannon-fire {
    animation: cannonShake 0.4s ease-out;
}

@keyframes cannonShake {
    0% { transform: translate(0, 0) scale(1); }
    10% { transform: translate(-3px, -2px) scale(1.02); }
    20% { transform: translate(3px, 1px) scale(0.98); }
    30% { transform: translate(-2px, 2px) scale(1.01); }
    40% { transform: translate(2px, -1px) scale(0.99); }
    50% { transform: translate(-1px, 1px) scale(1); }
    100% { transform: translate(0, 0) scale(1); }
}

.cannon-flash {
    position: fixed;
    pointer-events: none;
    z-index: 9996;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 78, 0.6), rgba(200, 164, 78, 0.2), transparent 70%);
    animation: cannonFlashAnim 0.5s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes cannonFlashAnim {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.3); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}

/* --- Enhanced Hover Effects --- */
.about-card:hover,
.menu-category:hover,
.fun-card:hover,
.social-card:hover,
.menu-full-card:hover,
.contact-card:hover {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(200, 164, 78, 0.15),
        inset 0 0 30px rgba(200, 164, 78, 0.03);
}

.about-card:hover,
.menu-category:hover {
    animation: cardFireGlow 1.5s ease-in-out infinite;
}

@keyframes cardFireGlow {
    0%, 100% { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 164, 78, 0.1); }
    50% { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(200, 164, 78, 0.25), 0 0 60px rgba(200, 164, 78, 0.1); }
}

/* --- Skull Eyes Glow --- */
.hero-skull-svg circle:nth-child(2),
.hero-skull-svg circle:nth-child(3) {
    animation: skullEyeGlow 3s ease-in-out infinite;
}

@keyframes skullEyeGlow {
    0%, 100% { opacity: 0.3; filter: drop-shadow(0 0 2px rgba(200, 164, 78, 0.3)); }
    50% { opacity: 0.8; filter: drop-shadow(0 0 8px rgba(200, 164, 78, 0.8)) drop-shadow(0 0 16px rgba(200, 164, 78, 0.4)); }
}

/* --- Animated Sea Background --- */
.section-about,
.section-fun,
.section-social {
    background-size: 100% 100%;
    animation: seaGradientShift 15s ease-in-out infinite;
}

@keyframes seaGradientShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* --- Enhanced Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Alternating entry direction */
.reveal:nth-child(odd) {
    transform: translateY(40px) scale(0.95) rotate(-1deg);
}

.reveal:nth-child(even) {
    transform: translateY(40px) scale(0.95) rotate(1deg);
}

.reveal.visible:nth-child(odd),
.reveal.visible:nth-child(even) {
    transform: translateY(0) scale(1) rotate(0deg);
}

/* --- Hero Badge Enhanced --- */
.hero-badge {
    animation: float 4s ease-in-out infinite, heroBadgeGlow 3s ease-in-out infinite;
}

@keyframes heroBadgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 164, 78, 0.1); }
    50% { box-shadow: 0 0 40px rgba(200, 164, 78, 0.3), 0 0 80px rgba(200, 164, 78, 0.1); }
}

/* --- Nav glow on scroll --- */
.nav.scrolled {
    border-bottom: 1px solid rgba(200, 164, 78, 0.08);
}

/* --- Screen Shake Utility --- */
.screen-shake {
    animation: screenShake 0.3s ease-out;
}

@keyframes screenShake {
    0% { transform: translate(0, 0); }
    15% { transform: translate(-4px, -2px); }
    30% { transform: translate(4px, 2px); }
    45% { transform: translate(-3px, 1px); }
    60% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, 1px); }
    100% { transform: translate(0, 0); }
}

/* --- Disable heavy effects on mobile and reduced motion --- */
@media (max-width: 768px) {
    .hero-fog, #oceanCanvas, .cursor-particle, .lightning-flash { display: none !important; }
    .hero-title-main { animation: fadeUp 0.8s ease 0.5s forwards !important; }
    .section-title { animation: none !important; }
    .reveal:nth-child(odd),
    .reveal:nth-child(even) { transform: translateY(30px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-fog, #oceanCanvas, .cursor-particle, .lightning-flash { display: none !important; }
}

/* ============================
   CONSIGLIO DEL CAPITANO
   ============================ */
.captain-advice {
    margin-bottom: 48px;
    position: relative;
}

.captain-card {
    background:
        linear-gradient(145deg, rgba(44, 24, 16, 0.7), rgba(26, 14, 8, 0.8)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a44e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border: 2px solid rgba(200, 164, 78, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.captain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.captain-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.captain-card:hover {
    border-color: rgba(200, 164, 78, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(200, 164, 78, 0.1);
}

.captain-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(200, 164, 78, 0.2);
    border-radius: 50%;
    background: rgba(200, 164, 78, 0.05);
}

.captain-content {
    flex: 1;
}

.captain-label {
    display: inline-block;
    font-family: var(--font-pirate);
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.captain-title {
    font-family: var(--font-pirate);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.captain-desc {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 500px;
}

.captain-highlight {
    flex-shrink: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.captain-item {
    text-align: center;
    padding: 16px 20px;
    background: rgba(200, 164, 78, 0.06);
    border: 1px solid rgba(200, 164, 78, 0.12);
    border-radius: var(--radius);
    min-width: 100px;
}

.captain-item-icon {
    margin-bottom: 8px;
}

.captain-item-name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--cream);
    letter-spacing: 0.5px;
}

.captain-plus {
    font-family: var(--font-pirate);
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.5;
}

/* ============================
   TI È PIACIUTO? CTA
   ============================ */
.enjoyed-section {
    padding: 64px 0;
}

.enjoyed-card {
    background: linear-gradient(145deg, rgba(44, 24, 16, 0.5), rgba(10, 10, 15, 0.5));
    border: 1px solid rgba(200, 164, 78, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.enjoyed-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 164, 78, 0.03), transparent 70%);
    pointer-events: none;
}

.enjoyed-title {
    font-family: var(--font-pirate);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.enjoyed-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.enjoyed-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.enjoyed-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(200, 164, 78, 0.15);
    border-radius: var(--radius);
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.enjoyed-social-link:hover {
    border-color: var(--gold);
    background: rgba(200, 164, 78, 0.08);
    color: var(--gold);
}

.enjoyed-social-link svg {
    width: 18px;
    height: 18px;
}

.enjoyed-contact {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.enjoyed-contact a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.enjoyed-contact a:hover {
    text-decoration: underline;
}

/* Captain & Enjoyed responsive */
@media (max-width: 900px) {
    .captain-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }
    .captain-desc { max-width: none; }
    .captain-highlight { justify-content: center; }
    .enjoyed-socials { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .captain-title { font-size: 1.3rem; }
    .captain-card { padding: 24px 16px; }
    .captain-highlight { flex-direction: column; gap: 12px; }
    .captain-plus { display: none; }
    .enjoyed-title { font-size: 1.5rem; }
    .enjoyed-card { padding: 32px 20px; }
    .enjoyed-socials { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════
   Menu Category Cards Navigation
   ═══════════════════════════════════════ */
.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 48px;
}

.menu-cat-card {
    background:
        radial-gradient(ellipse at 50% 20%, rgba(200, 164, 78, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, rgba(35, 25, 15, 0.8), rgba(25, 18, 10, 0.6));
    border: 1px solid rgba(200, 164, 78, 0.12);
    border-radius: 12px;
    padding: 32px 20px 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    opacity: 0;
    background: radial-gradient(circle at 50% 40%, rgba(200, 164, 78, 0.08), transparent 70%);
    transition: opacity 0.35s;
    pointer-events: none;
}

.menu-cat-card:hover {
    border-color: rgba(200, 164, 78, 0.4);
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(200, 164, 78, 0.12),
        0 0 24px rgba(200, 164, 78, 0.06),
        inset 0 1px 0 rgba(200, 164, 78, 0.1);
}

.menu-cat-card:hover::after {
    opacity: 1;
}

.menu-cat-card:active {
    transform: translateY(-2px);
    transition-duration: 0.1s;
}

.menu-cat-icon {
    margin-bottom: 14px;
}

.menu-cat-icon svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
    filter: drop-shadow(0 0 6px rgba(200, 164, 78, 0.2));
    transition: all 0.35s;
}

.menu-cat-card:hover .menu-cat-icon svg {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(200, 164, 78, 0.5));
    transform: scale(1.1);
}

.menu-cat-name {
    font-family: var(--font-pirate);
    font-size: 1.4rem;
    color: var(--gold);
    margin: 0 0 8px;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 0 16px rgba(200, 164, 78, 0.15);
}

.menu-cat-count {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--cream);
    opacity: 0.35;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Back button */
.menu-back-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(200, 164, 78, 0.04);
    border: 1px solid rgba(200, 164, 78, 0.15);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 auto 32px;
    transition: all 0.3s;
}

.menu-back-btn:hover {
    border-color: var(--gold);
    background: rgba(200, 164, 78, 0.1);
    box-shadow: 0 0 20px rgba(200, 164, 78, 0.08);
}

.menu-back-btn svg {
    transition: transform 0.3s;
}

.menu-back-btn:hover svg {
    transform: translateX(-4px);
}

/* Fade-in animation for category navigation */
@keyframes menuCatFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card entrance stagger */
.menu-cat-card {
    animation: menuCatFadeIn 0.5s ease both;
}
.menu-cat-card:nth-child(1) { animation-delay: 0s; }
.menu-cat-card:nth-child(2) { animation-delay: 0.05s; }
.menu-cat-card:nth-child(3) { animation-delay: 0.1s; }
.menu-cat-card:nth-child(4) { animation-delay: 0.15s; }
.menu-cat-card:nth-child(5) { animation-delay: 0.2s; }
.menu-cat-card:nth-child(6) { animation-delay: 0.25s; }
.menu-cat-card:nth-child(7) { animation-delay: 0.3s; }
.menu-cat-card:nth-child(8) { animation-delay: 0.35s; }
.menu-cat-card:nth-child(9) { animation-delay: 0.4s; }
.menu-cat-card:nth-child(10) { animation-delay: 0.45s; }

@media (max-width: 860px) {
    .menu-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 36px;
    }
    .menu-cat-card {
        padding: 24px 14px 20px;
    }
    .menu-cat-name {
        font-size: 1.15rem;
    }
    .menu-cat-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .menu-categories {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .menu-cat-card {
        padding: 16px 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .menu-cat-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .menu-cat-icon svg {
        width: 36px;
        height: 36px;
    }
    .menu-cat-name {
        font-size: 1rem;
        margin: 0;
    }
    .menu-cat-count {
        font-size: 0.65rem;
        margin-top: 2px;
    }
}

/* ============================================
   POWERED BY VIS DIGITAL (footer)
   ============================================ */
.footer-powered {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: var(--transition);
}
.footer-powered:hover {
    color: rgba(255, 255, 255, 0.6);
}
.footer-powered-icon {
    width: 14px;
    height: 16px;
}
.footer-powered-icon path {
    fill: rgba(255, 255, 255, 0.5);
}
.footer-powered:hover .footer-powered-icon path {
    fill: rgba(255, 255, 255, 0.75);
}

/* ============================================
   VIS DIGITAL BADGE (floating)
   ============================================ */
.vis-badge {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
}
.vis-badge__icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
    animation: visBadgePulse 3s ease-in-out 4s infinite;
}
.vis-badge__icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.vis-badge__icon svg {
    width: 20px;
    height: 24px;
}
.vis-badge__popup {
    position: absolute;
    bottom: calc(100% + 0.75rem);
    right: 0;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    min-width: 260px;
}
.vis-badge__popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.vis-badge__popup p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
}
.vis-badge__btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #a855f7, #ec4899, #fb923c);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: var(--transition);
}
.vis-badge__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    color: #fff;
}
@keyframes visBadgePulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 2px 10px rgba(0,0,0,0.15), 0 0 0 8px rgba(168, 85, 247, 0.15), 0 0 0 16px rgba(236, 72, 153, 0.08); }
}

/* --- TFA Popup --- */
.tfa-overlay {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.tfa-overlay.tfa-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tfa-popup {
    position: relative;
    background: #f5e6c8;
    border-radius: var(--radius);
    padding: 16px 40px 16px 18px;
    max-width: 300px;
    width: 300px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
    border-left: 4px solid var(--gold);
}

.tfa-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #8a7e6a;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color var(--transition);
}

.tfa-close:hover {
    color: #1a1209;
}

.tfa-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--gold);
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.tfa-collapsed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tfa-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1209;
    line-height: 1.4;
    margin: 0;
}

.tfa-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1a1209;
    border: none;
    color: #f5e6c8;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background var(--transition);
    flex-shrink: 0;
}

.tfa-expand-btn:hover {
    background: #2c1810;
}

.tfa-expand-arrow {
    transition: transform 0.3s ease;
}

.tfa-popup.tfa-expanded .tfa-expand-arrow {
    transform: rotate(180deg);
}

/* Corpo espandibile */
.tfa-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.tfa-popup.tfa-expanded .tfa-body {
    max-height: 300px;
    opacity: 1;
    margin-top: 14px;
}

.tfa-subtitle {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1209;
    margin-bottom: 6px;
}

.tfa-text {
    font-size: 0.76rem;
    color: #5a4a35;
    line-height: 1.55;
    margin-bottom: 14px;
}

.tfa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}

.tfa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .tfa-overlay {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
    .tfa-popup {
        width: 100%;
        max-width: 100%;
    }
}

/* --- Light Mode --- */
[data-theme="light"] {
    --dark: #faf8f4;
    --dark-brown: #f2ece2;
    --dark-navy: #eae3d7;
    --wood: #d6c9ac;
    --wood-light: #c4b494;
    --gold: #8b6914;
    --gold-light: #a57d1a;
    --gold-dim: rgba(139, 105, 20, 0.08);
    --cream: #2a1d10;
    --cream-dim: rgba(42, 29, 16, 0.75);
    --text: #2a1d10;
    --text-dim: #6d5a3e;
    --white: #1a1209;
    --sea-dark: #dfedf8;
    --sea: #c0d8ee;
    --red: #9b2020;
    --red-bright: #c0392b;
}

/* --- Light: Body --- */
[data-theme="light"] body {
    background: var(--dark);
    color: var(--text);
}

/* --- Light: Navigation --- */
[data-theme="light"] .nav.scrolled {
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(139, 105, 20, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-inner {
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(139, 105, 20, 0.06);
}

[data-theme="light"] .nav-links a {
    color: var(--text);
}

[data-theme="light"] .nav-links a:hover {
    color: var(--gold);
}

[data-theme="light"] .nav-toggle span {
    background: var(--text);
}

@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left-color: rgba(139, 105, 20, 0.08);
    }
}

/* --- Light: Loader --- */
[data-theme="light"] .loader {
    background: #faf8f4;
}

/* --- Light: Hero --- */
[data-theme="light"] .hero-bg {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(139, 105, 20, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 30%, rgba(26, 58, 92, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, #ede5d5 0%, #f5f0e8 60%, #faf8f4 100%);
}

[data-theme="light"] .hero-overlay {
    background: none;
}

[data-theme="light"] .page-hero-bg {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(139, 105, 20, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 30%, rgba(26, 58, 92, 0.03) 0%, transparent 40%),
        linear-gradient(180deg, #ede5d5 0%, #f5f0e8 60%, #faf8f4 100%);
}

[data-theme="light"] .page-hero-overlay {
    background: none;
}

[data-theme="light"] .page-hero-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-title-main {
    animation: fadeUp 0.8s ease 0.5s forwards !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .hero-badge::before {
    border-color: rgba(139, 105, 20, 0.2);
}

[data-theme="light"] .hero-social-link {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(139, 105, 20, 0.15);
    color: var(--gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-social-link:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(139, 105, 20, 0.25);
}

[data-theme="light"] #oceanCanvas {
    display: none;
}

/* --- Light: Hero decorative elements (subtle) --- */
[data-theme="light"] .floating-el {
    opacity: 0.06;
}

[data-theme="light"] .hero-ship {
    opacity: 0.03;
}

[data-theme="light"] .page-hero-wheel {
    opacity: 0.04;
}

/* --- Light: About photo caption --- */
[data-theme="light"] .about-photo-caption {
    background: linear-gradient(transparent, rgba(10, 10, 15, 0.75));
    color: #f5e6c8;
}

/* --- Light: Cards - universal card style --- */
[data-theme="light"] .about-card {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .about-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(139, 105, 20, 0.06);
    border-color: rgba(139, 105, 20, 0.2);
    transform: translateY(-4px);
}

[data-theme="light"] .about-card-icon {
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.08), rgba(139, 105, 20, 0.04));
    border-color: rgba(139, 105, 20, 0.12);
}

[data-theme="light"] .about-card:hover .about-card-icon {
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.15), rgba(139, 105, 20, 0.08));
    border-color: rgba(139, 105, 20, 0.25);
}

[data-theme="light"] .menu-preview-card {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .menu-preview-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 105, 20, 0.18);
}

[data-theme="light"] .menu-category {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .menu-full-card {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .menu-full-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 105, 20, 0.18);
}

[data-theme="light"] .contact-card {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-hours {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-social-card {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .enjoyed-card {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .enjoyed-social-link {
    border-color: rgba(139, 105, 20, 0.15);
    color: var(--text);
    background: rgba(139, 105, 20, 0.04);
}

[data-theme="light"] .enjoyed-social-link:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* --- Light: Captain card --- */
[data-theme="light"] .captain-card {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .captain-card:hover {
    border-color: rgba(139, 105, 20, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .captain-item {
    background: rgba(139, 105, 20, 0.04);
    border-color: rgba(139, 105, 20, 0.08);
}

/* --- Light: Menu cat cards --- */
[data-theme="light"] .menu-cat-card {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .menu-cat-card:hover {
    border-color: rgba(139, 105, 20, 0.25);
    box-shadow: 0 8px 32px rgba(139, 105, 20, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

[data-theme="light"] .menu-cat-name {
    text-shadow: none;
}

[data-theme="light"] .menu-back-btn {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .menu-back-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(139, 105, 20, 0.12);
}

/* --- Light: Menu scroll (parchment) --- */
[data-theme="light"] .menu-scroll {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .menu-scroll::before {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b6914' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="light"] .menu-chapter-heading h2 {
    text-shadow: none;
}

[data-theme="light"] .menu-row-price {
    text-shadow: none;
}

[data-theme="light"] .menu-row-dots {
    border-bottom-color: rgba(139, 105, 20, 0.15);
}

[data-theme="light"] .menu-row {
    border-bottom-color: rgba(139, 105, 20, 0.06);
}

[data-theme="light"] .menu-row:hover {
    background: rgba(139, 105, 20, 0.03);
}

[data-theme="light"] .menu-preview-item-dots {
    border-bottom-color: rgba(139, 105, 20, 0.15);
}

/* --- Light: Pergamena --- */
[data-theme="light"] .pergamena {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pergamena::before,
[data-theme="light"] .pergamena::after {
    background: repeating-linear-gradient(
        90deg,
        rgba(139, 105, 20, 0.06) 0px,
        rgba(139, 105, 20, 0.06) 2px,
        transparent 2px,
        transparent 8px
    );
    border-color: rgba(139, 105, 20, 0.06);
}

[data-theme="light"] .pergamena:hover {
    border-color: rgba(139, 105, 20, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pergamena-full {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pergamena-full h2,
[data-theme="light"] .pergamena-full h3 {
    text-shadow: none;
}

/* --- Light: Section backgrounds --- */
[data-theme="light"] .section-about {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(139, 105, 20, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #faf8f4 0%, #f5f0e8 100%);
}

[data-theme="light"] .section-menu,
[data-theme="light"] .section-menu-full {
    background:
        radial-gradient(ellipse at 70% 100%, rgba(155, 32, 32, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #f5f0e8 0%, #faf8f4 100%);
}

[data-theme="light"] .section-fun {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 105, 20, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #faf8f4 0%, #f5f0e8 100%);
}

[data-theme="light"] .section-gallery {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(139, 105, 20, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(26, 58, 92, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #f5f0e8 0%, #faf8f4 50%, #f5f0e8 100%);
}

[data-theme="light"] .section-contact,
[data-theme="light"] .section-contact-full {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(26, 58, 92, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #f5f0e8 0%, #eee8de 100%);
}

[data-theme="light"] .section-contact-strip {
    background: linear-gradient(180deg, #f5f0e8 0%, #eee8de 100%);
}

/* --- Light: SVG pattern overlays --- */
[data-theme="light"] .section-about::after,
[data-theme="light"] .section-fun::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%238b6914' fill-opacity='0.02'%3E%3Ccircle cx='40' cy='30' r='10'/%3E%3Ccircle cx='35' cy='28' r='2'/%3E%3Ccircle cx='45' cy='28' r='2'/%3E%3Cpath d='M32,38 L28,50 L36,46 L40,50 L44,46 L52,50 L48,38' fill='%238b6914'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- Light: Fun card & gallery (keep dark overlays for images) --- */
[data-theme="light"] .fun-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .fun-card-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.85) 100%);
}

[data-theme="light"] .fun-card h3 {
    color: #c8a44e;
}

[data-theme="light"] .fun-card p {
    color: rgba(245, 230, 200, 0.75);
}

[data-theme="light"] .fun-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .gallery-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gallery-item-overlay {
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.8) 100%);
}

[data-theme="light"] .gallery-item:hover .gallery-item-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 15, 0.88) 100%);
}

[data-theme="light"] .gallery-item-overlay span {
    color: #f5e6c8;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .gallery-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* --- Light: Gallery lightbox --- */
[data-theme="light"] .gallery-lightbox {
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .gallery-lightbox-close {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.2);
    color: var(--text);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .gallery-lightbox img {
    border-color: rgba(139, 105, 20, 0.15);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.2);
}

/* --- Light: Contact form --- */
[data-theme="light"] .contact-form-scroll {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .contact-form-scroll::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-bottom-color: rgba(139, 105, 20, 0.04);
}

[data-theme="light"] .contact-form-scroll::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-top-color: rgba(139, 105, 20, 0.04);
}

[data-theme="light"] .contact-form-scroll h3 {
    text-shadow: none;
}

[data-theme="light"] .contact-form-scroll input,
[data-theme="light"] .contact-form-scroll textarea,
[data-theme="light"] .contact-form-scroll select {
    background: #faf8f4;
    border-color: rgba(139, 105, 20, 0.12);
    color: var(--text);
}

[data-theme="light"] .contact-form-scroll input::placeholder,
[data-theme="light"] .contact-form-scroll textarea::placeholder {
    color: var(--text-dim);
}

[data-theme="light"] .contact-form-scroll input:focus,
[data-theme="light"] .contact-form-scroll textarea:focus,
[data-theme="light"] .contact-form-scroll select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.08);
    background: #fff;
}

/* --- Light: Treasure map bg --- */
[data-theme="light"] .treasure-map-bg {
    background:
        radial-gradient(circle at 85% 15%, rgba(139, 105, 20, 0.04) 0%, transparent 20%),
        radial-gradient(circle at 30% 70%, rgba(155, 32, 32, 0.02) 0%, transparent 15%),
        radial-gradient(ellipse at 15% 40%, rgba(180, 150, 90, 0.02) 0%, transparent 25%),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(139, 105, 20, 0.03) 79px, rgba(139, 105, 20, 0.03) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(139, 105, 20, 0.03) 79px, rgba(139, 105, 20, 0.03) 80px),
        linear-gradient(180deg, #f5f0e8 0%, #faf8f4 50%, #eee8de 100%);
}

/* --- Light: Info box --- */
[data-theme="light"] .info-box {
    background: #fff;
    border-color: rgba(139, 105, 20, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .info-box h4 {
    text-shadow: none;
}

[data-theme="light"] .info-box::before {
    background: radial-gradient(circle, #c4b494 30%, #d6c9ac 60%, transparent 70%);
}

[data-theme="light"] .info-box::after {
    background: radial-gradient(circle, #c4b494 30%, #d6c9ac 60%, transparent 70%);
}

/* --- Light: Footer (dark footer for contrast) --- */
[data-theme="light"] .footer {
    background: #1a1209;
    color: #d4c5a9;
}

[data-theme="light"] .footer-logo {
    color: #c8a44e;
}

[data-theme="light"] .footer-brand p {
    color: #8a7e6a;
}

[data-theme="light"] .footer-nav a {
    color: #8a7e6a;
}

[data-theme="light"] .footer-nav a:hover {
    color: #c8a44e;
}

[data-theme="light"] .footer-social a {
    background: rgba(200, 164, 78, 0.15);
    color: #c8a44e;
}

[data-theme="light"] .footer-social a:hover {
    background: #c8a44e;
    color: #1a1209;
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(200, 164, 78, 0.1);
    color: #6a5e4a;
}

[data-theme="light"] .footer-powered {
    color: #6a5e4a;
}

[data-theme="light"] .footer-powered:hover {
    color: #d4c5a9;
}

[data-theme="light"] .footer-powered-icon path {
    fill: #6a5e4a;
}

[data-theme="light"] .footer-powered:hover .footer-powered-icon path {
    fill: #d4c5a9;
}

/* --- Light: Enhanced hover effects --- */
[data-theme="light"] .about-card:hover,
[data-theme="light"] .menu-category:hover,
[data-theme="light"] .fun-card:hover,
[data-theme="light"] .social-card:hover,
[data-theme="light"] .menu-full-card:hover,
[data-theme="light"] .contact-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(139, 105, 20, 0.06);
}

[data-theme="light"] .about-card:hover,
[data-theme="light"] .menu-category:hover {
    animation: cardFireGlowLight 2s ease-in-out infinite;
}

@keyframes cardFireGlowLight {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 0 0 rgba(139, 105, 20, 0); }
    50% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 20px rgba(139, 105, 20, 0.06); }
}

/* --- Light: Section title --- */
[data-theme="light"] .section-title {
    animation: none;
}

/* --- Light: Hero badge --- */
[data-theme="light"] .hero-badge {
    animation: float 4s ease-in-out infinite;
}

/* --- Light: Pirate banner --- */
[data-theme="light"] .pirate-banner {
    text-shadow: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* --- Light: Fog --- */
[data-theme="light"] .hero-fog::before,
[data-theme="light"] .hero-fog::after {
    opacity: 0.08;
}

/* --- Light: Pirate coins strip --- */
[data-theme="light"] .pirate-coins-strip {
    background: linear-gradient(180deg, var(--dark) 0%, rgba(139, 105, 20, 0.06) 50%, var(--dark) 100%);
}

/* --- Light: Contact social --- */
[data-theme="light"] .contact-social a {
    background: rgba(139, 105, 20, 0.06);
    border: 1px solid rgba(139, 105, 20, 0.12);
}

[data-theme="light"] .contact-social a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* --- Light: Prenota phones --- */
[data-theme="light"] .prenota-phones a {
    background: rgba(139, 105, 20, 0.05);
    border: 1px solid rgba(139, 105, 20, 0.1);
}

[data-theme="light"] .prenota-phones a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* --- Light: Menu preview badge --- */
[data-theme="light"] .menu-preview-badge {
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.1), rgba(139, 105, 20, 0.04));
}

/* --- Light: Wave separator --- */
[data-theme="light"] .wave-separator-css::before {
    background:
        radial-gradient(ellipse 60% 40px at 20% 100%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 50% 35px at 50% 100%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 55% 38px at 80% 100%, var(--dark) 98%, transparent 100%);
}

[data-theme="light"] .wave-separator-css-up::before {
    background:
        radial-gradient(ellipse 60% 40px at 20% 0%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 50% 35px at 50% 0%, var(--dark) 98%, transparent 100%),
        radial-gradient(ellipse 55% 38px at 80% 0%, var(--dark) 98%, transparent 100%);
}

/* --- Light: Video carousel --- */
[data-theme="light"] .video-carousel .swiper-pagination-bullet {
    background: rgba(139, 105, 20, 0.25);
}

[data-theme="light"] .video-carousel .swiper-pagination-bullet-active {
    background: var(--gold);
}

/* --- Light: TFA Popup --- */
[data-theme="light"] .tfa-popup {
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tfa-title,
[data-theme="light"] .tfa-subtitle {
    color: var(--text);
}

[data-theme="light"] .tfa-text {
    color: var(--text-dim);
}

[data-theme="light"] .tfa-close {
    color: var(--text-dim);
}

[data-theme="light"] .tfa-close:hover {
    color: var(--text);
}

[data-theme="light"] .tfa-expand-btn {
    background: var(--gold);
    color: #fff;
}

[data-theme="light"] .tfa-expand-btn:hover {
    background: var(--gold-light);
}

/* --- Light: Rope border --- */
[data-theme="light"] .rope-border {
    border-color: rgba(139, 105, 20, 0.15) !important;
    box-shadow: inset 0 0 0 2px rgba(139, 105, 20, 0.03), 0 0 0 1px rgba(139, 105, 20, 0.04);
}

/* --- Light: Map filter --- */
[data-theme="light"] .contact-map iframe {
    filter: none;
    border-radius: var(--radius);
}

/* --- Light: Buttons --- */
[data-theme="light"] .btn-primary {
    box-shadow: 0 2px 8px rgba(139, 105, 20, 0.2);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(139, 105, 20, 0.3);
}

[data-theme="light"] .btn-outline {
    border-color: rgba(139, 105, 20, 0.3);
    color: var(--gold);
}

[data-theme="light"] .btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* --- Light: Social cards --- */
[data-theme="light"] .social-card {
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* --- Light: Section decorative elements --- */
[data-theme="light"] .section-decor {
    opacity: 0.5;
}

/* --- Light: Vis badge --- */
[data-theme="light"] .vis-badge__popup {
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    color: var(--text);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid rgba(200, 164, 78, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 12px;
}

.theme-toggle:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher-li { display: flex; align-items: center; }
.lang-switcher {
    position: relative;
    margin-left: 8px;
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid rgba(197,163,90,0.25);
    border-radius: 6px;
    color: var(--gold);
    padding: 5px 10px;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.lang-current:hover {
    border-color: var(--gold);
    background: rgba(197,163,90,0.08);
}
.lang-current svg {
    opacity: 0.7;
    flex-shrink: 0;
}
.lang-code {
    font-weight: 600;
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark);
    border: 1px solid rgba(197,163,90,0.2);
    border-radius: 10px;
    padding: 6px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.lang-option:hover {
    background: rgba(197,163,90,0.1);
    color: var(--gold);
}
.lang-option.active {
    color: var(--gold);
    font-weight: 600;
    background: rgba(197,163,90,0.08);
}

/* Mobile adjustments for language switcher */
@media (max-width: 768px) {
    .lang-switcher-li {
        justify-content: center;
        padding: 8px 0;
    }
    .lang-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
    }
    .lang-dropdown.open {
        transform: translateX(-50%) translateY(0);
    }
}

/* Light theme overrides for lang switcher */
[data-theme="light"] .lang-dropdown {
    background: #fff;
    border-color: rgba(139,105,20,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
[data-theme="light"] .lang-option:hover {
    background: rgba(139,105,20,0.06);
}
[data-theme="light"] .lang-option.active {
    background: rgba(139,105,20,0.06);
}
