/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #e8f4f8 0%, #d1ecf1 50%, #bee5eb 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 123, 255, 0.1);
    border-bottom: 2px solid rgba(0, 123, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    color: #17a2b8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item-dropdown {
    position: relative;
}

.nav-caret {
    font-size: 0.7rem;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    min-width: 240px;
    list-style: none;
    margin: 0;
    /* Invisible padding bridges the gap so hover doesn't drop while moving down */
    padding: 0.75rem 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 1001;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown-inner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.18);
    border: 1px solid rgba(0, 123, 255, 0.12);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
}

.nav-dropdown-link {
    display: block;
    padding: 0.7rem 1.1rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover {
    background: rgba(0, 123, 255, 0.08);
    color: #007bff;
}

#aquarium-setup,
#kuhli-varieties,
#fun-videos,
#other-loaches,
#notable-individuals,
#other-species {
    scroll-margin-top: 90px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0, 40, 80, 0.45), rgba(0, 60, 90, 0.55)),
        url('images/hero-background.jpg') center / cover no-repeat;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Animated bubble overlay removed — photo background in use.
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bubbles" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23bubbles)"/></svg>');
    animation: float 20s ease-in-out infinite;
}
*/

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fish-animation {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.fish-animation i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: swim 3s ease-in-out infinite;
}

.fish-animation i:nth-child(2) {
    animation-delay: 0.5s;
    font-size: 3rem;
}

.fish-animation i:nth-child(3) {
    animation-delay: 1s;
    font-size: 2.5rem;
}

@keyframes swim {
    0%, 100% { 
        transform: translateX(0) rotate(0deg); 
        opacity: 0.8;
    }
    25% { 
        transform: translateX(10px) rotate(5deg); 
        opacity: 1;
    }
    50% { 
        transform: translateX(0) rotate(0deg); 
        opacity: 0.8;
    }
    75% { 
        transform: translateX(-10px) rotate(-5deg); 
        opacity: 1;
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #495057;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
    border-radius: 12px;
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6c757d;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.aquarium-main-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
    border: 3px solid rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease;
}

.aquarium-main-photo:hover {
    transform: scale(1.02);
}

.photo-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    max-width: 300px;
    line-height: 1.4;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid rgba(0, 123, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    color: #17a2b8;
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: #6c757d;
    font-weight: 500;
}

/* Aquarium Section */
.aquarium {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.aquarium-content {
    max-width: 100%;
}

.aquarium-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.aquarium-text h3 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.aquarium-text p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.aquarium-intro:has(.aquarium-text:only-child) .aquarium-text {
    max-width: 100%;
    width: 100%;
}

.aquarium-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aquarium-stat {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.aquarium-stat h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.aquarium-stat span {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Current Aquarium Setup */
.aquarium-setup {
    margin: 3rem 0 4rem;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.aquarium-setup h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    text-align: center;
}

.setup-intro {
    text-align: center;
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.setup-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.setup-photo {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e9ecef;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.12);
}

.setup-photo--featured {
    grid-column: 1 / -1;
}

.setup-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.setup-photo--featured .setup-img {
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #f8f9fa;
}

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

.setup-photo--featured:hover .setup-img {
    transform: none;
}

.setup-photo figcaption {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    color: #495057;
    text-align: center;
    background: white;
}

.setup-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.setup-spec {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.06), rgba(23, 162, 184, 0.08));
    border: 1px solid rgba(0, 123, 255, 0.12);
}

.setup-spec i {
    font-size: 1.5rem;
    color: #007bff;
    margin-top: 0.15rem;
}

.setup-spec h4 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.35rem;
}

.setup-spec p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #007bff;
    margin: 0;
}

/* Fish Showcase */
.fish-showcase {
    margin-top: 3rem;
}

.fish-showcase h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.species-section {
    margin-bottom: 4rem;
}

.species-title {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 1rem;
    text-align: center;
}

