/* =====================================================
   Additional Styles - Mobile Nav, Notifications, etc.
   ===================================================== */

/* =====================================================
   Mobile Navigation Overlay
   ===================================================== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.mobile-nav-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--white);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.mobile-nav-close:hover {
    background: var(--white);
    color: var(--dark);
}

.mobile-menu {
    margin-bottom: 2rem;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    display: inline-block;
    padding: 10px 20px;
    transition: var(--transition-normal);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--secondary);
}

.mobile-nav-contact {
    margin-bottom: 2rem;
}

.mobile-nav-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.mobile-nav-contact a:hover {
    color: var(--white);
}

.mobile-nav-contact i {
    margin-right: 10px;
    color: var(--secondary);
}

/* =====================================================
   Notifications
   ===================================================== */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    max-width: 400px;
    padding: 20px 50px 20px 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateX(120%);
    transition: var(--transition-normal);
}

.notification.show {
    transform: translateX(0);
}

.notification p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--dark);
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-error {
    border-left: 4px solid var(--danger);
}

.notification-warning {
    border-left: 4px solid var(--warning);
}

.notification-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
}

.notification-close:hover {
    color: var(--dark);
}

/* =====================================================
   Form Error States
   ===================================================== */
.form-control.error {
    border-color: var(--danger);
    background-color: rgba(220, 53, 69, 0.05);
}

.form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-error-message {
    color: var(--danger);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

/* =====================================================
   Loading Spinner
   ===================================================== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

/* =====================================================
   Image Placeholder
   ===================================================== */
.img-placeholder {
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 3rem;
}

/* =====================================================
   Project Card Transitions
   ===================================================== */
.project-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* =====================================================
   Slider Dots
   ===================================================== */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot:hover,
.slider-dot.active {
    background: var(--primary);
}

/* =====================================================
   Slider Navigation Arrows
   ===================================================== */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    color: var(--dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* =====================================================
   Team Member Cards
   ===================================================== */
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-normal);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--primary);
    font-size: 0.875rem;
    margin: 0;
}

/* =====================================================
   FAQ Accordion
   ===================================================== */
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--gray-600);
}

/* =====================================================
   Responsive Adjustments
   ===================================================== */
@media (max-width: 768px) {
    .notification {
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .slider-nav {
        display: none;
    }
}
