/* Professional Welding Industry Theme */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #1a1a2e;
    --accent: #3b82f6;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e8ecf1;
    --border: #e0e0e0;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--secondary);
    background: var(--white);
    line-height: 1.6;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.site-nav {
    padding: 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-logo:hover {
    transform: translateY(-2px);
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Contact Button */
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
}

/* ===== MAIN CONTENT ===== */
main {
    margin-top: 80px;
    min-height: 60vh;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a2e" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-ctas .button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
}

/* Trust Section */
.trust-section {
    background: var(--light);
    padding: 3rem 2rem;
    margin: -1.5rem 0 3rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-item .icon {
    font-size: 2rem;
}

.trust-item strong {
    font-size: 1.1rem;
    color: var(--secondary);
}

.trust-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== TWO COLUMN SECTIONS ===== */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
    padding: 3rem 0;
}

.two-column-section.reverse {
    grid-template-columns: 1fr 1fr;
}

.column-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.column-content h2 .highlight {
    color: var(--primary);
}

.column-content p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--secondary);
}

.features-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.column-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 4rem 2rem;
    background: var(--light);
}

.section-label {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.portfolio-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.portfolio-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 4rem 2rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ===== BUTTONS ===== */
.button {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    text-align: center;
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.button-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.button-secondary:hover {
    background: var(--primary);
    color: white;
}

.button-success {
    background: var(--success);
    color: white;
}

.button-success:hover {
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    font-family: inherit;
}

.chat-bubble {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    border: none;
    color: white;
}

.chat-bubble:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

.chat-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 420px;
    max-height: 600px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 300px;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.bot .message-bubble {
    background: #f0f0f0;
    color: var(--secondary);
}

.message.user .message-bubble {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
}

.chat-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-send {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-column-section.reverse {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        padding: 5rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.05rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .button {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-bubble {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wp-container {
        padding: 0 1rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }
}
