/* ==========================================================================
   3L Digital - Custom Styles
   ========================================================================== */

/* Text Logo Styling */
.logo-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text .logo-accent {
    font-weight: 600;
    opacity: 0.9;
}

/* Scrolled navbar logo */
.navbar.headroom--not-top .logo-text {
    color: #333;
}

.navbar.headroom--not-top .logo-text .logo-accent {
    color: #7c3aed;
}

/* Portfolio Coming Soon Card */
.portfolio-coming-soon {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-coming-soon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Form Improvements */
.form-control:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15);
}

/* Floating Label Fix */
.has-floating-label {
    position: relative;
}

.has-floating-label .control-label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    pointer-events: none;
    color: #6c757d;
    font-size: 1rem;
}

.has-floating-label textarea ~ .control-label {
    top: 1rem;
    transform: translateY(0);
}

/* Float label up on focus or when input has value */
.has-floating-label .form-control:focus ~ .control-label,
.has-floating-label .form-control:not(:placeholder-shown) ~ .control-label,
.has-floating-label .form-control.has-value ~ .control-label {
    top: -0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: #7c3aed;
    background: #fff;
    padding: 0 4px;
}

/* Textarea floating label adjustment */
.has-floating-label textarea:focus ~ .control-label,
.has-floating-label textarea:not(:placeholder-shown) ~ .control-label {
    top: -0.5rem;
    background: #fff;
}

/* Service Icons */
.icon-block .block-icon i {
    transition: transform 0.3s ease;
}

.icon-block:hover .block-icon i {
    transform: scale(1.1);
}

/* Feature Cards Hover */
.feature--boxed-border {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature--boxed-border:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Footer Links Hover */
.footer-links a {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    padding-left: 5px;
}

/* Button Enhancements */
.btn-base-1,
.btn-white {
    transition: all 0.3s ease;
}

.btn-base-1:hover,
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .heading-xl {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .heading-xl {
        font-size: 2rem;
    }

    .portfolio-coming-soon {
        padding: 2rem 1.5rem;
    }
}

/* Language Switcher */
.nav-item.dropdown .dropdown-menu-right {
    min-width: 120px;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Card Image Background Fix */
.card-img-bg {
    background-size: cover;
    background-position: center;
}
