/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Navigation */
.navbar {
    background-color: #e8ecef;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #475569;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.btn-contact {
    background: #2d4a9e;
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #1e3a8a;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-highlight {
    color: #60a5fa;
}

.hero-description {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #1e293b;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

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

.btn-white:hover {
    background: #f8fafc;
}

.btn-dark {
    background: #1e293b;
    color: white;
}

.btn-dark:hover {
    background: #0f172a;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.feature-description {
    color: #64748b;
    line-height: 1.8;
}

/* Materials Section */
.materials {
    padding: 80px 0;
    background: #ffffff;
}

.materials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.section-description {
    color: #64748b;
    font-size: 18px;
}

.link-view-all {
    color: #2563eb;
    font-weight: 600;
    font-size: 16px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.material-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.material-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px;
    color: white;
}

.material-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.material-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.material-link {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: #2d4a9e;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    color: #94a3b8;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: #1e293b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-link:hover {
    background: #334155;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    color: #64748b;
}

/* Catalog Page */
.catalog-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.catalog-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.search-box {
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.filter-select {
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    min-width: 200px;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image-wrapper {
    position: relative;
    height: 250px;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #2563eb;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 24px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.product-origin {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.product-description {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-specs {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.product-specs h4 {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.product-specs p {
    font-size: 13px;
    color: #475569;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-heading {
    font-size: 40px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}

.contact-subheading {
    color: #64748b;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-method-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.contact-method-desc {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

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

.contact-link-plain {
    color: #475569;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-subheading {
    color: #64748b;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-textarea {
    resize: vertical;
}

/* Admin Page */
.admin-section {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
    background: #f8f9fa;
}

.admin-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-card {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
}

.admin-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon-large {
    width: 64px;
    height: 64px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.admin-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.admin-subtitle {
    color: #64748b;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.link-forgot {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
}

.admin-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .features-grid,
    .materials-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .materials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
/* Search - No Results Message */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 18px;
}
