/* Scarpati Enterprises - Main Website Styles */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #ffffff;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo {
    width: 90px;
    height: 90px;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-width: 95px;
    max-height: 95px;
    border-radius: 6px;
}

.logo-placeholder {
    color: #6e6e73;
    font-size: 14px;
    font-weight: 600;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0071e3;
}

/* Main content */
main {
    padding-top: 80px;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    background: #f5f5f7;
    border: 2px solid #d2d2d7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 12px;
}

.hero-logo-placeholder {
    color: #6e6e73;
    font-size: 2rem;
    font-weight: bold;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #86868b;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero .description {
    font-size: 1.25rem;
    color: #86868b;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

/* Divisions */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.division-card {
    background: #f5f5f7;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #d2d2d7;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.division-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.division-card p {
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    font-size: 0.9rem;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.division-link {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    align-self: center;
}

.division-link:hover {
    color: #005bb5;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: #f5f5f7;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #d2d2d7;
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: #e8e8ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d2d2d7;
}

.photo-placeholder {
    font-size: 2rem;
    font-weight: bold;
    color: #6e6e73;
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.team-card .role {
    font-size: 1.1rem;
    color: #0071e3;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-card .division {
    font-size: 1rem;
    color: #86868b;
    margin-bottom: 1rem;
}

.team-card .bio {
    color: #86868b;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Portfolio section */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.venture-card {
    background: #f5f5f7;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #d2d2d7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venture-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.venture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.venture-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.live {
    background: #d1f2eb;
    color: #00875a;
    border: 1px solid #00875a;
}

.status-badge.beta {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.venture-description {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.venture-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.division-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.division-tag.tech {
    background: #e3f2fd;
    color: #1976d2;
}

.division-tag.media {
    background: #fce4ec;
    color: #c2185b;
}

.visit-link {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.visit-link:hover {
    color: #005bb5;
}

/* Investors section */
.investor-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.financial-highlights h3,
.investor-contact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.financial-highlights p,
.investor-contact p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    gap: 1.5rem;
}

.highlight-item {
    background: #f5f5f7;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.highlight-item p {
    color: #86868b;
    margin: 0;
    font-size: 0.95rem;
}

.investor-contact {
    background: #f5f5f7;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #d2d2d7;
    height: fit-content;
}

.contact-item {
    margin-bottom: 1rem;
    color: #86868b;
}

.contact-item strong {
    color: #1d1d1f;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #005bb5;
}

/* About section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.vision-mission h3,
.values h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.vision-mission p {
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.values-list {
    display: grid;
    gap: 0.5rem;
}

.value-item {
    color: #86868b;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f7;
}

/* Contact section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #f5f5f7;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #d2d2d7;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.contact-card a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #f5f5f7;
    border-top: 1px solid #d2d2d7;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-vertical a {
    color: #86868b;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-vertical a:hover {
    color: #0071e3;
}

.footer-contact p {
    color: #86868b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-contact strong {
    color: #1d1d1f;
}

.footer-contact a {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #005bb5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #d2d2d7;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #86868b;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #0071e3;
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .logo-section {
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.25rem;
    }

    .hero .description {
        font-size: 1.1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .divisions-grid,
    .team-grid,
    .ventures-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .investor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .venture-details {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .division-card,
    .team-card,
    .venture-card,
    .contact-card {
        padding: 1.5rem;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .photo-placeholder {
        font-size: 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
}

/* Loading animation for logo */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo,
.hero-logo {
    animation: fadeIn 0.5s ease-in-out;
}

.hero-logo {
        margin-top: 5rem; /* o el valor que prefieras: 1rem, 1.5rem, 3rem, etc. */
    }
