body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f172a;
    color: #e2e8f0;
}

#wrapper {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    min-height: calc(100vh - 20%);
    border: 2px solid #3b82f6;
    
    margin-left: 4%;
    margin-right: 4%;
}

/* Landing Page Styles */
.landing-page {
    text-align: center;
    padding: 1% 1%;
    position: relative;
    
    margin-left: 4%;
    margin-right: 4%;
    margin-bottom: 4%;
}

/* Language Toggle Button */
.language-toggle {
    position: absolute;
    top: 2%;
    right: 3%;
    z-index: 100;
}

.lang-btn {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.lang-btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.lang-btn #langIcon {
    font-size: 1.2em;
}

.lang-btn #langText {
    font-size: 0.9em;
    font-weight: 600;
}

@media (max-width: 768px) {
    .language-toggle {
        top: 1%;
        right: 2%;
    }
    
    .lang-btn {
        padding: 10px 16px;
        font-size: 0.85em;
    }
    
    .lang-btn #langText {
        display: none;
    }
    
    .lang-btn #langIcon {
        font-size: 1.4em;
    }
}

.main-title {
    font-size: 3em;
    color: #60a5fa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.main-sections {
    position: relative;
    width: 95%;
    height: 80%;
}

/* SVG Triangle Connector */
.triangle-connector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;

    
}

.triangle-connector svg {
    width: 100%;
    height: 100%;
}

.triangle-connector line {
    stroke: #3b82f6;
    stroke-width: 2;
    opacity: 0.8;
}
.triangle-connector line.diagonal{
    stroke-width: 1;
}

.triangle-layout {
    position: relative;
    width: 100%;
    height: 50%;
}

.top-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 11%;
}

.bottom-button {
    display: flex;
    justify-content: center;
}

.section-button {
    font-size: 1.8em;
    font-weight: bold;
    padding: 2.5% 1.75%;
    margin: 0.75%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #3b82f6;
    border-radius: 50px;
    background-color: #1e293b;
    color: #60a5fa;
    min-width: 19%;
    min-height: 10vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    z-index: 5;
}

.section-button .button-text {
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
    background-color: rgba(30, 41, 59, 0.9);
    color: #60a5fa;
    padding: 1.75%;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid #3b82f6;
    font-size: 0.95em;
}

.section-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    border-color: #60a5fa;
}

.section-button:hover .button-text {
    display: none;
}

#tudomany-btn:hover {
    background-image: url('cscs.jpg');
    background-position: center;
    background-repeat: no-repeat;
}

#vitorlazas-btn:hover {
    background-image: url('vitorlazas.jpg');
}

#zene-btn:hover {
    background-image: url('zene.png');
}

.books-section {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18%;
    height: 18%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.books-button {
    font-size: 1.45em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #3b82f6;
    border-radius: 30px;
    background-color: #1e293b;
    color: #60a5fa;
    position: relative;
    overflow: hidden;
    height:100%;
    width:100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 10;
}

.books-button .button-text {
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
    background-color: rgba(30, 41, 59, 0.9);
    color: #60a5fa;
    padding: 2%;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid #3b82f6;
}

.books-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    background-image: url('könyveim.webp');
    border-color: #60a5fa;
}

.books-button:hover .button-text {
    background-color: rgba(30, 41, 59, 0.8);
    color: #93c5fd;
    border-color: #60a5fa;
}

/* Content Section Styles */
.hidden {
    display: none;
}

.content-section {
    padding: 3%;
    margin: 2% 0;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    background-color: #1e293b;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    color: #e2e8f0;
}

.content-section h1 {
    color: #60a5fa;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 1%;
}

.content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1% 0;
}

.back-button {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 1.2% 2.5%;
    border: 2px solid #3b82f6;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 2%;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 15%;
}

.back-button:hover {
    background-color: #1e293b;
    color: #60a5fa;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 1% 0;
}

ul li a {
    text-decoration: none;
    color: #60a5fa;
    font-weight: bold;
    transition: color 0.3s;
}

