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

body {
    font-family: 'Futura PT', 'Futura', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #000000;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: 'All Round Gothic', sans-serif;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
    height: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 300;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s;
}

nav a:hover {
    font-weight: 600;
}

nav a.active {
    font-weight: 600;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FE6B0C;
}

/* Main Content Styles */
main {
    min-height: calc(100vh - 140px);
}

.page {
    padding: 2rem;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
    font-family: 'Futura PT', 'Futura', sans-serif;
    text-align: center;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Home Page Styles */
.home-page {
    background-color: #000000;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 2rem;
    border-radius: 20px;
    color: #000000;
    background-image: url('Frame 36353 1.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    margin-right: 2rem;
}

.hero-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.circular-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-buttons {
    margin-top: 1.5rem;
}

/* Simulator Section */
.simulator-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #111;
    border-radius: 20px;
}

.simulator-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.simulator-section p {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Futura PT', 'Futura', sans-serif;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: #444;
}

.filter-btn.active {
    background-color: #FE6B0C;
    color: #FFFFFF;
    font-weight: bold;
}

.simulation-container {
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    padding: 1rem;
}

.simulation-images {
    margin-bottom: 1.5rem;
}

.image-pair {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.simulator-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    background-color: #333;
    border-radius: 8px;
}

.upload-container {
    text-align: center;
}

.upload-label {
    display: inline-block;
    padding: 0.75rem 1rem;
    background-color: #FE6B0C;
    color: #FFFFFF;
    border-radius: 25px;
    cursor: pointer;
    transition: opacity 0.3s;
    font-weight: 600;
    font-family: 'Futura PT', 'Futura', sans-serif;
    width: 220px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 0.9rem;
}

.upload-label:hover {
    opacity: 0.9;
}

.file-input {
    display: none;
}

.save-btn {
    padding: 0.75rem 1rem;
    background-color: #CDD71F;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
    font-family: 'Futura PT', 'Futura', sans-serif;
    width: 220px;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-align: center;
}

.save-btn:hover {
    opacity: 0.9;
}

/* About Page Styles */
.about-page {
    background-color: #000000;
}

.about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 2rem 2rem 2rem 2rem;
}

.about-hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
    padding-right: 2rem;
}

.about-hero-image {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-right: 0;
}

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

/* Colorblindness Types Section */
.colorblindness-types {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.type-dropdown {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #111;
    cursor: pointer;
}

.type-header h3 {
    margin: 0;
    color: #FFFFFF;
}

.dropdown-toggle {
    background-color: #FE6B0C;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.dropdown-toggle:hover {
    opacity: 0.9;
}

.dropdown-toggle.active {
    transform: rotate(45deg);
}

.type-content {
    background-color: #222;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    height: auto;
    position: relative;
}

.type-content p {
    padding: 0 1rem;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.type-content.active {
    padding: 1rem 0;
    max-height: 300px;
}

.type-content.active p {
    opacity: 1;
}

/* Pilestone Section */
.pilestone-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #111;
    border-radius: 20px;
}

.pilestone-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.pilestone-header img {
    width: 80px;
    height: auto;
}

.pilestone-content {
    flex: 1;
    min-width: 300px;
    max-width: 60%;
    margin-right: 2rem;
}

.pilestone-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.pilestone-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.pilestone-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Video Section */
.video-section {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.video-section video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Team Section */
.team-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #111;
    border-radius: 20px;
    text-align: center;
}

.team-header {
    text-align: center;
    margin-bottom: 2rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-member h3 {
    font-size: 1.3rem;
    color: #FFFFFF;
}

/* Contact Page Styles */
.contact-page {
    background-color: #000000;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    background-color: #111;
    border-radius: 20px;
    overflow: hidden;
    color: #FFFFFF;
}

.contact-content {
    flex: 1;
    width: 100%;
    padding: 2rem;
}

.contact-header {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background-color: #222;
    color: #FFFFFF;
    font-family: inherit;
}

.message-area {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 0.75rem 1.5rem;
    background-color: #FE6B0C;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.submit-btn:hover {
    opacity: 0.9;
}

.contact-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contact-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer Styles */
footer {
    background-color: #111;
    padding: 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-info {
    color: #999;
}

/* Colorblindness Filters */
.protanopia {
    filter: url('#protanopia-filter');
}

.deuteranopia {
    filter: url('#deuteranopia-filter');
}

.tritanopia {
    filter: url('#tritanopia-filter');
}

.monochromacy {
    filter: url('#monochromacy-filter');
}

/* SVG Filters for Colorblindness Simulation */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-image {
        order: -1;
    }
    
    header {
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .page {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .image-pair {
        flex-direction: column;
    }
    
    nav ul {
        gap: 0.5rem;
    }
}
