/* Typography & Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a1a;
    background: #f8f9fa;
}

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

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: 1.1rem; }

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

/* Header & Logo */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-image {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo-image svg {
    width: 100%;
    height: 100%;
}

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

.company-info {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.5;
}

.company-info strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.contact-header {
    text-align: right;
}

.contact-item {
    color: #fff;
    margin: 8px 0;
    font-size: 0.95rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Content Post Styles */
.content-post {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.content-post p {
    text-align: justify;
    color: #333;
}

.content-post p:first-of-type {
    font-size: 1.1rem;
    color: #1a1a1a;
}

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

.content-post blockquote {
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 30px 0;
    background: #f5f7ff;
    font-style: italic;
    color: #2c2c2c;
}

/* Lists */
.content-post ul,
.content-post ol {
    margin: 25px 0;
    padding-left: 30px;
    color: #2c2c2c;
}

.content-post ul li,
.content-post ol li {
    margin: 12px 0;
    line-height: 1.7;
}

.content-post ul li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.content-post ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.content-post ol li {
    padding-left: 10px;
}

/* Tables */
.content-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-post table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-post table th {
    padding: 15px;
    color: #fff;
    font-weight: 600;
    text-align: left;
    border: 1px solid #5a67d8;
}

.content-post table td {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    color: #2c2c2c;
}

.content-post table tbody tr:nth-child(even) {
    background: #f7fafc;
}

.content-post table tbody tr:hover {
    background: #edf2f7;
}

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

.btn:hover,
.content-post .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: #fff;
    color: #667eea !important;
    border: 2px solid #667eea;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #667eea;
    color: #fff !important;
}

/* Links */
.content-post a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s;
}

.content-post a:hover {
    color: #764ba2;
    text-decoration: none;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

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

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

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

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

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

/* Live Chat */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

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

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
}

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

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

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

.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: 5px;
    color: #2c2c2c;
}

.chat-footer button {
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background: #2d3748;
    color: #fff;
    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: #fff;
    margin-top: 0;
}

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

.footer-section a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-header {
        text-align: center;
    }
    
    .content-post {
        padding: 30px 20px;
        margin: 20px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .chat-window {
        width: 90%;
        right: 5%;
    }
    
    .content-post table {
        font-size: 0.9rem;
    }
    
    .content-post table th,
    .content-post table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .content-post {
        padding: 20px 15px;
    }
    
    body {
        font-size: 15px;
    }
}

/* Accessibility */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

::selection {
    background: #667eea;
    color: #fff;
}
