/**
 * Custom CSS - Additional Styles
 * 
 * @package Beauty_Proryv
 */

/* ==========================================================================
   ADDITIONAL HERO STYLES
   ========================================================================== */

.hero__float-element {
    animation: float 6s ease-in-out infinite;
}

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

.hero__float-element:nth-child(1) { animation-delay: 0s; }
.hero__float-element:nth-child(2) { animation-delay: 1s; }
.hero__float-element:nth-child(3) { animation-delay: 2s; }
.hero__float-element:nth-child(4) { animation-delay: 3s; }
.hero__float-element:nth-child(5) { animation-delay: 4s; }

/* ==========================================================================
   GLASSMORPHISM ENHANCEMENTS
   ========================================================================== */

.header.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(253, 251, 249, 0.85) 100%
    );
    z-index: -1;
}

/* ==========================================================================
   CARD SHINE EFFECT
   ========================================================================== */

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.7s ease;
}

.pricing-card:hover::before {
    left: 100%;
}

/* ==========================================================================
   FORM ENHANCEMENTS
   ========================================================================== */

.form__input:focus,
.form__textarea:focus {
    box-shadow: 0 0 0 4px rgba(232, 164, 184, 0.15);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-light);
}

/* ==========================================================================
   BUTTON RIPPLE EFFECT
   ========================================================================== */

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* ==========================================================================
   SCROLL INDICATOR ANIMATION
   ========================================================================== */

.hero__scroll span:first-child {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ==========================================================================
   MOBILE NAVIGATION ANIMATION
   ========================================================================== */

.mobile-nav__item {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active .mobile-nav__item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.active .mobile-nav__item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav__item:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav__item:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav__item:nth-child(4) { transition-delay: 0.25s; }

/* ==========================================================================
   GUARANTEE SECTION GRADIENT BORDER
   ========================================================================== */

.guarantee__content {
    position: relative;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.guarantee__content::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: calc(var(--radius-lg) + 3px);
    z-index: -1;
    opacity: 0.5;
}

/* ==========================================================================
   VIP BADGE GLOW
   ========================================================================== */

.modules__vip-badge {
    animation: vipGlow 2s ease-in-out infinite;
}

@keyframes vipGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(201, 168, 108, 0.5); }
    50% { box-shadow: 0 0 20px rgba(201, 168, 108, 0.8); }
}

/* ==========================================================================
   PRICING CARD POPULAR GLOW
   ========================================================================== */

.pricing-card--popular {
    animation: popularGlow 3s ease-in-out infinite;
}

@keyframes popularGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(232, 164, 184, 0.2); }
    50% { box-shadow: 0 0 40px rgba(232, 164, 184, 0.4); }
}

/* ==========================================================================
   TRANSFORMATION ARROW
   ========================================================================== */

.transformation__row::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
    z-index: 1;
}

@media (max-width: 576px) {
    .transformation__row::after {
        content: '↓';
        top: 50%;
    }
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   SELECTION STYLES
   ========================================================================== */

::selection {
    background: var(--accent-primary);
    color: #fff;
}

::-moz-selection {
    background: var(--accent-primary);
    color: #fff;
}

/* ==========================================================================
   FOCUS VISIBLE STYLES
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
    outline-offset: 4px;
}

/* ==========================================================================
   SMOOTH APPEARANCE
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .section {
        animation: fadeInUp 0.6s ease-out;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SOCIAL ICONS HOVER
   ========================================================================== */

.footer__social svg,
.final-cta__social svg {
    transition: transform var(--transition-fast);
}

.footer__social:hover svg,
.final-cta__social:hover svg {
    transform: scale(1.15);
}

/* ==========================================================================
   NO POSTS STATE
   ========================================================================== */

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.no-posts p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SEARCH FORM STYLES
   ========================================================================== */

.search-form-wrapper {
    max-width: 500px;
    margin: 2rem auto 0;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form .search-field {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    transition: border-color var(--transition-fast);
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.search-form .search-submit {
    padding: 0.875rem 1.5rem;
    background: var(--gradient-button);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.search-form .search-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button);
}

/* ==========================================================================
   BLOG SINGLE TAGS
   ========================================================================== */

.blog-single__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-single__tags > span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.blog-single__tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: var(--fs-small);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.blog-single__tag:hover {
    background: var(--accent-primary);
    color: #fff;
}

/* ==========================================================================
   BLOG CTA SECTION
   ========================================================================== */

.blog-cta {
    text-align: center;
}

.blog-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   PRINT STYLES ADDITIONS
   ========================================================================== */

/* ==========================================================================
   CUSTOMIZER IMAGES SUPPORT
   ========================================================================== */

/* Hero Section Images */
.hero__author {
    margin: 2rem 0;
    text-align: center;
}

.hero__author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(232, 164, 184, 0.3);
}

.hero__trust-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
}

/* Section Background Images */
.section[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 251, 249, 0.92);
    z-index: 0;
}

.section[style*="background-image"] > .container {
    position: relative;
    z-index: 1;
}

/* Problem Cards Images */
.problem-card__image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Transformation Section Images */
.transformation__images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.transformation__image {
    position: relative;
    max-width: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.transformation__image img {
    width: 100%;
    height: auto;
    display: block;
}

.transformation__image-label {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
}

.transformation__image--before .transformation__image-label {
    background: var(--text-light);
}

.transformation__image--after .transformation__image-label {
    background: var(--primary);
}

/* Module Cards Images */
.module-card__icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* VIP Image */
.modules__vip-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 1rem;
}

/* Format Cards Images */
.format-card__icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Pricing Cards Images */
.pricing-card__image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    width: calc(100% + 4rem);
}

.pricing-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Guarantee Section Images */
.guarantee__icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.guarantee__item-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Target Section Images */
.target__column-image {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.target__column-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Final CTA Author Image */
.final-cta__author {
    margin-bottom: 2rem;
}

.final-cta__author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 50px rgba(232, 164, 184, 0.4);
}

/* ==========================================================================
   RESPONSIVE IMAGES
   ========================================================================== */

@media (max-width: 768px) {
    .hero__author-img {
        width: 100px;
        height: 100px;
    }

    .transformation__images {
        flex-direction: column;
        align-items: center;
    }

    .transformation__image {
        max-width: 250px;
    }

    .pricing-card__image {
        height: 140px;
    }

    .target__column-image img {
        height: 150px;
    }

    .final-cta__author-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero__author-img {
        width: 80px;
        height: 80px;
    }

    .problem-card__image {
        width: 48px;
        height: 48px;
    }

    .module-card__icon-img,
    .format-card__icon-img {
        width: 40px;
        height: 40px;
    }

    .guarantee__icon-img {
        width: 60px;
        height: 60px;
    }

    .pricing-card__image {
        height: 120px;
    }

    .final-cta__author-img {
        width: 100px;
        height: 100px;
    }
}

/* ==========================================================================
   PRINT STYLES ADDITIONS
   ========================================================================== */

@media print {
    .hero__float-elements,
    .hero__scroll,
    .btn,
    .custom-cursor {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero__bg {
        background: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}

