/* Premium Hero Image Widget - Complete Modern Design */

/* Base Container */
.premium-hero-container {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
}

.premium-hero-container:hover {
    transform: translateY(-5px);
}

/* Grid System */
.premium-hero-grid {
    display: grid;
    gap: 20px;
    height: 100%;
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* Layout: Masonry */
.layout-masonry .premium-hero-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "main secondary1"
        "main secondary2";
}

.layout-masonry .main-image {
    grid-area: main;
}

.layout-masonry .secondary-image-1 {
    grid-area: secondary1;
}

.layout-masonry .secondary-image-2 {
    grid-area: secondary2;
}

/* Layout: Overlapping */
.layout-overlap .premium-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
}

.layout-overlap .premium-hero-image {
    position: absolute;
}

.layout-overlap .main-image {
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    z-index: 3;
}

.layout-overlap .secondary-image-1 {
    top: 15%;
    right: 0;
    width: 45%;
    height: 50%;
    z-index: 2;
}

.layout-overlap .secondary-image-2 {
    bottom: 0;
    right: 10%;
    width: 35%;
    height: 40%;
    z-index: 1;
}

/* Layout: Floating */
.layout-floating .premium-hero-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    position: relative;
}

.layout-floating .main-image {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    transform: rotate(-2deg);
    z-index: 3;
}

.layout-floating .secondary-image-1 {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    transform: rotate(3deg) translateY(20px);
    z-index: 2;
}

.layout-floating .secondary-image-2 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    transform: rotate(-1deg) translateY(-10px);
    z-index: 1;
}

/* Layout: Magazine */
.layout-magazine .premium-hero-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 2fr 1fr;
    grid-template-areas:
        "main main secondary1"
        "secondary2 secondary2 secondary1";
}

.layout-magazine .main-image {
    grid-area: main;
}

.layout-magazine .secondary-image-1 {
    grid-area: secondary1;
}

.layout-magazine .secondary-image-2 {
    grid-area: secondary2;
}

/* Layout: Creative */
.layout-creative .premium-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    position: relative;
}

.layout-creative .main-image {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    border-radius: 50px 50px 20px 20px;
}

.layout-creative .secondary-image-1 {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    border-radius: 20px 50px 20px 50px;
}

.layout-creative .secondary-image-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    border-radius: 50px 20px 50px 20px;
}

/* Layout: Scattered */
.layout-scattered .premium-hero-grid {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.layout-scattered .premium-hero-image {
    position: absolute;
}

.layout-scattered .main-image {
    top: 10%;
    left: 20%;
    width: 60%;
    height: 50%;
    transform: rotate(-5deg);
    z-index: 3;
}

.layout-scattered .secondary-image-1 {
    top: 5%;
    right: 5%;
    width: 30%;
    height: 35%;
    transform: rotate(8deg);
    z-index: 2;
}

.layout-scattered .secondary-image-2 {
    bottom: 10%;
    left: 5%;
    width: 35%;
    height: 30%;
    transform: rotate(-3deg);
    z-index: 1;
}

/* Layout: Organic */
.layout-organic .premium-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.layout-organic .main-image {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.layout-organic .secondary-image-1 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
}

.layout-organic .secondary-image-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border-radius: 70% 30% 60% 40% / 30% 60% 40% 70%;
}

/* Image Styling */
.premium-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.premium-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.1) saturate(1.1);
    background: transparent;
    display: block;
}

/* Individual Image Custom Controls */
.premium-hero-image.main-image {
    /* Custom radius, size, position will be applied via inline styles */
}

.premium-hero-image.secondary-image-1 {
    /* Custom radius, size, position will be applied via inline styles */
}

.premium-hero-image.secondary-image-2 {
    /* Custom radius, size, position will be applied via inline styles */
}

/* Hover Effects */
.premium-hero-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
}

.premium-hero-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Badge Styling with Custom Positioning */
.premium-hero-badge {
    position: absolute;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Default premium gradient background */
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    /* Custom position and size will be applied via inline styles */
}

.premium-hero-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.6);
}

