/* ============================================
   EDITING EXAMPLES PAGE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: -0.5px;
    color: #f2f2f2;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.9;
    color: #e0e0e0;
}

/* Intro Section */
.intro-section {
    padding: 2.5rem 1.5rem;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.intro-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.intro-text strong {
    color: #ed872d;
    font-weight: 600;
}

/* Example Set */
.example-set {
    padding: 4rem 1.5rem;
    background: #2d2d2d;
}

.example-set:nth-of-type(even) {
    background: #1a1a1a;
}

.set-header {
    text-align: center;
    margin-bottom: 3rem;
}

.set-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem;
}

.set-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ed872d, transparent);
    margin: 0 auto;
}

/* Editing Grid */
.editing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .editing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .editing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Editing Card */
.editing-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.editing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    border-color: #ed872d;
}

.editing-card a {
    display: block;
    position: relative;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.editing-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.editing-card a:hover img {
    transform: scale(1.05);
}

/* Card Info Section */
.card-info {
    padding: 1.25rem 1.25rem 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.badge-raw { background: #e0e0e0; color: #555; }
.badge-standard { background: #e3f2fd; color: #1565c0; }
.badge-advanced { background: #f3e5f5; color: #7b1fa2; }
.badge-composite { background: #fff3e0; color: #e65100; }

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Info Box */
.info-box {
    padding: 1rem 1.25rem 1.25rem;
    background: #0a0a0a;
    border-top: 1px solid #333;
    flex-grow: 1;
}

.info-description {
    font-size: 0.875rem;
    color: #cccccc;
    margin: 0;
    line-height: 1.6;
}

.info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.8125rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
    color: #d0d0d0;
}

.info-list li.included::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1rem;
}

.info-list li.excluded::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #e53935;
    font-weight: bold;
    font-size: 1rem;
}

.info-list li.excluded {
    color: #666;
    text-decoration: line-through;
}

.info-list li.featured {
    font-weight: 600;
    color: #ed872d;
    padding-left: 0;
    border-top: 1px solid #ed872d;
    border-bottom: 1px solid #ed872d;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.info-list li.featured::before {
    content: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ed872d 0%, #ffa364 100%);
    padding: 4rem 1.5rem;
    text-align: center;
    color: #111;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #111;
}

.cta-text {
    font-size: 1.125rem;
    margin: 0 0 2rem;
    opacity: 0.95;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background: #000;
}

/* =======================================
   CUSTOM LIGHTBOX - PORTFOLIO STYLE
   ======================================= */

/* 1. Container - uses .custom-lightbox to avoid global conflict */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97); /* Very dark background */
    display: none; /* Flex when active */
    align-items: center;
    justify-content: center;
    z-index: 10000; /* High z-index */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: lightboxFadeIn 0.4s ease-out;
}

/* 2. Active State */
.custom-lightbox.is-active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 3. The Close Button (X) */
.custom-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 70px;
    height: 70px;
    background: rgba(237, 135, 45, 0.3); /* Transparent Orange */
    border: 3px solid #ed872d;
    border-radius: 50%;
    color: #ffa364; /* Text color */
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(237, 135, 45, 0.6);
}

.custom-lightbox__close:hover {
    background: rgba(237, 135, 45, 0.5);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 0 40px rgba(237, 135, 45, 0.8);
    border-color: #ffa364;
    color: #fff;
}

/* 4. The Image - NO GLOW */
.custom-lightbox__img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    /* REMOVED: box-shadow: 0 0 60px rgba(237, 135, 45, 0.4); */
    box-shadow: none; /* Ensure no glow */
    animation: imageZoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animations */
@keyframes lightboxFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes imageZoomIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Mobile Adjustments for Close Button */
@media (max-width: 768px) {
    .custom-lightbox__close {
        width: 60px;
        height: 60px;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}