/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F8F5F8;
    min-height: 100vh;
    font-size: 12pt;
}

/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #724C9D;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* Safe area support for devices with notches */
    padding-left: max(50px, env(safe-area-inset-left));
    padding-right: max(50px, env(safe-area-inset-right));
    padding-top: max(20px, env(safe-area-inset-top));
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-family: 'Playfair Display', serif;
    color: white;
    text-decoration: none;
    font-size: 18pt;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav a:hover, .nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 30px 0;
    color: #4A4A4A;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

/* Hero image container */
.hero-image-container {
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    margin: 20px 0;
    /* Full width viewport calculation */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
}

.hero-image {
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center bottom;
    position: absolute;
    bottom: 0;
    left: 0;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32pt;
    margin-bottom: 20px;
    color: #4A4A4A;
    font-weight: normal;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28pt;
    margin-bottom: 20px;
    color: #2C1B47;
    font-weight: bold;
}

.hero-description {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20pt;
    margin-bottom: 50px;
    line-height: 1.6;
    color: #4A4A4A;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #4A1A4A;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 1);
    /* Backdrop blur effect */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: white;
    color: #9356A0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-button.primary {
    background: #9356A0;
    color: white;
    font-weight: bold;
    border: 2px solid #9356A0;
}

.cta-button.primary:hover {
    background: #724C9D;
    color: white;
    border: 2px solid #724C9D;
}

/* About page content */
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero-image {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.bio {
    background: rgba(255, 255, 255, 0.8);
    color: #4A4A4A;
    padding: 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 30px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bio h2 {
    font-family: 'Playfair Display', serif;
    color: #9356A0;
    font-size: 24pt;
    margin: 30px 0 15px 0;
    text-align: left;
    border-bottom: 2px solid #9356A0;
    padding-bottom: 10px;
}

.bio h2:first-of-type {
    margin-top: 0;
}

.bio p {
    margin-bottom: 15px;
}

/* Collaboration lists */
.collaboration-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.collaboration-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.collaboration-list li:before {
    content: "♪ ";
    color: #9356A0;
    font-weight: bold;
    margin-right: 8px;
}

/* Collaborators list */
.collaborators-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.collaborators-list li {
    padding: 5px 0;
    border-bottom: 1px dotted #ccc;
}

.collaborators-list li:before {
    content: "→ ";
    color: #9356A0;
    font-weight: bold;
    margin-right: 5px;
}


/* Main content area */
.main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 32pt;
    text-align: center;
    margin-bottom: 40px;
    color: #4A4A4A;
}

/* Search container */
.search-container {
    margin-bottom: 30px;
    text-align: center;
}

.search-input {
    font-family: 'Open Sans', sans-serif;
    padding: 12px 20px;
    font-size: 12pt;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(45deg, #9356A0, #724C9D, #2C1B47) border-box;
    border-radius: 25px;
    width: 300px;
    max-width: 100%;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(45deg, #2C1B47, #724C9D, #9356A0, #724C9D, #2C1B47) border-box;
    transform: scale(1.02);
}

/* Statistics display */
.stats {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font-size: 12pt;
}

/* Year sections */
.year-section {
    margin-bottom: 40px;
}

.year-header {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #724C9D 0%, #9356A0 50%, #724C9D 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 24pt;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(114, 76, 157, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Album list */
.albums-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.album-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.album-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.artist-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14pt;
    font-weight: bold;
    color: #2C1B47;
    margin-bottom: 0;
    flex: 0 0 200px;
    text-align: left;
}

.album-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt;
    color: #666;
    margin-bottom: 0;
    flex: 1;
    text-align: left;
    padding: 0 15px;
}

.role-badge {
    font-family: 'Open Sans', sans-serif;
    background: #724C9D;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 10pt;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Gallery styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    /* Make all gallery items the same height */
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    /* Force images to fill container */
    min-height: 100%;
    min-width: 100%;
    display: block;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14pt;
}

.gallery-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt;
    opacity: 0.9;
}

/* Coming soon section */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    margin-top: 40px;
}

