/* Typography & Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #0d0d0d;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.5em 0 0.75em;
}

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: 0 0 1.5em;
    color: #2d2d2d;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 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: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

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

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

.logo-svg {
    width: 60px;
    height: 60px;
}

.logo-text {
    font-size: 32px;
    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: 13px;
    line-height: 1.4;
}

.company-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
}

.contact-header {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

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

.contact-item::before {
    content: '📧';
    font-size: 18px;
}

.contact-item.phone::before {
    content: '📞';
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ffd700;
}

/* Main Content */
.site-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Content Post Styles */
.content-post {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.content-post h1:first-child,
.content-post h2:first-child {
    margin-top: 0;
    color: #1e3c72;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 15px;
}

.content-post p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 1.6em;
    color: #333;
}

.content-post p:last-child {
    margin-bottom: 0;
}

.content-post strong {
    color: #1a1a1a;
    font-weight: 700;
}

.content-post em {
    font-style: italic;
    color: #2d2d2d;
}

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

.content-post li {
    margin-bottom: 0.8em;
    line-height: 1.7;
    color: #333;
}

.content-post ul li {
    list-style-type: disc;
}

.content-post ul ul li {
    list-style-type: circle;
}

.content-post ol {
    counter-reset: item;
}

.content-post ol li {
    list-style-type: decimal;
}

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

.content-post table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

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

.content-post table td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    color: #333;
}

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

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

/* Blockquotes */
.content-post blockquote {
    margin: 2em 0;
    padding: 20px 25px 20px 60px;
    background: #f1f5f9;
    border-left: 5px solid #2a5298;
    position: relative;
    font-style: italic;
    color: #2d2d2d;
}

.content-post blockquote::before {
    content: '"';
    font-size: 60px;
    color: #2a5298;
    position: absolute;
    left: 15px;
    top: 10px;
    opacity: 0.3;
}

/* Links */
.content-post a {
    color: #2a5298;
    text-decoration: underline;
    transition: color 0.3s;
    font-weight: 600;
}

.content-post a:hover {
    color: #1e3c72;
    text-decoration: none;
}

/* Buttons */
.btn,
.content-post .button,
input[type="submit"],
button[type="submit"] {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn:hover,
.content-post .button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(42, 82, 152, 0.4);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.widget h3 {
    margin-top: 0;
    color: #1e3c72;
    font-size: 1.3rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    background: #fff;
}

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

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #2a5298;
}

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

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

.chat-button {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.chat-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.chat-button::before {
    content: '💬';
    font-size: 24px;
}

/* Store Info Widget */
.store-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.store-info p {
    margin-bottom: 12px;
    color: #2d2d2d;
    font-size: 15px;
}

.store-info strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.store-hours {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border-left: 4px solid #2a5298;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e9ecef;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.product-price {
    font-size: 1.5rem;
    color: #2a5298;
    font-weight: 700;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 60px;
}

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

.footer-widget h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 30px 30px 0;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .site-content {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .site-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .content-post {
        padding: 35px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .contact-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        width: 100%;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-content {
        margin: 20px auto;
        padding: 0 20px;
    }
    
    .content-post {
        padding: 25px 20px;
    }
    
    .content-post p {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }
    
    .logo-svg {
        width: 45px;
        height: 45px;
    }
    
    .content-post {
        padding: 20px 15px;
    }
    
    .widget {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .content-post table {
        font-size: 14px;
    }
    
    .content-post table th,
    .content-post table td {
        padding: 10px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-post > * {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.p-0 { padding: 0 !important; }

.text-primary { color: #2a5298 !important; }
.text-dark { color: #1a1a1a !important; }
.bg-light { background: #f8f9fa !important; }

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2a5298;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
