/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

/*.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}*/

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 var(--spacing-md);
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
    
    animation-delay: 0.2s;
    font-weight: 100;
}

.hero-content p {
    font-size: 1.2rem;
    
    animation-delay: 0.4s;
}

.hero-content .btn {
    margin-bottom: var(--spacing-lg);
    animation-delay: 0.6s;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--spacing-xl) 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
}

/* ===== PORTFOLIO PREVIEW SECTION ===== */
.portfolio-preview {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light);
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.category {
    text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.category-image {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-image img {
    width: 100%;
    transition: transform var(--transition-medium);
}

.category:hover .category-image img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.category:hover .overlay {
    opacity: 1;
}

.category-content {
    display: flex;
  flex-direction: column;
  align-items: center;

}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-size: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.category h3 {
    margin-bottom: var(--spacing-xs);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {

}

@media (max-width: 768px) {
   .about-content {
        flex-direction: column-reverse;
        }

.categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}        

.category {
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

.category-image {
    flex: 1;
}
.category-content {
    align-items: start;
    padding-left: 20px;
    flex: 1;
    text-align: left;
}
}

@media (max-width: 576px) {

}