/*-----------------------------------------------------------------------------------
	
	Theme Name: Ritzip
	Theme URI: http://ritzip.grosca.beget.tech/
	Description: Premium WordPress Theme for Ritzip
	Author: Roșca Grigore
	Author URI: https://marketing.md
	Version: 999.0
	Tags: ritzip,
	Text Domain: grosca
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	
-----------------------------------------------------------------------------------*/

/* Customer Styles */

/* Footer Social */
@media (max-width: 768px){
  .footer .footer-body .first-column {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer .footer-body .first-column .logo {
    width: 100%;
	text-align: center;
  }

  .footer .footer-body .first-column .footer-social {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* Video Modals */
.video-widget-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.video-widget-container .video-col {
    flex: 1;
    cursor: pointer;
	border-radius: 16px;
}

.video-widget-container .video-col img {
    width: 100%;
    height: auto;
    display: block;
	border-radius: 16px;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 900px;
}

.video-modal-close {
    position: absolute;
    top: -35px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.video-modal iframe {
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .video-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
	
    .video-modal-close {
        top: 10px;
        right: 10px;
        z-index: 10000;
    }
	
    #videoContainer {
        width: 100%;
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
    }
	
    .video-modal iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.video-col {
    position: relative;
    overflow: hidden;
}

.video-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    transition: background 0.3s ease;
}

.video-col:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.video-col::after {
    content: '';
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #ff0000;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease;
}

.video-col:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Play icon triangle */
.video-col .play-icon {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 25px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
	.video-col::after {
		width: 40px;
		height: 40px;
	}
	
	.video-col .play-icon {
		border-left: 13px solid #fff;
		border-top: 8px solid transparent;
		border-bottom: 8px solid transparent;
	}
}