/* WE OPERA STUDIO - Main Stylesheet */
/* Elegant, high-end opera production company design */

:root {
    --color-primary: #8B1A2C;
    --color-primary-dark: #5C0E1B;
    --color-gold: #C8A951;
    --color-gold-light: #E8D48B;
    --color-dark: #1A1A1A;
    --color-darker: #0D0D0D;
    --color-light: #F8F6F0;
    --color-white: #FFFFFF;
    --color-gray: #6B6B6B;
    --color-gray-light: #E8E8E8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

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

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 169, 81, 0.2);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-white);
    letter-spacing: 2px;
    font-weight: 700;
}

.logo-text span {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-gold);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-primary-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><radialGradient id="g1" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%23C8A951;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%23000;stop-opacity:0"/></radialGradient></defs><circle cx="720" cy="450" r="400" fill="url(%23g1)"/></svg>');
    background-size: cover;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    animation: fadeInDown 1s ease;
}

.hero h1 {
    color: var(--color-white);
    font-size: 4rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero h1 span {
    color: var(--color-gold);
}

.hero-subtitle {
    color: var(--color-gold-light);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.9s both;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-gold-light);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 169, 81, 0.3);
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-dark);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--color-darker);
    color: var(--color-white);
}

.section-light {
    background: var(--color-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-dark .section-title h2 {
    color: var(--color-white);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-gold);
}

.section-title p {
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-gray);
}

.about-image {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-darker));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--color-gold);
    opacity: 0.3;
}

.about-image img {
    max-height: 80%;
    object-fit: contain;
}

/* ========== PRODUCTIONS SECTION ========== */
.productions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.production-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: var(--color-darker);
    transition: var(--transition);
    cursor: pointer;
}

.production-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.production-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.3;
    z-index: 0;
    transition: var(--transition);
}

.production-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.production-card:hover .production-card-content {
    transform: translateY(0);
}

.production-card:hover .production-card-icon {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.1);
}

.production-card h4 {
    color: var(--color-white);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.production-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0;
    transition: var(--transition);
}

.production-card:hover p {
    opacity: 1;
}

.production-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-gold);
    transition: var(--transition);
}

.production-card:hover::after {
    width: 100%;
}

/* ========== NEWS SECTION ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    transition: var(--transition);
    overflow: hidden;
}

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

.news-card-image {
    height: 200px;
    background: var(--color-gray-light);
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-card-content {
    padding: 25px;
}

.news-card-date {
    color: var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.news-card p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.news-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-card .read-more:hover {
    color: var(--color-gold);
}

/* ========== TEAM SECTION ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
}

.team-card-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--color-gray-light);
    overflow: hidden;
    border: 3px solid var(--color-gold);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--color-gold);
    font-size: 0.9rem;
    font-style: italic;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    background: var(--color-darker);
    color: var(--color-white);
}

.contact-info h3 {
    color: var(--color-white);
    margin-bottom: 30px;
}

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

.contact-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 81, 0.1);
    color: var(--color-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text h5 {
    color: var(--color-gold);
    margin-bottom: 5px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-form {
    padding: 40px;
}

.contact-form h3 {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-white);
}

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

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-consent {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-consent input[type="checkbox"] {
    margin-top: 4px;
}

.form-consent label {
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.5;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(200, 169, 81, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h5,
.footer-legal h5 {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-legal-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.98);
    color: var(--color-white);
    padding: 25px 30px;
    z-index: 9999;
    display: none;
    border-top: 1px solid var(--color-gold);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.cookie-content a {
    color: var(--color-gold);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 10px 25px;
    font-size: 0.8rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-primary-dark) 100%);
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 3rem;
    letter-spacing: 3px;
}

.page-header p {
    color: var(--color-gold-light);
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
    padding: 80px 0;
}

.legal-content h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--color-primary);
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--color-gray);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--color-gray);
    line-height: 1.6;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .productions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .productions-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}
