/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    color: #0d0d0d;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    margin-top: 2rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: #2d2d2d;
}

/* ===== HEADER & LOGO ===== */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-kraken {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
}

.kraken-drawing {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #764ba2 30%, #667eea 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.kraken-drawing::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 15px;
    left: 15px;
    box-shadow: 25px 0 0 white;
}

.kraken-drawing::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: white;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 -8px 0 white, 0 -16px 0 white;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.company-info {
    flex: 1;
    color: white;
    max-width: 500px;
}

.company-info h2 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    color: white;
}

.company-info p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
    color: #f0f0f0;
}

/* ===== CONTACTS BAR ===== */
.contacts-bar {
    background: #2d3748;
    color: white;
    padding: 15px 0;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.contact-item strong {
    color: white;
}

.contact-item a {
    color: #90cdf4;
    text-decoration: none;
}

.contact-item a:hover {
    color: #63b3ed;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-post {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.content-post h1:first-child {
    margin-top: 0;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.content-post p {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    box-shadow: none;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* ===== LINKS ===== */
a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.content-post a {
    color: #5a67d8;
    font-weight: 500;
    border-bottom: 1px dotted #5a67d8;
}

.content-post a:hover {
    color: #764ba2;
    border-bottom-style: solid;
}

/* ===== LISTS ===== */
ul, ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: #2d2d2d;
}

ul li, ol li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

ul {
    list-style-type: none;
}

ul li::before {
    content: "▸";
    color: #667eea;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

ol {
    counter-reset: item;
}

ol li {
    counter-increment: item;
    position: relative;
}

ol li::marker {
    color: #667eea;
    font-weight: bold;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: white;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #2d2d2d;
}

tr:hover {
    background: #f7fafc;
}

tr:last-child td {
    border-bottom: none;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin: 40px 0;
}

.contact-form h2 {
    margin-top: 0;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    color: #2d2d2d;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== LIVE CHAT ===== */
.live-chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
}

.live-chat-button:hover {
    transform: scale(1.1);
}

.live-chat-button::before {
    content: "💬";
    font-size: 28px;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 998;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f7fafc;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    color: #2d2d2d;
}

/* ===== BLOCKQUOTE ===== */
blockquote {
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin: 25px 0;
    background: #f7fafc;
    font-style: italic;
    color: #2d3748;
    border-radius: 0 8px 8px 0;
}

blockquote p {
    margin-bottom: 0;
    color: #2d3748;
}

/* ===== CODE BLOCKS ===== */
code {
    background: #2d3748;
    color: #f7fafc;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background: #2d3748;
    color: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

pre code {
    padding: 0;
    background: transparent;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.sidebar h3 {
    margin-top: 0;
    color: #1a1a1a;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.sidebar ul {
    padding-left: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #2d3748;
    color: #e2e8f0;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: white;
    margin-top: 0;
}

.footer-section p,
.footer-section li {
    color: #cbd5e0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .company-info {
        max-width: 100%;
    }
    
    .content-post {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .logo-kraken {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .contacts-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .content-post {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .chat-window {
        width: 90%;
        right: 5%;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        display: block;
        text-align: center;
    }
    
    .live-chat-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .content-post p {
        text-align: left;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-dark { color: #1a1a1a !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* ===== SPACING ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}
