/**
 * LP Sections - New Section Styles
 * Hero, Competition, Community, Media Content, Footer
 *
 * @package Colorful_Creator
 * @subpackage LP_Sections
 */

/* ================================================
   Common Section Styles
   ================================================ */
.lp-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.lp-section__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.lp-section__content {
    position: relative;
    z-index: 1;
}

.lp-section__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
}

/* Buttons */
.lp-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.lp-btn--primary {
    background: var(--accent-color, #ffff4f);
    color: #000;
}

.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.lp-btn--secondary {
    background: transparent;
    border-color: var(--accent-color, #ffff4f);
    color: var(--accent-color, #ffff4f);
}

.lp-btn--secondary:hover {
    background: var(--accent-color, #ffff4f);
    color: #000;
}

.lp-btn--outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.lp-btn--outline:hover {
    background: #fff;
    color: #000;
}

.lp-btn--large {
    padding: 20px 64px;
    font-size: 1.25rem;
}

/* ================================================
   Hero Section
   ================================================ */
.lp-section--hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.lp-hero-content__title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--accent-color, #ffff4f);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.lp-hero-content__subtitle {
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: #fff;
    line-height: 1.6;
}

.lp-hero-content__details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.lp-hero-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-hero-detail__label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.lp-hero-detail__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color, #ffff4f);
}

.lp-hero-content__cta {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .lp-hero-content__title {
        font-size: 3rem;
    }
    
    .lp-hero-content__subtitle {
        font-size: 1.25rem;
    }
    
    .lp-hero-content__details {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ================================================
   Competition Section
   ================================================ */
.lp-section--competition {
    padding: 80px 0;
}

.lp-competition-theme {
    margin-bottom: 4rem;
}

.lp-competition-theme__title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color, #ff916f);
}

.lp-competition-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.lp-competition-category {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-competition-category__name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color, #ff916f);
}

.lp-competition-category__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.lp-competition-conditions,
.lp-competition-criteria,
.lp-competition-judges {
    margin-bottom: 4rem;
}

.lp-competition-conditions__title,
.lp-competition-criteria__title,
.lp-competition-judges__title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.lp-competition-conditions__content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.lp-competition-criteria__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.lp-competition-criterion {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid var(--accent-color, #ff916f);
}

.lp-competition-criterion__name {
    color: #fff;
    font-size: 1.125rem;
}

.lp-competition-criterion__weight {
    color: var(--accent-color, #ff916f);
    font-weight: 700;
    font-size: 1.25rem;
}

.lp-competition-judges__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.lp-competition-judge {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.lp-competition-judge__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.lp-competition-judge__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-competition-judge__name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.lp-competition-judge__role {
    color: var(--accent-color, #ff916f);
    margin-bottom: 1rem;
}

.lp-competition-judge__bio {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.9rem;
}

.lp-competition-cta {
    text-align: center;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .lp-competition-judge {
        flex-direction: column;
        text-align: center;
    }
    
    .lp-competition-judge__image {
        margin: 0 auto;
    }
}

/* ================================================
   Community Section
   ================================================ */
.lp-section--community {
    background: linear-gradient(135deg, rgba(111, 213, 255, 0.1) 0%, rgba(111, 213, 255, 0.05) 100%);
}

.lp-community-purpose {
    text-align: center;
    margin-bottom: 4rem;
}

.lp-community-purpose__text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color, #6fd5ff);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.lp-community-categories,
.lp-community-benefits,
.lp-community-join {
    margin-bottom: 5rem;
}

.lp-community-categories__title,
.lp-community-benefits__title,
.lp-community-join__title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.lp-community-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.lp-community-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.lp-community-category:hover {
    transform: translateY(-5px);
}

.lp-community-category__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.lp-community-category__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lp-community-category__name {
    font-size: 1.125rem;
    color: #fff;
    text-align: center;
}

.lp-community-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.lp-community-benefit {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.lp-community-benefit:hover {
    transform: translateY(-5px);
}

.lp-community-benefit__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.lp-community-benefit__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-community-benefit__content {
    padding: 2rem;
}

.lp-community-benefit__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color, #6fd5ff);
}

.lp-community-benefit__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.lp-community-join__description {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lp-community-join__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.lp-community-option {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.lp-community-option--paid {
    border-color: var(--accent-color, #6fd5ff);
    background: rgba(111, 213, 255, 0.08);
}

.lp-community-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.lp-community-option__header {
    margin-bottom: 2rem;
}

.lp-community-option__type-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-color, #6fd5ff);
    color: #000;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.lp-community-option__name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.lp-community-option__price {
    font-size: 1.5rem;
    color: var(--accent-color, #6fd5ff);
    font-weight: 600;
}

.lp-community-option__features {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lp-community-option__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.lp-community-option__platform {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .lp-community-purpose__text {
        font-size: 1.5rem;
    }
    
    .lp-community-option__footer {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ================================================
   Custom Flexible Section
   ================================================ */
.lp-section--custom {
    padding: 80px 0;
}

.lp-custom__title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 16px;
    text-align: center;
}

.lp-custom__subtitle {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
}

.lp-custom-grid {
    display: grid;
    gap: 24px;
}

.lp-custom-grid--cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.lp-custom-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-custom-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-custom-grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .lp-custom-grid--cols-3,
    .lp-custom-grid--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lp-custom-grid--cols-2,
    .lp-custom-grid--cols-3,
    .lp-custom-grid--cols-4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

.lp-custom-card {
    background-color: var(--card-bg, rgba(255, 255, 255, 0.9));
    color: var(--card-text, #000);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-custom-card__images {
    display: grid;
    gap: 8px;
}

.lp-custom-card__image--main img {
    border-radius: 16px;
}

.lp-custom-card__image-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lp-custom-card__image--sub img {
    border-radius: 12px;
}

.lp-custom-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.lp-custom-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.lp-custom-card__footer {
    margin-top: 16px;
}

/* ================================================
   Media Content Section
   ================================================ */
.lp-section--media-content {
    background: #0a0a0a;
}

.lp-media-articles {
    margin-bottom: 3rem;
}

.lp-media-articles--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
}

.lp-media-articles--list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lp-media-articles--carousel {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.lp-media-articles--carousel .lp-media-article {
    flex: 0 0 400px;
    scroll-snap-align: start;
}

.lp-media-articles--masonry {
    column-count: 3;
    column-gap: 2rem;
}

.lp-media-articles--masonry .lp-media-article {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.lp-media-article {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lp-media-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lp-media-article__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.lp-media-article__images {
    position: relative;
}

.lp-media-article__main-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.lp-media-article__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lp-media-article:hover .lp-media-article__main-image img {
    transform: scale(1.05);
}

.lp-media-article__extra-images {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    overflow-x: auto;
}

.lp-media-article__extra-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.lp-media-article__extra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-media-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem 1.5rem 0;
}

.lp-media-article__type,
.lp-media-article__tag,
.lp-media-article__category {
    font-size: 0.75rem;
    padding: 0.35rem 0.875rem;
    background: var(--article-color, #ffff4f);
    color: #000;
    border-radius: 20px;
    font-weight: 600;
}

.lp-media-article__date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.lp-media-article__content {
    padding: 1.5rem;
}

.lp-media-article__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.4;
}

.lp-media-article__excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.lp-media-article__contributor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-media-article__contributor-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.lp-media-article__contributor-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.lp-media-view-more {
    text-align: center;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .lp-media-articles--masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .lp-media-articles--grid {
        grid-template-columns: 1fr;
    }
    
    .lp-media-articles--masonry {
        column-count: 1;
    }
}

/* ================================================
   Footer Section
   ================================================ */
.lp-section--footer {
    min-height: auto;
    background: var(--footer-bg-color, #1a1a1a);
}

.lp-footer__bg-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lp-footer-content {
    padding: 4rem 0;
}

.lp-footer-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.lp-footer-logo img {
    max-width: 200px;
    height: auto;
}

.lp-footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.lp-footer-section__title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
}

.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer-links li {
    margin-bottom: 0.75rem;
}

.lp-footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lp-footer-link:hover {
    color: #fff;
}

.lp-footer-company-info__item {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.lp-footer-company-info__item strong {
    color: rgba(255, 255, 255, 0.9);
}

.lp-footer-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lp-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lp-footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.lp-footer-social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lp-footer-social-icon {
    color: #fff;
    font-size: 1.25rem;
}

.lp-footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .lp-footer-sections {
        grid-template-columns: 1fr;
    }
}
