@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/*
Theme Name: Andrea Santos Portfolio
Theme URI: https://andreasantos.com
Author: Andrea Santos
Author URI: https://andreasantos.com
Description: A modern, single-page portfolio theme with scroll animations and smooth navigation.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andrea-santos-portfolio
Domain Path: /languages
*/

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

*::selection {
    background-color: #e9e9e9;
    color: #1d1f24;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.03em;
    background: #010101;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(1, 1, 1, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    text-decoration: none;
    color: #999;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

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

/* Sections */
.section {
    display: flex;
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
}

/* Hero Section */
.hero {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8rem 3rem 3rem;
    position: relative;
    overflow: visible;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

/* Hero Background Text */
.hero-bg-text {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15vw;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1;
    background: linear-gradient(135deg, #444 0%, #999 50%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    opacity: 0.4;
    pointer-events: none;
}

/* About Section */
.about {
    justify-content: center;
    align-items: center;
    padding: 6rem 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    align-items: start;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    background: linear-gradient(90deg, #999 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 1.5rem;
}

/* Journey Section */
.journey {
    justify-content: center;
    align-items: center;
    padding: 6rem 3rem;
}

.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}

.journey-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 600;
    background: linear-gradient(90deg, #999 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 1.5rem;
}

.current-episode {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.episode-info h3 {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.episode-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.watch-link {
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.watch-link:hover {
    color: #fff;
}

.journey-image img {
    width: 100%;
    border-radius: 12px;
}

/* Contact Section */
.contact {
    justify-content: center;
    align-items: center;
    padding: 6rem 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #999 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #bbb;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.submit-btn {
    background: #fff;
    color: #010101;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.social-links a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ccc;
}

.social-links svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 0;
    border-top: none;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 100px;
    right: 30px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-60px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(60px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Animation Classes */
.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.slideInUp {
    animation-name: slideInUp;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .journey-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-text h2,
    .journey-text h2,
    .contact-text h2 {
        font-size: 2rem;
    }

    nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

/* --- FOOTER GENERAL STYLES --- */
.site-footer {
    text-align: center;
    padding: 3rem 0;
    background: #010101;
    color: #999;
    font-size: 0.9rem;
    width: 100%;
}

/* --- COMPLETE MOBILE FIXES --- */
@media (max-width: 768px) {
    /* Navigation: Push content down naturally */
    nav {
        position: relative !important;
        flex-direction: column;
        padding: 1rem;
        background: #010101; 
        height: auto;
    }

    .nav-links {
        margin-top: 0.5rem;
        gap: 0.8rem;
        justify-content: center;
    }

    /* Sections: Tighten spacing and prevent cutoff */
    .section {
        min-height: auto !important;
        height: auto !important;
        padding: 2.5rem 1.5rem !important;
        scroll-snap-align: none;
    }

    /* Hero: Ensure mission text is visible and first */
    .hero {
        padding: 2rem 1.5rem !important;
        display: block !important;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 1.5rem;
    }

    /* About/Journey/Contact: Tighten gaps between images and text */
    .about-content,
    .journey-content,
    .contact-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Typography */
    .hero-text h1 { font-size: 1.6rem !important; margin-bottom: 1rem; }
    .about-text h2, .journey-text h2, .contact-text h2 { font-size: 1.5rem; margin-bottom: 1rem; }
    .about-text p, .journey-text p, .contact-text p { font-size: 0.95rem; margin-bottom: 1rem; }

    /* Footer Mobile Fix: Extra bottom padding for the 'Home Bar' on iPhones */
    .site-footer {
        padding: 2rem 1rem 5rem !important; 
        font-size: 0.8rem;
    }
}