/* Partially Generated by Copilot */
:root {
    --primary-color: #2c5f2d;     /* Dark green */
    --secondary-color: #e25c04;   /* Hunter orange */
    --accent-color: #8a56ac;      /* Purple highlight */
    --text-color: #333;
    --light-bg: #f5f8f5;          /* Very light green tint */
    --dark-bg: #1a2e1a;           /* Very dark green */
    --transition-speed: 0.5s;
    
    /* Font weights for consistency */
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier Prime', 'Source Code Pro', 'Courier New', monospace;
    font-weight: var(--font-weight-normal);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    letter-spacing: 0;
    font-kerning: normal;
    font-feature-settings: "kern", "liga", "clig", "calt";
}

h1, h2, h3, h4 {
    font-family: 'Courier Prime', 'Source Code Pro', 'Courier New', monospace;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Font weight utility classes */
.fw-normal {
    font-weight: var(--font-weight-normal) !important;
}

.fw-semibold {
    font-weight: var(--font-weight-semibold) !important;
}

.fw-bold {
    font-weight: var(--font-weight-bold) !important;
}

/* Text rendering fix */
p, span, div, li {
    text-rendering: geometricPrecision;
}

/* Header & Logo */
header {
    padding: 2rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.main-logo {
    height: 70px;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.hero-logo {
    height: 180px;
    max-width: 90%;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease forwards;
}

.tagline {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.85), rgba(44, 95, 45, 0.6)), url('https://source.unsplash.com/random/1920x1080/?engineering,technology') center/cover no-repeat;
    color: white;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.7s;
}

.tech-hint {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background-color: rgba(138, 86, 172, 0.3);
    border-radius: 4px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

/* Scroll Down Arrow */
.scroll-down-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.scroll-down-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(226, 92, 4, 0.8);
    border-radius: 50%;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite, pulse 1.5s infinite alternate, attention 8s 3s infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transform-origin: center;
}

.scroll-down-arrow:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
    animation-play-state: paused;
}

.scroll-down-arrow svg {
    width: 60px;
    height: 60px;
    display: block;
}

.scroll-text {
    font-size: 14px;
    margin-top: 5px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.7), 0 0 40px rgba(226, 92, 4, 0.5);
    }
}

@keyframes attention {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1.2);
    }
    10% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* Story Sections */
.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.story-section {
    margin-bottom: 7rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.story-section h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.story-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.character {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 5px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.character:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
}

.character h3 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.character h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.character-details {
    margin-top: 1rem;
}

.character-details p {
    margin-bottom: 1rem;
    font-weight: var(--font-weight-normal);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.question {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--accent-color);
    text-align: center;
    font-style: italic;
}

#problem {
    background-color: #edf5ed; /* Light green tint */
    padding: 3rem;
    border-radius: 10px;
}

.coming-soon {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coming-soon p {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon h2 {
    margin-top: 3rem;
    font-size: 3rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.coming-soon h2:before, .coming-soon h2:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.coming-soon h2:before {
    left: -80px;
}

.coming-soon h2:after {
    right: -80px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

footer a {
    color: var(--secondary-color);
}

footer a:hover {
    color: var(--accent-color);
}

/* Code styling */
code, .code-text {
    font-family: 'Source Code Pro', monospace;
    background-color: rgba(138, 86, 172, 0.1); /* Light purple background */
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--accent-color);
}

/* Highlight text */
.highlight {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    padding: 0 0.2em;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(138, 86, 172, 0.3);
}

/* Tech section */
.tech-section {
    background-color: white;
    border-left: 5px solid var(--accent-color);
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tech-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tech-section ul {
    list-style-type: none;
    margin-top: 1.5rem;
}

.tech-section li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.tech-section li:before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Terminal-like elements */
.terminal {
    background-color: var(--dark-bg);
    color: #ddd;
    padding: 1.5rem;
    border-radius: 5px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-top: 1rem solid rgba(44, 95, 45, 0.9);
    overflow-x: auto;
    line-height: 1.8;
}

.terminal::before {
    content: 'cimbology-cli';
    position: absolute;
    left: 1rem;
    top: -0.7rem;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.terminal .prompt {
    color: var(--secondary-color);
    font-weight: bold;
    padding-right: 0.5rem;
}

.terminal .response {
    color: #8aef8c;
    font-size: 0.85rem;
    padding-left: 1.5rem;
    opacity: 0.9;
}

.terminal code {
    background-color: transparent;
    color: #ff9966;
    padding: 0;
}

.terminal .command-line {
    margin-bottom: 0.2rem;
}

.terminal .response {
    margin-bottom: 1rem;
}

.contact {
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

#blinking-cursor {
    animation: blink 1s step-end infinite;
    font-weight: bold;
}

/* Contact Form Styles */
.contact-section {
    background-color: var(--light-bg);
    padding: 4rem 5%;
    text-align: center;
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    border-left: 5px solid var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Source Code Pro', monospace;
    font-size: 1rem;
    background-color: rgba(44, 95, 45, 0.02);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 95, 45, 0.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

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

.status-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    display: none;
}

.status-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid #2e7d32;
    display: block;
}

.status-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid #c62828;
    display: block;
}

/* Media Queries */
@media (max-width: 768px) {
    .main-logo {
        height: 60px;
    }
    
    .hero-logo {
        height: 150px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .story-section h2 {
        font-size: 2.2rem;
    }

    .story-section h3 {
        font-size: 1.8rem;
    }

    .story-section p {
        font-size: 1rem;
    }

    .question {
        font-size: 1.2rem;
    }

    .coming-soon h2 {
        font-size: 2.5rem;
    }

    .coming-soon h2:before, .coming-soon h2:after {
        display: none;
    }
    
    .terminal {
        font-size: 0.85rem;
    }
    
    .tech-section {
        padding: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-logo {
        height: 50px;
    }
    
    .hero-logo {
        height: 120px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .story-section {
        margin-bottom: 4rem;
    }

    .character {
        padding: 1.5rem;
    }
    
    .terminal {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    .tech-section {
        padding: 1.5rem;
    }
    
    .coming-soon h2 {
        font-size: 1.8rem;
    }
    
    .scroll-text {
        display: none;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 375px) {
    .main-logo {
        height: 40px;
    }
    
    .hero-logo {
        height: 100px;
    }
    
    .hero-content h2 {
        font-size: 1.7rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .terminal {
        font-size: 0.75rem;
    }
    
    .tech-section li {
        margin-bottom: 0.8rem;
    }
    
    header {
        padding: 0.8rem 1rem;
    }
}
