<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JPXMenStyle.com - Corrected CSS File</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.0/css/all.min.css">
    <style>
        .code-container {
            background: #1e1e1e;
            color: #d4d4d4;
            border-radius: 8px;
            overflow: hidden;
        }
        .code-header {
            background: #2d2d30;
            padding: 12px 20px;
            border-bottom: 1px solid #3e3e42;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        pre {
            margin: 0;
            padding: 20px;
            overflow-x: auto;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 14px;
            line-height: 1.5;
        }
        .copy-btn {
            background: #0e7490;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .copy-btn:hover {
            background: #0891b2;
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen py-8">
    <div class="container mx-auto px-4 max-w-6xl">
        <!-- Header -->
        <div class="text-center mb-8">
            <h1 class="text-4xl font-bold text-gray-800 mb-4">
                <i class="fas fa-code text-blue-600 mr-3"></i>
                JPXMenStyle.com - Corrected CSS File
            </h1>
            <p class="text-lg text-gray-600">Clean, working CSS with all syntax errors fixed and proper iPad responsive design</p>
        </div>

        <!-- Status Alert -->
        <div class="bg-green-100 border border-green-400 text-green-700 px-6 py-4 rounded-lg mb-6">
            <div class="flex items-center">
                <i class="fas fa-check-circle text-green-500 mr-3"></i>
                <div>
                    <h3 class="font-semibold">All Issues Fixed!</h3>
                    <p>✅ Syntax errors corrected ✅ iPad navigation positioning fixed ✅ JPX Group branding maintained</p>
                </div>
            </div>
        </div>

        <!-- Download Instructions -->
        <div class="bg-blue-50 border-l-4 border-blue-400 p-6 mb-6">
            <h3 class="text-lg font-semibold text-blue-800 mb-2">
                <i class="fas fa-download mr-2"></i>How to Use This File
            </h3>
            <ol class="list-decimal list-inside text-blue-700 space-y-2">
                <li>Copy the CSS code below</li>
                <li>Save it as <code class="bg-blue-200 px-2 py-1 rounded">style.css</code> in your website folder</li>
                <li>Replace your current CSS file on DreamHost</li>
                <li>Test on iPad to confirm Contact button positioning is fixed</li>
            </ol>
        </div>

        <!-- CSS Code -->
        <div class="code-container mb-6">
            <div class="code-header">
                <span class="text-sm font-medium">
                    <i class="fab fa-css3-alt mr-2 text-blue-400"></i>
                    style.css - JPXMenStyle.com Corrected Version
                </span>
                <button class="copy-btn" onclick="copyCode()">
                    <i class="fas fa-copy mr-2"></i>Copy All
                </button>
            </div>
            <pre id="cssCode">/* Reset and Base Styles */

/*JPX Group Brand Colors */
:root {
    --primary-color: #8B4513;    /* JPX Brown */
    --secondary-color: #2C3E50;  /* Dark Blue-Gray */
    --accent-color: #A0522D;     /* Lighter Brown for hovers */
    --text-color: #333333;       /* Dark Gray */
    --background-color: #FFFFFF; /* White */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #A0522D;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.nav-logo:hover .logo-text {
    color: #A0522D;
    transition: color 0.3s ease;
}

.logo {
    height: 90px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin-right: 1rem;
    padding: 0;
}

.nav-item:last-child {
    margin-right: 0;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #8B4513;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8B4513;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #8B4513;
    color: white;
}

.btn-primary:hover {
    background-color: #A0522D;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #2C3E50;
    color: white;
}

.btn-secondary:hover {
    background-color: #34495e;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
}

.btn-outline:hover {
    background-color: #8B4513;
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Featured Product */
.featured-product {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
}

.product-title {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.product-price {
    margin-bottom: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.sale-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
    margin-right: 0.5rem;
}

.discount {
    background-color: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Recent Posts */
.recent-posts {
    padding: 80px 0;
}

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

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.post-image {
    position: relative;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #8B4513;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    margin-bottom: 0.5rem;
}

.post-title a {
    color: #2c3e50;
}

.post-title a:hover {
    color: #8B4513;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.post-meta {
    color: #999;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

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

.blog-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-3px);
}

.blog-post-card .post-image {
    height: 200px;
    overflow: hidden;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-more {
    color: #8B4513;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.read-more:hover {
    color: #A0522D;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #666;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background-color: #8B4513;
    color: white;
    border-color: #8B4513;
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: bold;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    margin-bottom: 0;
}

.team-section {
    margin-top: 3rem;
}

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

.team-member {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background-color: #8B4513;
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #A0522D;
    color: white;
}

/* Contact Form */
.contact-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
}

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

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

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

.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin-bottom: 0;
    color: #666;
}

/* Article Styles */
.article {
    padding: 2rem 0;
}

.article-header {
    margin-bottom: 2rem;
}

.article-category {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.article-image {
    margin-bottom: 2rem;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.article-content h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Product Recommendations */
.product-recommendation {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.product-recommendation h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.recommended-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.recommended-product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.product-details h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-details .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B4513;
    display: block;
    margin-bottom: 0.5rem;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.article-cta {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.article-cta h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.article-cta p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: #8B4513;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B4513;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bbb;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.affiliate-link {
    position: relative;
}

.affiliate-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        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);
        z-index: 999;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-card {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-card {
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .recommended-product {
        flex-direction: column;
        text-align: center;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* iPad and Tablet Specific Fixes */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
        max-width: 100%;
    }
    
    .nav-menu {
        gap: 1.2rem;
        margin-right: 2rem;
    }
    
    .nav-item:last-child {
        margin-right: 0;
    }
    
    /* Ensure Contact button doesn't overflow */
    .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.8rem;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat-card {
        margin: 0;
    }
}</pre>
        </div>

        <!-- Summary -->
        <div class="bg-gray-100 p-6 rounded-lg">
            <h3 class="text-lg font-semibold mb-4">
                <i class="fas fa-clipboard-check text-green-600 mr-2"></i>
                Fixes Applied
            </h3>
            <div class="grid md:grid-cols-2 gap-4 text-sm">
                <div>
                    <h4 class="font-semibold text-gray-800 mb-2">Syntax Corrections:</h4>
                    <ul class="text-gray-600 space-y-1">
                        <li>✅ Fixed incomplete <code>a:hover</code> selector</li>
                        <li>✅ Corrected <code>.nav-item::last-child</code> syntax</li>
                        <li>✅ Fixed malformed media queries</li>
                        <li>✅ Removed extra closing brackets</li>
                    </ul>
                </div>
                <div>
                    <h4 class="font-semibold text-gray-800 mb-2">iPad Navigation:</h4>
                    <ul class="text-gray-600 space-y-1">
                        <li>✅ Contact button positioning fixed</li>
                        <li>✅ Proper tablet breakpoints added</li>
                        <li>✅ Navigation spacing optimized</li>
                        <li>✅ JPX Group branding maintained</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <script>
        function copyCode() {
            const code = document.getElementById('cssCode');
            const text = code.textContent;
            
            navigator.clipboard.writeText(text).then(function() {
                const btn = document.querySelector('.copy-btn');
                const originalText = btn.innerHTML;
                btn.innerHTML = '<i class="fas fa-check mr-2"></i>Copied!';
                btn.style.background = '#059669';
                
                setTimeout(() => {
                    btn.innerHTML = originalText;
                    btn.style.background = '#0e7490';
                }, 2000);
            }).catch(function(err) {
                console.error('Could not copy text: ', err);
            });
        }
    </script>
</body>
</html>
