* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFB5A7;
    --secondary-color: #FCD5CE;
    --accent-color: #FEC89A;
    --text-color: #F8EDEB;
    --light-text: #F8EDEB;
    --background-color: #000000;
    --card-background: #1e1e1e;
    --shadow: 0 4px 16px rgba(0,0,0,0.5);
    --header-font: 'DM Sans', sans-serif;
    --body-font: 'DM Sans', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--body-font);
}

ul, ol {
    list-style-position: inside;
}

.special-link {
    position: relative;
    font-weight: 600;
    color: var(--accent-color);
    display: inline-block;
    padding-bottom: 2px;
}

.special-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.special-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--card-background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.floating-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 25px;
    padding: 8px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(10px);
    width: auto;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.dock-icons {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    flex-wrap: nowrap;
    height: 100%;
    align-items: center;
}

.dock-icons li {
    margin: 0;
}

.dock-icons a {
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background-color: rgba(50, 50, 50, 0.5);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.dock-icons a:hover {
    transform: translateY(-2px);
    background-color: var(--accent-color);
    color: #000;
}

.dock-icons a.active {
    background-color: var(--primary-color);
    color: #000;
}

.icon {
    font-style: normal;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--accent-color);
}

.hero {
    height: 80vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-content {
    max-width: 800px;
    padding: 0 1rem;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.companies-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/companies-header.jpg');
}

.innovators-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/innovators-header.jpg');
}

.cta-button, .secondary-button, .error-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: rgba(30, 30, 30, 0.9);
    color: white;
}

.cta-button {
    font-size: 1.1rem;
}

.cta-button:hover, .secondary-button:hover, .error-button:hover {
    background-color: var(--accent-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.secondary-button {
    margin: 0.5rem;
}

.error-button {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
}

main {
    padding: 4rem 5%;
}

section {
    margin-bottom: 4rem;
}

.intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.intro-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-text.highlight {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.intro-text.emphasis {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    text-align: left;
}

.intro-text.elegant {
    font-style: italic;
    color: #F9DCC4;
}

.standout {
    color: #FEC89A;
    font-weight: 700;
}

.cta-container {
    margin-top: 2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
}

.feature-card p {
    padding: 0 1rem 1rem;
}

.gallery-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.gallery-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.logo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.logo-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-card:hover {
    transform: translateY(-5px);
}

.logo-card img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.logo-info {
    text-align: center;
    width: 100%;
}

.logo-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.logo-info p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.logo-evolution {
    max-width: 1000px;
    margin: 4rem auto;
    text-align: center;
}

.evolution-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.evolution-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.evolution-card h3 {
    margin-bottom: 1rem;
}

.logo-list-section {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
}

.valuable-brands {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
    counter-reset: brand-counter;
}

.valuable-brands li {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    counter-increment: brand-counter;
}

.valuable-brands li::before {
    content: counter(brand-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #FFB5A7;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.innovator-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.innovator-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.innovator-card:hover {
    transform: translateY(-5px);
}

.innovator-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.innovator-info {
    padding: 1.5rem;
}

.innovator-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.innovator-info .quote {
    font-style: italic;
    color: #5a6779;
    margin-top: 1rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.innovator-timeline {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
}

.timeline {
    position: relative;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-date {
    position: absolute;
    width: 100px;
    background-color: #FFB5A7;
    color: #000000;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 55px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 55px;
}

.timeline-content h3 {
    color: var(--primary-color);
}

.innovation-fields {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
}

.fields-list {
    list-style: none;
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: left;
}

.fields-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}

.fields-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.field-name {
    font-weight: 700;
    color: #FFB5A7;
}

.error-page {
    min-height: 70vh;
    padding: 4rem 5%;
    text-align: center;
}

.error-container {
    max-width: 700px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-message {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.error-image-container {
    margin: 2rem 0;
}

.error-image {
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.error-description, .error-suggestion {
    margin-bottom: 1.5rem;
}

.error-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.error-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-button:hover {
    background-color: #FCD5CE;
    color: #000000;
    transform: translateY(-2px);
}

footer {
    background-color: rgba(30, 30, 30, 0.9);
    color: white;
    padding: 0.8rem 5%;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-content.centered {
    text-align: center;
}

.footer-text {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: white;
    position: relative;
    padding-bottom: 2px;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-content h1, .header-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links li {
        margin-left: 1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-date {
        left: 30px;
        width: 80px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .floating-dock {
        width: 90%;
        padding: 6px 12px;
        height: 34px;
    }
    
    .dock-icons {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dock-icons a {
        font-size: 0.75rem;
        height: 24px;
        padding: 0 12px;
        margin: 2px 0;
    }
}

@media (max-width: 576px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .hero-content h1, .header-content h1 {
        font-size: 2rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .floating-dock {
        width: 95%;
        bottom: 15px;
        padding: 5px 10px;
        height: 32px;
        border-radius: 20px;
    }
    
    .dock-icons {
        gap: 6px;
    }
    
    .dock-icons a {
        font-size: 0.7rem;
        height: 22px;
        padding: 0 10px;
        letter-spacing: 0.3px;
    }
}

.cta-button:active, .secondary-button:active, .error-button:active {
    transform: scale(0.95);
} 