body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f7fa;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    background: black;
    color: yellow;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}
header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
}
.tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
nav {
    margin-top: 1rem;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: bold;
    transition: text-decoration 0.2s;
}
nav a:hover {
    text-decoration: underline;
}
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex: 1;
}
section {
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2rem;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.product {
    flex: 1 1 250px;
    background: #e6f0fa;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,120,215,0.07);
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Hero section styling */
.hero-section {
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    overflow: hidden;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* Responsive design for mobile */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
}

/* Products page styling */
.product-category {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2rem;
}

.product-category h3 {
    color: #0078d7;
    border-bottom: 2px solid #e6f0fa;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.category-intro {
    margin-bottom: 2rem;
}

.category-intro p {
    font-style: italic;
    color: #666;
}

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

.product-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1rem;
}

.product-info h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
}

.product-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.custom-orders {
    background: linear-gradient(135deg, #e6f0fa 0%, #f8f9fa 100%);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.custom-orders h3 {
    color: #0078d7;
    margin-bottom: 1rem;
}

.custom-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.custom-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.custom-content strong {
    color: #0078d7;
}

/* Mobile adjustments for products */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-category {
        padding: 1.5rem;
    }
}

/* Contact page styling */
.contact-info {
    background: #e6f0fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item strong {
    color: #0078d7;
    font-size: 0.9rem;
}

.contact-form-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 2rem;
}

.contact-form-section h3 {
    color: #0078d7;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e6f0fa;
    padding-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0078d7;
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.1);
}

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

.submit-btn {
    background: #0078d7;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background: #106ebe;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Mobile adjustments for contact */
@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .contact-info {
        padding: 1.5rem;
    }
}

/* Thank you page styling */
.thank-you-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-section h2 {
    color: #0078d7;
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.next-steps {
    text-align: left;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.next-steps h3 {
    color: #0078d7;
    margin-bottom: 1rem;
}

.next-steps ul {
    margin: 0;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: #555;
}

.back-home-btn {
    display: inline-block;
    background: #0078d7;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 1rem;
}

.back-home-btn:hover {
    background: #106ebe;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 2rem;
        margin: 1rem;
    }
}

/* Quick contact form on homepage */
.quick-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f0fa 100%);
    border-radius: 8px;
    border-left: 4px solid #0078d7;
    width: 100%;
    box-sizing: border-box;
}

.quick-contact h3 {
    color: #0078d7;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.quick-contact > p {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    font-style: italic;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.quick-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.quick-form input,
.quick-form select,
.quick-form textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Prevents overflow */
    line-height: 1.2;
    height: auto;
}

.quick-form select {
    padding-right: 2rem; /* Extra space for dropdown arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
    outline: none;
    border-color: #0078d7;
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.1);
}

.quick-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 80px;
}

.quick-submit-btn {
    background: #0078d7;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    justify-self: start;
    max-width: 200px;
}

.quick-submit-btn:hover {
    background: #106ebe;
    transform: translateY(-1px);
}

.quick-submit-btn:active {
    transform: translateY(0);
}

/* Mobile adjustments for quick form */
@media (max-width: 768px) {
    .quick-form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-contact {
        padding: 1rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
}
