/* MyMjeshter.com - Main Stylesheet */

:root {
    --primary-purple: #612d91;
    --accent-orange: #fa9d00;
    --text-on-purple: #fff;
    /* Improved contrast */
    --light-bg: #f8f9fa;
    --dark-text: #333333;
    --gradient-purple: linear-gradient(135deg, #612d91 0%, #7a3db0 100%);
    --gradient-orange: linear-gradient(135deg, #fa9d00 0%, #ffb700 100%);
}

body {
    font-family: 'Segoe UI', Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

/* Global Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Color Utilities */
.bg-purple {
    background: var(--primary-purple) !important;
    background: linear-gradient(90deg, #8247b5 0%, #612d91 35%, #612d91 65%, #8247b5 100%) !important;
    color: var(--text-on-purple);
}

.text-purple {
    color: var(--primary-purple) !important;
}

.text-orange {
    color: var(--accent-orange) !important;
}

/* Enhanced Buttons */
.btn-primary-custom {
    background: linear-gradient(90deg, #8247b5 0%, #612d91 35%, #612d91 65%, #8247b5 100%);
    background-size: 200% auto;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(97, 45, 145, 0.2);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(97, 45, 145, 0.3);
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--primary-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(97, 45, 145, 0.2);
}

.btn-warning {
    background: var(--gradient-orange);
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(250, 157, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(250, 157, 0, 0.3);
    filter: brightness(1.1);
}

/* Navbar */
.navbar-custom {
    background: linear-gradient(90deg, #8247b5 0%, #612d91 35%, #612d91 65%, #8247b5 100%);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    /* Ensure visual height on mobile */
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #8247b5 0%, #612d91 35%, #612d91 65%, #8247b5 100%);
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-orange) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange) !important;
}

/* Cards & Hover Effects */
.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Hero Animation */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-animate {
    background: linear-gradient(-45deg, #612d91, #7a3db0, #612d91, #542280);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Profile Grid (Instagram-like) */
.profile-header {
    background-color: #fff;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-purple);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.stat-number {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-purple);
}

.gallery-item {
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .profile-header {
        text-align: center;
        padding: 2rem 0;
    }

    .profile-img {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-orange);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(250, 157, 0, 0.8);
}

/* Responsive Typography & Spacing */
@media (max-width: 768px) {
    h1.display-4 {
        font-size: 2.5rem;
    }

    .hero-animate {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Profile Mobile Fixes */
    .profile-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    /* Better button sizing on mobile */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    /* Adjust Gallery Spacing */
    .gallery-item {
        margin-bottom: 15px;
    }

    /* Admin Sidebar Mobile Toggle */
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(97, 45, 145, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .cookie-banner {
        bottom: 30px;
        left: 30px;
        /* Don't stretch across the whole screen on desktop, keep it floating */
        right: auto;
        min-width: 500px;
    }
}

/* Footer & Utility Classes */
.hover-orange:hover {
    color: var(--accent-orange) !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.ls-1 {
    letter-spacing: 1px;
}

.x-small {
    font-size: 0.75rem;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.transition-transform {
    transition: transform 0.3s ease;
}

.bg-dark-purple {
    background-color: #4a216d !important;
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse-orange {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 157, 0, 0.7);
        /* Orange */
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(250, 157, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 157, 0, 0);
    }
}

.btn-pulse {
    animation: pulse-orange 2s infinite;
    position: relative;
    z-index: 1;
}

.bg-light-purple {
    background-color: #f8f0fc !important;
    border: 1px solid #e9d8f5;
}
/* =========================================
   Legacy Content Support (Migrated Pages)
   ========================================= */

.clienthomecontent {
    padding: 120px 0 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.clienthomecontent .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.container-fluid-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.container-fluid-right {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.mmwelcomelogo {
    height: 60px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.mmwelcomelogo:hover {
    transform: scale(1.05);
}

.container-fluidH1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 10px;
    line-height: 1.2;
}

.container-fluidH2 {
    font-size: 1.5rem;
    color: #666;
    font-weight: 500;
}

.container-fluid-right-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.container-fluid-right-img:hover {
    transform: translateY(-5px);
}

/* Marketing Section */
.marketing {
    background: var(--primary-purple);
    padding: 40px 0;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

.marketing:hover {
    background: #542280;
}

.marketing-h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

/* Info Section */
.service-info {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.info-box h2, .infotextmjeshter h2 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.infoList {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.infoList::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-orange);
    position: absolute;
    left: 0;
    top: 2px;
}

.redirect-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto;
    background: var(--accent-orange);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.redirect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(250, 157, 0, 0.3);
    background: #ffb700;
}

@media (max-width: 768px) {
    .clienthomecontent .container-fluid {
        flex-direction: column-reverse;
        text-align: center;
    }
    .container-fluid-left {
        text-align: center;
    }
}

