/* 
HOMEPAGE CSS - MOBILE FIRST DESIGN
To edit colors: Change the color values in the :root section below
To edit fonts: Change the font-family values
To edit spacing: Modify padding and margin values
*/

:root {
    /* COLORS - Edit these to change the site's color scheme */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #faf7f7;
}

/* RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #d3d3d3;
}

/* HEADER STYLES - Removed for minimal design */

/* NAVIGATION STYLES - Now handled by navbar.css component */

/* MAIN CONTENT */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.main > p {
    margin-bottom: 10px;
}

/* HERO SECTION */
.hero {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image {
    /* To change hero image: Replace src in HTML file */
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--light-bg);
    /* Placeholder styling - remove when real image is added */
    border: 2px dashed var(--border-color);
}

.hero-text {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

.hero-text h2 {
    /* To change hero title size: Modify font-size below */
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ABOUT SECTION */
.about {
    padding: 0.8rem;
    margin-bottom: 1rem;
}

/* About section uses category-card styling, but we can add specific overrides if needed */

.about .category-info p {
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}

.about .category-info ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.about .category-info li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text-color);
}

.about .category-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.about .category-info a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* CATEGORIES SECTION */
.categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title {
    /* To change section title size: Modify font-size below */
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
}

/* CATEGORY CARDS */
.category-card {
    display: flex;
    flex-direction: column;
    background-color: #f0f8ff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.category-image {
    /* To change category images: Replace src in HTML file */
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--light-bg);
    /* Placeholder styling - remove when real images are added */
    border-bottom: 2px dashed var(--border-color);
}

.category-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-info h3 {
    /* To change product category title size: Modify font-size below */
    font-size: 1.2rem;
    color: var(--primary-color);
}

.price-range {
    /* To change price text styling: Modify properties below */
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1rem;
}

.read-more-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    display: inline-block;
}

.read-more-btn:hover {
    background-color: var(--primary-color);
}



.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* SERVICES SECTION */
.services-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color:#f0f8ff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.services-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.services-text {
    flex: 1;
    min-width: 250px;
}

.services-text p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1rem;
}

.services-text p:last-child {
    margin-bottom: 0;
}

.services-image {
    flex-shrink: 0;
}

.service-image {
    width: 112px;
    height: 112px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.footer {
    background-color: var(--light-bg);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* MOBILE STYLES (up to 768px) - Navigation styles now in navbar.css */
@media (max-width: 768px) {
    
    .company-logo {
        width: 60px;
        height: 60px;
    }
    
    .services-content {
        flex-direction: column;
        text-align: center;
    }
    
    .service-image {
        width: 84px;
        height: 84px;
    }
}

/* TABLET STYLES (768px and up) - Navigation styles now in navbar.css */
@media (min-width: 768px) {
    .hero-image {
        height: 300px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .category-card {
        flex-direction: row;
        align-items: stretch;
    }
    
    .category-image {
        width: 300px;
        height: auto;
        min-height: 200px;
    }
    
    .category-info {
        flex: 1;
        justify-content: space-between;
    }
}

/* DESKTOP STYLES (1024px and up) - Navigation styles now in navbar.css */
@media (min-width: 1024px) {
    .main {
        padding: 2rem;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .categories {
        gap: 2rem;
    }
    
    .category-image {
        width: 350px;
    }
}