ul li a:hover {
    color: #93c5fd;
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

/* Modern Science Section Styling */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 3%;
    margin: 3% 0;
    padding: 2%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.profile-info {
    flex: 1;
    padding-left: 3%;
}

.profile-info h2 {
    color: #60a5fa;
    font-size: 2.2em;
    margin-bottom: 1%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.profile-info h4, .profile-info h6 {
    margin: 1% 0;
    line-height: 1.6;
    color: #e6e6e6;
}


.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 3%;
    margin: 3% 0;
}


.favorite-study a {
    color: #e6e6e6;
    font-style: italic;
    line-height: 1.5;
}


.content-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3%;
    flex-wrap: wrap;
    gap: 2%;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 2%;
    margin: 2% 0;
}

.gallery img {
    width: 100%;
    height: 25vh;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s;
    border: 1px solid #ffd700;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Modern Sailing Gallery */
.sailing-intro {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 12px;
    padding: 3%;
    margin: 3% 0;
    text-align: center;
}

.book-highlight {
    margin-top: 2%;
}

.book-highlight a:hover {
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(167, 167, 255)
}

.gallery-controls {
    display: flex;
    gap: 1%;
    flex-wrap: wrap;
}

.gallery-btn {
    background-color: transparent;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.sailing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2%;
    margin: 3% 0;
    perspective: 1000px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    text-align: center;
    font-weight: bold;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

/* Simple Image Popup */
.image-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.image-popup.show {
    display: flex;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: linear-gradient(135deg, #001f3f, #002a5c);
    border: 3px solid #4da6ff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(77, 166, 255, 0.4);
    display: inline-block;
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #4da6ff, #80bfff);
    border: 2px solid #80bfff;
    border-radius: 50%;
    color: #001f3f;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 166, 255, 0.3);
}

.popup-close:hover {
    background: linear-gradient(135deg, #80bfff, #b3d9ff);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(77, 166, 255, 0.5);
}

#popupImage {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid #80bfff;
    display: block;
}

.sailing-info {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 3%;
    margin: 3% 0;
    text-align: center;
}

.sailing-info p {
    margin: 1.5% 0;
    line-height: 1.6;
}

.sailing-info em {
    color: #b8860b;
    font-style: italic;
}


/* Modern Music Section */
.music-controls {
    display: flex;
    gap: 1%;
    flex-wrap: wrap;
}

.music-btn {
    background-color: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 0.9em;
}

.music-btn:hover, .music-btn.active {
    background-color: #ffd700;
    color: #000000;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.music-intro {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 3%;
    margin: 3% 0;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.music-header {
    display: flex;
    align-items: center;
    gap: 3%;
    margin-bottom: 2%;
}

.music-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.music-title h2 {
    color: #ffd700;
    font-size: 2em;
    margin-bottom: 0.5%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.music-title p {
    color: #b8860b;
    font-style: italic;
    font-size: 1.1em;
}

.music-description {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    color: #e6e6e6;
    margin-top: 2%;
}

.music-section {
    margin: 4% 0;
    transition: all 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 3%;
    padding: 2%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.section-header h3 {
    color: #ffd700;
    font-size: 1.8em;
    margin-bottom: 1%;
}

.section-header p {
    color: #b8860b;
    font-style: italic;
}

/* Album Covers Grid */
.album-covers-grid {
    margin: 3% 0;
    text-align: center;
}

.album-covers-grid h3 {
    color: #1ed760;
    font-size: 1.8em;
    margin-bottom: 2%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.album-covers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3%;
    margin: 2% 0;
}

.album-cover-item {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #1db954;
    border-radius: 15px;
    padding: 2%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.15);
}

.album-cover-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(29, 185, 84, 0.3);
    border-color: #1ed760;
}

.clickable-album {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #1db954;
    object-fit: cover;
    margin-bottom: 2%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.2);
}

.album-cover-item:hover .clickable-album {
    transform: scale(1.1);
    border-color: #1ed760;
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.4);
}

.album-cover-item h4 {
    color: #1ed760;
    font-size: 1.3em;
    margin: 2% 0 1% 0;
}

.album-cover-item p {
    color: #cbd5e1;
    font-style: italic;
    margin: 1% 0 2% 0;
}

.platform-links {
    display: flex;
    justify-content: center;
    gap: 2%;
    flex-wrap: wrap;
}

.platform-links span {
    background: rgba(29, 185, 84, 0.2);
    color: #1ed760;
    padding: 1% 2%;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid rgba(29, 185, 84, 0.3);
    transition: all 0.3s ease;
}

.album-cover-item:hover .platform-links span {
    background: rgba(29, 185, 84, 0.3);
    color: #22c55e;
}

@media (max-width: 768px) {
    .album-covers {
        grid-template-columns: 1fr;
        gap: 2%;
    }
    
    .clickable-album {
        width: 100px;
        height: 100px;
    }
    
    .platform-links {
        flex-direction: column;
        gap: 1%;
    }
    
    .platform-links span {
        margin: 0.5% 0;
    }
}

/* Spotify Section */
.spotify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4%;
    margin: 3% 0;
}

.spotify-item {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 3%;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.spotify-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    border-color: #ffed4e;
}

.spotify-wrapper {
    margin-bottom: 3%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.music-info h4 {
    color: #ffd700;
    font-size: 1.4em;
    margin-bottom: 1%;
    text-align: center;
}

.music-info p {
    color: #e6e6e6;
    text-align: center;
    margin-bottom: 2%;
    font-style: italic;
}

.music-stats {
    display: flex;
    justify-content: center;
    gap: 3%;
    margin-top: 2%;
}

.music-stats span {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 0.5% 1.5%;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* YouTube Section */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3%;
    margin: 3% 0;
}

.youtube-placeholder {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px dashed #1db954;
    border-radius: 15px;
    padding: 4%;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-placeholder:hover {
    border-style: solid;
    background: linear-gradient(135deg, #1e293b, #334155);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 185, 84, 0.3);
}

.placeholder-content {
    width: 100%;
}

.youtube-icon {
    font-size: 3em;
    margin-bottom: 3%;
}

.youtube-placeholder h4 {
    color: #1ed760;
    font-size: 1.3em;
    margin-bottom: 2%;
}

.youtube-placeholder p {
    color: #e6e6e6;
    margin-bottom: 3%;
    line-height: 1.5;
}

.placeholder-btn {
    background: transparent;
    color: #1db954;
    border: 2px solid #1db954;
    padding: 2% 4%;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.placeholder-btn:hover {
    background: #1db954;
    color: #0c1222;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3%;
    margin: 3% 0;
}

.content-section.music-theme .info-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px solid #1db954;
    border-radius: 15px;
    padding: 4%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.1);
}

.content-section.music-theme .info-card:hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow: 0 12px 30px rgba(29, 185, 84, 0.3);
    border-color: #1ed760;
}

.content-section.music-theme .info-icon {
    font-size: 2.5em;
    margin-bottom: 3%;
    display: block;
}

.content-section.music-theme .info-card h4 {
    color: #1ed760;
    font-size: 1.3em;
    margin-bottom: 2%;
}

.content-section.music-theme .info-card p {
    color: #e6e6e6;
    line-height: 1.6;
    font-size: 0.95em;
}
.social-links {
    color: #1ed760;
    font-style: italic;
}

.music-content iframe {
    margin: 2% 0;
    border-radius: 12px;
}

/* Modern Books Section */
.book-controls {
    display: flex;
    gap: 1%;
    flex-wrap: wrap;
}

.book-btn {
    background-color: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 0.9em;
}

.book-btn:hover, .book-btn.active {
    background-color: #3b82f6;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.books-intro {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #3b82f6;
    border-radius: 15px;
    padding: 3%;
    margin: 3% 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 3%;
    margin-bottom: 2%;
}

.books-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #60a5fa;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.author-info h2 {
    color: #60a5fa;
    font-size: 2em;
    margin-bottom: 0.5%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.author-info p {
    color: #94a3b8;
    font-style: italic;
    font-size: 1.1em;
}

.books-description {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    color: #e6e6e6;
    margin-top: 2%;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #60a5fa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.stat-label {
    color: #94a3b8;
    font-weight: bold;
    margin-top: 1%;
}

.modern-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3%;
    margin: 4% 0;
    perspective: 1000px;
}

.modern-book-item {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #3b82f6;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
    position: relative;
}


.modern-book-item.featured {
    border-width: 3px;
    border-color: #60a5fa;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.book-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.view-details {
    color: #ffd700;
    font-weight: bold;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid #ffd700;
}

.featured-badge, .coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffd700;
    color: #000000;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.coming-soon-badge {
    background: #b8860b;
    color: #ffffff;
}

