/* ========================================
   FOOTER MINIMALIST STYLING
   ======================================== */

/* Remove bottom padding from footer section */
section:has(.footer-wrapper) {
    padding-bottom: 0 !important;
}

/* Footer top content - arrange in 3 rows */
.footer-top-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
}

/* Footer chat text */
.footer-chat-text {
    text-align: left !important;
    margin-top: 4rem !important;
}

/* Footer email wrapper styling */
.footer-email-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
}

.footer-email-link-container {
    display: flex !important;
    align-items: center !important;
    gap: 1em !important;
    text-decoration: none !important;
    transition: opacity 0.25s !important;
    color: inherit !important;
}

.footer-email-link-container:hover {
    opacity: 0.6 !important;
}

.footer-email-link {
    text-decoration: underline !important;
    color: inherit !important;
    font-size: var(--text-size--huge) !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    font-family: inherit !important;
}

/* Match responsive font sizes with Let's chat text */
@media screen and (max-width: 991px) {
    .footer-email-link {
        font-size: 2rem !important;
    }
}

@media screen and (max-width: 767px) {
    .footer-email-link {
        font-size: 1.8rem !important;
    }
}

@media screen and (max-width: 479px) {
    .footer-email-link {
        font-size: 1.6rem !important;
    }
}

/* Footer social wrap - keep icons in one row */
.footer-social-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 0 !important;
}

/* Footer social links */
.footer-social-link {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.2s ease !important;
    opacity: 0.6 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.4rem !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-social-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.footer-embed svg {
    width: 36px !important;
    height: 36px !important;
}

/* ========================================
   CARDS MINIMALIST STYLING
   ======================================== */

/* Works card wrapper - remove rotation effects */
.works-card-wrapper {
    border-radius: 0.4rem !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.works-card-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

/* Remove hover effects on tags/labels inside cards */
.works-card-wrapper:hover .style-tag,
.works-card-wrapper:hover [class*="tag"],
.works-card-wrapper:hover .works-card-tittle > *,
.works-card-wrapper:hover .badge,
.works-card-wrapper:hover .label {
    transform: none !important;
    transition: none !important;
}

/* Works card */
.works-card {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    border-radius: 0.4rem !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
}

.works-card-image {
    border-radius: 0.4rem !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
}

.works-card-image img {
    transition: transform 0.3s ease !important;
}

.works-card-wrapper:hover .works-card-image img {
    transform: scale(1.05) !important;
}

/* Works card title */
.works-card-tittle h2 {
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0.5rem !important;
}

/* Card buttons */
.button-cards-home {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.4rem !important;
    transition: all 0.2s ease !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

.button-cards-home:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* Logo cards - ultra minimalist */
.logo-card {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 0 !important;
    padding: 2rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.logo-card:hover {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.01) !important;
}

.logo-card .logo-image {
    opacity: 0.6 !important;
    transition: opacity 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.logo-card .logo-image img {
    margin: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.logo-card:hover .logo-image {
    opacity: 0.9 !important;
}

/* Remove any unnecessary overlays */
.opacity-87,
.opacity-86 {
    background: transparent !important;
}

/* ========================================
   HERO SECTION STYLING
   ======================================== */

/* Add top padding for mobile/tablet */
@media screen and (max-width: 991px) {
    .home-left-content {
        padding-top: 10em !important;
    }
}

/* Mobile responsive fixes for hero section */
@media screen and (max-width: 767px) {
    /* Full height hero section on mobile */
    section:has(.home-hero) {
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .home-hero {
        width: 100% !important;
    }
    
    /* Remove 80% width constraint on mobile */
    .heading-3.text-weight-regular {
        width: 100% !important;
    }
    
    /* Footer left-aligned on mobile */
    .footer-top-content {
        align-items: flex-start !important;
    }
    
    .footer-chat-text {
        text-align: left !important;
        margin-top: 2rem !important;
    }
    
    .footer-email-wrapper {
        justify-content: flex-start !important;
    }
    
    .footer-email {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .footer-social-wrap {
        justify-content: flex-start !important;
    }
}

/* ========================================
   BUTTON RESPONSIVE STYLING
   ======================================== */

/* Download CV button - don't fill width on mobile/tablet */
@media screen and (max-width: 991px) {
    .button-primary {
        width: auto !important;
        display: inline-block !important;
        max-width: max-content !important;
    }
}
