/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0a2e44;
    background: #f4fbff;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
    --c-deep: #062a40;
    --c-ocean: #0b3d5c;
    --c-blue: #0e6ba8;
    --c-aqua: #00b4d8;
    --c-mint: #6bd0c4;
    --c-seafoam: #b8e5dc;
    --c-sand: #f1ead0;
    --c-light: #eaf6fb;
    --c-white: #ffffff;
    --c-text: #0a2e44;
    --c-muted: #5a7585;

    --shadow-lg: 0 20px 50px rgba(6, 42, 64, .15);
    --shadow-md: 0 8px 24px rgba(6, 42, 64, .12);
    --shadow-sm: 0 2px 8px rgba(6, 42, 64, .08);

    --radius: 14px;
    --radius-lg: 22px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--c-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8rem;
    color: var(--c-aqua);
    font-weight: 700;
    margin-bottom: .8rem;
}

.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { margin-bottom: .4em; }
.section-head p { color: var(--c-muted); font-size: 1.05rem; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: 2px solid transparent;
}
.btn-primary { background: var(--c-aqua); color: var(--c-white); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); background: var(--c-blue); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--c-white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ============ HEADER ============ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(11,61,92,.08);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: 70px;
}
.logo {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--c-ocean);
}
.logo em { color: var(--c-aqua); font-style: italic; font-weight: 600; }
.logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--c-aqua), var(--c-mint));
    color: white; font-size: 1.4rem; font-weight: 800;
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
    font-weight: 500; color: var(--c-text);
    position: relative; padding: 4px 0;
    transition: color .2s ease;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--c-aqua);
    transition: width .25s ease;
}
.main-nav a:hover { color: var(--c-blue); }
.main-nav a:hover::after { width: 100%; }

.lang-switcher {
    display: flex; gap: 4px;
    background: var(--c-light);
    padding: 4px; border-radius: 999px;
}
.lang-switcher button {
    border: none; background: transparent;
    padding: 6px 12px; border-radius: 999px;
    font-weight: 600; font-size: .8rem; letter-spacing: .05em;
    cursor: pointer; color: var(--c-muted);
    transition: all .2s ease;
}
.lang-switcher button:hover { color: var(--c-ocean); }
.lang-switcher button.active {
    background: var(--c-ocean); color: var(--c-white);
}

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--c-deep); border-radius: 2px; }

/* ============ HERO ============ */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(0,180,216,.4), transparent 60%),
        linear-gradient(180deg, #073b5a 0%, #0e6ba8 60%, #00b4d8 100%);
    color: var(--c-white);
    overflow: hidden;
    padding: 140px 0 180px;
    text-align: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero h1 {
    color: var(--c-white);
    text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero-sub {
    font-size: 1.2rem; opacity: .95;
    max-width: 600px; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path fill='%23f4fbff' d='M0,40 C360,90 720,0 1080,40 C1260,60 1380,30 1440,40 L1440,80 L0,80 Z'/></svg>") no-repeat center / cover;
}

/* Bubbles */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span {
    position: absolute; bottom: -50px;
    width: 18px; height: 18px;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    animation: rise linear infinite;
}
.bubbles span:nth-child(1) { left: 5%; width: 14px; height: 14px; animation-duration: 14s; }
.bubbles span:nth-child(2) { left: 15%; width: 24px; height: 24px; animation-duration: 18s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 25%; width: 10px; height: 10px; animation-duration: 11s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 38%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 50%; width: 28px; height: 28px; animation-duration: 19s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 60%; width: 12px; height: 12px; animation-duration: 13s; animation-delay: 6s; }
.bubbles span:nth-child(7) { left: 72%; width: 18px; height: 18px; animation-duration: 17s; animation-delay: 2s; }
.bubbles span:nth-child(8) { left: 82%; width: 22px; height: 22px; animation-duration: 20s; animation-delay: 5s; }
.bubbles span:nth-child(9) { left: 90%; width: 14px; height: 14px; animation-duration: 15s; animation-delay: 7s; }
.bubbles span:nth-child(10){ left: 30%; width: 16px; height: 16px; animation-duration: 21s; animation-delay: 8s; }
.bubbles span:nth-child(11){ left: 55%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: 9s; }
.bubbles span:nth-child(12){ left: 78%; width: 20px; height: 20px; animation-duration: 22s; animation-delay: 1.5s; }

@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-110vh) scale(.7); opacity: 0; }
}

