/* ============================================
   Dr. Dieter Hovorka | dieter.cc
   Underwater Portfolio with Scrolling Text
   Navy Blue, Golden Yellow, Ocean Teal
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    --navy-dark: #0A2540;
    --navy-light: #1B3A5C;
    --golden-yellow: #FFD700;
    --ocean-teal: #1B5E75;
    --cream: #F8F9FA;
    --text-dark: #ffffff;
    --text-light: #ffffff;
    --accent-gold: #E6C200;
    --shadow: rgba(10, 37, 64, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-light);
}

h2 {
    font-size: 2.5rem;
    color: var(--golden-yellow);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--golden-yellow);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--golden-yellow);
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--golden-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golden-yellow);
    transition: width 0.3s ease;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.5) 0%, rgba(27, 94, 117, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--golden-yellow);
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

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

/* ============================================
   FULL PAGE LAYOUT - ALL CONTENT OVER BACKGROUND
   ============================================ */

.full-page-layout {
    position: relative;
    z-index: 10;
}

.content-section {
    padding: 4rem 2rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(10, 37, 64, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    margin-bottom: 2.5rem;
    position: relative;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--golden-yellow) 0%, var(--ocean-teal) 100%);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.section-content {
    line-height: 1.8;
}

.section-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* ============================================
   CALL-TO-ACTION BUTTONS
   ============================================ */

.cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    margin-right: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--golden-yellow);
    color: var(--navy-dark);
    border-color: var(--golden-yellow);
}

.cta-button.primary:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--golden-yellow);
    border-color: var(--golden-yellow);
}

.cta-button.secondary:hover {
    background: var(--golden-yellow);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============================================
   VENTURE CARDS
   ============================================ */

.venture-card {
    background: rgba(27, 94, 117, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.venture-card:hover {
    border-color: var(--golden-yellow);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
    transform: translateY(-4px);
    background: rgba(27, 94, 117, 0.6);
}

.venture-card h3 {
    color: var(--golden-yellow);
    margin-top: 0;
}

.venture-card p {
    margin-bottom: 0.75rem;
}

.venture-card .role {
    color: var(--cream);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.venture-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.venture-link {
    color: var(--golden-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.venture-link:hover {
    border-bottom-color: var(--golden-yellow);
    color: var(--cream);
}

/* ============================================
   BLOG HIGHLIGHT
   ============================================ */

.blog-highlight {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--golden-yellow);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.blog-highlight p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ============================================
   CONNECT & FOOTER
   ============================================ */

.connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.connect-link {
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--golden-yellow);
    background: var(--golden-yellow);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.connect-link:hover {
    background: transparent;
    color: var(--golden-yellow);
    transform: translateY(-2px);
}

.footer-text {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-text p {
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    h1 {
        font-size: 2.5rem;
    }

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

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .content-wrapper {
        margin: 0 auto;
        padding: 2rem;
    }

    .content-section {
        padding: 3rem 1.5rem;
    }

    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.75rem;
        margin-right: 0;
    }

    .cta-group {
        flex-direction: column;
        gap: 0;
    }

    .venture-card {
        padding: 1.5rem;
    }

    .connect-links {
        flex-direction: column;
    }

    .connect-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

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

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-menu {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
