/**
 * Polaroid Slider Styles
 * 
 * This file contains styles for the polaroid effect on the homepage slider.
 */

/* Polaroid Slider Styles */
.banner-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

/* Polaroid Container */
.polaroid-container {
    margin-bottom: 2rem;
    perspective: 1000px;
    margin-left: auto;
}

/* Polaroid */
.polaroid {
    position: relative;
    width: 400px;
    height: 485px;
    background: white;
    padding: 20px;
    transform: rotate(4deg);
    box-shadow: 5px 5px 10px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-right: 100px;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 8px 8px 15px 6px rgba(0, 0, 0, 0.3);
}

/* Polaroid Image */
.polaroid-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeIn 10s ease-in-out forwards;
}

/* Polaroid Frame */
.polaroid-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/04/polaroid-frame.png');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

/* Banner Text Content */
.banner-text-content {
    flex: 1;
    padding-right: 40px;
    position: relative;
    text-align: right;
    transform: translateY(-10px);
    width: 60%;
    margin-right: -100px;
    z-index: 2;
    display: flex;
    flex-flow: column;
    align-items: flex-end;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-dark);
    background-color: #0CB1E1;
    display: inline-block;
    padding: 1.5rem;
    transform: rotate(-1deg);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.banner-subtitle {
    display: inline-block;
    background-color: #0B3367;
    color: white;
    padding: 1.5rem 2rem;
    margin: -1.75rem 1rem;
    font-size: 1.5rem;
    line-height: 1.4;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transform: rotate(-1deg);
}

.banner-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 50px 90px 0 25px;
    color: var(--color-dark-blue);
    max-width: 600px;
    text-align: left;
}

.banner-excerpt {
    display: inline-block;
    background-color: #0B3367;
    color: white;
    padding: 1.5rem 2rem;
    margin: -1rem 1rem;
    font-size: 1.5rem;
    line-height: 1.4;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.banner-read-more {
    margin-top: 2rem;
}

.banner-read-more.btn {
    background-color: #0B3367;
    color: white;
}

.banner-read-more.btn:hover {
    background-color: #0CB1E1;
    color: white;
}

/* Fade In Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        filter: brightness(1.5) contrast(0.8) saturate(0.5);
    }
    100% {
        opacity: 1;
        filter: brightness(1) contrast(1) saturate(1);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .polaroid {
        width: 350px;
        height: 425px;
    }
    
    .banner-title {
        font-size: 4rem;
    }
    
    .banner-excerpt {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 992px) {
    .banner-content-wrapper {
    }
    
    .banner-text-content {
  
    }
    
    .polaroid {
        width: 320px;
        height: 390px;
    }
}

@media screen and (max-width: 768px) {
    .polaroid {
        width: 300px;
        height: 365px;
    }
}

@media screen and (max-width: 480px) {
    .polaroid {
        width: 280px;
        height: 340px;
    }
} 