/*
Theme Name: JAK Trio Premium
Theme URI: https://jaktrio.com/
Description: A premium, minimalist theme for JAK Trio.
Author: Antigravity
Version: 1.0
Text Domain: jak-trio-premium
*/

:root {
    --bg-color: #fcfcfc;
    --text-color: #000000;
    --accent-color: #009d4d; /* BIRDS Green as accent */
    --secondary-color: #f0f0f0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', var(--font-main);
    --container-width: 1100px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #000;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem; /* Consistent padding */
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem !important;
    }
}

header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--secondary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    justify-content: flex-end;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 0.3rem 0;
}

.hero-video-section {
    padding: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.header-overlay .site-logo a,
.header-overlay .nav-links a {
    color: #fff;
}

.header-overlay .menu-toggle span {
    background-color: #fff;
}

.section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.greek-text {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.media-item:nth-child(1),
.media-item:nth-child(2) {
    grid-column: 1 / -1;
}

.media-item {
    background: transparent;
}

.media-thumb-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.media-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.media-item:hover .media-thumb {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-thumb-container:hover .media-overlay {
    opacity: 1;
}

.view-icon {
    color: #fff;
    font-size: 3rem;
    font-weight: 200;
}

.download-icon-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-download {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.download-icon-btn:hover {
    opacity: 1;
}

/* Tooltip */
.download-icon-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    right: 0; /* Align to right */
    background: #000;
    color: #fff;
    padding: 0.5rem 0.8rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.download-icon-btn:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 120%;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--secondary-color);
    font-size: 0.8rem;
    color: #8b949e;
}

.footer-links {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.8rem 1.8rem;
    border: 1px solid #000;
    border-radius: 5px;
    background: transparent;
}

.lang-switcher a {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    background: #fff;
    text-decoration: none;
}

.lang-switcher a.active-lang {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.about-content {
    color: #000;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 1rem; /* Extra safety for mobile */
    }
}

.about-content p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--secondary-color);
        z-index: 99;
        text-align: center;
        gap: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .header-container {
        position: relative;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .footer-links a {
        padding: 0.8rem 0.5rem;
        font-size: 0.7rem;
        letter-spacing: 0.1rem;
    }

    .section h1 {
        padding-top: 2.5rem;
    }
}

/* Burger Animation */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Artists Accordion */
.artists-accordion {
    margin-top: 5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 4rem;
}

.accordion-main-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: all 0.3s ease;
}

.accordion-header:hover .artist-name {
    color: var(--accent-color);
}

.artist-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.artist-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    transition: color 0.3s ease;
}

.artist-instrument {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    color: #666;
    transition: transform 0.4s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.accordion-header:hover .accordion-icon {
    color: var(--accent-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
    padding-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.accordion-body p {
    margin-bottom: 1.5rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* Active State */
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}

/* Accordion Controls & Download Button */
.accordion-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bio-download-btn {
    color: #666;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}

.bio-download-btn:hover {
    color: var(--accent-color);
    opacity: 1;
}

.bio-download-btn .icon-download {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    filter: none; /* Remove drop shadow on light backgrounds for crisp rendering */
}

/* Tooltip for bio download */
.bio-download-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    right: 50%;
    transform: translateX(50%);
    background: #000;
    color: #fff;
    padding: 0.4rem 0.6rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.bio-download-btn:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 120%;
}

/* Rider Download Button */
.rider-download-btn {
    transition: all 0.3s ease !important;
}

.rider-download-btn:hover {
    background: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 157, 77, 0.2);
}

/* About Page Featured Image Hover Effect */
.about-featured-image:hover img {
    transform: scale(1.015);
}
