/**
 * WordPress Difference Section Styles
 * RiseCreatives Theme - webdesign-wordpress-difference.css
 */

/* ==========================================
   Section Container
   ========================================== */

.rise-theme-wordpress-difference-section {
    width: 100%;
    padding: 100px 20px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.rise-theme-wordpress-difference-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================
   Section Title
   ========================================== */

.rise-theme-difference-title-wrapper {
    text-align: center;
    margin-bottom: 80px;
}

.rise-theme-difference-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.rise-theme-difference-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #3F776F;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   Content Grid Layout
   ========================================== */

.rise-theme-difference-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 40px;
}

/* ==========================================
   Column Titles
   ========================================== */

.rise-theme-difference-column-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFD391;
}

/* ==========================================
   Difference Items
   ========================================== */

.rise-theme-difference-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rise-theme-difference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Negative Items (Left Column) */
.rise-theme-difference-negative {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left: 4px solid #ff6b6b;
}

.rise-theme-difference-negative .rise-theme-difference-icon {
    color: #ff6b6b;
    font-size: 1.8rem;
    font-weight: 700;
    min-width: 30px;
}

/* Positive Items (Right Column) */
.rise-theme-difference-positive {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-left: 4px solid #3F776F;
}

.rise-theme-difference-positive .rise-theme-difference-icon {
    color: #3F776F;
    font-size: 1.8rem;
    font-weight: 700;
    min-width: 30px;
}

/* Item Text Content */
.rise-theme-difference-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.rise-theme-difference-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   Center WordPress Logo
   ========================================== */

.rise-theme-difference-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.rise-theme-wordpress-logo-wrapper {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: rise-theme-logo-pulse 3s ease-in-out infinite;
}

.rise-theme-wordpress-logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3F776F, #FFD391, #E3E2BF);
    opacity: 0.2;
    z-index: -1;
    animation: rise-theme-logo-rotate 8s linear infinite;
}

.rise-theme-wordpress-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Logo Animations */
@keyframes rise-theme-logo-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rise-theme-logo-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================
   Background Decorations - SVG Blob Rings (Centered)
   ========================================== */

.rise-theme-difference-blob-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 居中同心圓擴散 - 從小到大，位置稍微下移 */

/* Blob 2 - 最小 */
.rise-theme-difference-svg-blob-2 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    opacity: 0.3;
}

/* Blob 3 */
.rise-theme-difference-svg-blob-3 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    opacity: 0.3;
}

/* Blob 4 */
.rise-theme-difference-svg-blob-4 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1350px;
    height: 1350px;
    opacity: 0.3;
}

/* Blob 5 */
.rise-theme-difference-svg-blob-5 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1700px;
    height: 1700px;
    opacity: 0.3;
}

/* Blob 6 - 最大 */
.rise-theme-difference-svg-blob-6 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2050px;
    height: 2050px;
    opacity: 0.3;
}

/* SVG通用樣式 */
.rise-theme-difference-svg-blob svg {
    width: 100%;
    height: 100%;
}

.rise-theme-difference-svg-blob path {
    fill: none;
    stroke: #E8E8E8;
    stroke-width: 2px;
}

/* SVG Path 變形動畫 - 每個blob不同的動畫 */
.rise-theme-difference-svg-blob-2 path {
    animation: rise-theme-blobMorph2 15s ease-in-out infinite;
}

.rise-theme-difference-svg-blob-3 path {
    animation: rise-theme-blobMorph3 18s ease-in-out infinite;
}

.rise-theme-difference-svg-blob-4 path {
    animation: rise-theme-blobMorph4 20s ease-in-out infinite;
}

.rise-theme-difference-svg-blob-5 path {
    animation: rise-theme-blobMorph5 22s ease-in-out infinite;
}

.rise-theme-difference-svg-blob-6 path {
    animation: rise-theme-blobMorph6 25s ease-in-out infinite;
}

/* Blob 變形動畫定義 */
@keyframes rise-theme-blobMorph1 {
    0%, 100% {
        d: path("M432.5,307.5Q405,365,355,407.5Q305,450,245.5,422Q186,394,136,372Q86,350,64,300Q42,250,77,208.5Q112,167,136.5,121Q161,75,218.5,68Q276,61,318,92.5Q360,124,400.5,162Q441,200,446.5,225Q452,250,432.5,307.5Z");
    }
    33% {
        d: path("M418.5,295Q380,340,347,378Q314,416,257,423.5Q200,431,154,401.5Q108,372,79.5,318Q51,264,58,207Q65,150,108,115Q151,80,205.5,70.5Q260,61,304,88Q348,115,391.5,157.5Q435,200,432.5,225Q430,250,418.5,295Z");
    }
    66% {
        d: path("M409.5,290Q370,330,341,371Q312,412,256,423Q200,434,155,402.5Q110,371,84.5,318Q59,265,61.5,207.5Q64,150,107,114.5Q150,79,204.5,68Q259,57,303.5,85Q348,113,389.5,156.5Q431,200,430,225Q429,250,409.5,290Z");
    }
}

