/* General Body Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #000;
}

.header-icons a {
    color: #555;
    font-size: 18px;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-icons a:hover {
    color: #000;
}

/* Hero Section */
.hero-section {
    background: url('https://image.pollinations.ai/prompt/stylish%20man%20in%20a%20premium%20blazer%20standing%20in%20a%20modern%20colombo%20cityscape%20at%20sunrise,%20cinematic%20shot,%20fashion%20magazine%20cover') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Main Content Layout */
.main-content {
    display: flex;
    padding: 40px 0;
}

/* Sidebar Filters */
.sidebar {
    flex: 0 0 250px;
    margin-right: 40px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.filter-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-group ul li {
    margin-bottom: 10px;
}

.filter-group ul li label {
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.filter-group ul li input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: #000; /* Checkbox color */
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.size-btn:hover, .size-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 10px;
}

.color-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.color-box.active, .color-box:hover {
    border-color: #000;
}

.color-box.black { background-color: #000; }
.color-box.navy { background-color: #0a2d48; }
.color-box.grey { background-color: #808080; }
.color-box.maroon { background-color: #800000; }
.color-box.beige { background-color: #f5f5dc; }


.btn-clear-filters {
    background-color: #eee;
    color: #555;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn-clear-filters:hover {
    background-color: #ddd;
}

/* Product Grid */
.product-grid {
    flex: 1;
}

.product-grid h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.product-info .price {
    font-size: 17px;
    color: #555;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-add-cart {
    background-color: #000;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-add-cart:hover {
    background-color: #333;
}

/* Footer */
.main-footer {
    background-color: #000;
    color: #f8f8f8;
    padding: 50px 0 20px;
    font-size: 15px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p, .footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section p i {
    margin-right: 10px;
    color: #ccc;
}

.footer-section.social a {
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-section.social a:hover {
    color: #ddd;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .main-nav {
        display: none; /* Hide navigation on smaller screens for now */
    }

    .header-content {
        justify-content: center;
    }

    .header-icons {
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        margin-right: 0;
        margin-bottom: 30px;
        flex: none;
        width: 100%;
    }

    .product-grid h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Floating Button - Right Center */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 20px;          /* දකුණු පස සිට ඇති දුර */
    top: 80%;             /* තිරයේ ඉහළ සිට 50% ක් පහළට */
    transform: translateY(-50%); /* සිරස්ව හරියටම මැදට ගැනීමට */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    right: 30px;          /* Hover කළ විට ස්වල්පයක් ඇතුළට පැමිණේ */
    transform: translateY(-50%) scale(1.1);
}