/* Premium Badge Models */
.premium-hero-badge.badge-1 {
    /* Premium Fire Badge */
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero-badge.badge-1:hover {
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.6), 0 0 20px rgba(255, 107, 107, 0.3);
}

.premium-hero-badge.badge-2 {
    /* Premium Ocean Badge */
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero-badge.badge-2:hover {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6), 0 0 20px rgba(0, 242, 254, 0.3);
}

.premium-hero-badge.badge-3 {
    /* Premium Nature Badge */
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 5px 15px rgba(67, 233, 123, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero-badge.badge-3:hover {
    box-shadow: 0 8px 25px rgba(67, 233, 123, 0.6), 0 0 20px rgba(56, 249, 215, 0.3);
}

.premium-hero-badge.badge-4 {
    /* Premium Sunset Badge */
    background: linear-gradient(135deg, #fa709a, #fee140);
    box-shadow: 0 5px 15px rgba(250, 112, 154, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero-badge.badge-4:hover {
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.6), 0 0 20px rgba(254, 225, 64, 0.3);
}

.premium-hero-badge.badge-5 {
    /* Premium Royal Badge */
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero-badge.badge-5:hover {
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.6), 0 0 20px rgba(102, 126, 234, 0.3);
}

.premium-hero-badge.badge-6 {
    /* Premium Gold Badge */
    background: linear-gradient(135deg, #f7971e, #ffd200);
    box-shadow: 0 5px 15px rgba(247, 151, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
}

.premium-hero-badge.badge-6:hover {
    box-shadow: 0 8px 25px rgba(247, 151, 30, 0.6), 0 0 20px rgba(255, 210, 0, 0.3);
}

.premium-hero-badge.badge-7 {
    /* Premium Dark Badge */
    background: linear-gradient(135deg, #2c3e50, #34495e);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-hero-badge.badge-7:hover {
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.6), 0 0 20px rgba(52, 73, 94, 0.3);
}

.premium-hero-badge.badge-8 {
    /* Premium Rose Badge */
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero-badge.badge-8:hover {
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.6), 0 0 20px rgba(245, 87, 108, 0.3);
}

/* Premium Badge Shapes */
.premium-hero-badge.shape-rounded {
    border-radius: 25px;
}

.premium-hero-badge.shape-square {
    border-radius: 8px;
}

.premium-hero-badge.shape-pill {
    border-radius: 50px;
}

.premium-hero-badge.shape-hexagon {
    border-radius: 0;
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
    padding: 10px 20px;
}

.premium-hero-badge.shape-diamond {
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    padding: 12px;
    width: 60px;
    height: 60px;
}

/* Premium Badge Sizes */
.premium-hero-badge.size-small {
    padding: 6px 12px;
    font-size: 10px;
}

.premium-hero-badge.size-medium {
    padding: 8px 16px;
    font-size: 12px;
}

.premium-hero-badge.size-large {
    padding: 12px 24px;
    font-size: 14px;
}

.premium-hero-badge.size-xl {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
}

/* Premium Badge Effects */
.premium-hero-badge.effect-glow {
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4), 0 0 30px rgba(238, 90, 36, 0.2);
}

.premium-hero-badge.effect-neon {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.premium-hero-badge.effect-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.premium-hero-badge.effect-metallic {
    background: linear-gradient(135deg, #c0c0c0, #808080, #c0c0c0);
    color: #333;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Premium Badge with Icons */
.premium-hero-badge.with-icon::before {
    content: '★';
    margin-right: 5px;
    font-size: 14px;
}

.premium-hero-badge.icon-fire::before {
    content: '🔥';
}

.premium-hero-badge.icon-crown::before {
    content: '👑';
}

.premium-hero-badge.icon-diamond::before {
    content: '💎';
}

.premium-hero-badge.icon-star::before {
    content: '⭐';
}

.premium-hero-badge.icon-heart::before {
    content: '❤️';
}

/* Premium Badge Positions */
.premium-hero-badge.position-top-left {
    top: 15px;
    left: 15px;
}

.premium-hero-badge.position-top-right {
    top: 15px;
    right: 15px;
}

.premium-hero-badge.position-bottom-left {
    bottom: 15px;
    left: 15px;
}

.premium-hero-badge.position-bottom-right {
    bottom: 15px;
    right: 15px;
}

.premium-hero-badge.position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.premium-hero-badge.position-center:hover {
    transform: translate(-50%, -50%) translateY(-2px) scale(1.05);
}

.premium-hero-statistics {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: all 0.3s ease;
}

.premium-hero-statistics:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.premium-hero-stat {
    text-align: center;
    min-width: 80px;
    position: relative;
}

.premium-hero-stat::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #ddd, transparent);
}

.premium-hero-stat:last-child::after {
    display: none;
}

.premium-hero-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-hero-stat-label {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Ornaments System */
.premium-hero-ornaments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ornament {
    position: absolute;
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Geometric Ornaments */
.ornament-geometric .ornament-1 {
    top: 10%;
    left: 10%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.3);
}

.ornament-geometric .ornament-2 {
    top: 20%;
    right: 15%;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(168, 237, 234, 0.3);
}

.ornament-geometric .ornament-3 {
    bottom: 25%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #ffeaa7;
    filter: drop-shadow(0 5px 10px rgba(255, 234, 167, 0.3));
}

.ornament-geometric .ornament-4 {
    bottom: 15%;
    right: 20%;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #fd79a8, #fdcb6e);
    border-radius: 10px;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3);
}

.ornament-geometric .ornament-5 {
    top: 50%;
    right: 5%;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(116, 185, 255, 0.3);
}

/* Organic Ornaments */
.ornament-organic .ornament-1 {
    top: 15%;
    left: 8%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: premiumOrnamentMorph 6s ease-in-out infinite;
}

.ornament-organic .ornament-2 {
    top: 30%;
    right: 12%;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    animation: premiumOrnamentMorph 8s ease-in-out infinite reverse;
}

/* Minimal Ornaments */
.ornament-minimal .ornament-1 {
    top: 20%;
    left: 15%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 1px;
}

.ornament-minimal .ornament-2 {
    top: 25%;
    right: 20%;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 1px;
}

/* Ornament Animations */
.ornament-animation-float .ornament {
    animation: premiumOrnamentFloat 4s ease-in-out infinite;
}

.ornament-animation-rotate .ornament {
    animation: premiumOrnamentRotate 8s linear infinite;
}

.ornament-animation-pulse .ornament {
    animation: premiumPulse 3s ease-in-out infinite;
}

.ornament-animation-morph .ornament {
    animation: premiumOrnamentMorph 6s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes premiumPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes premiumBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes premiumFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes premiumRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes premiumGlow {
    from {
        box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
    }
    to {
        box-shadow: 0 5px 25px rgba(238, 90, 36, 0.8), 0 0 30px rgba(238, 90, 36, 0.3);
    }
}

@keyframes premiumShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

@keyframes premiumOrnamentFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-5px) translateX(2px);
    }
    50% {
        transform: translateY(-10px) translateX(0px);
    }
    75% {
        transform: translateY(-5px) translateX(-2px);
    }
}

@keyframes premiumOrnamentRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes premiumOrnamentMorph {
    0%, 100% {
        border-radius: 50% 40% 60% 30%;
        transform: scale(1);
    }
    25% {
        border-radius: 30% 60% 40% 50%;
        transform: scale(1.1);
    }
    50% {
        border-radius: 60% 30% 50% 40%;
        transform: scale(0.9);
    }
    75% {
        border-radius: 40% 50% 30% 60%;
        transform: scale(1.05);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .premium-hero-statistics {
        background: rgba(30, 30, 30, 0.95);
        color: white;
    }
    
    .premium-hero-stat-number {
        color: #ffffff;
    }
    
    .premium-hero-stat-label {
        color: #cccccc;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .premium-hero-image {
        border: 2px solid #000;
    }
    
    .premium-hero-badge {
        border: 2px solid #000;
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .premium-hero-container,
    .premium-hero-image,
    .premium-hero-badge,
    .premium-hero-statistics,
    .ornament {
        animation: none;
        transition: none;
    }
    
    .premium-hero-container:hover,
    .premium-hero-image:hover {
        transform: none;
    }
}

/* Focus Styles for Accessibility */
.premium-hero-image:focus,
.premium-hero-badge:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

/* RTL Support */
[dir="rtl"] .premium-hero-statistics {
    left: auto;
    right: 20px;
}

[dir="rtl"] .premium-hero-stat::after {
    right: auto;
    left: -10px;
}

/* Print Styles */
@media print {
    .premium-hero-container {
        box-shadow: none;
        background: white;
    }
    
    .premium-hero-badge,
    .premium-hero-ornaments {
        display: none;
    }
}

/* Loading State */
.premium-hero-loading {
    position: relative;
    overflow: hidden;
}

.premium-hero-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: premiumLoading 1.5s infinite;
    z-index: 1000;
}

@keyframes premiumLoading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Error State */
.premium-hero-error {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

/* Performance Optimizations */
.premium-hero-image img {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.premium-hero-badge {
    will-change: transform;
    backface-visibility: hidden;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .premium-hero-container {
        padding: 15px;
        border-radius: 15px;
        min-height: 300px;
    }
    
    .premium-hero-grid {
        gap: 10px;
        padding: 15px;
        grid-template-columns: 1fr !important;
        grid-template-rows: 2fr 1fr 1fr !important;
        grid-template-areas: 
            "main"
            "secondary1"
            "secondary2" !important;
    }
    
    /* Force all layouts to stack on mobile */
    .layout-masonry .premium-hero-grid,
    .layout-overlap .premium-hero-grid,
    .layout-floating .premium-hero-grid,
    .layout-magazine .premium-hero-grid,
    .layout-creative .premium-hero-grid,
    .layout-scattered .premium-hero-grid,
    .layout-organic .premium-hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr 1fr;
        position: relative;
    }
    
    .layout-overlap .premium-hero-image,
    .layout-floating .premium-hero-image,
    .layout-scattered .premium-hero-image {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .premium-hero-image {
        border-radius: 10px;
        min-height: 180px;
    }
    
    .main-image {
        min-height: 220px;
    }
    
    .secondary-image-1,
    .secondary-image-2 {
        min-height: 140px;
    }
    
    .premium-hero-statistics {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 15px;
        padding: 15px;
        gap: 15px;
    }
    
    .premium-hero-stat {
        min-width: 60px;
    }
    
    .premium-hero-stat-number {
        font-size: 20px;
    }
    
    .premium-hero-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .premium-hero-container {
        padding: 10px;
        border-radius: 10px;
        min-height: 250px;
    }
    
    .premium-hero-grid {
        gap: 8px;
        padding: 10px;
    }
    
    .premium-hero-image {
        border-radius: 8px;
        min-height: 150px;
    }
    
    .main-image {
        min-height: 180px;
    }
    
    .secondary-image-1,
    .secondary-image-2 {
        min-height: 120px;
    }
    
    .premium-hero-statistics {
        padding: 12px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .premium-hero-stat {
        min-width: 50px;
    }
    
    .premium-hero-stat-number {
        font-size: 18px;
    }
    
    .premium-hero-stat-label {
        font-size: 10px;
    }
    
    .premium-hero-badge {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .ornament {
        display: none; /* Hide ornaments on very small screens */
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .premium-hero-container {
        min-height: 350px;
    }
    
    .premium-hero-grid {
        gap: 15px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .premium-hero-container {
        min-height: 500px;
    }
    
    .premium-hero-grid {
        gap: 25px;
        padding: 25px;
    }
    
    .premium-hero-statistics {
        padding: 25px;
        gap: 25px;
    }
    
    .premium-hero-stat-number {
        font-size: 28px;
    }
}

/* Browser Compatibility */
@supports not (backdrop-filter: blur(10px)) {
    .premium-hero-badge,
    .premium-hero-statistics {
        background: rgba(255, 255, 255, 0.95);
    }
}

@supports not (object-fit: cover) {
    .premium-hero-image img {
        width: 100%;
        height: 100%;
    }
}

/* Container Queries Support */
@container (max-width: 500px) {
    .premium-hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
}