/* ============================================
   TELL PROJECTS - WEBSITE ENHANCEMENTS
   Contact Modal, Testimonials, Feedback, Video Hero
   ============================================ */

/* ============================================
   1. CONTACT FORM CONFIRMATION MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.confirmation-modal {
    background: linear-gradient(135deg, #1E1E1E 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 183, 3, 0.3);
}

.modal-overlay.active .confirmation-modal {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FFB703 0%, #ffc933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: bounceIn 0.6s ease-out;
}

.modal-icon i {
    font-size: 50px;
    color: #1E1E1E;
}

.modal-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-close-btn {
    background: linear-gradient(135deg, #FFB703 0%, #ffc933 100%);
    color: #1E1E1E;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.4);
}

/* Success checkmark animation */
@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes checkmark {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

/* ============================================
   2. CUSTOMER TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657l1.414 1.414L13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.343 0L13.857 8.485l1.415 1.414 9.9-9.9h-2.83zM32 0l-3.486 3.485' fill='%23FFB703' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 183, 3, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    color: rgba(255, 183, 3, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FFB703;
    font-size: 18px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFB703;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #1E1E1E;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    color: #888;
}

/* Testimonials slider dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonials-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
    background: #FFB703;
    transform: scale(1.2);
}

/* ============================================
   3. FEEDBACK FORM SECTION
   ============================================ */

.feedback-section {
    background: linear-gradient(135deg, #1E1E1E 0%, #2a2a2a 100%);
    padding: 80px 0;
    position: relative;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255, 183, 3, 0.1) 0%, transparent 70%);
}

.feedback-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.feedback-header {
    text-align: center;
    margin-bottom: 40px;
}

.feedback-header h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.feedback-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-rating {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.feedback-rating .star {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-rating .star:hover,
.feedback-rating .star.active {
    color: #FFB703;
    transform: scale(1.2);
}

.feedback-form .form-group {
    margin-bottom: 20px;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #FFB703;
    background: rgba(255, 183, 3, 0.1);
}

.feedback-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   4. CASE STUDIES SECTION
   ============================================ */

.case-studies-section {
    background: #fff;
    padding: 100px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.case-study-card {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.case-study-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #FFB703;
    color: #1E1E1E;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.case-study-content {
    padding: 30px;
}

.case-study-content h3 {
    font-size: 1.5rem;
    color: #1E1E1E;
    margin-bottom: 15px;
}

.case-study-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-study-stats {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.case-study-stat {
    text-align: center;
}

.case-study-stat .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFB703;
    display: block;
}

.case-study-stat .label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1E1E1E;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-study-link:hover {
    color: #FFB703;
    gap: 15px;
}

/* ============================================
   5. VIDEO HERO BACKGROUND
   ============================================ */

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.85) 0%, rgba(30, 30, 30, 0.7) 100%);
    z-index: 1;
}

/* Video play/pause button */
.video-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-control:hover {
    background: #FFB703;
    border-color: #FFB703;
}

.video-control i {
    color: #fff;
    font-size: 18px;
}

.video-control:hover i {
    color: #1E1E1E;
}

/* ============================================
   6. 360-DEGREE IMAGE VIEWER
   ============================================ */

.viewer-360-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: #1E1E1E;
    cursor: grab;
}

.viewer-360-container:active {
    cursor: grabbing;
}

.viewer-360-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.viewer-360-hint i {
    animation: swipe 2s infinite;
}

@keyframes swipe {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* ============================================
   7. ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFB703;
    color: #1E1E1E;
    padding: 15px 30px;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    z-index: 100001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus indicators for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #FFB703;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-default,
    .btn-nav {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   8. RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .feedback-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-modal {
        padding: 40px 25px;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .testimonials-section,
    .case-studies-section {
        padding: 60px 0;
    }

    .feedback-rating .star {
        font-size: 30px;
    }

    .case-study-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .case-study-stat {
        flex: 1 1 40%;
    }

    .viewer-360-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .modal-icon {
        width: 80px;
        height: 80px;
    }

    .modal-icon i {
        font-size: 40px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}
