/* Reset and Base Styles */
:root {
    --kitenge-blue: #1e3d59;
    --kitenge-orange: #ff6e40;
    --kitenge-yellow: #ffc13b;
    --kitenge-red: #c0392b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff5eb;
    color: var(--kitenge-blue);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Decorative Elements */
.corner-pattern {
    position: fixed;
    width: 200px;
    height: 200px;
    background-image: url('images/corner-pattern.svg');
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.6;
}

.top-left {
    top: 0;
    left: 0;
    transform: rotate(0deg);
}

.top-right {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(270deg);
}

.bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

.wave-pattern {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('images/wave-pattern.svg');
    background-repeat: repeat-x;
    z-index: -1;
    opacity: 0.3;
}

/* Header Bar */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        var(--kitenge-orange),
        var(--kitenge-yellow),
        var(--kitenge-red),
        var(--kitenge-blue)
    );
    z-index: 1000;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

/* Header */
header {
    margin-bottom: 50px;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.logo-accent {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--kitenge-orange);
    border-radius: 50%;
    top: -10px;
    left: -20px;
    z-index: -1;
}

.logo-accent::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--kitenge-yellow);
    border-radius: 50%;
    top: -8px;
    left: 8px;
    z-index: -1;
}

h1 {
    color: var(--kitenge-blue);
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
    position: relative;
}

.subtitle {
    color: var(--kitenge-red);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 400;
}

/* Navigation Links */
.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 25px 30px;
    background-color: white;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(30, 61, 89, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.nav-icon {
    font-size: 2rem;
    color: var(--kitenge-orange);
    margin-bottom: 15px;
}

.nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--kitenge-orange),
        var(--kitenge-yellow)
    );
}

.nav-item:hover {
    transform: translateY(-2px);
    border-color: var(--kitenge-yellow);
    box-shadow: 0 6px 12px rgba(30, 61, 89, 0.15);
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
    color: var(--kitenge-red);
}

.nav-title {
    color: var(--kitenge-blue);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.nav-description {
    color: var(--kitenge-red);
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Top Navigation */
.top-nav {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
    position: relative;
}

.top-nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--kitenge-orange),
        var(--kitenge-yellow),
        var(--kitenge-red),
        var(--kitenge-blue)
    );
}

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

.site-title {
    color: var(--kitenge-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-title:hover {
    color: var(--kitenge-orange);
}

.top-nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-nav-links a {
    color: var(--kitenge-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.top-nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--kitenge-orange);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.top-nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.top-nav-links a.active {
    color: var(--kitenge-orange);
}

.top-nav-links a.active::after {
    transform: scaleX(1);
}

/* Adjust container padding for pages with top nav */
.page-with-nav .container {
    padding-top: 40px;
}

/* Page Headers */
.page-header {
    margin-bottom: 40px;
    position: relative;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--kitenge-red);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Page Styles */
.services-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.service-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
}

.service-section h2 {
    color: var(--kitenge-blue);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.service-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--kitenge-orange);
    border-radius: 2px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--kitenge-blue);
    font-size: 1.1rem;
}

.service-list li i {
    color: var(--kitenge-orange);
    font-size: 1.25rem;
}

.contact-section {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
}

.contact-section h2 {
    color: var(--kitenge-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-section p {
    color: var(--kitenge-blue);
    margin-bottom: 25px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--kitenge-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--kitenge-red);
    transform: translateY(-2px);
}

/* Store Page Styles */
.store-content {
    max-width: 1200px;
    margin: 0 auto;
}

.store-description {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.store-description p {
    color: var(--kitenge-blue);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.ecwid-store-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
}

/* Ecwid Store Customization */
html#ecwid_html body#ecwid_body .ec-size .ec-store .grid-product__title-inner,
html#ecwid_html body#ecwid_body .ec-size .ec-store .grid-product__price-amount {
    color: var(--kitenge-blue);
    font-family: 'Inter', sans-serif;
}

html#ecwid_html body#ecwid_body .ec-size .ec-store .grid-product__price {
    color: var(--kitenge-orange);
}

html#ecwid_html body#ecwid_body .ec-size .ec-store .grid-product:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Blog Page Styles */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-placeholder {
    background: white;
    padding: 60px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--kitenge-orange);
    margin-bottom: 20px;
}

.placeholder-icon i {
    opacity: 0.8;
}

.blog-placeholder h2 {
    color: var(--kitenge-blue);
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.blog-placeholder p {
    color: var(--kitenge-blue);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* WordPress Blog Styles (for future integration) */
.blog-post {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(30, 61, 89, 0.1);
    margin-bottom: 30px;
}

.blog-post-title {
    color: var(--kitenge-blue);
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.blog-post-meta {
    color: var(--kitenge-red);
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.blog-post-content {
    color: var(--kitenge-blue);
    font-size: 1.1rem;
    line-height: 1.6;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 40px 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .nav-item {
        padding: 20px 24px;
    }
    
    .corner-pattern {
        width: 150px;
        height: 150px;
    }
    
    .logo-accent {
        display: none;
    }
}

@media (max-width: 600px) {
    .service-section {
        padding: 20px;
    }
    
    .service-list li {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 30px 20px;
    }
    
    .top-nav-links {
        gap: 15px;
    }
    
    .site-title {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .store-description {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .store-description p {
        font-size: 1rem;
    }
    
    .ecwid-store-container {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .blog-placeholder {
        padding: 40px 20px;
    }
    
    .placeholder-icon {
        font-size: 3rem;
    }
    
    .blog-placeholder h2 {
        font-size: 1.5rem;
    }
    
    .blog-placeholder p {
        font-size: 1rem;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .blog-post-title {
        font-size: 1.5rem;
    }
}