@keyframes rise-theme-blobMorph2 {
    0%, 100% {
        d: path("M426.5,303Q396,356,353,399.5Q310,443,252,434Q194,425,144.5,397Q95,369,74.5,309.5Q54,250,81,196.5Q108,143,144,106.5Q180,70,230.5,66Q281,62,326,86.5Q371,111,406.5,152Q442,193,444.5,221.5Q447,250,426.5,303Z");
    }
    50% {
        d: path("M420,298.5Q387,347,350,388Q313,429,256.5,421.5Q200,414,153,386Q106,358,76,304Q46,250,73.5,194.5Q101,139,141,99.5Q181,60,230.5,59.5Q280,59,320.5,85.5Q361,112,399,154Q437,196,438.5,223Q440,250,420,298.5Z");
    }
}

@keyframes rise-theme-blobMorph3 {
    0%, 100% {
        d: path("M415.5,296.5Q383,343,345.5,379.5Q308,416,254,408.5Q200,401,156,373.5Q112,346,81,298Q50,250,67.5,194Q85,138,128,101Q171,64,223,56.5Q275,49,322,74Q369,99,398,134.5Q427,170,429.5,210Q432,250,415.5,296.5Z");
    }
    50% {
        d: path("M432.5,307.5Q405,365,355,407.5Q305,450,245.5,422Q186,394,136,372Q86,350,64,300Q42,250,77,208.5Q112,167,136.5,121Q161,75,218.5,68Q276,61,318,92.5Q360,124,400.5,162Q441,200,446.5,225Q452,250,432.5,307.5Z");
    }
}

@keyframes rise-theme-blobMorph4 {
    0%, 100% {
        d: path("M409.5,290Q370,330,341,371Q312,412,256,423Q200,434,155,402.5Q110,371,84.5,318Q59,265,61.5,207.5Q64,150,107,114.5Q150,79,204.5,68Q259,57,303.5,85Q348,113,389.5,156.5Q431,200,430,225Q429,250,409.5,290Z");
    }
    50% {
        d: path("M426.5,303Q396,356,353,399.5Q310,443,252,434Q194,425,144.5,397Q95,369,74.5,309.5Q54,250,81,196.5Q108,143,144,106.5Q180,70,230.5,66Q281,62,326,86.5Q371,111,406.5,152Q442,193,444.5,221.5Q447,250,426.5,303Z");
    }
}

@keyframes rise-theme-blobMorph5 {
    0%, 100% {
        d: path("M420,298.5Q387,347,350,388Q313,429,256.5,421.5Q200,414,153,386Q106,358,76,304Q46,250,73.5,194.5Q101,139,141,99.5Q181,60,230.5,59.5Q280,59,320.5,85.5Q361,112,399,154Q437,196,438.5,223Q440,250,420,298.5Z");
    }
    50% {
        d: path("M418.5,295Q380,340,347,378Q314,416,257,423.5Q200,431,154,401.5Q108,372,79.5,318Q51,264,58,207Q65,150,108,115Q151,80,205.5,70.5Q260,61,304,88Q348,115,391.5,157.5Q435,200,432.5,225Q430,250,418.5,295Z");
    }
}

@keyframes rise-theme-blobMorph6 {
    0%, 100% {
        d: path("M418.5,295Q380,340,347,378Q314,416,257,423.5Q200,431,154,401.5Q108,372,79.5,318Q51,264,58,207Q65,150,108,115Q151,80,205.5,70.5Q260,61,304,88Q348,115,391.5,157.5Q435,200,432.5,225Q430,250,418.5,295Z");
    }
    50% {
        d: path("M409.5,290Q370,330,341,371Q312,412,256,423Q200,434,155,402.5Q110,371,84.5,318Q59,265,61.5,207.5Q64,150,107,114.5Q150,79,204.5,68Q259,57,303.5,85Q348,113,389.5,156.5Q431,200,430,225Q429,250,409.5,290Z");
    }
}


/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .rise-theme-difference-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }
    
    .rise-theme-difference-left,
    .rise-theme-difference-right {
        order: 2;
    }
    
    .rise-theme-difference-center {
        order: 1;
    }
    
    .rise-theme-wordpress-logo-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .rise-theme-wordpress-logo {
        width: 160px;
        height: 160px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .rise-theme-wordpress-difference-section {
        padding: 60px 15px;
    }
    
    .rise-theme-difference-title-wrapper {
        margin-bottom: 50px;
    }
    
    .rise-theme-difference-main-title {
        font-size: 1.8rem;
    }
    
    .rise-theme-difference-subtitle {
        font-size: 1rem;
    }
    
    .rise-theme-difference-content-grid {
        gap: 40px;
    }
    
    .rise-theme-difference-column-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .rise-theme-difference-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .rise-theme-difference-text h4 {
        font-size: 1rem;
    }
    
    .rise-theme-difference-text p {
        font-size: 0.9rem;
    }
    
    .rise-theme-wordpress-logo-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .rise-theme-wordpress-logo {
        width: 130px;
        height: 130px;
    }
    
    .rise-theme-difference-blob {
        width: 300px;
        height: 300px;
    }
}
