/* Hero Columns Styling */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-columns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

.column {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: flex 0.7s ease, filter 0.7s ease, transform 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.column:hover {
    transform: scale(1.02);
    z-index: 3;
}

.column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
    transition: all 0.5s ease;
}

.column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 123, 255, 0.2), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.column.active {
    flex: 1.8;
}

.column.active::after {
    opacity: 0.2;
}

.column.active::before {
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Column Animation */
@keyframes columnPulse {
    0% { flex: 1; }
    50% { flex: 1.5; }
    100% { flex: 1; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .column.active {
        flex: 1.5;
    }
    
    .hero-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-columns {
        opacity: 0.8;
    }
    
    .column {
        flex: 1;
    }
    
    .column.active {
        flex: 1.2;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-content {
        padding: 15px;
        width: 90%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-columns {
        display: none;
    }
    
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/design1.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .hero-content {
        width: 95%;
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
}