.species-intro {
    font-size: 1.1rem;
    color: #495057;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.kuhli-varieties h5 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.kuhli-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.kuhli-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kuhli-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

.kuhli-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.media-tabs {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
}

.tab-btn {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

.media-content {
    position: relative;
    height: 100%;
}

.media-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.media-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.kuhli-img, .fish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kuhli-video, .fish-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* YouTube embed styling - aspect ratio on the content container so panels overlay */
.media-content:has(.youtube-embed) {
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: none;
}

/* Make the media container flexible for YouTube embeds */
.kuhli-media:has(.youtube-embed),
.fish-media:has(.youtube-embed) {
    height: auto;
}

/* Keep YouTube panels stacked in the same space (like photo/video tabs) */
.media-panel.youtube-panel,
.media-panel:has(.youtube-embed) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.kuhli-content, .fish-content {
    padding: 1.5rem;
}

.kuhli-content h4, .fish-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.kuhli-scientific, .fish-scientific {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.kuhli-description, .fish-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.kuhli-specs, .fish-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec, .fish-detail {
    background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.spec i, .fish-detail i {
    margin-right: 0.3rem;
}

.fish-behaviors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.behavior-tag {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Other Loaches */
.fun-videos {
    margin-top: 3rem;
}

.fun-videos h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.interesting-individuals {
    margin-top: 3rem;
}

.interesting-individuals h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.other-loaches {
    margin-top: 3rem;
}

.other-loaches h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Notable Individuals */
.notable-individuals {
    margin-top: 3rem;
}

.notable-individuals h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Other Species */
.other-species {
    margin-top: 3rem;
}

.other-species h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.fish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fish-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

.fish-media {
    position: relative;
    height: 180px;
    overflow: hidden;
}

/* Aquarium Engineering */
.aquarium-engineering {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.aquarium-engineering h3 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 2rem;
    text-align: center;
}

.engineering-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.engineering-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
    border-radius: 15px;
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.engineering-point i {
    font-size: 2rem;
    color: #17a2b8;
    margin-top: 0.5rem;
}

.engineering-point h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.engineering-point p {
    color: #495057;
    line-height: 1.6;
}

/* Game Section */
.game-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #007bff 0%, #17a2b8 100%);
    color: white;
}

.game-section .section-title {
    color: white;
}

.game-section .section-title::after {
    background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.7));
}

.game-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.game-intro p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Kuhli Animation - COMMENTED OUT FOR FUTURE DEVELOPMENT
.game-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.game-embed {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.kuhli-animation {
    width: 200px;
    height: 300px;
    position: relative;
    background: linear-gradient(180deg, #1e3a8a 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Pixel Kuhli Loach Animation */
.pixel-kuhli {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: swim 3s ease-in-out infinite;
}

.kuhli-body {
    width: 60px;
    height: 20px;
    background: #8b4513;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 0 1px #654321;
}

.kuhli-stripe {
    position: absolute;
    background: #654321;
    height: 2px;
    border-radius: 1px;
}

.stripe-1 { top: 3px; left: 5px; width: 50px; }
.stripe-2 { top: 6px; left: 8px; width: 44px; }
.stripe-3 { top: 9px; left: 10px; width: 40px; }
.stripe-4 { top: 12px; left: 8px; width: 44px; }
.stripe-5 { top: 15px; left: 5px; width: 50px; }

.kuhli-tail {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid #8b4513;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.kuhli-eye {
    position: absolute;
    left: 8px;
    top: 6px;
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #fff;
}

.kuhli-fin {
    position: absolute;
    background: #8b4513;
    border-radius: 2px;
}

.fin-top {
    top: -5px;
    left: 20px;
    width: 8px;
    height: 6px;
    transform: rotate(-15deg);
}

.fin-bottom {
    bottom: -5px;
    left: 25px;
    width: 8px;
    height: 6px;
    transform: rotate(15deg);
}

/* Swimming Animation */
@keyframes swim {
    0%, 100% {
        transform: translate(-50%, -50%) translateX(0) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translate(-50%, -50%) translateX(0) rotate(0deg);
    }
    75% {
        transform: translate(-50%, -50%) translateX(-10px) rotate(-2deg);
    }
}

/* Bubbles Animation */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.bubble-1 {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 4px;
    height: 4px;
    left: 60%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 8px;
    height: 8px;
    left: 80%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        bottom: -10px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* Responsive Design for Game Section */
@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
    }
    
    .kuhli-animation {
        width: 100%;
        height: 200px;
        order: -1;
    }
    
    .pixel-kuhli {
        transform: translate(-50%, -50%) scale(1.5);
    }
}
END OF COMMENTED OUT KUHLI ANIMATION */

.game-embed {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #495057;
}

.contact-item i {
    color: #007bff;
    font-size: 1.2rem;
    width: 20px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

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

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

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #17a2b8;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0.25rem 0 0.75rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }

    .nav-item-dropdown.open .nav-dropdown {
        display: block;
    }

    .nav-dropdown-inner {
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .nav-dropdown-link {
        white-space: normal;
        padding: 0.55rem 1.5rem;
        color: #495057;
        font-size: 0.9rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .aquarium-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .setup-specs {
        grid-template-columns: 1fr;
    }
    
    .aquarium-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .kuhli-grid {
        grid-template-columns: 1fr;
    }
    
    .fish-grid {
        grid-template-columns: 1fr;
    }
    
    .engineering-points {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .kuhli-card, .fish-card {
        margin: 0 1rem;
    }
    
    .aquarium-stats {
        flex-direction: column;
    }
}

/* Photo Modal Styles */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.photo-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.photo-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.photo-modal-close:hover {
    color: #007bff;
}

.photo-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.photo-modal-nav:hover {
    background: rgba(0, 123, 255, 0.8);
    color: white;
}

.photo-modal-prev {
    left: 20px;
}

.photo-modal-next {
    right: 20px;
}

.photo-modal-zoom-btn {
    position: absolute;
    top: 15px;
    left: 35px;
    color: #f1f1f1;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.photo-modal-zoom-btn:hover {
    background: rgba(0, 123, 255, 0.8);
    color: white;
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

#modalImage.zoomed {
    transform: scale(2);
    cursor: grab;
    transition: transform 0.3s ease;
}

#modalImage.zoomed:active {
    cursor: grabbing;
}

.photo-modal-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
}

.photo-zoom-instructions {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.photo-zoom-instructions.show {
    opacity: 1;
}

.photo-pan-instructions {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.photo-pan-instructions.show {
    opacity: 1;
}

.photo-scientific-name {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

/* Make images clickable */
.kuhli-img, .fish-img {
    cursor: pointer !important;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
}

.kuhli-img:hover, .fish-img:hover {
    transform: scale(1.05);
}

/* Add magnifying glass overlay to indicate clickability */
.kuhli-img::after,
.fish-img::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.kuhli-img:hover::after,
.fish-img:hover::after {
    opacity: 1;
}

