/* Ahcell Website Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover,
.nav a.active {
    opacity: 1;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.language-switch {
    font-size: 14px;
}

.language-switch a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
}

.language-switch a.active {
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    color: #1a365d;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.btn-secondary {
    background: white;
    color: #2c5282;
    border: 2px solid #2c5282;
}

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

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 50px;
}

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

.advantage-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: #f7fafc;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.advantage-card h3 {
    color: #2c5282;
    margin-bottom: 10px;
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
    background: #f7fafc;
}

.products-preview h2 {
    text-align: center;
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 20px;
}

.products-preview > p {
    text-align: center;
    color: #4a5568;
    margin-bottom: 50px;
    font-size: 18px;
}

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

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

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

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 30px;
}

.product-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #2c5282;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h3 {
    color: #2c5282;
    margin-bottom: 10px;
}

.product-card p {
    color: #4a5568;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .contact-info {
    margin-bottom: 30px;
}

.cta-section .contact-info p {
    margin: 5px 0;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #4a5568;
}

/* About Content */
.about-content {
    padding: 60px 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-text h2 {
    color: #2c5282;
    margin: 40px 0 20px;
    font-size: 24px;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.about-text li {
    margin-bottom: 10px;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.product-series {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
}

.product-series:last-child {
    border-bottom: none;
}

.product-series h2 {
    color: #1a365d;
    font-size: 28px;
    margin-bottom: 15px;
}

.product-series > p {
    color: #4a5568;
    margin-bottom: 30px;
    font-size: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.product-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.product-item:hover {
    border-color: #3182ce;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.15);
}

.product-item .product-image {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #2c5282;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-item h3 {
    color: #2c5282;
    margin-bottom: 10px;
    font-size: 16px;
}

.product-item p {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-series h3 {
    color: #2c5282;
    margin: 30px 0 15px;
}

.applications-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
}

.applications-section h2 {
    color: #1a365d;
    font-size: 28px;
    margin-bottom: 15px;
}

.applications-section p {
    color: #4a5568;
    margin-bottom: 30px;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.app-item {
    background: #f7fafc;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

/* Product Detail Styles */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-detail-image {
    width: 100%;
}

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

.product-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #2c5282;
    border-radius: 12px;
}

.product-detail-info h2 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 28px;
}

.product-description {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-price {
    font-size: 24px;
    color: #2c5282;
    margin-bottom: 30px;
}

.product-specifications {
    background: #f7fafc;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.product-specifications h2 {
    color: #1a365d;
    margin-bottom: 30px;
    font-size: 28px;
}

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

.spec-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
}

.spec-item strong {
    color: #2c5282;
    display: block;
    margin-bottom: 5px;
}

.spec-item span {
    color: #4a5568;
}

.product-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
}

.product-cta h2 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 28px;
}

.product-cta p {
    color: #4a5568;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Product Link Styles */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link:hover .product-image {
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
}

.product-link:hover h3 {
    color: #3182ce;
}

.product-model {
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.product-desc {
    color: #4a5568;
    font-size: 13px;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.no-products {
    text-align: center;
    padding: 80px 20px;
}

.no-products h2 {
    color: #1a365d;
    margin-bottom: 15px;
}

.no-products p {
    color: #4a5568;
    margin-bottom: 30px;
}

/* News Section */
.news-section {
    padding: 60px 0;
}

.news-categories {
    margin-bottom: 40px;
}

.news-categories h3 {
    color: #1a365d;
    margin-bottom: 15px;
}

.news-categories ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.news-categories a {
    display: inline-block;
    padding: 8px 20px;
    background: #f7fafc;
    border-radius: 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s;
}

.news-categories a:hover,
.news-categories a.active {
    background: #3182ce;
    color: white;
}

.news-list {
    max-width: 800px;
}

.news-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.news-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
}

.news-date .day {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #2c5282;
}

.news-date .month {
    display: block;
    font-size: 14px;
    color: #4a5568;
}

.news-date .year {
    display: block;
    font-size: 12px;
    color: #718096;
}

.news-content {
    flex: 1;
}

.news-content h2 {
    margin-bottom: 10px;
}

.news-content h2 a {
    color: #1a365d;
    text-decoration: none;
    font-size: 22px;
}

.news-content h2 a:hover {
    color: #3182ce;
}

.news-content time {
    display: block;
    color: #718096;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content p {
    color: #4a5568;
    margin-bottom: 15px;
}

.read-more {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

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

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

.contact-info h2,
.contact-form-container h2 {
    color: #1a365d;
    margin-bottom: 30px;
    font-size: 28px;
}

.contact-form-container p {
    color: #4a5568;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content h3 {
    color: #2c5282;
    margin-bottom: 5px;
}

.info-content p {
    color: #4a5568;
}

.info-content a {
    color: #3182ce;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.contact-info h3 {
    color: #2c5282;
    margin: 30px 0 15px;
}

/* Contact Form */
.contact-form {
    background: #f7fafc;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.form-note p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        width: 100%;
        display: flex;
        gap: 10px;
        justify-content: center;
    }
}
