/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #0a0a0a !important;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(151, 229, 17, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(151, 229, 17, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(151, 229, 17, 0.05) 0%, transparent 50%) !important;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff !important;
    background-color: #0a0a0a !important;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(151, 229, 17, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(151, 229, 17, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(151, 229, 17, 0.05) 0%, transparent 50%) !important;
    overflow-x: hidden;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo SteelMax */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #32CD32;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #32CD32;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
.main-content {
    padding-top: 0; /* Removido o padding-top pois o hero banner não precisa */
    min-height: 100vh;
    background-color: #0a0a0a !important;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(151, 229, 17, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(151, 229, 17, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(151, 229, 17, 0.05) 0%, transparent 50%) !important;
}

/* Hero Banner */
.projects-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    margin-top: 80px; /* Espaço para o header fixo */
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.breadcrumb {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: rgba(235, 236, 237, 1);
    margin-bottom: 1rem;
}

.page-title {
    font-family: 'Kanit', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #333333 0%, #32CD32 50%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../src/bannerprincipal.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-image {
    height: 60px;
    width: auto;
}

.footer-contact h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(235, 236, 237, 1);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.footer-phone {
    font-family: 'Kanit', sans-serif;
    font-size: 2.1rem;
    font-weight: 600;
    color: white !important;
    line-height: 1.2;
    text-decoration: none;
}

.footer-phone:visited {
    color: white !important;
}

.footer-phone:link {
    color: white !important;
}

.footer-phone:hover {
    color: white !important;
}

.footer-phone:active {
    color: white !important;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-description {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: rgba(235, 236, 237, 1);
    line-height: 1.6;
    max-width: 400px;
    text-align: left;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    justify-self: end;
}

.footer-column h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: rgba(212, 215, 221, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.blog-post {
    margin-bottom: 2rem;
}

.blog-post h4 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(212, 215, 221, 1);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-family: 'Kanit', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    color: rgba(235, 236, 237, 1);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: rgba(212, 215, 221, 1);
}

/* Grid de Projetos */
.projects-grid-section {
    padding: 5rem 0;
    background-color: #0a0a0a !important;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(151, 229, 17, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(151, 229, 17, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(151, 229, 17, 0.05) 0%, transparent 50%) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-category {
    margin-bottom: 4rem;
}

.project-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Kanit', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 205, 50, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-text {
    display: block;
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-card:hover .plus-icon {
    border-color: white;
    background: transparent;
}

.plus-icon svg {
    transition: all 0.3s ease;
    stroke: white;
}

.project-card:hover .plus-icon svg {
    stroke: white;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem 2.5rem;
        justify-items: center;
        text-align: center;
    }
    
    .footer-about {
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        justify-self: center;
        text-align: center;
        display: none !important;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .projects-hero {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem 2rem;
        justify-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        justify-self: center;
        display: none !important;
    }
    
    .footer-about {
        gap: 1.5rem;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .projects-hero {
        height: 250px;
    }
    
    .breadcrumb {
        font-size: 14px;
    }
    
    .footer-content {
        padding: 2rem 0.5rem 1.5rem;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 2rem;
        display: none !important;
    }
    
    .footer-about {
        gap: 1rem;
    }
    
    .footer-logo-image {
        height: 50px;
    }
    
    .footer-phone {
        font-size: 1.6rem;
    }
    
    .footer-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-column ul li {
        margin-bottom: 0.6rem;
    }
    
    .footer-column ul li a {
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem;
    }
    
    .footer-bottom p {
        font-size: 1rem;
    }
    
    .footer-phone {
        font-size: 1.8rem;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .footer-links {
        display: none !important;
    }
}
