* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
}

.logo p {
    font-size: 0.7rem;
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 100px 0 60px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* About Section */
.about {
    background: white;
}

.about p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature .icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.8rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

/* Products Section */
.products {
    background: #f8f9fa;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar input,
.search-bar select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    flex: 1;
}

.search-bar input:focus,
.search-bar select:focus {
    outline: none;
    border-color: #3498db;
}

.search-bar select {
    flex: 0 0 200px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
}

.product-card {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.product-card.hidden {
    display: none;
}

.product-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.product-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.2;
    min-height: 2rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
    padding-top: 0.3rem;
    border-top: 1px solid #eee;
}

.product-card p strong {
    color: #3498db;
    font-weight: 600;
}

/* Category badges */
.product-card::before {
    content: attr(data-category);
    position: absolute;
    top: 5px;
    right: 5px;
    background: #3498db;
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.9;
}

.product-card[data-category="mop"]::before {
    background: #e74c3c;
}

.product-card[data-category="cop"]::before {
    background: #f39c12;
}

.product-card[data-category="firc"]::before {
    background: #27ae60;
}

.product-card[data-category="sap"]::before {
    background: #8e44ad;
}

.product-card[data-category="aparat"]::before {
    background: #34495e;
}

.product-card[data-category="araba"]::before {
    background: #16a085;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 0;
}

.contact-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item i {
    margin-right: 0.5rem;
    color: #3498db;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.contact-form button {
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #2980b9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav ul li {
        margin: 0;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .features,
    .product-grid {
        grid-template-columns: 1fr;
    }
}