/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    line-height: 24px;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Styles */
.navbar {
    background-color: #333;
    padding: 1rem;
    color: white;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.navbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.title a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.spacer {
    width: 188px;
}

.social-icons a {
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.social-icons a.github { color: #ffffff; }
.social-icons a.instagram { color: #e4405f; }
.social-icons a.linkedin { color: #0077b5; }
.social-icons a.strava { color: #e9602a; }
.social-icons a.twitter { color: #ffffff; }

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.language-switcher a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  margin-right: 5px;
}

a:hover {
  color: #FF6B35;
  text-decoration: underline;
  transition: color 0.3s ease;
}

/* Full Screen Section Styles */
.full-screen {
    height: 100vh;
    background-image: url('/assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    text-align: center;
}
.full-screen .main-quote {
    padding-bottom: 80px;
    font-size: 1.5rem;
    max-width: 80%;
}

/* Hero Section Styles */
.hero {
    height: 40vh;
    background-image: url('/assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    text-align: center;
}
.hero .page-title {
    font-size: 2rem;
}

/* Content Styles */
.content {
    padding-top: 100px;
    padding-bottom: 100px;
    min-height: 60vh;
    width: 60%;
    margin: auto;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #FFFFFF;
    text-align: center;
    padding: 1.5rem;
    bottom: 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #333333;
        border-top: 1px solid #444;
    }
    
    .links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem;
        text-align: center;
        border-top: 1px solid #444;
    }
    .menu-icon {
        display: block;
    }
    .content {
        width: 90%;
    }
}

@media (max-width: 400px) {
    .navbar-top {
        padding: 0.5rem 0.75rem;
    }
    .title a {
        font-size: 1.2rem;
    }
    .social-icons a.github { display: none; }
    .full-screen .main-quote {
        font-size: 1.2rem;
    }
    .hero .page-title {
        font-size: 1.5rem;
    }
    .footer {
        font-size: 0.8rem;
    }
}

/* Specific Styles for About Page */
.profile-pic {
    width: 50%;
    border-radius: 50%;
    margin: auto;
    display: block; 
}
.bio {
    padding-top: 100px;
}

.support-project {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 35, 66, 0.15);
  max-width: 640px;
}

.support-project h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #0A2342;
}

.support-project p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.support-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.support-btn.primary {
  background-color: #ff7f32;
  color: #ffffff;
}

.support-btn.primary:hover {
  background-color: #e86f28;
}

/* Responsive Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Quotes Page */
.quote {
    padding: 2.5rem 1rem;
}
.quote a {
    color: inherit;
    text-decoration: none;
}
.quote-author {
    text-align: right;
}

/* Quotes */
#searchInput {
    width:100%;
    padding:10px;
    margin-bottom:20px;
    font-size:16px;
}
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #0A1A2F;
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}
#scrollTopBtn:hover {
    background-color: #FF6B35;
}

/* Book List Styles */
.book-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-list li {
    margin-bottom: 1.2em;
    padding: 0.8em 1em;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: background 0.2s;
}

.book-list li:hover {
    background: #e0e7ff;
}

.book-list a {
    font-weight: 500;
    color: #2d3748;
    text-decoration: none;
}

.book-list a:hover {
    text-decoration: underline;
    color: #FF6B35;
}

.book-list .author {
    display: block;
    font-size: 0.95em;
    color: #6b7280;
    margin-top: 0.2em;
    font-style: italic;
}

.book-reference {
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-size: 0.85rem;
  color: #555;
}

.book-reference a {
  text-decoration: underline;
}

.affiliate-note {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Blog container */
.blog-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.post-summary {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.post-summary h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.post-summary a {
    text-decoration: none;
    color: #FF6B35;
}
.post-summary .post-date {
    font-size: 0.9rem;
    color: #888;
}
.post-summary .post-excerpt {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}
.read-more {
    font-size: 1rem;
}
.read-more:hover {
    text-decoration: underline;
}

/* Blog post content */
.post-content {
    max-width: 70%;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Montserrat', sans-serif;
}
.post-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.post-content .post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}
.post-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}
