/* Modern Heading Styles for Layouts 6-8 */

/* Text Alignment Classes */
.tp-heading-wrapper {
    position: relative;
    padding: 2rem;
    margin: 1rem 0;
}

.tp-heading-wrapper.text-left {
    text-align: left;
}

.tp-heading-wrapper.text-center {
    text-align: center;
}

.tp-heading-wrapper.text-right {
    text-align: right;
}

/* Layout 6 - Modern Style */
.tp-modern-heading-box {
    position: relative;
    padding: 2rem;
}

.tp-modern-heading {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.tp-modern-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Layout 7 - Elegant Style */
.tp-elegant-heading-box {
    position: relative;
    padding: 3rem 2rem;
}

.tp-elegant-heading.elegant-style {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    position: relative;
}

.tp-elegant-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* Layout 8 - Premium Style */
.tp-premium-heading-box {
    position: relative;
    padding: 4rem 2rem;
}

.tp-premium-heading.premium-style {
    font-size: 6rem;
    font-weight: 600;
    line-height: 1.0;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.tp-premium-description {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Dual Color Title Styles */
.tp-dual-color-title .title-part-1 {
    color: #1f211e;
}

.tp-dual-color-title .title-part-2 {
    color: #f2f0ea;
}

/* Outline Text Effect - based on user's CSS */
.tp-outline-text {
    -webkit-text-stroke: 1px #f2f0ea;
    -webkit-text-fill-color: transparent;
    text-stroke: 1px #f2f0ea;
    text-fill-color: transparent;
    z-index: 10;
    position: relative;
}

/* Liquid Glass Background */
.tp-glass-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tp-glass-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: glassShine 3s infinite;
}

@keyframes glassShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Modern Button Styles */
.tp-modern-button-wrapper,
.tp-elegant-button-wrapper,
.tp-premium-button-wrapper {
    margin-top: 2rem;
}

.tp-modern-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1f211e;
    color: #f2f0ea;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tp-modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tp-modern-button.elegant-btn {
    border-radius: 50px;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.tp-modern-button.premium-btn {
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    position: relative;
}

.tp-modern-button.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tp-modern-button.premium-btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media screen and (max-width: 1300px) {
    .tp-modern-heading,
    .tp-elegant-heading.elegant-style,
    .tp-premium-heading.premium-style {
        font-size: 4rem;
    }
}

@media screen and (max-width: 1100px) {
    .tp-modern-heading,
    .tp-elegant-heading.elegant-style,
    .tp-premium-heading.premium-style {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .tp-heading-wrapper {
        padding: 1rem;
    }
    
    .tp-modern-heading,
    .tp-elegant-heading.elegant-style,
    .tp-premium-heading.premium-style {
        font-size: 2.5rem;
    }
    
    .tp-modern-description,
    .tp-elegant-description,
    .tp-premium-description {
        font-size: 1rem;
    }
    
    .tp-modern-button,
    .tp-modern-button.elegant-btn,
    .tp-modern-button.premium-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .tp-modern-heading,
    .tp-elegant-heading.elegant-style,
    .tp-premium-heading.premium-style {
        font-size: 2rem;
    }
}
