/* Common Hero Pattern for All Pages */

/* Page Hero Section */
.page-hero {
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at bottom right, rgba(26, 93, 26, 0.05) 0%, rgba(26, 93, 26, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.page-hero-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.page-hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    padding: 4rem 3rem 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    height: 100%;
    border-radius: 0 0 0 100px;
    overflow: hidden;
    position: relative;
    padding: 3rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.03);
}

.page-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 93, 26, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
    z-index: 1;
}

.page-hero-image img {
    max-width: 80%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    transform-origin: center center;
    animation: float 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.page-hero:hover .page-hero-image img {
    transform: scale(1.05);
}

/* Page Hero Typography */
.page-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.5px;
}

.page-hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(212, 175, 55, 0.7) 100%);
    border-radius: 2px;
}

.page-hero-title .accent-text {
    color: var(--primary-color);
    display: block;
    font-weight: 600;
    font-size: 0.8em;
    margin-top: 0.8rem;
    background: linear-gradient(90deg, var(--primary-color) 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(26, 93, 26, 0.1);
}

.page-hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    max-width: 90%;
    font-weight: 400;
}

/* Floating elements for page hero */
.page-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.page-floating-element {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
    animation: floatElement 10s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: all 0.5s ease;
}

.page-floating-element:nth-child(odd) {
    animation-duration: 8s;
    animation-delay: 1s;
}

.page-floating-element:nth-child(even) {
    animation-duration: 12s;
    animation-delay: 0.5s;
}

@keyframes floatElement {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .page-hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .page-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .page-hero {
        height: auto;
        min-height: 400px;
    }
    
    .page-hero-container {
        flex-direction: column;
    }
    
    .page-hero-content {
        max-width: 100%;
        padding: 5rem 3rem 3rem;
        text-align: center;
    }
    
    .page-hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .page-hero-image {
        height: 350px;
        border-radius: 0;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-hero-content {
        padding: 4rem 2rem 2rem;
    }
    
    .page-hero-title {
        font-size: 2.2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .page-hero-image {
        height: 250px;
    }
}