/* Diamond Boutique Section - Frontend Styles */

.dbs-section-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}

.dbs-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.dbs-section-content {
    display: flex;
    align-items: center;
    min-height: 400px;
}

/* RTL Support - Image on RIGHT in Arabic */
.dbs-section-wrapper[dir="rtl"] .dbs-section-content {
    flex-direction: row-reverse;
}

.dbs-section-wrapper[dir="rtl"] .dbs-text-content {
    text-align: right;
}

/* LTR - Image on LEFT in English */
.dbs-section-wrapper[dir="ltr"] .dbs-section-content {
    flex-direction: row;
}

.dbs-section-wrapper[dir="ltr"] .dbs-text-content {
    text-align: left;
}

/* Text Content Side */
.dbs-text-content {
    width: 50%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.dbs-title {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
}

.dbs-description {
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 25px 0;
    font-weight: 300;
    opacity: 0.95;
}

.dbs-button-wrapper {
    margin-top: 10px;
}

.dbs-button {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.dbs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.dbs-button:active {
    transform: translateY(0);
}

/* Image Content Side */
.dbs-image-content {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.dbs-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
    max-height: 370px;
}

/* Responsive Design - Tablet */
@media (max-width: 992px) {
    .dbs-section-content {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .dbs-text-content {
        width: 100%;
        padding: 50px 40px;
        order: 2; /* Text second on mobile */
    }
    
    .dbs-image-content {
        width: 100%;
        order: 1; /* Image first on mobile */
    }
    
    .dbs-title {
        font-size: 28px;
    }
    
    .dbs-description {
        font-size: 16px;
    }
    
    .dbs-main-image {
        min-height: 350px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .dbs-text-content {
        padding: 40px 30px;
        text-align: center;
    }
    
    .dbs-section-wrapper[dir="rtl"] .dbs-text-content {
        text-align: center;
    }
    
    .dbs-title {
        font-size: 24px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }
    
    .dbs-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .dbs-button {
        padding: 12px 35px;
        font-size: 15px;
        width: auto;
        max-width: 100%;
    }
    
    .dbs-button-wrapper {
        margin-top: 5px;
    }
    
    .dbs-main-image {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .dbs-text-content {
        padding: 35px 25px;
    }
    
    .dbs-title {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .dbs-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .dbs-button {
        padding: 11px 30px;
        font-size: 14px;
    }
    
    .dbs-main-image {
        min-height: 250px;
    }
}

/* Animation on scroll (optional) */
@media (prefers-reduced-motion: no-preference) {
    .dbs-section-wrapper {
        animation: fadeIn 0.6s ease-in;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* Print styles */
@media print {
    .dbs-section-wrapper {
        page-break-inside: avoid;
    }
    
    .dbs-button {
        border: 1px solid #000;
    }
}