.book-info {
    padding: 3%;
    display: flex;
    flex-direction: column;
    height: 30%; /* Fixed height for consistent layout */
}

.book-info h4 {
    font-size: 1.4em;
    margin: 0 0 1% 0; /* Remove top margin */
    line-height: 1.3;
    color: #60a5fa;
}

.book-subtitle {
    color: #e6e6e6;
    font-style: italic;
    margin-bottom: 2%;
    line-height: 1.4;
}

.book-meta {
    display: flex;
    gap: 3%;
    margin: 2% 0;
    flex-wrap: wrap;
}

.book-year, .book-category, .book-isbn {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5% 1.5%;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.book-description {
    margin: 3% 0;
    color: #e6e6e6;
    line-height: 1.5;
    font-size: 0.95em;
    flex-grow: 1; /* Take up available space */
}

/* Book Modal */
.book-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);
}

.book-modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 80%;
    max-height: 80%;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    overflow: auto;
}

.book-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}


.modal-book-info {
    display: flex;
    gap: 4%;
    padding: 4%;
    align-items: flex-start;
}

.modal-book-cover {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.modal-book-details {
    flex: 1;
    color: #e6e6e6;
}

.modal-book-details h3 {
    font-size: 2em;
    margin-bottom: 2%;
}

.books-footer {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #3b82f6;
    border-radius: 15px;
    padding: 3%;
    margin: 4% 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.books-footer h3 {
    color: #60a5fa;
    margin-bottom: 2%;
}

.contact-author {
    margin-top: 3%;
}

.contact-btn {
    background: #3b82f6;
    color: #ffffff;
    border: 2px solid #3b82f6;
    padding: 2% 4%;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1em;
}

.contact-btn:hover {
    background: #60a5fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

/* Legacy book grid - keeping for compatibility */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
    gap: 3%;
    margin: 2% 0;
}

.book-item {
    text-align: center;
    padding: 2%;
    border-radius: 8px;
    background-color: #1a1a1a;
}

.book-item img {
    width: 80%;
    height: 30vh;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1%;
}

/* Footer Styles */
footer {
    width: 100%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-top: 3px solid #3b82f6;
    padding: 2% 0;
    margin-top: auto;
    box-shadow: 0 -4px 15px rgba(59, 130, 246, 0.2);
}

footer address {
    text-align: center;
    color: #60a5fa;
    font-style: normal;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 3%;
    font-size: 0.95em;
}

footer address br {
    margin-bottom: 0.5em;
}

/* ============================================= */
/* SZÍNSÉMÁK A KÜLÖNBÖZŐ SZEKCIÓKHOZ */
/* ============================================= */

/* Tudomány (Science) - Modern Academic Theme */
.content-section.science-theme {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    color: #1e293b;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.content-section.science-theme .content-card,
.content-section.science-theme .publication-card,
.content-section.science-theme .research-card,
.content-section.science-theme .info-card,
.content-section.science-theme .profile-header,
.content-section.science-theme .publications-list,
.content-section.science-theme .favorite-study {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #334155;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border-radius: 16px;
    padding: 3%;
    margin: 2% 0;
    transition: all 0.3s ease;
}

.content-section.science-theme .content-card:hover,
.content-section.science-theme .publication-card:hover,
.content-section.science-theme .research-card:hover,
.content-section.science-theme .info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.content-section.science-theme h1 {
    color: #1e40af;
    text-shadow: none;
    font-weight: 700;
    text-align: center;
    margin: 3% 0;
    font-size: 2.8em;
    border-bottom: 3px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 1%;
    letter-spacing: -0.02em;
}

.content-section.science-theme h2,
.content-section.science-theme h3,
.content-section.science-theme h4 {
    color: #2563eb;
    text-shadow: none;
    font-weight: 600;
    margin: 2% 0 1% 0;
    border-left: 4px solid rgba(59, 130, 246, 0.3);
    padding-left: 1%;
    line-height: 1.4;
}

.content-section.science-theme h6 {
    color: #64748b;
    font-style: italic;
    font-weight: 400;
    margin: 1% 0;
}

.content-section.science-theme p,
.content-section.science-theme li {
    color: #475569;
    line-height: 1.7;
    margin: 1% 0;
    font-size: 1.05em;
}

.content-section.science-theme a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.content-section.science-theme a:hover {
    color: #1d4ed8;
    border-bottom-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.content-section.science-theme .back-button {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 1.5% 3%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.content-section.science-theme .back-button:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.content-section.science-theme .english-link a {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    padding: 1.5% 2.5%;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.content-section.science-theme .english-link a:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.content-section.science-theme .profile-header {
    display: flex;
    align-items: center;
    gap: 4%;
    padding: 3%;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.content-section.science-theme .profile-image img {
    border-radius: 16px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.content-section.science-theme .profile-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
}

.content-section.science-theme .section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3%;
    margin: 3% 0;
}

.content-section.science-theme .favorite-study {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 6px solid #3b82f6;
    margin: 2% 0;
    padding: 3%;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.content-section.science-theme .favorite-study:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-left-color: #2563eb;
}

.content-section.science-theme .favorite-study strong {
    color: #1e40af;
    font-size: 1.15em;
    font-weight: 700;
}


.content-section.science-theme .content-nav {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3%;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
}

/* Modern Academic Elements */
.content-section.science-theme .academic-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    padding: 0.8% 1.5%;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0.5%;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.content-section.science-theme .research-highlight {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-left: 4px solid #0ea5e9;
    border-radius: 12px;
    padding: 2.5%;
    margin: 2% 0;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.content-section.science-theme .citation-box {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 2%;
    margin: 2% 0;
    font-style: italic;
    color: #92400e;
}

/* Science Theme Responsive Design */
@media (max-width: 768px) {
    .content-section.science-theme .section-grid {
        grid-template-columns: 1fr;
        gap: 2%;
    }
    
    .content-section.science-theme .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 3%;
        padding: 4%;
    }
    
    .content-section.science-theme .profile-image img {
        width: 180px;
        height: auto;
    }
    
    .content-section.science-theme .content-nav {
        flex-direction: column;
        gap: 2%;
        text-align: center;
        padding: 3%;
    }
    
    .content-section.science-theme h1 {
        font-size: 2.2em;
        margin: 2% 0;
    }
    
    .content-section.science-theme .info-card,
    .content-section.science-theme .publications-list,
    .content-section.science-theme .favorite-study {
        padding: 2.5%;
        margin: 1.5% 0;
    }
    
    .content-section.science-theme .content-card,
    .content-section.science-theme .research-highlight,
    .content-section.science-theme .citation-box {
        padding: 3%;
        border-radius: 12px;
    }
}

/* ============================================= */
/* Vitorlázás (Sailing) - Óceán Kék Téma */
/* ============================================= */
.content-section.sailing-theme {
    background: linear-gradient(135deg, #001f3f, #003366);
    color: #ffffff;
}

.content-section.sailing-theme .content-card,
.content-section.sailing-theme .gallery-item,
.content-section.sailing-theme .filter-btn,
.content-section.sailing-theme .gallery-btn,
.content-section.sailing-theme .book-highlight,
.content-section.sailing-theme .sailing-intro,
.content-section.sailing-theme .sailing-info {
    background: linear-gradient(135deg, #002a5c, #003d7a);
    border: 2px solid #4da6ff;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(77, 166, 255, 0.15);
}

.content-section.sailing-theme .content-card:hover,
.content-section.sailing-theme .gallery-item:hover,
.content-section.sailing-theme .gallery-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(77, 166, 255, 0.25);
    border-color: #80bfff;
}

.content-section.sailing-theme h1,
.content-section.sailing-theme h2,
.content-section.sailing-theme h3,
.content-section.sailing-theme h4 {
    color: #80bfff;
    text-shadow: 1px 1px 2px rgba(77, 166, 255, 0.3);
    border-color: #4da6ff;
}

.content-section.sailing-theme p,
.content-section.sailing-theme span,
.content-section.sailing-theme a {
    color: #e6f3ff;
}

.content-section.sailing-theme a:hover {
    color: #80bfff;
    text-decoration: underline;
}

.content-section.sailing-theme .back-button,
.content-section.sailing-theme .gallery-btn {
    background-color: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 0.9em;
}

.content-section.sailing-theme .back-button:hover,
.content-section.sailing-theme .gallery-btn:hover,
.content-section.sailing-theme .gallery-btn.active {
    background-color: #3b82f6;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.content-section.sailing-theme .book-highlight {
    padding: 2%;
    border-radius: 10px;
    margin: 2% 0;
}

.content-section.sailing-theme .book-highlight a {
    color: #80bfff;
    font-weight: bold;
    font-size: 1.1em;
    padding: 1% 2%;
    border: 2px solid #b3d9ff;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s;
}

.content-section.sailing-theme .book-highlight a:hover {
    color: #b3d9ff;
}

.content-section.sailing-theme .sailing-intro {
    padding: 2%;
    border-radius: 12px;
    margin: 2% 0;
}

.content-section.sailing-theme .sailing-info {
    padding: 2%;
    border-radius: 12px;
    margin: 2% 0;
    text-align: center;
}

.content-section.sailing-theme .sailing-info p {
    margin: 1% 0;
    line-height: 1.6;
}

.content-section.sailing-theme .sailing-info em {
    color: #80bfff;
    font-style: italic;
}

.content-section.sailing-theme .sailing-gallery {
    background: rgba(0, 42, 92, 0.3);
    padding: 2%;
    border-radius: 15px;
    border: 1px solid rgba(77, 166, 255, 0.2);
}

.content-section.sailing-theme .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-section.sailing-theme .image-overlay {
    background: linear-gradient(to top, rgba(0, 31, 63, 0.9), transparent);
    color: #80bfff;
    font-weight: bold;
}

.content-section.sailing-theme .gallery-controls {
    background: rgba(0, 42, 92, 0.2);
    padding: 1.5%;
    border-radius: 10px;
    border: 1px solid rgba(77, 166, 255, 0.3);
    display: flex;
    gap: 1%;
    flex-wrap: wrap;
    justify-content: center;
}

.content-section.sailing-theme .gallery-controls .gallery-btn {
    flex: 1;
    min-width: 120px;
    padding: 1% 2%;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.content-section.sailing-theme .content-nav {
    background: rgba(0, 42, 92, 0.2);
    border-bottom: 2px solid #4da6ff;
    padding: 1.5%;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2%;
    min-height: 60px;
}

.content-section.sailing-theme .back-button {
    flex-shrink: 0;
    white-space: nowrap;
}

.content-section.sailing-theme .gallery-controls {
    flex-shrink: 1;
    min-width: 0;
}

/* Mobile responsive adjustments for sailing navigation */
@media (max-width: 1200px) {
    .content-section.sailing-theme .content-nav {
        flex-wrap: wrap;
        gap: 1%;
    }
    
    .content-section.sailing-theme .gallery-controls {
        width: 100%;
        margin-top: 1%;
    }
}

/* Sailing News Section */
.content-section.sailing-theme .sailing-news {
    background: rgba(0, 42, 92, 0.1);
    border: 2px solid #4da6ff;
    border-radius: 15px;
    padding: 2%;
    margin: 2% 0;
}

.content-section.sailing-theme .sailing-news h3 {
    color: #80bfff;
    margin-bottom: 1.5%;
    text-align: center;
}

.content-section.sailing-theme .news-item {
    background: rgba(0, 31, 63, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(77, 166, 255, 0.2);
}

.content-section.sailing-theme .news-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2%;
    padding: 2%;
    align-items: center;
}

.content-section.sailing-theme .news-text h4 {
    color: #80bfff;
    margin-bottom: 1%;
    font-size: 1.3em;
}

.content-section.sailing-theme .news-text p {
    color: #b3d9ff;
    line-height: 1.6;
    margin-bottom: 1.5%;
}

.content-section.sailing-theme .news-link {
    color: #4da6ff;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #4da6ff;
    padding: 8px 16px;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(77, 166, 255, 0.1);
}

.content-section.sailing-theme .news-link:hover {
    background: #4da6ff;
    color: #001f3f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 166, 255, 0.4);
}

.content-section.sailing-theme .news-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(77, 166, 255, 0.3);
}

@media (max-width: 768px) {
    .content-section.sailing-theme .news-content {
        grid-template-columns: 1fr;
        gap: 1.5%;
    }
}

/* ============================================= */
/* Zene (Music) - Dark Blue/Green Spotify Téma */
/* ============================================= */
.content-section.music-theme {
    background: linear-gradient(135deg, #0c1222, #1a1f3e);
    color: #1db954;
}

.content-section.music-theme .content-card,
.content-section.music-theme .album-card,
.content-section.music-theme .tab-content{
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px solid #1db954;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.15);
}

.month-song-info h3 {
    color: #1ed760;
    margin-bottom: 10px;
}

.month-song-info h4 {
    color: #e2e8f0;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.month-song-story {
    margin: 20px 0;
}

.month-song-story p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.month-song-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.music-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.youtube-link {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-color: #ff0000;
}

.youtube-link:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.spotify-link {
    background: linear-gradient(135deg, #1db954, #1ed760);
    color: #0c1222;
    border-color: #1ed760;
}

.spotify-link:hover {
    background: linear-gradient(135deg, #1ed760, #22c55e);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}

@media (max-width: 768px) {
    .content-section.music-theme .month-song-highlight {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .month-song-links {
        flex-direction: column;
    }
}

.content-section.music-theme .month-song-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 2px solid #1db954;
    color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.15);
}

.content-section.music-theme .content-card:hover,
.content-section.music-theme .album-card:hover,
.content-section.music-theme .month-song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(29, 185, 84, 0.25);
    border-color: #1ed760;
}

.content-section.music-theme h1,
.content-section.music-theme h2,
.content-section.music-theme h3 {
    color: #1ed760;
    text-shadow: 1px 1px 2px rgba(29, 185, 84, 0.3);
    border-color: #166534;
}

.content-section.music-theme .back-button,
.content-section.music-theme .tab-btn {
    background: linear-gradient(135deg, #1db954, #1ed760);
    color: #0c1222;
    font-weight: bold;
    border: 2px solid #166534;
}

.content-section.music-theme .back-button:hover,
.content-section.music-theme .tab-btn:hover,
.content-section.music-theme .tab-btn.active {
    background: linear-gradient(135deg, #1ed760, #22c55e);
    transform: scale(1.05);
}

.content-section.music-theme p,
.content-section.music-theme span,
.content-section.music-theme li {
    color: #cbd5e1;
}

.content-section.music-theme a {
    color: #1ed760;
    font-weight: 500;
}

.content-section.music-theme a:hover {
    color: #22c55e;
}

.content-section.music-theme .music-btn {
    background: linear-gradient(135deg, #334155, #475569);
    border: 2px solid #1db954;
    color: #1ed760;
    padding: 1% 2%;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.content-section.music-theme .music-btn:hover,
.content-section.music-theme .music-btn.active {
    background: linear-gradient(135deg, #1db954, #1ed760);
    color: #0c1222;
    transform: scale(1.05);
}

.content-section.music-theme .content-nav {
    background: linear-gradient(135deg, #0f172a, #334155);
    border-bottom: 2px solid #166534;
    padding: 1.5%;
    border-radius: 12px 12px 0 0;
}

.content-section.music-theme .music-controls {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    justify-content: center;
}

.content-section.music-theme .spotify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2%;
    margin: 2% 0;
}

.content-section.music-theme .spotify-item {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #1db954;
    border-radius: 15px;
    padding: 2%;
    transition: all 0.3s ease;
}

.content-section.music-theme .spotify-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(29, 185, 84, 0.25);
    border-color: #1ed760;
}

.content-section.music-theme .music-info h4 {
    color: #1ed760;
    margin: 1% 0;
}

.content-section.music-theme .music-stats span {
    background: rgba(29, 185, 84, 0.2);
    color: #22c55e;
    padding: 0.5% 1%;
    border-radius: 15px;
    font-size: 0.9em;
    margin-right: 1%;
}

/* ============================================= */
/* Könyvek (Books) - Nautical Blue Téma */
/* ============================================= */
.content-section.books-theme {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #e2e8f0;
}

.content-section.books-theme .content-card,
.content-section.books-theme .book-card,
.content-section.books-theme .category-btn {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid #3b82f6;
    color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.content-section.books-theme .content-card:hover,
.content-section.books-theme .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
    border-color: #60a5fa;
}

.content-section.books-theme h2,
.content-section.books-theme h3 {
    color: #60a5fa;
    text-shadow: 1px 1px 2px rgba(59, 130, 246, 0.3);
}

.content-section.books-theme .back-button {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #0f172a;
    border: 2px solid #1e40af;
}

.content-section.books-theme .back-button:hover {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    transform: scale(1.05);
}

.content-section.books-theme .category-btn.active {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #0f172a;
    border-color: #60a5fa;
}

/* ============================================= */
/* Hajóépítés könyvek - Enhanced Nautical Theme */
/* ============================================= */
.content-section.books-theme .book-card.shipbuilding {
    background: linear-gradient(135deg, #0c4a6e, #0369a1);
    border: 2px solid #e11d48;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.15);
}

.content-section.books-theme .book-card.shipbuilding:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.25);
    border-color: #f43f5e;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.content-section.books-theme .book-card.shipbuilding h4 {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(225, 29, 72, 0.3);
}

.content-section.books-theme .book-card.shipbuilding p {
    color: #f1f5f9;
}

.content-section.books-theme .book-card.shipbuilding .book-meta {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #e11d48;
    color: #f1f5f9;
}

.content-section.books-theme .category-btn.shipbuilding-category {
    background: linear-gradient(135deg, #0c4a6e, #0369a1);
    border: 2px solid #e11d48;
    color: #ffffff;
}

.content-section.books-theme .category-btn.shipbuilding-category:hover,
.content-section.books-theme .category-btn.shipbuilding-category.active {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    color: #ffffff;
    border-color: #0c4a6e;
    transform: scale(1.05);
}

/* ============================================= */
/* HAVI DAL KIEMELT SZEKCIÓ */
/* ============================================= */
.month-song-highlight {
    margin: 3% 0;
    padding: 3%;
    background: linear-gradient(135deg, #0c1222, #1a1f3e);
    border: 3px solid #1db954;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.2);
}

.month-song-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 3%;
    align-items: start;
}

.month-song-text {
    display: flex;
    flex-direction: column;
    gap: 2%;
}

.month-song-text h3 {
    color: #1ed760;
    font-size: 1.8em;
    margin-bottom: 1%;
    text-align: left;
}

.month-song-text h4 {
    color: #e2e8f0;
    font-size: 1.5em;
    margin-bottom: 2%;
}

.month-song-story {
    margin: 2% 0;
}

.month-song-story p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5%;
}

.month-song-links {
    display: flex;
    gap: 1.5%;
    margin-top: 2%;
    flex-wrap: wrap;
}

.month-song-player {
    justify-content: center;
    align-items: center;
}

.month-song-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
}


/* Grid adjustments when image is not present */
.month-song-grid:not(:has(.month-song-image img)) {
    grid-template-columns: 1fr 1fr;
}

.month-song-grid:not(:has(.month-song-image img)) .month-song-image {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .month-song-grid {
        grid-template-columns: 1fr;
        gap: 2%;
    }
    
    .month-song-text h3 {
        text-align: center;
    }
    
    .month-song-links {
        justify-content: center;
    }
    
    .month-song-image {
        margin-top: 2%;
        min-width: auto;
    }
    
    .month-song-image img {
        max-width: 100%;
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .month-song-highlight {
        margin: 2% 0;
        padding: 2%;
    }
    
    .month-song-grid {
        gap: 1.5%;
    }
    
    .month-song-text h3 {
        font-size: 1.5em;
    }
    
    .month-song-text h4 {
        font-size: 1.3em;
    }
    
    .month-song-links {
        flex-direction: column;
        gap: 1%;
    }
    
    .month-song-image img {
        max-height: 200px;
    }
}

.music-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.youtube-link {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-color: #ff0000;
}

.youtube-link:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.spotify-link {
    background: linear-gradient(135deg, #1db954, #1ed760);
    color: #0c1222;
    border-color: #1ed760;
}

.spotify-link:hover {
    background: linear-gradient(135deg, #1ed760, #22c55e);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 185, 84, 0.3);
}