/* css/index-seller.css */

/* Base Styles */
body {
    font-family: "Poppins", sans-serif;
}

/* Navbar */
.navbar-custom {
    background-color: #a1e66f !important;
}

/* Logo */
.logo-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

/* Profile Icon */
.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1e66f;
    font-weight: bold;
    border: 2px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.profile-dropdown-toggle {
    padding: 5px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.profile-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Profile Dropdown Menu */
.profile-dropdown {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    min-width: 220px;
}

.profile-dropdown .user-info {
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.profile-dropdown .user-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.profile-dropdown .dropdown-item {
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.profile-dropdown .dropdown-item:hover {
    background-color: #a1e66f;
    color: white;
    padding-left: 20px;
}

.profile-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

.profile-dropdown .dropdown-divider {
    margin: 5px 0;
}

/* Hero Image */
.hero-img {
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
}

.social-icons i {
    font-size: 22px;
    margin-right: 12px;
    color: black;
}

.btn-outline-dark {
    padding: 10px 25px;
    border-radius: 10px;
}

.search-bar input {
    border-radius: 30px;
}

/* BEST SELLER GRID CARDS */
.best-seller-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.best-seller-card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-bottom: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.best-seller-card:hover .product-img {
    transform: scale(1.05);
}

.price-circle {
    position: absolute;
    top: 10px;
    right: 20px;
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
}

.best-seller-card h5 {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.best-seller-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #666;
    height: 60px;
    overflow: hidden;
}

/* ABOUT US SECTION */
.about-section {
    background: url("../assets/about-bg.jpg") center/cover no-repeat;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.about-section .content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    color: #333;
}

.about-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section img.logo-circle {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.about-section button {
    background-color: #7cdd53;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about-section button:hover {
    background-color: #a1e66f;
}

/* NAVBAR LINK UNDERLINE HOVER */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* FOOTER STYLES */
footer {
    background-color: #a1e66f;
    color: #000;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons i {
    font-size: 20px;
    margin-right: 12px;
    transition: color 0.3s;
}

footer .social-icons i:hover {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .profile-dropdown-toggle span {
        display: none;
    }
    
    .search-bar {
        width: 100% !important;
        margin: 10px 0;
    }
}

/* Mobile menu adjustments */
.navbar-toggler {
    border: 2px solid white;
    padding: 5px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}