/* Custom CSS for Alyans Deluxe */

/* Gallery Grid Fix */
.wpo-portfolio-section .col-lg-4,
.wpo-portfolio-section .col-md-6 {
    margin-bottom: 30px;
}

.wpo-portfolio-item {
    margin-bottom: 0;
}

.wpo-portfolio-item .wpo-portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wpo-portfolio-item .wpo-portfolio-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.wpo-portfolio-item .wpo-portfolio-img:hover img {
    transform: scale(1.05);
}

/* Responsive spacing */
@media (max-width: 767px) {
    .wpo-portfolio-section .col-lg-4,
    .wpo-portfolio-section .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Fancybox - Hide top buttons */
.fancybox-close,
.fancybox-title,
.fancybox-nav span {
    display: none !important;
}

/* Show only our custom arrows */
.custom-nav {
    display: flex !important;
}

/* Fancybox v2 Navigation Arrows - FORCE VISIBLE */
.fancybox-nav {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
}

.fancybox-nav:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.fancybox-nav span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.fancybox-prev {
    left: 20px !important;
    display: block !important;
}

.fancybox-next {
    right: 20px !important;
    display: block !important;
}

.fancybox-prev span {
    background-image: none !important;
}

.fancybox-next span {
    background-image: none !important;
}

.fancybox-prev span:before {
    content: '‹' !important;
    font-size: 60px !important;
    color: #fff !important;
    line-height: 60px !important;
    display: block !important;
    text-align: center !important;
}

.fancybox-next span:before {
    content: '›' !important;
    font-size: 60px !important;
    color: #fff !important;
    line-height: 60px !important;
    display: block !important;
    text-align: center !important;
}

/* Hero Slider Height Fix */
.wpo-hero-section-s2 {
    min-height: 85vh; /* 85% viewport height */
}

.wpo-hero-section-s2 .wpo-hero-item {
    min-height: 85vh;
}

.wpo-hero-section-s2 .wpo-hero-img {
    height: 85vh;
    width: 100%;
    position: relative;
}

.wpo-hero-section-s2 .wpo-hero-img img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    object-position: center;
}

/* Hero Middle Text Positioning */
.wpo-hero-section-s2 .hero-middle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
}

.wpo-hero-section-s2 .hero-middle-text h2 {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin: 0;
    padding: 0;
}

/* Hero Shape Bottom */
.wpo-hero-section-s2 .hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 5;
}

/* Owl Carousel Height Fix */
.wpo-hero-section-s2 .owl-carousel,
.wpo-hero-section-s2 .owl-stage-outer,
.wpo-hero-section-s2 .owl-stage,
.wpo-hero-section-s2 .owl-item {
    height: 85vh;
}

/* Responsive */
@media (max-width: 991px) {
    .wpo-hero-section-s2 {
        min-height: 65vh;
    }

    .wpo-hero-section-s2 .wpo-hero-item,
    .wpo-hero-section-s2 .wpo-hero-img,
    .wpo-hero-section-s2 .wpo-hero-img img,
    .wpo-hero-section-s2 .owl-carousel,
    .wpo-hero-section-s2 .owl-stage-outer,
    .wpo-hero-section-s2 .owl-stage,
    .wpo-hero-section-s2 .owl-item {
        height: 65vh;
    }

    .wpo-hero-section-s2 .hero-middle-text h2 {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .wpo-hero-section-s2 {
        min-height: 55vh;
    }

    .wpo-hero-section-s2 .wpo-hero-item,
    .wpo-hero-section-s2 .wpo-hero-img,
    .wpo-hero-section-s2 .wpo-hero-img img,
    .wpo-hero-section-s2 .owl-carousel,
    .wpo-hero-section-s2 .owl-stage-outer,
    .wpo-hero-section-s2 .owl-stage,
    .wpo-hero-section-s2 .owl-item {
        height: 55vh;
    }

    .wpo-hero-section-s2 .hero-middle-text h2 {
        font-size: 36px;
    }
}

/* Contact Page - Equal Height Cards */
.office-info-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.office-info-item .office-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.office-info .row {
    display: flex;
    flex-wrap: wrap;
}

.office-info .row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    line-height: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float i {
    line-height: 50px;
}

/* Responsive */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 22px;
        line-height: 45px;
    }

    .whatsapp-float i {
        line-height: 45px;
    }
}

/* CTA Section - Light Text Colors */
.wpo-cta-section .wpo-cta-text h2 {
    color: #fff !important;
}

.wpo-cta-section .wpo-cta-text p {
    color: rgba(255, 255, 255, 0.9) !important;
}

