/* Decorilla-Inspired Custom Styles */

/* Smooth transitions for all interactive elements */
.wp-block-button a,
.wp-block-image img,
.wp-block-group {
    transition: all 0.3s ease;
}

/* Enhanced button hover effects */
.wp-block-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card hover effects for portfolio items */
.wp-block-column .wp-block-group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-column .wp-block-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Image hover effects */
.wp-block-image img {
    transition: transform 0.3s ease;
}

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

/* Testimonial card styling */
.has-mono-4-border-color {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.has-mono-4-border-color:hover {
    border-color: var(--wp--preset--color--primary) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Hero section enhancements */
.wp-block-cover {
    position: relative;
}

.wp-block-cover__inner-container {
    z-index: 2;
}

/* Typography refinements */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Portfolio grid responsive spacing */
@media (max-width: 781px) {
    .wp-block-columns {
        gap: var(--wp--preset--spacing--superbspacing-small) !important;
    }
}

/* Enhanced focus states for accessibility */
.wp-block-button a:focus,
button:focus,
a:focus {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

/* Decorilla-style section spacing */
.alignfull {
    position: relative;
}

/* Subtle animations for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional shadows */
.wp-block-group.has-background {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* CTA section gradient overlay option */
.has-primary-background-color.alignfull {
    background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--secondary) 100%);
}

/* Refined border radius consistency */
.wp-block-group,
.wp-block-image img {
    border-radius: 8px;
}

/* Professional spacing for content sections */
.wp-block-group.alignfull + .wp-block-group.alignfull {
    margin-top: 0 !important;
}

/* Enhanced readability */
p {
    line-height: 1.7;
}

/* Portfolio item image aspect ratio */
.wp-block-column .wp-block-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.wp-block-column .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Star rating styling */
.has-primary-color {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Responsive typography */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

/* Button group spacing */
.wp-block-buttons {
    gap: 1rem;
}

/* Ensure consistent padding on mobile */
@media (max-width: 781px) {
    .wp-block-group.alignfull {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Professional link styling */
a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Cover overlay refinement */
.wp-block-cover__background {
    transition: opacity 0.3s ease;
}

/* Separator styling */
.wp-block-separator {
    opacity: 0.3;
}

/* Form input styling (if needed) */
input[type="text"],
input[type="email"],
textarea {
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--wp--preset--color--primary);
    outline: none;
}
