/* Main styles for whale behavior analysis */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Navigation bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 3px;
}

.navbar a:hover {
    color: #00a6ff;
    background-color: rgba(0, 166, 255, 0.1);
}

/* Main sections */
section {
    min-height: 100vh;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #333;
}

h1, h2, h3 {
    color: #00a6ff;
    text-align: center;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section-content h2, .section-content h3, .card h2, .card h3 {
    margin-top: 40px;
}

/* Overview section */
.overview-img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.overview-img:hover {
    transform: scale(1.02);
}

/* Dive frames section */
.frames-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.frame-viewer {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
}

.frame-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.frame-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.frame-controls button {
    background-color: #00a6ff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.frame-controls button:hover {
    background-color: #0080c0;
    transform: translateY(-2px);
}

.frame-controls button:active {
    transform: translateY(1px);
}

.frame-selector {
    margin-top: 15px;
    width: 80%;
    -webkit-appearance: none;
    height: 8px;
    background: #333;
    border-radius: 4px;
    outline: none;
}

.frame-selector::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #00a6ff;
    border-radius: 50%;
    cursor: pointer;
}

.frame-selector::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00a6ff;
    border-radius: 50%;
    cursor: pointer;
}

.frame-counter {
    margin-top: 12px;
    color: #999;
    font-size: 14px;
}

/* Iframe elements for embedded content */
iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Dashboard links */
.dashboard-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.dashboard-link {
    background-color: #00a6ff;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
}

.dashboard-link:hover {
    background-color: #0080c0;
    transform: translateY(-3px);
}

.dashboard-link:active {
    transform: translateY(1px);
}

/* Card elements */
.card {
    background-color: #1e1e1e;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

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

.card h3 {
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.card ul {
    padding-left: 20px;
}

.card li {
    margin-bottom: 8px;
}

/* Two-column layout */
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.column {
    flex: 1;
    min-width: 300px;
}

/* Resources list */
ul.resources {
    list-style-type: none;
    padding: 0;
}

ul.resources li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

ul.resources li:before {
    content: "•";
    color: #00a6ff;
    position: absolute;
    left: 0;
}

ul.resources li a {
    color: #e0e0e0 !important;
    text-decoration: underline;
    transition: color 0.2s;
}

ul.resources li a:hover {
    color: #00a6ff !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 0;
    }
    
    .navbar a {
        margin: 0 8px;
        font-size: 12px;
    }
    
    iframe {
        height: 500px;
    }
    
    .dashboard-link {
        padding: 12px 20px;
    }
    
    .two-column {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .navbar {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px;
    }
    
    section {
        padding: 70px 10px 30px 10px;
    }
    
    .frame-controls button {
        padding: 8px 15px;
        margin: 3px;
    }
    
    .frame-selector {
        width: 95%;
    }
    
    .dashboard-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Modal Styles */
.rubric-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.rubric-modal.show {
    opacity: 1;
    visibility: visible;
}

.rubric-slide {
    background-color: #1e1e1e;
    max-width: 90%;
    width: 1000px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    margin: 40px auto;
    display: none;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #00a6ff;
}

.presentation-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 10px;
}

.presentation-nav button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.presentation-nav button:hover {
    background-color: #3498db;
}

.presentation-nav button.active {
    background-color: #3498db;
}

@media (max-width: 768px) {
    .rubric-slide {
        max-width: 95%;
        padding: 20px;
    }
    
    .presentation-nav button {
        padding: 6px 10px;
        font-size: 12px;
    }
} 