/**
 * Refined, elegant styling for the pianist theme
 * A more sophisticated and premium aesthetic
 */

/* Reset base styles for a more elegant appearance */
:root {
    --primary-color: #111111;
    --secondary-color: #333333;
    --accent-color: #906b51; /* Elegant gold/bronze accent */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --medium-gray: #e0e0e0;
    --dark-gray: #777777;
    --serif-font: 'Playfair Display', Georgia, serif;
    --sans-font: 'Montserrat', Helvetica, Arial, sans-serif;
    --light-accent: rgba(144, 107, 81, 0.1);
}

body {
    font-family: var(--sans-font);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif-font);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Refined container for better proportions */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* More sophisticated section styling */
section {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.section-title {
    font-family: var(--serif-font);
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.05em;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

/* Refined button styling */
.btn {
    display: inline-block;
    padding: 12px 34px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    cursor: pointer;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: white;
}

.btn:hover::before {
    width: 100%;
}

/* Sophisticated header styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: var(--serif-font);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.logo a {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 40px;
    position: relative;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Refined dropdown styling */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid var(--accent-color);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: white;
    border-top: 1px solid var(--accent-color);
    border-left: 1px solid var(--accent-color);
    transform: translateX(-50%) rotate(45deg);
}

.dropdown-content a {
    display: block;
    padding: 10px 25px;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

/* Elegant hero section styling */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 0.6s;
}

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

/* Elegant album styling */
.album {
    background-color: var(--light-bg);
    text-align: center;
}

.album-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album-cover {
    width: 320px;
    height: 320px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.album-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.album-cover:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.album-cover:hover img {
    transform: scale(1.05);
}

.album-title {
    font-family: var(--serif-font);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.album-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
    color: var(--secondary-color);
}

.music-platforms {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.platform-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.platform-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Refined tracks styling */
.tracks-list {
    margin-top: 60px;
    width: 100%;
    max-width: 700px;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-gray);
    transition: background-color 0.3s ease;
}

.track-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

.track-number {
    width: 30px;
    font-weight: 300;
    font-family: var(--serif-font);
    font-size: 1.1rem;
    opacity: 0.7;
}

.track-info {
    flex: 1;
    padding: 0 20px;
}

.track-title {
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-family: var(--serif-font);
}

.track-tempo {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--dark-gray);
    margin-top: 5px;
}

.track-play {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.track-play:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Refined bio section styling */
.bio {
    background-color: white;
}

.bio-container {
    display: flex;
    align-items: center;
    gap: 70px;
}

.bio-image {
    flex: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.bio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(144, 107, 81, 0.2);
    z-index: 1;
    transform: translate(15px, 15px);
    pointer-events: none;
}

.bio-image img {
    width: 100%;
    display: block;
}

.bio-content {
    flex: 1;
}

.bio-title {
    font-family: var(--serif-font);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.bio-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
    margin-top: 15px;
}

.bio-text {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--secondary-color);
}

/* Elegant news section styling */
.news {
    background-color: var(--light-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.news-item {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover .video-play {
    opacity: 1;
}

.video-play i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.news-item:hover .video-play i {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-date {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-style: italic;
}

.news-title {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.read-more {
    font-weight: 400;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Elegant contact form styling */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 70px;
}

.contact-info {
    flex: 1;
}

.contact-heading {
    font-family: var(--serif-font);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-heading::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
    margin-top: 15px;
}

.contact-text {
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--accent-color);
}

.contact-item h4 {
    font-family: var(--serif-font);
    margin-bottom: 5px;
    font-weight: 400;
}

.contact-item p {
    color: var(--secondary-color);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--primary-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-textarea {
    min-height: 180px;
    resize: vertical;
}

/* Elegant footer styling */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 400;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Refined Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Subtle page transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* Scores Section */
.scores {
    background-color: white;
}

.scores-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.scores-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.score-item {
    background-color: var(--light-bg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.score-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(144, 107, 81, 0.1);
    transform: translate(8px, 8px);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.score-item:hover::before {
    transform: translate(4px, 4px);
}

.score-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.score-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.score-title {
    font-family: var(--serif-font);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.score-description {
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.videos {
    background-color: var(--light-bg);
    padding: 100px 0;
}

/* Responsive refinements */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

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

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

    .bio-container {
        flex-direction: column;
    }

    .bio-image, .bio-content {
        width: 100%;
    }

    .contact-container {
        flex-direction: column;
    }
    
    .album-cover {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-top: none;
        transform: none;
        display: none;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-content::before {
        display: none;
    }

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

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .bio-image::after {
        transform: translate(10px, 10px);
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}