/* about.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --bg-color: #e6f3f3;
    --text-color: #333;
    --primary-color: #16a085;
    --secondary-color: #1abc9c;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

[data-theme="dark"] {
    --bg-color: #1a2b2b;
    --text-color: #e6f3f3;
    --primary-color: #1abc9c;
    --secondary-color: #16a085;
}

[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.top-bar {
    background: linear-gradient(90deg, #1a73e8, #0d47a1);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

[data-theme="dark"] .top-bar {
    background: linear-gradient(90deg, #0d47a1, #1a73e8);
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-header {
    background: linear-gradient(rgba(26, 115, 232, 0.7), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1300x300?text=About+Us');
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .about-header {
    background: linear-gradient(rgba(26, 188, 156, 0.7), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1300x300?text=About+Us');
}

.about-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-header h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-header p {
    color: white;
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.section {
    background: white;
    padding: 35px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

[data-theme="dark"] .section {
    background: #2e3b3b;
}

.history {
    border-left: 5px solid #16a085;
}

[data-theme="dark"] .history {
    border-left-color: var(--primary-color);
}

.values {
    border-left: 5px solid #1abc9c;
}

[data-theme="dark"] .values {
    border-left-color: var(--secondary-color);
}

.toggle-btn {
    background: #16a085;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s, transform 0.3s;
}

[data-theme="dark"] .toggle-btn {
    background: var(--primary-color);
}

.toggle-btn:hover {
    background: #1abc9c;
    transform: translateY(-2px);
}

[data-theme="dark"] .toggle-btn:hover {
    background: var(--secondary-color);
}

.hidden-content {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 16px;
    color: #555;
}

[data-theme="dark"] .hidden-content {
    background: #3a4a4a;
    color: #ccc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.value-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

[data-theme="dark"] .value-item {
    background: #3a4a4a;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.value-item h3 {
    color: #16a085;
    font-size: 20px;
    margin-bottom: 10px;
}

[data-theme="dark"] .value-item h3 {
    color: var(--primary-color);
}

.cta {
    text-align: center;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #1a73e8;
}

[data-theme="dark"] .cta {
    background: #2e3b3b;
    border-left-color: var(--primary-color);
}

.cta h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

[data-theme="dark"] .cta h2 {
    color: var(--text-color);
}

.cta p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

[data-theme="dark"] .cta p {
    color: #ccc;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.intro-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.intro-description {
    flex: 1;
}

.intro-description h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

[data-theme="dark"] .intro-description h2 {
    color: var(--text-color);
}

.intro-description p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

[data-theme="dark"] .intro-description p {
    color: #ccc;
}

.info-container {
    display: flex;
    gap: 30px;
}

.opening-hours, .contact-details {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

[data-theme="dark"] .opening-hours, [data-theme="dark"] .contact-details {
    background: #3a4a4a;
}

.opening-hours h2, .contact-details h2 {
    font-size: 24px;
    color: #16a085;
    margin-bottom: 15px;
}

[data-theme="dark"] .opening-hours h2, [data-theme="dark"] .contact-details h2 {
    color: var(--primary-color);
}

.opening-hours ul, .contact-details ul {
    list-style: none;
}

.opening-hours ul li, .contact-details ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

[data-theme="dark"] .opening-hours ul li, [data-theme="dark"] .contact-details ul li {
    color: #ccc;
}

.opening-hours ul li strong, .contact-details ul li strong {
    color: #333;
}

[data-theme="dark"] .opening-hours ul li strong, [data-theme="dark"] .contact-details ul li strong {
    color: var(--text-color);
}

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot {
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

[data-theme="dark"] .chatbot {
    background: #2e3b3b;
}

.chatbot.hidden {
    display: none;
}

.chatbot-header {
    background: #16a085;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

[data-theme="dark"] .chatbot-header {
    background: var(--primary-color);
}

.chatbot-messages {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
}

.chatbot input {
    width: 70%;
    padding: 10px;
    border: 2px solid #16a085;
    border-radius: 10px;
    margin: 10px;
}

[data-theme="dark"] .chatbot input {
    border-color: var(--primary-color);
    color: var(--text-color);
    background: #3a4a4a;
}

#chatbot-send {
    width: 20%;
    margin: 0 10px 10px;
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 32px;
    }
    
    .about-header p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-container {
        flex-direction: column;
    }
    
    .info-container {
        flex-direction: column;
    }
}