/**
 * ProfiWash Custom Styles
 *
 * Additional styles that complement the main stylesheet
 */

/* ==========================================================================
   Additional Layout Helpers
   ========================================================================== */
.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--black);
}

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

.text-white {
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Section Label
   ========================================================================== */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* ==========================================================================
   Product Subtitle
   ========================================================================== */
.product-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   Hero Scroll Indicator
   ========================================================================== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ==========================================================================
   Lightbox Styles
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 15px;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary);
}

/* ==========================================================================
   Form Messages
   ========================================================================== */
.form-message {
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(57, 185, 114, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.form-message.error {
    background: rgba(232, 28, 46, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.form-message i {
    margin-right: 10px;
}

/* ==========================================================================
   Contact Social
   ========================================================================== */
.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Page Header (for inner pages)
   ========================================================================== */
.page-header {
    background: linear-gradient(rgba(25, 25, 27, 0.8), rgba(25, 25, 27, 0.8)),
                url('../images/page-header-bg.jpg') center/cover no-repeat;
    padding: 150px 0 80px;
    margin-bottom: 0;
}

.page-header .page-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

/* ==========================================================================
   Blog Grid
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content .posted-on {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.blog-card-content .posted-on i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--light-gray);
    color: var(--dark-gray);
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Menu Toggle Animation
   ========================================================================== */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Body Menu Open State
   ========================================================================== */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Social Links (general)
   ========================================================================== */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Archive Pages
   ========================================================================== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ==========================================================================
   Single Post/Page
   ========================================================================== */
.single-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-content img {
    border-radius: 10px;
    margin: 30px 0;
}

.single-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.single-featured-image img {
    width: 100%;
    margin: 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header .page-title {
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}
