/* 
   Main Stylesheet for LILIAN KINYEMI ABC CO. LTD
   Colors: Yellow (#F3BA38), Green (#8e5025), Red (#FF0000)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #8e5025;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F3BA38;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #8e5025;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #F3BA38;
    color: #333333;
}

.btn-secondary {
    background-color: #F3BA38;
    color: #333333;
}

.btn-secondary:hover {
    background-color: #FF0000; /* Red */
    color: #FFFFFF;
}

.btn-link {
    color: #8e5025;
    text-decoration: underline;
    padding: 0;
    background: transparent;
    font-weight: 600;
}

.btn-link:hover {
    color: #F3BA38;
}

/* Top Bar */
.top-bar {
    background-color: #8e5025;
    color: #FFFFFF;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: #F3BA38;
}

/* Social Links */
.social-links {
    display: flex;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #F3BA38;
    color: #333333;
}

/* Header */
.site-header {
    padding: 20px 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    color: #333333;
}

.logo-img {
    max-height: 100px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #8e5025;
}

.tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    margin: 0;
}

/* Navigation */
.main-nav .nav-menu {
    display: flex;
    list-style: none;
}

.main-nav .nav-menu li {
    margin-left: 30px;
    position: relative;
}

.main-nav .nav-menu li a {
    color: #333333;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.main-nav .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F3BA38;
    transition: width 0.3s ease;
}

.main-nav .nav-menu li a:hover::after,
.main-nav .nav-menu li.active a::after {
    width: 100%;
}

.main-nav .nav-menu li.active a {
    color: #8e5025;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/backgrounds/header-bg.png') center/cover no-repeat;
    color: #FFFFFF;
    padding: 300px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    color: #8e5025;
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #F3BA38;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 40%;
}

.about-text {
    flex: 0 0 55%;
}

.about-text h3 {
    color: #8e5025;
    margin-bottom: 15px;
}

.core-values {
    margin-top: 30px;
}

.value-item {
    margin-bottom: 15px;
}

.value-item h4 {
    color: #8e5025;
    margin-bottom: 5px;
}

/* Products Section */
.products-section {
    background-color: #FFFFFF;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #F3BA38;
    color: #333333;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-details {
    padding: 20px;
}

.product-title {
    margin-bottom: 10px;
}

.product-description {
    margin-bottom: 15px;
    color: #666;
}

.product-sizes {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 0 0 40%;
}

.contact-info h3 {
    color: #8e5025;
    margin-bottom: 20px;
}

.contact-info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info-item i {
    margin-right: 10px;
    color: #F3BA38;
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-form {
    flex: 0 0 55%;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.widget h3 {
    color: #F3BA38;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget p {
    color: #aaa;
}

.widget ul {
    list-style: none;
}

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

.widget ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #F3BA38;
}

.contact-widget address {
    font-style: normal;
    color: #aaa;
}

.contact-widget address p {
    margin-bottom: 10px;
}

.contact-widget address i {
    margin-right: 10px;
    color: #F3BA38;
}

.contact-widget address a {
    color: #aaa;
}

.contact-widget address a:hover {
    color: #F3BA38;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: none;
    }
    
    .main-nav .nav-menu.active {
        display: flex;
    }
    
    .main-nav .nav-menu li {
        margin: 10px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .copyright {
        margin-bottom: 15px;
    }
}