/* ============================================
   Gemma Garriga — Portfolio
   Dark & Modern Theme
   ============================================ */

/* --- Reset & Base --- */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #d0d0d0;
    background: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #f472b6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #f9a8d4;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
}

/* --- Navigation --- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

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

.nav-links a {
    color: #aaa;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:active,
.nav-links a.active {
    color: #f472b6;
}

/* --- Hero Section --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem;
    background: #0a0a0a;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    position: relative;
}

/* --- Hero Photo --- */

.hero-photo-wrap {
    margin: 0 auto 2rem;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.hero-greeting {
    font-size: 1.1rem;
    color: #f472b6;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero-title {
    font-size: 1.15rem;
    color: #b0b0b0;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-links a {
    color: #888;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.hero-links a:hover {
    color: #f472b6;
    transform: translateY(-2px);
}

/* --- Main & Sections --- */

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #f472b6;
    border-radius: 2px;
}

/* --- About --- */

.about-content {
    width: 100%;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}



/* --- Cards Grid (Ventures) --- */

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.75rem 2rem;
    transition: border-left-color 0.2s ease;
}

.card:hover {
    border-left-color: #f472b6;
}

.card-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.4rem;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #ffffff;
}

.card p {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.7;
    margin: 0;
}

.card-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-link::after {
    content: ' →';
}

/* --- Stats Row (Research) --- */

.stats-row {
    display: flex;
    gap: 3.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* --- Research --- */

.research-content {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.research-block h3 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 1rem;
}

.research-block li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #c0c0c0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.research-block li:last-child {
    border-bottom: none;
}

.research-block strong {
    color: #e8e8e8;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(244, 114, 182, 0.08);
    border: 1px solid rgba(244, 114, 182, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #f472b6;
    font-weight: 500;
}

/* --- Speaking --- */

.speaking-intro {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: #c0c0c0;
}

.speaking-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 1rem;
}

.speaking-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.speaking-item {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: border-left-color 0.2s ease;
}

.speaking-item:hover {
    border-left-color: #f472b6;
}

.speaking-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.speaking-venue {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.4rem;
}

.speaking-topic {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-style: italic;
}

.speaking-cta {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #888;
}

/* --- Footer --- */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #888;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f472b6;
}

.footer-copy {
    font-size: 0.8rem;
    color: #777;
}

/* --- Responsive --- */

@media (max-width: 640px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .section {
        padding: 3rem 0;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-photo-wrap {
        width: 140px;
        height: 140px;
    }

    .hero-tagline br {
        display: none;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 1rem;
    }

    main {
        padding: 0 1rem;
    }

    .hero-name {
        font-size: 2.25rem;
    }

}
