/* Analog Layout Page Styles */

.layout-hero {
    padding: 6rem 5% 4rem;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(217, 4, 41, 0.04), transparent),
                radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.02), transparent);
}

.layout-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.layout-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-lead strong {
    color: var(--primary);
    font-weight: 700;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--text-main);
    padding: 3rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .layout-hero h1 {
        font-size: 2rem;
    }
}

/* Domain Cards */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.domain-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.domain-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.domain-card h4 {
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-size: 1.15rem;
}

.domain-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Technology Table */
.tech-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tech-table th {
    background: var(--text-main);
    color: white;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.tech-table td {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
}

.tech-table td strong {
    color: var(--text-main);
}

.tech-table tbody tr:hover {
    background: rgba(217, 4, 41, 0.02);
}

.tech-table th:first-child {
    border-radius: 12px 0 0 0;
}

.tech-table th:last-child {
    border-radius: 0 12px 0 0;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tool-card h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(217, 4, 41, 0.1);
}

.tool-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-card li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.tool-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* Projects List */
.projects-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-entry {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-entry:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.project-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(217, 4, 41, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.project-detail h4 {
    margin-bottom: 0.4rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.project-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 600px) {
    .project-entry {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.2rem 1.5rem;
    }
}

/* European Team Map Section */
.layout-europe-section {
    background-color: var(--bg-white);
}

.layout-europe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.layout-europe-text .section-title {
    margin-bottom: 1rem;
}

.layout-europe-text .section-subtitle {
    max-width: none;
    margin-bottom: 2rem;
}

.layout-europe-text .location-card.dynamic-card {
    max-width: none;
}

#layout-team-map {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

@media (max-width: 900px) {
    .layout-europe-content {
        grid-template-columns: 1fr;
    }

    .layout-europe-text .section-title,
    .layout-europe-text .section-subtitle {
        text-align: center !important;
    }

    #layout-team-map {
        height: 350px;
    }
}
