/*!
 * JME Hero Patterns Stylesheet
 * Professional hero callout patterns for WordPress
 * Version: 1.0.8
 * Author: JME Photo LLC
 * All rights reserved
 */

/* =============================================================================
   BASE HERO CALLOUT STYLES
   ========================================================================== */

   .jme-hero-callout {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Animated top border */
.jme-hero-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hover effect */
.jme-hero-callout:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* =============================================================================
   TYPOGRAPHY
   ========================================================================== */

.jme-hero-callout h1,
.jme-hero-callout h2,
.jme-hero-callout h3,
.jme-hero-callout h4,
.jme-hero-callout h5,
.jme-hero-callout h6 {
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
    font-family: inherit;
}

.jme-hero-callout h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.jme-hero-callout h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 22px;
}

.jme-hero-callout h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.jme-hero-callout h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 18px;
}

.jme-hero-callout p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.jme-hero-callout .subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #718096;
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 400;
}

/* =============================================================================
   BUTTONS
   ========================================================================== */

.jme-hero-callout .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 20px 10px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.jme-hero-callout .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.jme-hero-callout .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.3);
    text-decoration: none;
    color: white;
}

.jme-hero-callout .cta-button:hover::before {
    left: 100%;
}

.jme-hero-callout .cta-button:active {
    transform: translateY(0);
}

/* Outline button style */
.jme-hero-callout .cta-button-outline {
    display: inline-block;
    background: transparent;
    color: #2d3748;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #2d3748;
    margin: 20px 10px 0;
    position: relative;
    overflow: hidden;
}

.jme-hero-callout .cta-button-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #2d3748;
    transition: left 0.3s ease;
    z-index: -1;
}

.jme-hero-callout .cta-button-outline:hover {
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.2);
}

.jme-hero-callout .cta-button-outline:hover::before {
    left: 0;
}

/* =============================================================================
   THEME VARIATIONS
   ========================================================================== */

