/* 
 * Redetur Site Custom Design Refinements
 * Premium styling enhancements that polish the approved design without altering the structure.
 */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth transitions for all interactive elements */
a, button, .button, .btn, .icon-box, .card-custom, .form-input, .swiper-slide {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Modern styling for the icon boxes (Negócios Redetur) */
.icon-box {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 2.5rem 1.5rem !important;
}

.icon-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

/* Clean styling for contact and application forms */
.form-input {
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    padding: 12px 16px !important;
}

.form-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

/* Polishing form buttons */
.btn-success, .button-primary {
    border-radius: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.2) !important;
}

.btn-success:hover, .button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.35) !important;
}

/* Modern visual spacing for the Story accordion (História) */
.card-group-custom .card-custom {
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 0.75rem !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important;
    background: #ffffff !important;
    overflow: hidden;
}

.card-group-custom .card-custom:hover {
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
}

.card-custom .card-heading {
    padding: 18px 24px !important;
    background: #f8fafc !important;
}

.card-custom .card-title a {
    font-weight: 600 !important;
    color: #1e293b !important;
}

.card-custom .card-arrow {
    transition: transform 0.3s !important;
}

/* Iframe (YouTube Video) container enhancements */
.embed-responsive {
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Subtle image frame hover effects */
.box-photo-frame img {
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.4s ease !important;
}

.box-photo-frame:hover img {
    transform: scale(1.02);
}

.rd-navbar-wrap, .rd-navbar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Clickable post-modern cards */
.post-modern {
    position: relative !important;
    transition: all 0.3s ease-in-out !important;
    cursor: pointer;
}

.post-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Stretched link to make the entire card clickable */
.post-modern-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Keep inner category, author and text links clickable above the stretched link */
.post-modern a:not(.post-modern-link) {
    position: relative !important;
    z-index: 2 !important;
}

/* Premium readability enhancements for posts (font size increase) */
.post-body {
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: #334155 !important; /* slate color for better modern contrast */
}

.post-body p {
    font-size: 18px !important;
    line-height: 1.85 !important;
    margin-bottom: 1.5rem !important;
}

.post-body h2 {
    font-size: 28px !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.post-body h3 {
    font-size: 24px !important;
    margin-top: 1.8rem !important;
    margin-bottom: 0.8rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.post-body ul, .post-body ol {
    font-size: 18px !important;
    margin-bottom: 1.5rem !important;
    padding-left: 2rem !important;
}

.post-body li {
    margin-bottom: 0.6rem !important;
}

/* Post Titles */
.post__title, .post-header h4 {
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
}


