/* blog.css - Styles specific to the Blog page */

/* Blog Products Section */
.blog-products {
    padding: 8rem 0 3rem;
}

.products-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    flex: 1;
    background-color: #D9D9D9;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.product-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-image img {
    max-width: 70%;
    margin: 0 auto;
    border-radius: 5px;
}

.product-description {
    text-align: center;
}

.product-description h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Skincare Routine Section */
.skincare-routine {
    padding: 4rem 0;
}

.routine-image {
    margin-bottom: 4rem;
    text-align: center;
}

.routine-image img {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.routine-steps {
    background-color: #D9D9D9;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.steps-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.steps-image {
    max-width: 40%;
}

/* Media Queries */
@media (max-width: 992px) {
    .product-description h3 {
        font-size: 1.2rem;
    }
    
    .product-description p {
        font-size: 0.9rem;
    }
    
    .steps-title {
        font-size: 1.8rem;
    }
    
    .steps-image {
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-image img {
        max-width: 50%;
    }
    
    .routine-steps {
        padding: 1.5rem;
    }
    
    .steps-image {
        max-width: 70%;
    }
}

@media (max-width: 576px) {
    .product-image img {
        max-width: 60%;
    }
    
    .steps-title {
        font-size: 1.5rem;
    }
    
    .steps-image {
        max-width: 90%;
    }
}

/* search.css - Style untuk fitur pencarian */

/* Updated search styles for the new search-wrapper structure */
.search-wrapper {
    background-color: rgba(248, 249, 250, 0.95);
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 90; /* Lowered from 95 to ensure it's below navbar */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(220, 220, 220, 0.5);
    margin-top: 80px; /* Add space to account for navbar height */
    margin-bottom: 15px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(162, 128, 208, 0.15);
    border-radius: 30px;
    transition: all 0.4s ease;
}

.search-box:hover {
    box-shadow: 0 15px 30px rgba(162, 128, 208, 0.25);
    transform: translateY(-2px);
}

.search-box input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: 1px solid rgba(220, 220, 220, 0.7);
    border-radius: 30px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background-color: white;
}

.search-box input:focus {
    border-color: #4d4c4d;
    box-shadow: 0 0 0 4px rgba(162, 128, 208, 0.1);
}

.search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #454347, #454347);
    border: none;
    border-radius: 30px;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(134, 97, 193, 0.3);
}

.search-button:hover {
    background: linear-gradient(135deg, #8661c1, #6b4da1);
    box-shadow: 0 6px 15px rgba(134, 97, 193, 0.4);
}

.search-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    filter: brightness(1.2);
}

/* Adjust content padding to account for the new search-wrapper */
.blog-products {
    padding-top: 2rem; /* Further reduced top padding since search has its own margin */
}

/* Navbar content layout */
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer styles */
.footer-info .footer-brand {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info .footer-brand:hover {
    color: #a280d0;
}

.footer-links {
    margin-top: 15px;
}

.footer-link {
    display: inline-block;
    margin-right: 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #a280d0;
    text-decoration: underline;
}

.footer-social .social-icon {
    display: inline-block;
    margin-right: 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    color: #a280d0;
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .search-wrapper {
        padding: 15px 0;
    }
    
    .search-box {
        max-width: 90%;
    }
    
    .search-box input {
        padding: 14px 50px 14px 15px;
    }
    
    .search-button span {
        display: none;
    }
    
    .search-button {
        padding: 10px 12px;
    }
    
    .search-icon {
        margin-right: 0;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-link, .social-icon {
        margin-right: 10px;
        font-size: 13px;
    }
}