/* Photography Theme - Dark and dramatic */
.jme-hero-callout.photography-theme {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jme-hero-callout.photography-theme::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.jme-hero-callout.photography-theme h1,
.jme-hero-callout.photography-theme h2,
.jme-hero-callout.photography-theme h3,
.jme-hero-callout.photography-theme h4,
.jme-hero-callout.photography-theme h5,
.jme-hero-callout.photography-theme h6 {
    color: white;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-hero-callout.photography-theme p {
    color: #e2e8f0;
}

.jme-hero-callout.photography-theme .subtitle {
    color: #cbd5e0;
}

.jme-hero-callout.photography-theme .cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.jme-hero-callout.photography-theme .cta-button:hover {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.jme-hero-callout.photography-theme .cta-button-outline {
    color: #e2e8f0;
    border-color: #e2e8f0;
}

.jme-hero-callout.photography-theme .cta-button-outline::before {
    background: #e2e8f0;
}

.jme-hero-callout.photography-theme .cta-button-outline:hover {
    color: #2d3748;
}

/* Warm Theme */
.jme-hero-callout.warm-theme {
    background: linear-gradient(135deg, rgba(255, 248, 235, 0.95) 0%, rgba(254, 243, 199, 0.95) 100%);
    border: 1px solid rgba(214, 158, 46, 0.2);
}

.jme-hero-callout.warm-theme::before {
    background: linear-gradient(90deg, #d69e2e 0%, #f6ad55 50%, #d69e2e 100%);
}

.jme-hero-callout.warm-theme h1,
.jme-hero-callout.warm-theme h2,
.jme-hero-callout.warm-theme h3,
.jme-hero-callout.warm-theme h4,
.jme-hero-callout.warm-theme h5,
.jme-hero-callout.warm-theme h6 {
    color: #744210;
    background: linear-gradient(135deg, #744210 0%, #d69e2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-hero-callout.warm-theme p {
    color: #8b5a00;
}

.jme-hero-callout.warm-theme .subtitle {
    color: #a0640e;
}

.jme-hero-callout.warm-theme .cta-button {
    background: linear-gradient(135deg, #d69e2e 0%, #f6ad55 100%);
    color: white;
}

.jme-hero-callout.warm-theme .cta-button:hover {
    box-shadow: 0 10px 25px rgba(214, 158, 46, 0.3);
}

.jme-hero-callout.warm-theme .cta-button-outline {
    color: #d69e2e;
    border-color: #d69e2e;
}

.jme-hero-callout.warm-theme .cta-button-outline::before {
    background: #d69e2e;
}

/* Cool Theme */
.jme-hero-callout.cool-theme {
    background: linear-gradient(135deg, rgba(237, 250, 255, 0.95) 0%, rgba(224, 242, 254, 0.95) 100%);
    border: 1px solid rgba(49, 130, 206, 0.2);
}

.jme-hero-callout.cool-theme::before {
    background: linear-gradient(90deg, #3182ce 0%, #63b3ed 50%, #3182ce 100%);
}

.jme-hero-callout.cool-theme h1,
.jme-hero-callout.cool-theme h2,
.jme-hero-callout.cool-theme h3,
.jme-hero-callout.cool-theme h4,
.jme-hero-callout.cool-theme h5,
.jme-hero-callout.cool-theme h6 {
    color: #1e40af;
    background: linear-gradient(135deg, #1e40af 0%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-hero-callout.cool-theme p {
    color: #1e3a8a;
}

.jme-hero-callout.cool-theme .subtitle {
    color: #3730a3;
}

.jme-hero-callout.cool-theme .cta-button {
    background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
    color: white;
}

.jme-hero-callout.cool-theme .cta-button:hover {
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.jme-hero-callout.cool-theme .cta-button-outline {
    color: #3182ce;
    border-color: #3182ce;
}

.jme-hero-callout.cool-theme .cta-button-outline::before {
    background: #3182ce;
}

/* =============================================================================
   SERVICE PACKAGES STYLES
   ========================================================================== */

.jme-services-section {
    padding: 40px 0;
    margin: 40px 0;
}

/* Photography theme services section */
.jme-services-section .jme-packages-grid.photography-theme {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.jme-services-section .jme-packages-grid.photography-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.jme-services-section .jme-packages-grid.photography-theme ~ .jme-services-title,
.jme-services-section .jme-services-title + .jme-packages-grid.photography-theme {
    color: white;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Warm theme services section */
.jme-services-section .jme-packages-grid.warm-theme {
    background: linear-gradient(135deg, rgba(255, 248, 235, 0.95) 0%, rgba(254, 243, 199, 0.95) 100%);
    border: 1px solid rgba(214, 158, 46, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.jme-services-section .jme-packages-grid.warm-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d69e2e 0%, #f6ad55 50%, #d69e2e 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Cool theme services section */
.jme-services-section .jme-packages-grid.cool-theme {
    background: linear-gradient(135deg, rgba(237, 250, 255, 0.95) 0%, rgba(224, 242, 254, 0.95) 100%);
    border: 1px solid rgba(49, 130, 206, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.jme-services-section .jme-packages-grid.cool-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3182ce 0%, #63b3ed 50%, #3182ce 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.jme-services-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #2d3748;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.2;
}

.jme-packages-grid {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jme-package-card {
    width: 100%;
    margin: 25px auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: block;
}

.jme-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.jme-package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.jme-package-card h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.jme-package-card .package-content {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.jme-package-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.jme-package-card ul {
    list-style: none;
    padding-left: 0;
    position: relative;
    z-index: 2;
    text-align: left;
    margin-bottom: 25px;
}

.jme-package-card li {
    padding: 6px 0;
    position: relative;
    padding-left: 25px;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.4;
}

.jme-package-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1rem;
}

.jme-package-card .package-button {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.jme-package-card .package-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.25);
    text-decoration: none;
    color: white;
}

/* Photography theme for packages */
.jme-packages-grid.photography-theme .jme-package-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    color: #2d3748;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jme-packages-grid.photography-theme .jme-package-card h3 {
    color: #2d3748;
}

.jme-packages-grid.photography-theme .jme-package-card .package-content {
    color: #4a5568;
}

.jme-packages-grid.photography-theme .jme-package-card .package-content p {
    color: #4a5568;
}

.jme-packages-grid.photography-theme .jme-package-card .package-content strong {
    color: #2d3748;
}

.jme-packages-grid.photography-theme .jme-package-card .price {
    color: #4a5568;
}

.jme-packages-grid.photography-theme .jme-package-card li {
    color: #4a5568;
}

.jme-packages-grid.photography-theme .jme-package-card li::before {
    color: #667eea;
}

.jme-packages-grid.photography-theme .jme-package-card .package-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.jme-packages-grid.photography-theme .jme-package-card .package-button:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Warm theme for packages */
.jme-packages-grid.warm-theme .jme-package-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jme-packages-grid.warm-theme .jme-package-card::before {
    background: linear-gradient(90deg, #d69e2e 0%, #f6ad55 50%, #d69e2e 100%);
}

.jme-packages-grid.warm-theme .jme-package-card h3 {
    color: #2d3748;
}

.jme-packages-grid.warm-theme .jme-package-card .package-content {
    color: #4a5568;
}

.jme-packages-grid.warm-theme .jme-package-card .package-content p {
    color: #4a5568;
}

.jme-packages-grid.warm-theme .jme-package-card .package-content strong {
    color: #2d3748;
}

.jme-packages-grid.warm-theme .jme-package-card .price {
    color: #4a5568;
}

.jme-packages-grid.warm-theme .jme-package-card li {
    color: #4a5568;
}

.jme-packages-grid.warm-theme .jme-package-card .package-button {
    background: linear-gradient(135deg, #d69e2e 0%, #f6ad55 100%);
}

/* Cool theme for packages */
.jme-packages-grid.cool-theme .jme-package-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jme-packages-grid.cool-theme .jme-package-card::before {
    background: linear-gradient(90deg, #3182ce 0%, #63b3ed 50%, #3182ce 100%);
}

.jme-packages-grid.cool-theme .jme-package-card h3 {
    color: #2d3748;
}

.jme-packages-grid.cool-theme .jme-package-card .package-content {
    color: #4a5568;
}

.jme-packages-grid.cool-theme .jme-package-card .package-content p {
    color: #4a5568;
}

.jme-packages-grid.cool-theme .jme-package-card .package-content strong {
    color: #2d3748;
}

.jme-packages-grid.cool-theme .jme-package-card .price {
    color: #4a5568;
}

.jme-packages-grid.cool-theme .jme-package-card li {
    color: #4a5568;
}

.jme-packages-grid.cool-theme .jme-package-card .package-button {
    background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
}

/* =============================================================================
   SIZE VARIATIONS
   ========================================================================== */

.jme-hero-callout.size-small {
    padding: 30px 25px;
    margin: 25px 0;
}

.jme-hero-callout.size-small h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.jme-hero-callout.size-small h2 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.jme-hero-callout.size-small p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 20px;
}

.jme-hero-callout.size-large {
    padding: 70px 50px;
    margin: 60px 0;
}

.jme-hero-callout.size-large h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 35px;
}

.jme-hero-callout.size-large h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 30px;
}

.jme-hero-callout.size-large p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 40px;
}

/* =============================================================================
   IMAGES AND MEDIA
   ========================================================================== */

.jme-hero-callout img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.jme-hero-callout img:hover {
    transform: scale(1.02);
}

.jme-hero-callout .hero-image {
    max-width: 600px;
    margin: 30px auto;
    display: block;
}

/* =============================================================================
   LAYOUT HELPERS
   ========================================================================== */

.jme-hero-callout.text-left {
    text-align: left;
}

.jme-hero-callout.text-right {
    text-align: right;
}

.jme-hero-callout .button-group {
    margin-top: 30px;
}

.jme-hero-callout .button-group .cta-button,
.jme-hero-callout .button-group .cta-button-outline {
    margin: 10px;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .jme-hero-callout {
        padding: 35px 25px;
        margin: 25px 10px;
        border-radius: 15px;
    }
    
    .jme-hero-callout .cta-button,
    .jme-hero-callout .cta-button-outline {
        display: block;
        text-align: center;
        margin: 20px auto 10px;
        max-width: 280px;
        width: 100%;
    }
    
    .jme-hero-callout .button-group .cta-button,
    .jme-hero-callout .button-group .cta-button-outline {
        margin: 10px auto;
        display: block;
    }
    
    .jme-hero-callout.size-large {
        padding: 40px 25px;
        margin: 30px 10px;
    }
    
    .jme-hero-callout.size-small {
        padding: 25px 20px;
        margin: 20px 10px;
    }
    
    /* Service packages mobile */
    .jme-packages-grid {
        padding: 0 15px;
    }
    
    .jme-package-card {
        padding: 25px 20px;
    }
    
    .jme-services-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .jme-hero-callout {
        padding: 25px 20px;
        margin: 20px 5px;
        border-radius: 12px;
    }
    
    .jme-hero-callout h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .jme-hero-callout .cta-button,
    .jme-hero-callout .cta-button-outline {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .jme-package-card {
        padding: 20px 15px;
    }
}

/* =============================================================================
   ACCESSIBILITY
   ========================================================================== */

.jme-hero-callout:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.jme-hero-callout .cta-button:focus,
.jme-hero-callout .cta-button-outline:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.jme-package-card .package-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .jme-hero-callout,
    .jme-package-card {
        border: 2px solid currentColor;
    }
    
    .jme-hero-callout h1,
    .jme-hero-callout h2,
    .jme-hero-callout h3,
    .jme-hero-callout h4,
    .jme-hero-callout h5,
    .jme-hero-callout h6 {
        background: none;
        -webkit-text-fill-color: unset;
        color: currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .jme-hero-callout,
    .jme-hero-callout *,
    .jme-hero-callout::before,
    .jme-hero-callout::after,
    .jme-package-card,
    .jme-package-card *,
    .jme-package-card::before,
    .jme-package-card::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}

/* =============================================================================
   UTILITY CLASSES
   ========================================================================== */

.jme-hero-callout.no-animation::before,
.jme-package-card.no-animation::before {
    animation: none;
}

.jme-hero-callout.no-shadow,
.jme-package-card.no-shadow {
    box-shadow: none;
}

.jme-hero-callout.no-border,
.jme-package-card.no-border {
    border: none;
}

.jme-hero-callout.full-width {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

/* =============================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .jme-hero-callout,
    .jme-package-card {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .jme-hero-callout h1,
    .jme-hero-callout h2,
    .jme-hero-callout h3,
    .jme-hero-callout h4,
    .jme-hero-callout h5,
    .jme-hero-callout h6,
    .jme-package-card h3 {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: unset !important;
    }
    
    .jme-hero-callout .cta-button,
    .jme-hero-callout .cta-button-outline,
    .jme-package-card .package-button {
        background: white !important;
        color: black !important;
        border: 1px solid black !important;
    }
}

/* =============================================================================
   THEME COMPATIBILITY
   ========================================================================== */

/* Ensure compatibility with WordPress themes */
.jme-hero-callout *,
.jme-package-card * {
    box-sizing: border-box;
}

.jme-hero-callout *:not(.cta-button):not(.cta-button-outline),
.jme-package-card *:not(.package-button) {
    border: none;
    outline: none;
}

/* Reset any theme-specific link styles */
.jme-hero-callout a.cta-button,
.jme-hero-callout a.cta-button-outline,
.jme-package-card a.package-button {
    text-shadow: none;
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.3);
}

.jme-hero-callout a.cta-button:hover,
.jme-hero-callout a.cta-button-outline:hover,
.jme-package-card a.package-button:hover {
    text-shadow: none;
}

/* =============================================================================
   WPFORMS STYLING FOR JME HERO PATTERNS
   Matches the design of hero callouts and service packages
   ========================================================================== */

/* Form Container */
.jme-form-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Animated top border */
.jme-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Form Title */
.jme-form-container h2,
.jme-form-container .wpforms-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #2d3748;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.2;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-form-container .form-subtitle {
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #718096;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 400;
}

/* WPForms Specific Styling */
.wpforms-container {
    position: relative;
    z-index: 2;
}

/* Form Fields */
.wpforms-field {
    margin-bottom: 25px;
}

.wpforms-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
}

.wpforms-field-label-inline {
    margin-bottom: 0;
}

/* Input Fields */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field input[type="password"],
.wpforms-field input[type="number"],
.wpforms-field input[type="date"],
.wpforms-field input[type="time"],
.wpforms-field select,
.wpforms-field textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid rgba(203, 213, 224, 0.6);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    color: #2d3748;
    font-family: inherit;
    line-height: 1.4;
}

.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

/* Textarea specific */
.wpforms-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Select Fields */
.wpforms-field select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23667eea' d='M8 12L3 7h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 50px;
    appearance: none;
}

/* Radio Buttons */
.wpforms-field-radio ul,
.wpforms-field-checkbox ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.wpforms-field-radio li,
.wpforms-field-checkbox li {
    background: rgba(102, 126, 234, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.wpforms-field-radio li:hover,
.wpforms-field-checkbox li:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.wpforms-field-radio input,
.wpforms-field-checkbox input {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: #667eea;
}

.wpforms-field-radio label,
.wpforms-field-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
}

/* File Upload */
.wpforms-field-file input[type="file"] {
    padding: 20px;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.02);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpforms-field-file input[type="file"]:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.05);
}

/* Submit Button */
.wpforms-submit-container {
    text-align: center;
    margin-top: 40px;
}

.wpforms-submit {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wpforms-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.3);
}

.wpforms-submit:hover::before {
    left: 100%;
}

.wpforms-submit:active {
    transform: translateY(0);
}

/* Required Fields Indicator */
.wpforms-required {
    color: #e53e3e;
    font-weight: bold;
}

/* Field Descriptions */
.wpforms-field-description {
    margin-top: 8px;
    font-size: 14px;
    color: #718096;
    font-style: italic;
}

/* Error Messages */
.wpforms-error {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.wpforms-field.wpforms-has-error input,
.wpforms-field.wpforms-has-error select,
.wpforms-field.wpforms-has-error textarea {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Success Message */
.wpforms-confirmation-container-full {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 178, 172, 0.1) 100%);
    border: 2px solid rgba(72, 187, 120, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: #2f855a;
    font-weight: 600;
    margin: 40px 0;
}

/* Loading State */
.wpforms-submit[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Footer */
.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(203, 213, 224, 0.3);
    position: relative;
    z-index: 2;
}

.form-footer p {
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 1rem;
}

.form-footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.form-footer li {
    padding: 4px 0;
    color: #4a5568;
    font-size: 0.95rem;
}

/* =============================================================================
   FORM THEME VARIATIONS
   ========================================================================== */

/* Photography Theme Form */
.jme-form-container.photography-theme {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jme-form-container.photography-theme h2,
.jme-form-container.photography-theme .wpforms-title {
    color: white;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-form-container.photography-theme .form-subtitle {
    color: #cbd5e0;
}

.jme-form-container.photography-theme .wpforms-field-label {
    color: #e2e8f0;
}

.jme-form-container.photography-theme input,
.jme-form-container.photography-theme select,
.jme-form-container.photography-theme textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(226, 232, 240, 0.3);
}

.jme-form-container.photography-theme .wpforms-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.jme-form-container.photography-theme .form-footer {
    border-top-color: rgba(226, 232, 240, 0.2);
}

.jme-form-container.photography-theme .form-footer p,
.jme-form-container.photography-theme .form-footer li {
    color: #e2e8f0;
}

/* Warm Theme Form */
.jme-form-container.warm-theme {
    background: linear-gradient(135deg, rgba(255, 248, 235, 0.95) 0%, rgba(254, 243, 199, 0.95) 100%);
    border: 1px solid rgba(214, 158, 46, 0.2);
}

.jme-form-container.warm-theme::before {
    background: linear-gradient(90deg, #d69e2e 0%, #f6ad55 50%, #d69e2e 100%);
}

.jme-form-container.warm-theme h2,
.jme-form-container.warm-theme .wpforms-title {
    color: #744210;
    background: linear-gradient(135deg, #744210 0%, #d69e2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-form-container.warm-theme .form-subtitle {
    color: #a0640e;
}

.jme-form-container.warm-theme .wpforms-field-label {
    color: #8b5a00;
}

.jme-form-container.warm-theme .wpforms-submit {
    background: linear-gradient(135deg, #d69e2e 0%, #f6ad55 100%);
}

.jme-form-container.warm-theme .form-footer p,
.jme-form-container.warm-theme .form-footer li {
    color: #8b5a00;
}

/* Cool Theme Form */
.jme-form-container.cool-theme {
    background: linear-gradient(135deg, rgba(237, 250, 255, 0.95) 0%, rgba(224, 242, 254, 0.95) 100%);
    border: 1px solid rgba(49, 130, 206, 0.2);
}

.jme-form-container.cool-theme::before {
    background: linear-gradient(90deg, #3182ce 0%, #63b3ed 50%, #3182ce 100%);
}

.jme-form-container.cool-theme h2,
.jme-form-container.cool-theme .wpforms-title {
    color: #1e40af;
    background: linear-gradient(135deg, #1e40af 0%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jme-form-container.cool-theme .form-subtitle {
    color: #3730a3;
}

.jme-form-container.cool-theme .wpforms-field-label {
    color: #1e3a8a;
}

.jme-form-container.cool-theme .wpforms-submit {
    background: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
}

.jme-form-container.cool-theme .form-footer p,
.jme-form-container.cool-theme .form-footer li {
    color: #1e3a8a;
}

/* =============================================================================
   RESPONSIVE DESIGN FOR FORMS
   ========================================================================== */

@media (max-width: 768px) {
    .jme-form-container {
        padding: 35px 25px;
        margin: 25px 10px;
        border-radius: 15px;
    }
    
    .jme-form-container h2,
    .jme-form-container .wpforms-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .wpforms-field input,
    .wpforms-field select,
    .wpforms-field textarea {
        padding: 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .wpforms-field-radio ul,
    .wpforms-field-checkbox ul {
        grid-template-columns: 1fr;
    }
    
    .wpforms-submit {
        width: 100%;
        max-width: 300px;
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .jme-form-container {
        padding: 25px 20px;
        margin: 20px 5px;
        border-radius: 12px;
    }
    
    .wpforms-field {
        margin-bottom: 20px;
    }
}

/* =============================================================================
   ACCESSIBILITY FOR FORMS
   ========================================================================== */

.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.wpforms-submit:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .jme-form-container {
        border: 2px solid currentColor;
    }
    
    .wpforms-field input,
    .wpforms-field select,
    .wpforms-field textarea {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .jme-form-container,
    .jme-form-container *,
    .jme-form-container::before,
    .jme-form-container::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}

/* =============================================================================
   UTILITY CLASSES FOR FORMS
   ========================================================================== */

.jme-form-container.no-animation::before {
    animation: none;
}

.jme-form-container.no-shadow {
    box-shadow: none;
}

.jme-form-container.compact {
    padding: 30px 25px;
}

.jme-form-container.wide {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
