/* Homepage Specific Styles */

/* Logo Text Styles */
.logo-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 0rem !important;
}

.logo-text:hover {
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #111827 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transform: translateY(-1px);
}

.logo-text .accent {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Section Adjustments */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1d4ed8 100%) !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* Hero Image Styles */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 400px;
    background: transparent;
    position: relative;
}

.hero-image picture {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent !important;
    width: 100%;
    height: 100%;
}

.hero-image img {
    border-radius: 0;
    box-shadow: none;
    transition: none;
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: 600px;
    height: 400px;
    object-fit: contain;
    background: transparent !important;
}

.hero-image img:hover {
    transform: none;
    box-shadow: none;
}


/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 3rem;
}

/* Authority Section */
.authority {
    padding: 4rem 0;
    background-color: #ffffff;
}

.authority h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.authority-content {
    max-width: 1000px;
    margin: 0 auto;
}

.authority-text {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.authority-text p {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.authority-text p:last-child {
    margin-bottom: 0;
}


/* Products Section */
.products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 520px;
    padding-bottom: 1rem;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.product-image {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    border-radius: 12px;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    min-height: 4.5rem;
    display: flex;
    align-items: flex-start;
}

.product-button-container {
    margin-top: auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.product-review-link {
    display: inline-block;
    width: 100%;
    padding: 8px 16px;
    background: transparent;
    color: #6b7280;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-review-link:hover {
    background: #f9fafb;
    color: #374151;
    text-decoration: none;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a8a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.faq-item h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: #2563eb;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.faq-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Trust Section */
.trust {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.trust-content {
    margin-top: 3rem;
}

.quality-assurance-text {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quality-assurance-text h3 {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.quality-assurance-text p {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
    margin: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
}

.trust-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.1);
}

.trust-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.trust-icon img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon img {
    transform: scale(1.1);
}

.trust-item h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.trust-item p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Navigation Active State */
.nav-link.active {
    color: #10b981;
    font-weight: 600;
}

/* Smooth scrolling offset for fixed header */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        height: 300px;
    }
    
    .hero-image img {
        width: 100%;
        height: 300px;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }
    
    .quality-assurance-text {
        padding: 2.5rem 2rem;
    }
    
    .quality-assurance-text h3 {
        font-size: 1.6rem;
    }
    
    .quality-assurance-text p {
        font-size: 0.95rem;
    }
    
    .product-card {
        margin: 0;
        height: 480px;
    }
    
    .product-image {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-button-container {
        padding: 1rem;
    }
    
    .trust-item {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .trust-icon {
        height: 50px;
        margin-bottom: 1.25rem;
    }
    
    .trust-icon img {
        width: 40px;
        height: 40px;
    }
    
    /* FAQ Mobile Fixes */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-break: break-word;
    }
    
    .faq-item a {
        word-break: break-word;
        display: inline-block;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about,
    .authority,
    .products,
    .trust {
        padding: 3rem 0;
    }
    
    .authority-text {
        padding: 2.5rem 2rem;
    }
    
    .authority-text p {
        font-size: 0.95rem;
    }
    
    .products-grid {
        gap: 1.5rem;
    }
    
    .quality-assurance-text {
        padding: 2rem 1.5rem;
    }
    
    .quality-assurance-text h3 {
        font-size: 1.4rem;
    }
    
    .quality-assurance-text p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .authority-text {
        padding: 2rem 1.5rem;
    }
    
    .authority-text p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    /* FAQ Extra Small Screens */
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .faq-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .product-image {
        padding: 1.5rem 1rem;
        min-height: 160px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-info p {
        font-size: 0.9rem;
    }
    
    .trust-item {
        padding: 1.5rem 1rem;
    }
    
    .trust-item h3 {
        font-size: 1.2rem;
    }
    
    .trust-item p {
        font-size: 0.9rem;
    }
    
    .trust-icon {
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .trust-icon img {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}

/* Footer Copyright */
.footer-copyright {
    opacity: 0.9;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-copyright small {
    color: #f3f4f6;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.product-button:focus,
.cta-button:focus,
.nav-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading states */
.product-image img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
