/* contact.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;
}

.contact-header {
    background: linear-gradient(rgba(26, 115, 232, 0.7), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1300x300?text=Contact+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"] .contact-header {
    background: linear-gradient(rgba(26, 188, 156, 0.7), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1300x300?text=Contact+Us');
}

.contact-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-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);
    border-left: 5px solid #16a085;
}

[data-theme="dark"] .section {
    background: #2e3b3b;
    border-left-color: var(--primary-color);
}

.contact-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.contact-details {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

[data-theme="dark"] .contact-details {
    background: #3a4a4a;
}

.contact-details ul {
    list-style: none;
}

.contact-details ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .contact-details ul li {
    color: #ccc;
}

.contact-details ul li i {
    color: #16a085;
    margin-right: 10px;
}

[data-theme="dark"] .contact-details ul li i {
    color: var(--primary-color);
}

.contact-details ul li strong {
    color: #333;
}

[data-theme="dark"] .contact-details ul li strong {
    color: var(--text-color);
}

.contact-map {
    flex: 1;
}

#map {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.opening-hours {
    border-left: 5px solid #1abc9c;
}

[data-theme="dark"] .opening-hours {
    border-left-color: var(--secondary-color);
}

.opening-hours h2 {
    font-size: 24px;
    color: #16a085;
    margin-bottom: 15px;
}

[data-theme="dark"] .opening-hours h2 {
    color: var(--primary-color);
}

.opening-hours ul {
    list-style: none;
}

.opening-hours ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

[data-theme="dark"] .opening-hours ul li {
    color: #ccc;
}

.opening-hours ul li strong {
    color: #333;
}

[data-theme="dark"] .opening-hours 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) {
    .contact-header h1 {
        font-size: 32px;
    }
    
    .contact-header p {
        font-size: 16px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}