.coming-soon h2 {
    font-family: 'Playfair Display', serif;
    color: #9356A0;
    margin-bottom: 15px;
    font-size: 24pt;
}

.coming-soon p {
    font-family: 'Open Sans', sans-serif;
    color: #666;
    font-size: 14pt;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 98vw;
    height: 98vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s;
}

/* Modal close button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* Contact container */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    color: #9356A0;
    margin-bottom: 20px;
    font-size: 28pt;
}

.contact-info h3 {
    font-family: 'Open Sans', sans-serif;
    color: #4A4A4A;
    margin: 20px 0 10px 0;
    font-size: 16pt;
}

.contact-info p, .contact-info ul {
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.contact-info li:before {
    content: "• ";
    color: #9356A0;
    font-weight: bold;
}

/* Contact methods */
.contact-methods {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-methods h2 {
    font-family: 'Playfair Display', serif;
    color: #9356A0;
    margin-bottom: 25px;
    font-size: 26pt;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-option {
    padding: 20px;
    background: rgba(147, 86, 160, 0.1);
    border-radius: 8px;
}

.contact-option h3 {
    font-family: 'Open Sans', sans-serif;
    color: #9356A0;
    margin-bottom: 10px;
    font-size: 14pt;
}

.contact-option p {
    color: #4A4A4A;
    margin-bottom: 15px;
}

.contact-link {
    display: inline-block;
    background: #9356A0;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-link:hover {
    background: #724C9D;
}

/* Contact note */
.contact-note {
    font-family: 'Playfair Display', serif;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 14pt;
}

/* Template buttons */
.template-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.template-btn {
    font-family: 'Open Sans', sans-serif;
    background: rgba(147, 86, 160, 0.1);
    color: #9356A0;
    border: 2px solid #9356A0;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12pt;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.template-btn:hover {
    background: #9356A0;
    color: white;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
        min-height: auto;
    }

    .nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 13pt;
        padding: 8px 12px;
        white-space: nowrap;
    }



    .logo {
        font-size: 22pt;
        text-align: center;
    }
}

/* Large mobile devices (iPhone 14 Pro Max, etc.) */
@media (max-width: 430px) {
    .header {
        padding: 12px 15px;
        gap: 12px;
    }

    .nav {
        gap: 8px;
    }

    .nav a {
        font-size: 12pt;
        padding: 6px 10px;
    }

    .logo {
        font-size: 20pt;
    }
}

/* Additional mobile styles for all mobile devices */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 24pt;
    }

    .hero h2 {
        font-size: 22pt;
    }

    .hero-description {
        font-size: 16pt;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 200px;
        text-align: center;
    }

    .hero-image-container {
        height: 50vh;
    }

    .page-title {
        font-size: 24pt;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .albums-list {
        gap: 8px;
    }
    
    .album-item {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 12px 15px;
        gap: 5px;
    }
    
    .artist-name {
        text-align: left;
        margin: 0;
        flex: none;
        font-size: 13pt;
        order: 1;
        width: 100%;
    }

    .album-title {
        font-size: 11pt;
        padding: 0;
        margin: 0;
        order: 2;
        width: 100%;
    }
    
    .role-badge {
        order: 3;
        margin-top: 5px;
    }

    .bio {
        padding: 25px 15px;
        margin: 0 0 20px 0;
    }

    .bio h2 {
        font-size: 18pt;
    }

    .contact-container {
        padding: 0 15px;
    }

    .contact-info, .contact-methods {
        padding: 20px;
    }

    .template-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Additional gallery styles */
.gallery-item img {
    width: 100%;
    height: auto;
}

/* Footer styles */
.footer {
    font-family: 'Open Sans', sans-serif;
    background: #2C1B47;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 12pt;
} 