/* =======================
   ENHANCED HERO SECTION STYLES
   Works with ColdFusion Dynamic Image System
   Maintains existing breakpoint system
   ======================= */

/* Base Hero Enhancement - Works with your dynamic #hero-photo ID */
#hero-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Overlay for Text Readability */
#hero-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
    transition: background 0.3s ease;
}

/* Overlay Variations */
.hero-overlay-light #hero-photo::before {
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
}

.hero-overlay-dark #hero-photo::before {
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero-overlay-blue #hero-photo::before {
    background: linear-gradient(
        135deg, 
        rgba(51, 122, 183, 0.7) 0%, 
        rgba(51, 122, 183, 0.5) 100%
    );
}

.hero-no-overlay #hero-photo::before {
    display: none;
}

/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    animation: heroFadeInUp 1.2s ease-out;
}

/* Text Alignment Options */
.hero-text-left .hero-content {
    text-align: left;
}

.hero-text-right .hero-content {
    text-align: right;
}

/* Hero Title */
.hero-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: heroSlideInFromTop 1s ease-out 0.3s both;
    font-family: 'diphylleiaregular';

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    animation: heroSlideInFromLeft 1s ease-out 0.6s both;
    max-width: 600px;
}

.hero-text-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Hero Description */
.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 2.5rem 0;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    animation: heroSlideInFromRight 1s ease-out 0.9s both;
    max-width: 700px;
}

.hero-text-center .hero-description {
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons Container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeInUp 1s ease-out 1.2s both;
}

.hero-text-left .hero-buttons {
    justify-content: flex-start;
}

.hero-text-right .hero-buttons {
    justify-content: flex-end;
}

/* CTA Button Base Styles */
.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hero-btn::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;
}

.hero-btn:hover::before {
    left: 100%;
}

/* Primary CTA Button */
.hero-btn-primary {
    background: linear-gradient(135deg, #337ab7, #2e6da4);
    color: white;
    box-shadow: 0 4px 15px rgba(51, 122, 183, 0.4);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #2e6da4, #245269);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(51, 122, 183, 0.6);
}

/* Secondary CTA Button */
.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background: white;
    color: #333;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Success Button */
.hero-btn-success {
    background: linear-gradient(135deg, #5cb85c, #449d44);
    color: white;
    box-shadow: 0 4px 15px rgba(92, 184, 92, 0.4);
}

.hero-btn-success:hover {
    background: linear-gradient(135deg, #449d44, #357a35);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 184, 92, 0.6);
}

/* Warning/Orange Button */
.hero-btn-warning {
    background: linear-gradient(135deg, #f0ad4e, #ec971f);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 173, 78, 0.4);
}

.hero-btn-warning:hover {
    background: linear-gradient(135deg, #ec971f, #d58512);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 173, 78, 0.6);
}

/* Content Box Variation */
.hero-content-box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.hero-content-box-light {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.hero-content-box-light .hero-title,
.hero-content-box-light .hero-subtitle,
.hero-content-box-light .hero-description {
    color: #333;
    text-shadow: none;
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: heroScrollBounce 2s infinite 2s;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    color: white;
    text-decoration: none;
}

/* Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSlideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design - Maintains your existing CF breakpoint system */
@media (max-width: 1600px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 1370px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 1150px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-content-box {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-content {
        padding: 0 15px;
    }
    .hero-content-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
        min-width: auto;
    }
    .hero-content-box {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 0.85rem;
    }
    .hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 450px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-description {
        font-size: 0.8rem;
    }
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
        max-width: 280px;
    }
    .hero-content-box {
        padding: 1.25rem 1rem;
    }
}

/* Additional Modern Design Enhancements */

/* Parallax Effect (Optional) */
.hero-parallax #hero-photo {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-parallax #hero-photo {
        background-attachment: scroll; /* Mobile compatibility */
    }
}

/* Gradient Text Effect */
.hero-gradient-text .hero-title {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle Animation Delay for Multiple Elements */
.hero-content .hero-title:nth-child(1) { animation-delay: 0.3s; }
.hero-content .hero-subtitle:nth-child(2) { animation-delay: 0.6s; }
.hero-content .hero-description:nth-child(3) { animation-delay: 0.9s; }
.hero-content .hero-buttons:nth-child(4) { animation-delay: 1.2s; }

/* Custom Properties for Easy Theme Customization */
:root {
    --hero-overlay-opacity: 0.5;
    --hero-text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    --hero-btn-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --hero-animation-duration: 1.2s;
    --hero-btn-border-radius: 50px;
    --hero-content-max-width: 1200px;
}  
        