/**
 * Despre Page Styles
 * Specific styles for the Despre Noi page template
 * 
 * @package ServiciiAuto
 */

/* ========================================
   DESPRE MAIN SECTION
   ======================================== */
.despre-main-section {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1654 50%, #1f0f3a 100%);
    padding: 3rem 2rem !important;
}

.despre-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.despre-main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-top: 10rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    line-height: 1.3;
}

.despre-reasons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.reason-item {
    background: rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 2rem 1.5rem 0.8rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.reason-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 10, 46, 0);
    border-radius: 15px;
    z-index: 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.reason-item:hover::before {
    background: rgba(26, 10, 46, 0.6);
    backdrop-filter: blur(3px);
}

.reason-item > * {
    position: relative;
    z-index: 1;
}

.reason-item:hover {
    border-color: rgba(255, 69, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
}

.reason-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.reason-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4)) drop-shadow(0 3px 12px rgba(0, 0, 0, 1)) drop-shadow(0 0 25px rgba(0, 0, 0, 0.9));
    flex-shrink: 0;
}

.reason-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0;
    line-height: 1.3;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 1), 0 0 25px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.7);
}

.reason-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #e0e0e0;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.reason-item:hover .reason-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.8rem;
}

.despre-footer-text {
    margin: 2.5rem 0 2rem 0;
}

.footer-brand {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ff4500;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

/* ========================================
   NON-STOP SECTION
   ======================================== */
.nonstop-section {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1654 50%, #1f0f3a 100%);
    padding: 4rem 2rem !important;
}

.nonstop-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.nonstop-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nonstop-content {
    color: #ffffff;
}

.nonstop-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.nonstop-content p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.contact-link {
    color: #ff4500;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ========================================
   DOTS NAVIGATION
   ======================================== */
.dots-navigation {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.dot-item:hover {
    background: rgba(255, 215, 0, 0.5);
    transform: scale(1.2);
}

.dot-item.active {
    background: #ffd700;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.dot-tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 10, 46, 0.95);
    color: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.dot-item:hover .dot-tooltip {
    opacity: 1;
    visibility: visible;
    right: 30px;
}

/* ========================================
   CAROUSEL SECTION
   ======================================== */
.carousel-section {
    background: linear-gradient(135deg, #0d0520 0%, #1a0a2e 100%);
    padding: 4rem 2rem !important;
    display: flex;
    flex-direction: column;
}

.carousel-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffd700;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 15px;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: calc((100% - 1.6rem) / 2.6);
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ffd700;
}

.carousel-btn {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    color: #ffd700;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .carousel-btn {
        display: none !important;
    }
}

.carousel-btn:hover {
    background: rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .carousel-indicators {
        display: none !important;
    }
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    border: 2px solid #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #ffd700;
    transform: scale(1.3);
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-section {
    background: linear-gradient(135deg, #1a0a2e 0%, #0d0520 100%);
    padding: 4rem 2rem !important;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 4rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
}

.video-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffd700;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.video-wrapper {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 60vh;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 60vh;
    display: block;
    object-fit: contain;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-wrapper video::-webkit-media-controls {
    display: flex !important;
}

.video-wrapper video::-webkit-media-controls-panel {
    display: flex !important;
}

    /* Video section */
    .video-section {
        padding: 2rem 1rem !important;
    }

