/* Additional styles for new features */

/* About page specific styles */
.page-banner {
    background-color: var(--secondary-color);
    padding: 8rem 5% 3rem;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.story-section {
    padding: 5rem 0;
}

.story-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image {
    flex: 1;
    max-width: 500px;
}

.story-image img {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    margin: 2rem 0;
}

.values-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-title {
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.dilution-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.dilution-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.dilution-image {
    flex: 1;
    max-width: 450px;
}

.dilution-text {
    flex: 1;
}

.join-mission {
    padding: 5rem 0;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
}

.mission-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mission-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Contact page specific styles */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container h2,
.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: var(--body-font);
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.contact-details {
    margin-top: 1rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-connect {
    margin-top: auto;
}

.social-connect .social-icons {
    margin-top: 1rem;
}

.social-connect .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-connect .social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.company-address {
    margin-top: 2rem;
}

.faq-teaser {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.accordion {
    margin-bottom: 2rem;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background-color: white;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

.ai-assistant-teaser {
    padding: 3rem 0;
}

.ai-card {
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.ai-icon {
    font-size: 3rem;
    background: rgba(255,255,255,0.2);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.ai-content .btn {
    margin-top: 1.5rem;
    background-color: white;
    color: var(--primary-color);
}

.ai-content .btn:hover {
    background-color: var(--secondary-color);
}

/* AI Assistant Modal */
.ai-assistant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ai-assistant-modal.active {
    opacity: 1;
    visibility: visible;
}

.ai-modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ai-modal-header {
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-modal-header h3 {
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.ai-chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 60vh;
}

.ai-chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.ai-message, .user-message {
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.ai-message {
    background-color: #f0f0f0;
    padding: 1rem;
    border-radius: 12px 12px 12px 0;
}

.user-message {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 12px;
    margin-left: auto;
}

.ai-message p, .user-message p {
    margin: 0;
}

.ai-chat-form {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
}

.ai-chat-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-family: var(--body-font);
    font-size: 16px;
}

.ai-chat-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.typing-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #888;
    margin-right: 4px;
    animation: typingAnimation 1s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.25s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes typingAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-reply {
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Blog styles */
.blog-banner {
    background-color: var(--dark-color);
    color: white;
}

.blog-banner h1, .blog-banner p {
    color: white;
}

.featured-post {
    padding: 5rem 0;
}

.featured-post-card {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.featured-post-image {
    flex: 1;
    max-width: 50%;
}

.featured-post-image img {
    height: 100%;
    object-fit: cover;
}

.featured-post-content {
    flex: 1;
    padding: 3rem;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-post-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-grid {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.blog-categories {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.blog-categories a {
    padding: 8px 16px;
    margin: 0 5px 10px;
    border-radius: 20px;
    background-color: white;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-categories a:hover,
.blog-categories a.active {
    background-color: var(--primary-color);
    color: white;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.post-image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 0.8rem 0;
}

.post-content h3 a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--accent-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.blog-pagination a, .blog-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    font-weight: 500;
}

.blog-pagination a {
    background-color: white;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background-color: var(--primary-color);
    color: white;
}

.blog-pagination span.current-page {
    background-color: var(--primary-color);
    color: white;
}

.blog-pagination a.next-page, .blog-pagination a.prev-page {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

.blog-signup {
    padding: 5rem 0;
}

.signup-card {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
}

.signup-content {
    flex: 1;
    padding: 3rem;
}

.signup-image {
    flex: 1;
}

.signup-image img {
    height: 100%;
    object-fit: cover;
}

.blog-signup-form {
    display: flex;
    margin-top: 2rem;
}

.blog-signup-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
    font-family: var(--body-font);
    font-size: 16px;
}

.blog-signup-form button {
    border-radius: 0 4px 4px 0;
}

/* Product customization */
.size-note {
    font-size: 0.8rem;
    color: var(--light-text);
    font-weight: normal;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Responsive design adjustments */
@media (max-width: 992px) {
    .story-content, .dilution-content, .featured-post-card, .signup-card {
        flex-direction: column;
    }
    
    .featured-post-image, .signup-image {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .values-grid, .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}