/* ============ ABOUT / CONCEPT ============ */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.two-col.reverse .col-img { order: -1; }
.col-img img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3; object-fit: cover;
}
.col-text p { color: #2c4a5e; font-size: 1.05rem; }
.features {
    list-style: none; padding: 0; margin-top: 24px;
}
.features li {
    padding: 8px 0 8px 28px; position: relative;
    color: #2c4a5e;
}
.features li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--c-aqua); font-weight: 800;
}

.section-about { background: linear-gradient(180deg, #f4fbff, #eaf6fb); }
.section-concept { background: var(--c-white); }

/* ============ FISH SECTION ============ */
.section-fish {
    background: linear-gradient(180deg, #eaf6fb, #d9eef5);
    position: relative;
}
.fish-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Tree menu */
.fish-tree {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-md);
    position: sticky; top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}
.fish-tree input[type="search"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--c-seafoam);
    border-radius: 10px;
    font: inherit;
    margin-bottom: 16px;
    background: var(--c-light);
}
.fish-tree input[type="search"]:focus { outline: none; border-color: var(--c-aqua); background: white; }

.tree, .tree ul {
    list-style: none; padding: 0; margin: 0;
}
.tree-group { margin-bottom: 4px; }
.tree-toggle {
    width: 100%; text-align: left;
    background: transparent; border: none;
    padding: 8px 10px; border-radius: 8px;
    font: inherit; font-weight: 700;
    color: var(--c-ocean); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background .2s;
}
.tree-toggle::after {
    content: '›';
    transform: rotate(0deg);
    transition: transform .2s ease;
    font-size: 1.3rem; color: var(--c-aqua);
}
.tree-group[data-group="open"] > .tree-toggle::after { transform: rotate(90deg); }
.tree-toggle:hover { background: var(--c-light); }

.tree-group > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding-left: 12px;
}
.tree-group[data-group="open"] > ul {
    max-height: 1200px;
}
.tree-group > ul > li > a {
    display: block;
    padding: 7px 12px;
    margin: 2px 0;
    border-radius: 8px;
    color: #355366;
    font-size: .94rem;
    transition: all .15s ease;
    border-left: 3px solid transparent;
}
.tree-group > ul > li > a:hover {
    background: var(--c-light);
    color: var(--c-blue);
    border-left-color: var(--c-mint);
}
.tree-group > ul > li > a.active {
    background: linear-gradient(90deg, rgba(0,180,216,.15), transparent);
    color: var(--c-ocean);
    border-left-color: var(--c-aqua);
    font-weight: 600;
}

/* Detail panel */
.fish-detail {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    min-height: 500px;
}
.fish-detail.empty {
    display: flex; align-items: center; justify-content: center;
    color: var(--c-muted); text-align: center;
    font-size: 1.05rem;
}
.fish-detail .fish-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: 16px;
    padding-bottom: 20px; margin-bottom: 24px;
    border-bottom: 1px solid var(--c-light);
}
.fish-detail h3 {
    font-size: 2rem; margin: 0;
}
.fish-detail .fish-latin {
    color: var(--c-muted);
    font-style: italic;
    font-size: .95rem;
    display: block; margin-top: 4px;
}
.fish-detail .fish-cover {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover; border-radius: var(--radius);
    margin-bottom: 24px;
}
.fish-detail .fish-text { color: #2c4a5e; }
.fish-detail .fish-text p { margin-bottom: 1em; }

.fish-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.fish-stats .stat {
    background: var(--c-light);
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 3px solid var(--c-aqua);
}
.fish-stats .stat-label {
    display: block; font-size: .75rem;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--c-muted); font-weight: 700;
}
.fish-stats .stat-value {
    display: block; font-weight: 600;
    color: var(--c-ocean); margin-top: 2px;
}

