/* 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: 2rem;
    margin: 0;
    padding: 0;
}

.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: 0.5rem;
}

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

/* Main Content */
.main-content {
    padding-top: 100px;
    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;
}

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

/* Breadcrumb */
.breadcrumb-section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #97E511;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Project Gallery */
.project-gallery-section {
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    height: 400px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item.large {
    grid-row: span 2;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Project Info */
.project-info-section {
    padding: 4rem 0;
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    font-family: 'Kanit', sans-serif;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.project-description p {
    margin-bottom: 1.5rem;
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.appointment-card {
    background: linear-gradient(135deg, #97E511 0%, #7BC30A 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: #000;
}

.appointment-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.appointment-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.6;
}

.cta-button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
}

.project-specs {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-specs h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #97E511;
}

.project-specs ul {
    list-style: none;
    padding: 0;
}

.project-specs li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.project-specs li:last-child {
    border-bottom: none;
}

.project-specs strong {
    color: #97E511;
    font-weight: 500;
}

/* Related Projects */
.related-projects-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Kanit', sans-serif;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-project {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-project:hover {
    transform: translateY(-5px);
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.project-overlay h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.view-project {
    color: #97E511;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-project:hover {
    color: #ffffff;
}

/* 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;
    letter-spacing: 1px;
}

.footer-phone {
    font-family: 'Kanit', sans-serif;
    font-size: 2.1rem;
    font-weight: 600;
    color: white !important;
    line-height: 1.2;
    margin-bottom: 2rem;
    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;
    margin-bottom: 2rem;
}

.social-icon {
    transition: all 0.3s ease;
    border-radius: 50%;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(50, 205, 50, 0.3);
}

.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: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: rgba(212, 215, 221, 1);
}

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

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



/* 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: 1024px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .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;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .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;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 80px;
    }
    
    .project-title {
        font-size: 1.7rem;
    }
    
    .appointment-card {
        padding: 1.5rem;
    }
    
    .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-links {
        display: none !important;
    }
}
