/* Critical CSS - Above the fold content only */
:root {
    --site_bg: #ffffff;
    --bolum_bg: #f8f9fa;
    --header_top: #f8f9fa;
    --header_bg: #ffffff;
    --main_text: #333333;
    --subtext: #666666;
    --textwhite: #ffffff;
    --mainbg: #007bff;
    --whitebg: #ffffff;
    --line: #e9ecef;
    --footerbg: #343a40;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--main_text);
    background: var(--site_bg);
}

/* Critical Header Styles */
.header--top {
    background: var(--header_top);
    padding: 8px 0;
    font-size: 14px;
}

.site-header {
    background: var(--header_bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.brand-logo img {
    max-height: 50px;
    width: auto;
}

/* Critical Hero Section */
.hero {
    background: linear-gradient(135deg, var(--herobg, #f8f9fa) 0%, #ffffff 100%);
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero--container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero .title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--main_text);
}

.hero--desc {
    font-size: 1.2rem;
    color: var(--subtext);
    margin-bottom: 30px;
}

.hero--btn {
    display: inline-block;
    background: var(--mainbg);
    color: var(--textwhite);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero--btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Critical Product Grid */
.section--2 {
    padding: 80px 0;
}

.product--row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product--item {
    background: var(--whitebg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product--item:hover {
    transform: translateY(-5px);
}

.product--item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Loading States */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .title {
        font-size: 2rem;
    }
    
    .hero--container {
        flex-direction: column;
        text-align: center;
    }
    
    .product--row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    padding: 0 15px;
}

@media (max-width: 992px) {
    .col-lg-6 {
        flex: 0 0 100%;
    }
}
