/* Frame & Gather - Event Design Systems */

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

:root {
    --magenta: #b54194;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --mid-gray: #2a2a2a;
    --light-gray: #888888;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(181, 65, 148, 0.2);
}

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

.logo h1 {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--magenta);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.4) 0%,
        rgba(181, 65, 148, 0.3) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--white) 0%, var(--magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 300;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--black);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--magenta) 50%, 
        transparent 100%
    );
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

.section-header p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-item {
    background: var(--dark-gray);
    padding: 2.5rem;
    border: 1px solid var(--mid-gray);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--magenta);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    border-color: var(--magenta);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(181, 65, 148, 0.2);
}

.service-icon {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-item h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-item p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: var(--dark-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(30%);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(0deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        transparent 100%
    );
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--magenta);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Clients Section */
.clients {
    padding: 6rem 0;
    background: var(--black);
    text-align: center;
}

.clients h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    align-items: center;
    justify-items: center;
    margin-bottom: 5rem;
}

.client-logo {
    height: 60px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo svg {
    width: 100%;
    height: 100%;
}

.client-events {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--mid-gray);
}

.client-events h3 {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--magenta);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact {
    padding: 10rem 0;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(181, 65, 148, 0.1) 0%,
        transparent 70%
    );
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.contact-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.contact-text h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.contact-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--magenta);
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: 2px solid var(--magenta);
}

.contact-button:hover {
    background: transparent;
    color: var(--magenta);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(181, 65, 148, 0.3);
}

/* Footer */
footer {
    padding: 4rem 0;
    background: var(--black);
    border-top: 1px solid var(--mid-gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    font-size: 1.2rem;
    font-weight: 900;
}

.footer-logo span {
    color: var(--magenta);
}

.footer-text p {
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .event-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-item.large {
        grid-column: span 1;
    }
    
    .contact-text h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .client-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .event-stats {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