/* Gallery */
.fish-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.fish-gallery img {
    width: 100%; aspect-ratio: 1/1;
    object-fit: cover; border-radius: 10px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fish-gallery img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(6, 42, 64, .92);
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 95vw; max-height: 95vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox .close {
    position: absolute; top: 20px; right: 28px;
    background: none; border: none; color: white;
    font-size: 2.5rem; cursor: pointer;
}

/* ============ CONTACT ============ */
.section-contact { background: var(--c-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: stretch;
}
.contact-info {
    background: linear-gradient(135deg, var(--c-ocean), var(--c-blue));
    color: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact-info h3 {
    color: white; font-size: 1.6rem;
    margin-bottom: 16px;
}
.contact-info p { margin: 0 0 18px; }
.contact-info strong { color: var(--c-mint); }

.socials {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.socials a {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: rgba(255,255,255,.18); transform: translateX(4px); }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}
.contact-map iframe {
    width: 100%; height: 100%; border: 0;
    min-height: 400px;
    display: block;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--c-deep);
    color: rgba(255,255,255,.85);
    padding: 28px 0;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    font-size: .9rem;
}
.footer-meta { color: rgba(255,255,255,.55); margin: 0; }

/* ============ QUICK CONTACT (WA / VIBER / CALL / SMS) ============ */
.contact-link {
    color: var(--c-white);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
.contact-link:hover { color: var(--c-mint); }

.quick-contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
}
.qc-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.qc-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); filter: brightness(1.05); }
.qc-btn svg { flex-shrink: 0; }
.qc-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.qc-viber { background: linear-gradient(135deg, #7360f2, #5246c7); }
.qc-call { background: linear-gradient(135deg, #00b4d8, #0e6ba8); }
.qc-sms { background: linear-gradient(135deg, #f1ba2a, #d68d12); }

.contact-note {
    margin-top: 20px;
    font-size: .85rem;
    color: var(--c-muted);
    background: var(--c-light);
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid var(--c-mint);
}
.contact-note code {
    background: rgba(11,61,92,.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .85em;
}

/* ============ RESPONSIVE DESKTOP / TABLET / MOBILE ============ */

/* TABLET (≤ 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .section { padding: 70px 0; }
    .fish-layout { grid-template-columns: 240px 1fr; gap: 24px; }
    .fish-tree { padding: 18px; }
    .fish-detail { padding: 28px; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .main-nav { gap: 18px; }
    .hero { padding: 110px 0 150px; }
}

/* SMALL TABLET / LARGE PHONE (≤ 960px) */
@media (max-width: 960px) {
    .two-col { grid-template-columns: 1fr; gap: 36px; }
    .two-col.reverse .col-img { order: 0; }
    .fish-layout { grid-template-columns: 1fr; }
    .fish-tree {
        position: static; max-height: none;
        max-height: 400px;
    }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { min-height: 320px; }
    .contact-map iframe { min-height: 320px; }
}

/* MOBILE (≤ 720px) */
@media (max-width: 720px) {
    .header-inner { gap: 12px; height: 64px; }
    .lang-switcher button { padding: 5px 9px; font-size: .75rem; }
    .logo-text { display: none; }
    .logo-icon { width: 34px; height: 34px; font-size: 1.2rem; }

    .main-nav { display: none; }
    .main-nav.open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: white; padding: 16px 24px;
        box-shadow: var(--shadow-md);
        gap: 14px;
        z-index: 49;
    }
    .burger { display: flex; }

    .section { padding: 50px 0; }
    .hero { padding: 70px 0 120px; }
    .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .hero-sub { font-size: 1rem; }
    .btn { padding: 12px 22px; font-size: .95rem; }

    .fish-detail { padding: 22px; }
    .fish-detail h3 { font-size: 1.5rem; }
    .fish-gallery { grid-template-columns: repeat(2, 1fr); }
    .fish-stats { grid-template-columns: repeat(2, 1fr); }

    .contact-info { padding: 26px 22px; }
    .quick-contacts { grid-template-columns: 1fr 1fr; }

    .footer-inner { flex-direction: column; text-align: center; }
}

/* VERY SMALL (≤ 420px) */
@media (max-width: 420px) {
    .quick-contacts { grid-template-columns: 1fr; }
    .fish-stats { grid-template-columns: 1fr; }
    .lang-switcher { padding: 3px; }
    .lang-switcher button { padding: 4px 7px; font-size: .7rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
}
