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

/* Touch-friendly improvements */
.buy-link,
.contact-info a,
nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Better text readability on mobile */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Improved focus states for accessibility */
nav a:focus,
.buy-link:focus,
.contact-info a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Terms and Conditions styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.terms-section h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

.terms-section p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Placeholder image styles */
.placeholder-img {
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.product-card:hover .placeholder-img,
.gallery-item:hover .placeholder-img {
    transform: scale(1.02);
}

/* Better image loading */
img, .placeholder-img {
    max-width: 100%;
    height: auto;
}

header {
    background: #1a1a1a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    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;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header h1 {
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

main {
    margin-top: 120px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-bottom: 4rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

#hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

#hero p {
    font-size: 1.2rem;
    color: #4a5568;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
    font-weight: 600;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.3rem;
}

.product-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.buy-link {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.buy-link:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

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

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
}

.service-item h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.3rem;
}

.service-item p {
    color: #4a5568;
    line-height: 1.6;
}

#contact {
    background: #1a1a1a;
    color: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
}

#contact h2 {
    color: white;
    margin-bottom: 1rem;
}

#contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 3px solid #2563eb;
}

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

.material-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.material-card h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.3rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.5rem;
}

.material-specs p {
    margin: 0.75rem 0;
    color: #4a5568;
    line-height: 1.5;
}

.material-specs strong {
    color: #1a1a1a;
}

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

.capability-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.capability-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.capability-item p {
    color: #4a5568;
    margin: 0.5rem 0;
}

.pricing-table {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-row:last-child {
    border-bottom: none;
}

.service {
    font-weight: 500;
    color: #1a1a1a;
}

.price {
    font-weight: 600;
    color: #2563eb;
}

.pricing-note {
    text-align: center;
    color: #4a5568;
    font-style: italic;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

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

.turnaround-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
}

.turnaround-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.turnaround-card.rush {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.turnaround-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.time {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.turnaround-card ul {
    list-style: none;
    text-align: left;
}

.turnaround-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    border-bottom: 1px solid #f1f5f9;
}

.turnaround-card li:before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
    margin-right: 0.5rem;
}

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

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f1f5f9;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.completion-time {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: #4a5568;
    line-height: 1.5;
}

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

.shipping-option {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.shipping-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.shipping-option:first-child {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.shipping-option h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.shipping-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.shipping-option p {
    color: #4a5568;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.shipping-option address {
    font-style: normal;
    color: #4a5568;
}

.shipping-notes {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
}

.shipping-notes p {
    color: #4a5568;
    margin: 0.75rem 0;
    text-align: center;
}

.shipping-notes strong {
    color: #2563eb;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu a {
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid #333;
        text-align: center;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    main {
        padding: 1rem;
        margin-top: 80px;
    }
    
    #hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    #hero h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .product-grid,
    .services-content,
    .materials-grid,
    .capabilities-grid,
    .turnaround-grid,
    .gallery-grid,
    .process-steps,
    .shipping-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card,
    .service-item,
    .material-card,
    .capability-item,
    .turnaround-card,
    .gallery-item,
    .shipping-option {
        padding: 1.5rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .buy-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    #contact {
        padding: 2rem 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .pricing-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
    
    .service {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .shipping-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 0.75rem;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    main {
        padding: 0.75rem;
        margin-top: 70px;
    }
    
    #hero {
        padding: 1.5rem 0.75rem;
    }
    
    #hero h2 {
        font-size: 1.5rem;
    }
    
    section {
        margin-bottom: 2rem;
    }
    
    .product-card,
    .service-item,
    .material-card {
        padding: 1.25rem;
    }
    
    .product-card img {
        height: 160px;
    }
    
    .contact-info a {
        word-break: break-all;
    }
}
