/* Weldnova Industries LLP - Professional Website CSS */
/* Color Scheme: Deep Teal, Coral, Cream, Charcoal */

:root {
    --primary-color: #1A535C;
    /* Deep Teal */
    --secondary-color: #FFFFFF;
    /* White */
    --accent-color: #FF6B35;
    /* Vibrant Coral */
    --text-color: #2D3142;
    /* Charcoal for text */
    --text-white: #FFFFFF;
    /* White text */
    --background-color: #F7F7F2;
    /* Warm Cream Background */
    --light-gray: #F0F2F5;
    --medium-gray: #D8D8D8;
    --primary-black: #1A1A1A;
    --light-black: #5A5A5A;
    --text-dark: #2D3142;
    --primary-orange: #FF6B35;
    --light-teal: #4ECDC4;
    --dark-teal: #0D3B3F;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    background-color: var(--text-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--light-teal);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.logo i {
    color: var(--accent-color);
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
    background-color: rgba(255, 111, 89, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: url('images/home-3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

/* Fix for hero sections on other pages - ensure content is visible */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1,
.hero h2,
.hero p {
    color: var(--text-dark) !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 800px;
}

.hero-text h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-text .highlight {
    color: var(--accent-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #E55A47;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 89, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

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

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 5rem 5%;
}

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

/* About Section */
.about {
    background-color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    background-color: var(--light-gray);
}

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

.product-card {
    background: var(--text-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--light-gray);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--light-teal);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-white);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--light-black);
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-teal);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--light-black);
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-info p {
    color: var(--light-black);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-item span {
    color: var(--light-black);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

/* Footer */
footer {
    background-color: var(--dark-teal);
    color: var(--text-white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-section i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: relative;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background-color: var(--text-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        z-index: 999;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        width: 100%;
        text-align: left;
        border-radius: 8px;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 5%;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero-content {
        text-align: center;
    }

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

    .hero-text p {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 3rem 5%;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-item i {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    nav ul {
        width: 100%;
        right: -100%;
    }

    nav ul.active {
        right: 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo img {
        height: 50px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: 2rem 5%;
    }

    .hero {
        padding-top: 80px;
    }

    .product-info,
    .feature-card {
        padding: 1.5rem;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text-animation {
    animation: fadeIn 1s ease-in-out;
}