/**
 * Elementor Custom Styles for Odomankoma Booking Platform
 * 
 * This file contains custom CSS specifically for Elementor-built pages
 * to ensure brand consistency across all page builder elements.
 */

/* ==========================================================================
   Elementor Section Spacing
   ========================================================================== */

.elementor-section {
    margin-bottom: 120px;
}

.elementor-section:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Elementor Buttons
   ========================================================================== */

.elementor-button-wrapper .elementor-button {
    background-color: #e2b13b !important;
    color: #173316 !important;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.elementor-button-wrapper .elementor-button:hover {
    background-color: #d4a02f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Primary button variant */
.elementor-button.elementor-button-primary {
    background-color: #2c5e2a !important;
}

.elementor-button.elementor-button-primary:hover {
    background-color: #234a22 !important;
}

/* ==========================================================================
   Elementor Headings
   ========================================================================== */

.elementor-heading-title {
    font-family: 'Playfair Display', serif !important;
    color: #2c5e2a;
}

.elementor-widget-heading .elementor-heading-title {
    margin-bottom: 20px;
}

/* Decorative underline for section headings */
.elementor-heading-title.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #e2b13b;
    margin: 15px auto 0;
}

.elementor-heading-title.section-heading.text-left::after {
    margin-left: 0;
    margin-right: auto;
}

/* ==========================================================================
   Elementor Text Editor
   ========================================================================== */

.elementor-text-editor {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.8;
}

.elementor-text-editor p {
    margin-bottom: 1.5em;
}

.elementor-text-editor a {
    color: #2c5e2a;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.elementor-text-editor a:hover {
    color: #e2b13b;
}

/* ==========================================================================
   Experience Cards (Elementor Posts Widget)
   ========================================================================== */

.elementor-posts-container .elementor-post {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.elementor-posts-container .elementor-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.elementor-posts-container .elementor-post__thumbnail {
    border-radius: 0;
    overflow: hidden;
}

.elementor-posts-container .elementor-post__thumbnail img {
    transition: transform 0.3s ease;
}

.elementor-posts-container .elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.05);
}

.elementor-posts-container .elementor-post__title {
    font-family: 'Playfair Display', serif !important;
    color: #2c5e2a;
    margin-bottom: 10px;
}

.elementor-posts-container .elementor-post__title a {
    color: #2c5e2a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.elementor-posts-container .elementor-post__title a:hover {
    color: #e2b13b;
}

.elementor-posts-container .elementor-post__excerpt {
    font-family: 'Inter', sans-serif !important;
    color: #666;
    line-height: 1.6;
}

.elementor-posts-container .elementor-post__meta-data {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px;
    color: #999;
}

/* ==========================================================================
   Elementor Image Gallery
   ========================================================================== */

.elementor-image-gallery .elementor-image-gallery__item {
    border-radius: 12px;
    overflow: hidden;
}

.elementor-image-gallery .elementor-image-gallery__item img {
    transition: transform 0.3s ease;
}

.elementor-image-gallery .elementor-image-gallery__item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Elementor Testimonials
   ========================================================================== */

.elementor-testimonial {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.elementor-testimonial__text {
    font-family: 'Inter', sans-serif !important;
    font-style: italic;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.elementor-testimonial__name {
    font-family: 'Playfair Display', serif !important;
    color: #2c5e2a;
    font-weight: 600;
}

.elementor-testimonial__title {
    font-family: 'Inter', sans-serif !important;
    color: #e2b13b;
    font-size: 14px;
}

/* ==========================================================================
   Elementor Accordion
   ========================================================================== */

.elementor-accordion .elementor-accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.elementor-accordion .elementor-tab-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    color: #2c5e2a;
    background-color: #f9f9f9;
    padding: 20px;
    transition: all 0.3s ease;
}

.elementor-accordion .elementor-tab-title:hover {
    background-color: #f0f0f0;
}

.elementor-accordion .elementor-tab-title.elementor-active {
    background-color: #2c5e2a;
    color: #ffffff;
}

.elementor-accordion .elementor-tab-content {
    font-family: 'Inter', sans-serif !important;
    padding: 20px;
    line-height: 1.8;
}

/* ==========================================================================
   Elementor Forms
   ========================================================================== */

.elementor-form .elementor-field-group {
    margin-bottom: 20px;
}

.elementor-form .elementor-field-label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    color: #2c5e2a;
    margin-bottom: 8px;
}

.elementor-form .elementor-field {
    font-family: 'Inter', sans-serif !important;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.elementor-form .elementor-field:focus {
    border-color: #2c5e2a;
    outline: none;
}

.elementor-form .elementor-button {
    background-color: #e2b13b !important;
    border: none;
    border-radius: 8px;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.elementor-form .elementor-button:hover {
    background-color: #d4a02f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.elementor-form .elementor-message {
    font-family: 'Inter', sans-serif !important;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.elementor-form .elementor-message.elementor-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.elementor-form .elementor-message.elementor-message-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Elementor Icon Box
   ========================================================================== */

.elementor-icon-box-wrapper {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.elementor-icon-box-wrapper:hover {
    transform: translateY(-5px);
}

.elementor-icon-box-icon {
    color: #e2b13b;
    margin-bottom: 20px;
}

.elementor-icon-box-title {
    font-family: 'Playfair Display', serif !important;
    color: #2c5e2a;
    margin-bottom: 15px;
}

.elementor-icon-box-description {
    font-family: 'Inter', sans-serif !important;
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   Elementor Divider
   ========================================================================== */

.elementor-divider-separator {
    border-top-color: #e2b13b;
}

/* ==========================================================================
   Elementor Call to Action
   ========================================================================== */

.elementor-cta {
    background-color: #2c5e2a;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
}

.elementor-cta__title {
    font-family: 'Playfair Display', serif !important;
    color: #ffffff;
    margin-bottom: 20px;
}

.elementor-cta__description {
    font-family: 'Inter', sans-serif !important;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.elementor-cta .elementor-button {
    background-color: #e2b13b !important;
}

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */

@media (max-width: 768px) {
    .elementor-section {
        margin-bottom: 60px;
    }
    
    .elementor-button-wrapper .elementor-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .elementor-posts-container .elementor-post {
        margin-bottom: 30px;
    }
    
    .elementor-testimonial {
        padding: 30px 20px;
    }
    
    .elementor-cta {
        padding: 40px 20px;
    }
}
