﻿/* YasirSteel Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
}

    .nav-menu ul {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

    .nav-menu a {
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
        font-weight: 500;
        display: inline-block;
    }

        .nav-menu a:hover, .nav-menu a.active {
            background-color: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23444" width="1200" height="600"/><rect fill="%23666" x="0" y="200" width="1200" height="200"/><rect fill="%23888" x="300" y="100" width="600" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: clamp(4rem, 15vw, 8rem) 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
    min-width: 120px;
    text-align: center;
}

    .cta-button:hover {
        background: #e55a2b;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255,107,53,0.6);
    }

/* Page Sections */
.page-section {
    padding: clamp(3rem, 10vw, 6rem) 0;
}

.section-white {
    background: white;
}

.section-gray {
    background: #f8f9fa;
}

.section-blue {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    color: #1e3c72;
}

.section-blue .section-title {
    color: white;
}

/* About Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #1e3c72;
}

.about-text p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
    color: #666;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #1e3c72;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #666;
    font-weight: 500;
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b35;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: #1e3c72;
}

.service-card p {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    color: #666;
}

/* Quality Styles */
.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.quality-features {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: #e9ecef;
        transform: translateX(5px);
    }

.feature-icon {
    width: 35px;
    height: 35px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Contact Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.contact-info h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

    .contact-item i {
        width: 35px;
        height: 35px;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.3rem;
        font-weight: 500;
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.6rem;
        border: none;
        border-radius: 5px;
        background: rgba(255,255,255,0.9);
        color: #333;
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }

    .form-group textarea {
        height: 100px;
        resize: vertical;
    }

.submit-btn {
    background: #ff6b35;
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

    .submit-btn:hover {
        background: #e55a2b;
        transform: translateY(-2px);
    }

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: white;
    padding: clamp(1.5rem, 5vw, 2rem) 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 0.75rem;
    color: #ff6b35;
}

.footer-section p,
.footer-section a {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

    .footer-section a:hover {
        color: #ff6b35;
    }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 0.75rem;
    text-align: center;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: #999;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

    .whatsapp-button:hover {
        background-color: #20b358;
        transform: scale(1.1);
    }

.whatsapp-icon {
    width: 1.8rem;
    height: 1.8rem;
}

.whatsapp-tooltip {
    display: none;
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1a252f;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.whatsapp-button:hover .whatsapp-tooltip {
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .quality-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Header Mobile Navigation */
    .header-content {
        flex-direction: row;
        align-items: center;
    }

    .nav-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #1e3c72;
        padding: 1rem 0;
        z-index: 999;
    }

        .nav-menu.active {
            display: block;
        }

        .nav-menu ul {
            flex-direction: column;
            gap: 0.5rem;
            padding: 0 1rem;
        }

        .nav-menu a {
            display: block;
            text-align: center;
            padding: 0.75rem;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 8px;
            font-size: 1rem;
            margin-bottom: 0.5rem;
            min-height: 44px; /* Touch-friendly */
        }

            .nav-menu a:hover, .nav-menu a.active {
                background: rgba(255,255,255,0.3);
                transform: none;
            }

    .hamburger {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 40vh;
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Sections */
    .page-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* About */
    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-form {
        padding: 1rem;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-button {
        width: 3rem;
        height: 3rem;
    }

    .whatsapp-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .whatsapp-tooltip {
        font-size: 0.75rem;
        right: 3.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hamburger {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 1rem;
    }

    .submit-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
