/* Food Safety Page Specific Styles */

/* Introduction Section */
.food-safety-intro {
    padding: 80px 0;
    background: #ffffff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 32px;
    line-height: 1.2;
}

.intro-description {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 24px;
}

.intro-visual {
    position: relative;
}

.intro-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Safety Standards Section */
.safety-standards {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.standard-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.standard-icon {
    width: 48px;
    height: 48px;
    color: #ff6b35;
    margin: 0 auto 24px;
}

.standard-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.standard-description {
    color: #4a5568;
    line-height: 1.6;
}

/* Guidelines Section */
.safety-guidelines {
    padding: 80px 0;
    background: #ffffff;
}

.guidelines-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.guideline-category {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid #ff6b35;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.category-icon {
    width: 32px;
    height: 32px;
    color: #ff6b35;
    flex-shrink: 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
}

.guideline-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.guideline-check {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

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

/* Allergen Information Section */
.allergen-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.allergen-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.allergen-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.2;
}

.allergen-description {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 32px;
}

.allergen-protocols {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.protocol-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.protocol-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protocol-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #4a5568;
    line-height: 1.6;
}

.protocol-list li::before {
    content: "•";
    color: #ff6b35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.allergen-visual {
    position: relative;
}

.allergen-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.allergen-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.allergen-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.allergen-symbol {
    font-size: 2rem;
}

.allergen-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    text-align: center;
}

/* Verification Process Section */
.verification-process {
    padding: 80px 0;
    background: #ffffff;
}

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

.process-step {
    text-align: center;
    padding: 32px 24px;
    background: #f8fafc;
    border-radius: 16px;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

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

/* Emergency Procedures Section */
.emergency-procedures {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.emergency-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.2;
}

.emergency-description {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 32px;
}

.emergency-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.emergency-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.emergency-icon {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 4px;
}

.emergency-content-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.emergency-content-text p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.emergency-contact {
    position: sticky;
    top: 100px;
}

.contact-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ef4444;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 500;
    color: #6b7280;
}

.contact-value {
    font-weight: 600;
    color: #1a202c;
}

/* Resources Section */
.safety-resources {
    padding: 80px 0;
    background: #ffffff;
}

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

.resource-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b35;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    width: 48px;
    height: 48px;
    color: #ff6b35;
    margin: 0 auto 24px;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.resource-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: #e55a2b;
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-content,
    .allergen-content,
    .emergency-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-text h2,
    .allergen-text h2,
    .emergency-text h2 {
        font-size: 2rem;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .allergen-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .guideline-category {
        padding: 24px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .emergency-contact {
        position: static;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .intro-text h2,
    .allergen-text h2,
    .emergency-text h2 {
        font-size: 1.75rem;
    }
    
    .standard-card,
    .resource-card {
        padding: 24px 16px;
    }
    
    .allergen-icons {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}