/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: all;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color 0.3s ease;
}

.dot.active::after {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    width: 0%;
    transition: width 0.1s linear;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(100px);
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide.prev {
    transform: translateX(-100px);
}

/* Dynamic Backgrounds */
.hero-slide[data-bg="portrait"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slide[data-bg="realestate"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-slide[data-bg="corporate"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-slide[data-bg="commercial"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.hero-slide[data-bg="event"] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.hero-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-icon {
    font-size: 12rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite, fadeInScale 1s ease 1s both;
}

/* Icon Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Update hero section to remove background */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: white;
    display: block !important;
    align-items: unset !important;
    background: none !important;
    padding: 0 !important;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .hero-slide {
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .slider-nav {
        padding: 0 1rem;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .slider-dots {
        bottom: 2rem;
        gap: 0.8rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-icon {
        font-size: 8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-category {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        flex: none;
    }
    
    .hero-icon {
        font-size: 6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

/* Photo Showcase Styles - Tight Cluster Layout */
.photo-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-photo {
    position: absolute;
    width: 280px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 3;
    transform: rotate(-12deg);
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -100px;
}

.main-photo:hover {
    transform: rotate(-8deg) scale(1.05);
    z-index: 6;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-photo:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-photo:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 1.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-photos {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 250px;
}

.small-photo {
    position: absolute;
    width: 180px;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.small-photo:nth-child(1) {
    top: -40px;
    right: -20px;
    transform: rotate(8deg);
    z-index: 4;
    animation: float 4s ease-in-out infinite;
}

.small-photo:nth-child(2) {
    bottom: -50px;
    right: 40px;
    transform: rotate(-15deg);
    z-index: 2;
    animation: float 4s ease-in-out infinite 2s;
}

.small-photo:hover {
    transform: rotate(0deg) scale(1.1) !important;
    z-index: 7;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.small-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.small-photo:hover img {
    transform: scale(1.15);
}

.main-photo:hover {
    transform: rotate(0deg) scale(1.05);
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-photo:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-photo:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-photos {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.small-photo {
    width: 110px;
    height: 110px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.small-photo:nth-child(1) {
    transform: rotate(10deg);
    animation: float 4s ease-in-out infinite;
}

.small-photo:nth-child(2) {
    transform: rotate(-8deg);
    animation: float 4s ease-in-out infinite 2s;
}

.small-photo:hover {
    transform: rotate(0deg) scale(1.1);
    z-index: 4;
}

.small-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.small-photo:hover img {
    transform: scale(1.2);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: floatSlow 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

/* Specific showcase styles */
.portrait-showcase .main-photo {
    border: 4px solid rgba(103, 126, 234, 0.3);
}

.realestate-showcase .main-photo {
    border: 4px solid rgba(240, 147, 251, 0.3);
}

.corporate-showcase .main-photo {
    border: 4px solid rgba(79, 172, 254, 0.3);
}

.commercial-showcase .main-photo {
    border: 4px solid rgba(67, 233, 123, 0.3);
}

.event-showcase .main-photo {
    border: 4px solid rgba(250, 112, 154, 0.3);
}

/* Enhanced animations */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-30px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Responsive adjustments for photo showcases */
@media (max-width: 768px) {
    .photo-showcase {
        height: 350px;
        transform: scale(0.8);
    }
    
    .main-photo {
        width: 220px;
        height: 160px;
        margin-left: -110px;
        margin-top: -80px;
    }
    
    .secondary-photos {
        width: 240px;
        height: 200px;
    }
    
    .small-photo {
        width: 140px;
        height: 105px;
    }
    
    .small-photo:nth-child(1) {
        top: -30px;
        right: -15px;
    }
    
    .small-photo:nth-child(2) {
        bottom: -40px;
        right: 30px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .photo-showcase {
        height: 280px;
        transform: scale(0.65);
    }
    
    .main-photo {
        width: 200px;
        height: 140px;
        margin-left: -100px;
        margin-top: -70px;
    }
    
    .secondary-photos {
        width: 200px;
        height: 160px;
    }
    
    .small-photo {
        width: 120px;
        height: 90px;
    }
    
    .small-photo:nth-child(1) {
        top: -25px;
        right: -10px;
    }
    
    .small-photo:nth-child(2) {
        bottom: -35px;
        right: 25px;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Photo loading animation */
.main-photo img,
.small-photo img {
    opacity: 0;
    animation: fadeInImage 1s ease 0.5s both;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stagger animation for secondary photos */
.small-photo:nth-child(1) img {
    animation-delay: 0.7s;
}

.small-photo:nth-child(2) img {
    animation-delay: 0.9s;
}

/* Hover effects for the entire showcase */
.photo-showcase:hover .main-photo {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.photo-showcase:hover .small-photo {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.photo-showcase:hover .floating-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}