/* license.broker - styles.css */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Floating Bubbles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(208, 208, 208, 0.5);
    backdrop-filter: blur(2px);
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0.8); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* Zones */
.zone {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

/* Zone: Foyer */
.zone-foyer {
    background: #fafafa;
}

.foyer-content {
    text-align: center;
}

.foyer-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 10rem);
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: #000000;
    filter: blur(8px);
    animation: focusIn 1.5s ease-out forwards;
}

.foyer-title .dot {
    color: #6a6a6a;
}

@keyframes focusIn {
    to { filter: blur(0); }
}

.foyer-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #6a6a6a;
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

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

.scroll-indicator {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards, bounce 2s ease-in-out 2.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Section Headings */
.section-heading {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: #000000;
    margin-bottom: 3rem;
    text-align: center;
}

/* Zone: Process */
.zone-process {
    background: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    width: 100%;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.process-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
}

.process-icon svg {
    width: 100%;
    height: 100%;
}

.process-step h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.process-step p {
    font-size: 0.9rem;
    color: #6a6a6a;
    line-height: 1.5;
}

/* Zone: Gallery (Masonry) */
.zone-gallery {
    min-height: auto;
    padding: 100px 40px;
    background: #f0f0f0;
}

.masonry-grid {
    columns: 4;
    column-gap: 16px;
    max-width: 1200px;
    width: 100%;
}

.license-card {
    break-inside: avoid;
    margin-bottom: 16px;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    transition: filter 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    filter: blur(2px);
    opacity: 0.7;
}

.license-card.in-view {
    filter: blur(0);
    opacity: 1;
}

.license-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #6a6a6a;
}

.license-card.tall {
    padding: 3rem 2rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.license-card h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.license-card p {
    font-size: 0.85rem;
    color: #6a6a6a;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.card-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #d0d0d0;
}

/* Zone: Details */
.zone-details {
    background: #fafafa;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    width: 100%;
}

.detail-item {
    padding: 2rem;
    border-left: 2px solid #d0d0d0;
    transition: border-color 0.3s ease;
}

.detail-item:hover {
    border-color: #1a1a1a;
}

.detail-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #d0d0d0;
    display: block;
    margin-bottom: 0.5rem;
}

.detail-item h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.detail-item p {
    font-size: 0.9rem;
    color: #6a6a6a;
    line-height: 1.6;
}

/* Zone: Contact */
.zone-contact {
    background: #ffffff;
}

.contact-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-description {
    font-size: 1rem;
    color: #6a6a6a;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-input {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    padding: 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    background: #fafafa;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #6a6a6a;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
    margin: 0 auto;
}

.form-submit:hover {
    background: #000000;
}

.contact-meta {
    margin-top: 2.5rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #6a6a6a;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 2rem 40px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .masonry-grid {
        columns: 2;
    }
}

@media (max-width: 640px) {
    .zone {
        padding: 60px 20px;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .masonry-grid {
        columns: 1;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .site-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}
