/* CSS Variables for Navigation */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff4500;
    --accent-color: #dc143c;
}

/* Navigation Styles - Add these to ensure navbar works */
.top-nav {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-container img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.8;
    border-bottom: 2px solid white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    color: #333;
    font-weight: bold;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-link {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

/* Add padding for fixed navbar */
body {
    padding-top: 70px;
}

/* Homepage Bio Styles */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/waves.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-left {
    flex: 1;
    text-align: center;
}

.hero-right {
    flex: 1;
}

.tikal-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tikal-image:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: 0 auto 20px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.certification-badge {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    border-radius: 10px;
    border: 2px solid #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cert-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.certification-badge i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #3498db;
}

.certification-badge span {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.cert-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: left;
}

.cert-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cert-details strong {
    color: #3498db;
    font-weight: bold;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button.story-button {
    background: white;
    color: black;
    border: 2px solid black;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.cta-button.story-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
    background: white;
    color: #667eea;
    border-color: white;
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.features-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

.story-section {
    padding: 80px 0;
    background: white;
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.story-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.story-highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    font-style: italic;
}

.video-container {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.story-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.nanook-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

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

.nanook-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto 20px;
    display: block;
}

.nanook-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.nanook-description {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tikal-image {
        max-width: 300px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

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

    .story-title,
    .features-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-section,
    .story-section {
        padding: 60px 0;
    }
}
