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

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;
}

/* Contact Container */
.contact-container {
    margin-top: 80px;
}

/* Hero Banner */
.contact-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.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);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    margin: 1rem auto 0;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

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

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: transparent;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-field {
    flex: 1;
    position: relative;
}

.form-field-full {
    flex: none;
    width: 100%;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    color: #333;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    cursor: pointer;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}

/* Select dropdown styling */
.form-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1rem;
    padding-right: 4rem;
}

.form-field select:focus {
    outline: none;
    border-color: #32CD32;
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.form-field select option {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    padding: 0.5rem;
    color: #333;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #32CD32;
    box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #32CD32, #28a428);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #28a428, #32CD32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
}

/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
    background: transparent;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(151, 229, 17, 0.2);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon {
    background-color: #32CD32;
}

.email-icon {
    background-color: #333333;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #cccccc;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-family: 'Kanit', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.info-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 185px;
    height: 7px;
    background: linear-gradient(135deg, #32CD32, #28a428);
    border-radius: 0 0 8px 8px;
}

/* Address card special styling */
.contact-info-card:first-child {
    grid-column: span 2;
    flex-direction: column;
    text-align: left;
    padding: 3rem;
}

.contact-info-card:first-child .info-content {
    width: 100%;
}

.contact-info-card:first-child .info-content h3 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-info-card:first-child .info-content p {
    font-size: 2.1rem;
    max-width: 500px;
    line-height: 1.4;
}

/* 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;
    justify-items: start;
}

.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);
}

/* Success/Error Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    display: none;
}

.form-message.success {
    background: rgba(50, 205, 50, 0.1);
    border: 2px solid #32CD32;
    color: #28a428;
}

.form-message.error {
    background: rgba(51, 51, 51, 0.1);
    border: 2px solid #333333;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        justify-self: center;
        gap: 3rem;
        display: none !important;
    }
    
    .footer-about {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-info-card:first-child {
        grid-column: span 1;
    }
    
    .page-title {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4rem 2rem 2.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-self: center;
        display: none !important;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card:first-child {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    
    .contact-info-card:first-child .info-content {
        text-align: center;
        width: 100%;
    }
    
    .contact-info-card:first-child .info-content p {
        text-align: center;
        margin: 0 auto;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
    }
    
    .info-icon {
        margin-bottom: 0.8rem;
    }
    
    .info-line {
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .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) {
    .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;
    }
    
    .contact-hero {
        height: 300px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
        padding: 5px 14px;
        letter-spacing: 1px;
    }
    
    .breadcrumb {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-card {
        padding: 1.2rem 0.8rem;
        gap: 0.8rem;
    }
    
    .contact-info-card:first-child {
        grid-column: span 1;
        padding: 1.2rem 0.8rem;
        text-align: center;
    }
    
    .contact-info-card:first-child .info-content {
        text-align: center;
        width: 100%;
    }
    
    .contact-info-card:first-child .info-content p {
        text-align: center;
        margin: 0 auto;
    }
    
    .contact-info-card:first-child .info-content p {
        font-size: 1.6rem;
    }
    
    .info-line {
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .footer-content {
        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;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        margin-top: 90px;
    }
    
    .contact-hero {
        height: 280px;
    }
    
    .contact-form-section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-field input,
    .form-field textarea,
    .form-field select {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .form-field select {
        padding-right: 3rem;
        background-size: 0.8rem;
        background-position: right 1rem center;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 0.9rem;
        padding: 4px 12px;
        letter-spacing: 0.5px;
    }
    
    .contact-info-section {
        padding: 3rem 0;
    }
    
    .contact-info-grid {
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 0.8rem 0.6rem;
        gap: 0.6rem;
    }
    
    .contact-info-card:first-child {
        padding: 0.8rem 0.6rem;
        text-align: center;
    }
    
    .contact-info-card:first-child .info-content {
        text-align: center;
        width: 100%;
    }
    
    .contact-info-card:first-child .info-content p {
        text-align: center;
        margin: 0 auto;
    }
    
    .info-line {
        width: 100%;
        left: 0;
        right: 0;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.6rem;
    }
    
    .info-content p {
        font-size: 1.2rem;
    }
    
    .contact-info-card:first-child .info-content p {
        font-size: 1.4rem;
    }
    
    .footer-phone {
        font-size: 1.8rem;
    }
    
    .footer-content {
        padding: 2rem 1rem 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;
    }
}
