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

:root {
    --color-primary: #181830;
    --color-secondary: #f2f2f0;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-border: #e0e0e0;
}

body {
    font-family: 'Sansation', Arial, sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    /* Enable custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

/* Custom scrollbar for WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    box-shadow: 0 0 15px 2px var(--color-primary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

/* Add a subtle glow effect to the viewport edges */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    box-shadow: inset 0 0 30px 5px rgba(4, 18, 66, 0.1);
    z-index: 9999;
    border: 1px solid rgba(4, 18, 66, 0.05);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Sansation', Arial, sans-serif;
    font-weight: 700;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.3rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    page-break-after: always;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-logo {
    height: 900px;
    width: auto;
    margin-bottom: 4rem;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.scroll-text {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Main content */
.main-content {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}

section:last-child {
    border-bottom: none;
}

/* Timeline */
.timeline {
    margin-top: 2rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    border-left: 3px solid var(--color-primary);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.timeline-item h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Force 3 columns for the Styles de set section on desktop */
@media (min-width: 1024px) {
    .styles-ambiances .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-item ul {
    margin-top: 1rem;
}

/* Styles de set: explanatory flow under cards */
.styles-ambiances .set-flow {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    max-width: 70ch;
}

.styles-ambiances .set-flow h3 {
    margin-top: 1rem;
}

.styles-ambiances .set-flow ul {
    margin: 0.75rem 0 1rem 1.25rem;
}

/* Artist Profile */
.artist-profile {
    margin-top: 2rem;
}

.artist-info {
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.role {
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.artist-info h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0;
}

.partnerships {
    margin-top: 3rem;
}

.partnerships h3 {
    margin-bottom: 1rem;
}

/* Partnerships links (e.g., M4 Event) */
.partnerships a {
    color: #ff3366;
    text-decoration: none;
}

.partnerships a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.partnerships a:focus-visible {
    outline: 2px solid #ff3366;
    outline-offset: 2px;
    border-radius: 6px;
}

/* Media Section */
.media-section {
    margin-bottom: 3rem;
}

.logo-downloads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.logo-item {
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.logo-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: 1rem;
    background-color: var(--color-white);
    border-radius: 4px;
}

.download-info p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.download-info a {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.download-info a:hover {
    background-color: var(--color-black);
}

/* Contact Button */
.contact-btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 1rem;
}

.contact-btn:hover {
    background-color: var(--color-black);
}

/* FAQ Section */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.faq-item p {
    margin-bottom: 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background-color: var(--color-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer .tagline {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    margin-top: 0.5rem;
}

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

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #ffffff;
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: #ffffff;
    margin: 0;
}

.m4-credits {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #ffffff;
}

.m4-credits a {
    color: #ffffff;
    text-decoration: none;
}

.m4-credits a:hover {
    text-decoration: underline;
}

.m4-logo {
    height: 24px;
    width: auto;
    opacity: 0.9;
}

.m4-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.divider {
    opacity: 0.3;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .m4-credits {
        flex-direction: column;
        text-align: center;
    }
    
    .m4-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Smooth scroll + Scroll indicator accessibility */
html {
    scroll-behavior: smooth;
}

.scroll-indicator {
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    user-select: none;
}

.scroll-indicator .scroll-arrow {
    font-size: 20px;
    line-height: 1;
}

.scroll-indicator .scroll-text {
    text-decoration: none;
}

.scroll-indicator:hover .scroll-text {
    text-decoration: underline;
}

.scroll-indicator:focus-visible {
    outline: 2px solid #C8A45D;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-logo {
        height: 200px;
    }
    
    .services-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logo-downloads {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    
    .hero-logo {
        height: 150px;
    }
    
    .logo-downloads {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .press-contact,
    .service-item,
    .artist-info,
    .stat-item,
    .logo-item,
    .faq-item,
    .contact-item {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .cover-page {
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .footer {
        page-break-before: always;
    }
}
