/* ===================================
   DARIUL HIKMAH - ENHANCED CSS
   Additional styling for better UI/UX
   =================================== */

/* Modern Navigation Menu */
.wp-block-navigation {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wp-block-navigation__container {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.wp-block-navigation-item a {
    font-weight: 600;
    color: #1f2937;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.wp-block-navigation-item a:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .wp-block-navigation__container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Card Hover Effects */
.wp-block-column {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Button Enhancements */
.wp-block-button__link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wp-block-button__link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wp-block-button__link:hover::after {
    width: 300px;
    height: 300px;
}

/* Post Card Styling */
.wp-block-post {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wp-block-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.wp-block-post-featured-image {
    overflow: hidden;
}

.wp-block-post-featured-image img {
    transition: transform 0.5s ease;
}

.wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.1);
}

/* Section Dividers */
.wp-block-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    margin: 3rem auto;
    max-width: 200px;
}

/* Custom Heading Styles */
h1, h2, h3, h4, h5, h6 {
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #10b981;
    margin: 1rem auto;
    border-radius: 2px;
}

/* Testimonial/Quote Block */
.wp-block-quote {
    border-left: 4px solid #10b981;
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
}

/* Image Enhancements */
.wp-block-image img {
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wp-block-image:hover img {
    transform: scale(1.02);
}

/* Gallery Grid */
.wp-block-gallery {
    gap: 1.5rem;
}

.wp-block-gallery .blocks-gallery-item {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* Form Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Table Styling */
.wp-block-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.wp-block-table td,
.wp-block-table th {
    border: 1px solid #e5e7eb;
    padding: 1rem;
    text-align: left;
}

.wp-block-table th {
    background: #10b981;
    color: white;
    font-weight: 600;
}

.wp-block-table tr:nth-child(even) {
    background: #f9fafb;
}

/* Footer Enhancements */
footer {
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

footer a {
    color: #34d399;
}

footer a:hover {
    color: white;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-block-group,
.wp-block-columns,
.wp-block-cover {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.wp-block-query.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility Classes */
.dh-section {
    padding: 4rem 2rem;
}

.dh-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dh-text-center {
    text-align: center;
}

.dh-gradient-text {
    background: linear-gradient(135deg, #10b981, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dh-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .dh-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .dh-section {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Print Styles */
@media print {
    .wp-block-navigation,
    .wp-block-button,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
