/* Patoka Consulting - Modern Professional Theme */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.7;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid #334155;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.header-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.tagline {
    font-size: 1.1rem;
    color: #06b6d4;
    margin-bottom: 2rem;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background: #06b6d4;
    color: #0f172a;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: #22d3ee;
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 2rem;
    overflow: visible;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: #06b6d4;
    transform: translateY(-2px);
}

.service-icon {
    margin-bottom: 1.5rem;
    overflow: visible;
}

.service-icon img {
    opacity: 0.9;
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-card h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Philosophy Section */
.philosophy {
    background: #1e293b;
    border-left: 3px solid #06b6d4;
    padding: 2rem;
    margin-bottom: 4rem;
    border-radius: 0 8px 8px 0;
}

.philosophy h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.philosophy p {
    color: #94a3b8;
    font-size: 1rem;
}

/* Expertise Section */
.expertise {
    text-align: center;
}

.expertise h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.expertise-item {
    background: #334155;
    border-radius: 4px;
    padding: 0.75rem 1.25rem;
}

.expertise-item .label {
    color: #e2e8f0;
    font-size: 0.9rem;
}

/* Footer */
footer {
    border-top: 1px solid #334155;
    padding: 2rem;
    margin-top: 4rem;
}

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

.footer-content p {
    color: #64748b;
    font-size: 0.85rem;
}

.ssl-seal img {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.ssl-seal:hover img {
    opacity: 1;
}

/* About Page - Intro */
.about-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.about-intro h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.about-intro p {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Chat Section */
.chat-section {
    margin-bottom: 2rem;
}

.chat-container {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    max-width: 85%;
}

.message.user {
    align-self: flex-end;
}

.message.assistant {
    align-self: flex-start;
}

.message-content {
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message.user .message-content {
    background: #06b6d4;
    color: #0f172a;
    border-bottom-right-radius: 4px;
}

.message.assistant .message-content {
    background: #334155;
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.message.assistant.error .message-content {
    background: #7f1d1d;
    color: #fecaca;
}

/* Typing indicator */
.message.typing .message-content {
    display: flex;
    gap: 4px;
    padding: 1rem 1.25rem;
}

.message.typing .dot {
    width: 8px;
    height: 8px;
    background: #64748b;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.message.typing .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.message.typing .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat input */
.chat-input-container {
    display: flex;
    border-top: 1px solid #334155;
    background: #0f172a;
}

.chat-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.chat-input::placeholder {
    color: #64748b;
}

.chat-send-button {
    padding: 1rem 1.5rem;
    background: #06b6d4;
    color: #0f172a;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.chat-send-button:hover {
    background: #22d3ee;
}

.chat-send-button:disabled {
    background: #334155;
    color: #64748b;
    cursor: not-allowed;
}

/* Quick Questions */
.quick-questions {
    text-align: center;
}

.quick-questions h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.quick-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.quick-btn {
    background: #334155;
    color: #e2e8f0;
    border: 1px solid #475569;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-btn:hover {
    background: #475569;
    border-color: #06b6d4;
    color: #06b6d4;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 3rem 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .header-logo {
        max-width: 280px;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .philosophy {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .chat-messages {
        height: 350px;
    }

    .message {
        max-width: 95%;
    }

    .quick-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
