/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #988f8a;
    --secondary-color: #ffffff;
    --accent-color: #f8f6f4;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --gold-accent: #d4af37;
    --shadow: rgba(152, 143, 138, 0.15);
    --gradient-overlay: linear-gradient(135deg, rgba(152, 143, 138, 0.1) 0%, rgba(248, 246, 244, 0.8) 100%);
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-dark);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 36px;
}

.language-selector select:hover {
    background: var(--secondary-color);
    box-shadow: 0 4px 15px var(--shadow);
}

/* Audio Controls */
.audio-controls {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.audio-btn:hover {
    background: var(--secondary-color);
    box-shadow: 0 4px 15px var(--shadow);
    transform: scale(1.05);
}

.audio-icon {
    font-size: 16px;
    color: var(--primary-color);
}

.volume-control {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.volume-control.active {
    opacity: 1;
    visibility: visible;
}

#volumeSlider {
    width: 100px;
    height: 5px;
    border-radius: 5px;
    background: var(--accent-color);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

#volumeSlider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

#volumeSlider::-webkit-slider-track {
    background: var(--accent-color);
    height: 5px;
    border-radius: 5px;
}

#volumeSlider::-moz-range-track {
    background: var(--accent-color);
    height: 5px;
    border-radius: 5px;
    border: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-overlay);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 6vw, 8rem);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 300;
    font-style: italic;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.artist-photo {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    transition: var(--transition-slow);
}

.artist-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px var(--shadow);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(152, 143, 138, 0.1) 100%);
    border-radius: 20px;
    pointer-events: none;
}

/* Section Styles */
.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--accent-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Mood Selector */
.mood-selector {
    padding: 80px 0;
}

.mood-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mood-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.mood-btn {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.mood-btn:hover::before {
    left: 0;
}

.mood-btn:hover {
    color: var(--secondary-color);
}

.mood-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--accent-color);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-style: italic;
}

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

.gallery-item {
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    transition: var(--transition-slow);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-item-info {
    padding: 25px;
    text-align: center;
    transform: translateY(10px);
    opacity: 0.8;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.gallery-item-description {
    color: var(--text-light);
    margin-bottom: 15px;
}

.gallery-item-value {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-btn:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow);
}

.contact-icon {
    font-size: 24px;
    color: var(--secondary-color);
    filter: grayscale(100%) brightness(0) invert(1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--secondary-color);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    animation: scaleIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-dimensions {
    color: var(--text-light);
    font-size: 1rem;
}

.modal-value {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 20px 0;
}

.modal-contact {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--accent-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .artist-photo {
        height: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        margin: 20px;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .modal-close {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
    
    .mood-buttons {
        gap: 15px;
        max-width: 400px;
        margin: 0 auto 60px;
    }
    
    .mood-buttons .mood-btn:nth-child(1) {
        order: 1;
        flex: 0 0 auto;
    }
    
    .mood-buttons .mood-btn:nth-child(2) {
        order: 2;
        flex: 0 0 auto;
    }
    
    .mood-buttons .mood-btn:nth-child(3) {
        order: 4;
        flex: 0 0 auto;
    }
    
    .mood-buttons .mood-btn:nth-child(4) {
        order: 3;
        flex: 0 0 auto;
    }
    
    .mood-buttons .mood-btn:nth-child(5) {
        order: 5;
        flex: 0 0 auto;
    }
    
    .mood-buttons .mood-btn:nth-child(6) {
        order: 6;
        flex: 0 0 auto;
    }
    
    .mood-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .contact-links {
        gap: 20px;
    }
    
    .contact-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .audio-controls {
        top: 20px;
        left: 20px;
    }
    
    .audio-btn {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(152, 143, 138, 0.4);
        width: 36px;
        height: 36px;
        padding: 4px;
    }
    
    .audio-btn:hover {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(152, 143, 138, 0.2);
    }
    
    .audio-icon {
        font-size: 24px;
        opacity: 0.8;
    }
    
    .volume-control {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(152, 143, 138, 0.4);
        left: 50px;
        padding: 8px 12px;
    }
    
    .language-selector {
        top: 20px;
        right: 20px;
    }
    
    .language-selector select {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(152, 143, 138, 0.4);
        padding: 6px 10px;
        font-size: 13px;
        opacity: 0.8;
        height: 36px;
    }
    
    .language-selector select:hover {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(152, 143, 138, 0.2);
        opacity: 1;
    }
}

/* High DPI / 4K Optimizations */
@media (min-width: 2560px) {
    .container {
        max-width: 1800px;
        padding: 0 60px;
    }
    
    .hero-content {
        gap: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 60px;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .modal-content {
        max-width: 1200px;
        gap: 60px;
        padding: 60px;
    }
    
    .modal-image {
        height: 600px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .audio-controls,
    .language-selector {
        display: none;
    }
} 