/* ==========================================================================
   Craft Themes: Paper/Cutout, Skeuomorphism, Liquid/Organic
   ========================================================================== */

/* Paper/Cutout specific */
.paper-cutout .demo-area {
    background: #f5f0e6;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

.paper-cutout .demo-card {
    border: none;
    background: #fffdf8;
    box-shadow:
        0 1px 1px rgba(0,0,0,0.05),
        0 2px 2px rgba(0,0,0,0.05),
        0 4px 4px rgba(0,0,0,0.05),
        0 8px 8px rgba(0,0,0,0.05);
    border-radius: 2px !important;
}

.paper-cutout .demo-btn-primary {
    border: none;
    background: #e74c3c;
    box-shadow:
        0 2px 0 #c0392b,
        0 4px 6px rgba(0,0,0,0.15);
    border-radius: 2px !important;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.paper-cutout .demo-btn-primary:hover {
    transform: translateY(1px);
    box-shadow:
        0 1px 0 #c0392b,
        0 2px 4px rgba(0,0,0,0.15);
}

.paper-cutout .demo-btn-secondary {
    border: none;
    background: #3498db;
    box-shadow:
        0 2px 0 #2980b9,
        0 4px 6px rgba(0,0,0,0.15);
    border-radius: 2px !important;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.paper-cutout .demo-btn-secondary:hover {
    transform: translateY(1px);
    box-shadow:
        0 1px 0 #2980b9,
        0 2px 4px rgba(0,0,0,0.15);
}

.paper-cutout .demo-btn-outline {
    border: 2px dashed #2c3e50;
    background: transparent;
    border-radius: 2px !important;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.paper-cutout .demo-btn-outline:hover {
    background: #2c3e50;
    border-style: solid;
    color: #fffdf8;
}

.paper-cutout .demo-input {
    border: 2px solid #d5d0c4;
    background: #fffdf8;
    border-radius: 2px !important;
    color: #2c3e50;
}

.paper-cutout .demo-input:focus {
    border-color: #3498db;
    box-shadow: none;
}

.paper-cutout .demo-badge {
    border: none;
    background: #f39c12;
    box-shadow: 0 2px 0 #d68910;
    border-radius: 2px !important;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.paper-cutout .demo-nav {
    border: none;
    background: #fffdf8;
    box-shadow:
        0 1px 1px rgba(0,0,0,0.05),
        0 2px 2px rgba(0,0,0,0.05),
        0 4px 4px rgba(0,0,0,0.05);
    border-radius: 2px !important;
}

.paper-cutout .demo-heading {
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Skeuomorphism specific */
.skeuomorphism .demo-area {
    background: linear-gradient(180deg, #c9ccd3 0%, #e8e8e8 50%, #d4d4d4 100%);
}

.skeuomorphism .demo-card {
    border: 1px solid #a0a0a0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow:
        0 1px 0 #ffffff inset,
        0 -1px 0 #d0d0d0 inset,
        0 4px 8px rgba(0,0,0,0.2),
        0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px !important;
}

.skeuomorphism .demo-btn-primary {
    border: 1px solid #2a6496;
    background: linear-gradient(180deg, #5cb3e8 0%, #3498db 50%, #2980b9 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 -1px 2px rgba(0,0,0,0.2) inset,
        0 2px 4px rgba(0,0,0,0.25);
    border-radius: 6px !important;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
    font-weight: 600;
}

.skeuomorphism .demo-btn-primary:hover {
    background: linear-gradient(180deg, #6bc1f5 0%, #45a8e6 50%, #3498db 100%);
    transform: none;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 -1px 2px rgba(0,0,0,0.2) inset,
        0 2px 4px rgba(0,0,0,0.25);
}

.skeuomorphism .demo-btn-primary:active {
    background: linear-gradient(180deg, #2980b9 0%, #3498db 50%, #5cb3e8 100%);
    box-shadow:
        0 -1px 0 rgba(255,255,255,0.2) inset,
        0 2px 4px rgba(0,0,0,0.2) inset;
}

.skeuomorphism .demo-btn-secondary {
    border: 1px solid #7a7a7a;
    background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 50%, #d8d8d8 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 -1px 2px rgba(0,0,0,0.1) inset,
        0 2px 4px rgba(0,0,0,0.15);
    border-radius: 6px !important;
    color: #333333;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.skeuomorphism .demo-btn-secondary:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
}

.skeuomorphism .demo-btn-outline {
    border: 1px solid #888888;
    background: transparent;
    border-radius: 6px !important;
    color: #444444;
}

.skeuomorphism .demo-btn-outline:hover {
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #333333;
}

.skeuomorphism .demo-input {
    border: 1px solid #a0a0a0;
    background: linear-gradient(180deg, #e8e8e8 0%, #ffffff 8%);
    box-shadow:
        0 1px 3px rgba(0,0,0,0.1) inset,
        0 1px 0 #ffffff;
    border-radius: 6px !important;
    color: #333333;
}

.skeuomorphism .demo-input:focus {
    border-color: #3498db;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.1) inset,
        0 0 5px rgba(52, 152, 219, 0.5);
}

.skeuomorphism .demo-badge {
    border: 1px solid #c0392b;
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset;
    border-radius: 10px !important;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
    font-weight: 600;
}

.skeuomorphism .demo-nav {
    border: 1px solid #a0a0a0;
    background: linear-gradient(180deg, #f8f8f8 0%, #e0e0e0 100%);
    box-shadow:
        0 1px 0 #ffffff inset,
        0 4px 8px rgba(0,0,0,0.15);
    border-radius: 8px !important;
}

.skeuomorphism .demo-heading {
    font-weight: 700;
    color: #333333;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

/* Liquid/Organic specific */
.liquid-organic .demo-area {
    background: linear-gradient(135deg, #fef9f3 0%, #fdf2e9 50%, #fef5ee 100%);
    position: relative;
    overflow: hidden;
}

.liquid-organic .demo-area::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 154, 158, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.liquid-organic .demo-area::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(168, 237, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.liquid-organic .demo-card {
    border: none;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border-radius: 32px !important;
}

.liquid-organic .demo-btn-primary {
    border: none;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    box-shadow: 0 8px 24px rgba(255, 154, 158, 0.35);
    border-radius: 50px !important;
    color: #5c4033;
    font-weight: 600;
}

.liquid-organic .demo-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 154, 158, 0.45);
}

.liquid-organic .demo-btn-secondary {
    border: none;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 8px 24px rgba(168, 237, 234, 0.35);
    border-radius: 50px !important;
    color: #3d5a58;
    font-weight: 600;
}

.liquid-organic .demo-btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(168, 237, 234, 0.45);
}

.liquid-organic .demo-btn-outline {
    border: 2px solid #ffb6c1;
    background: transparent;
    border-radius: 50px !important;
    color: #d4838f;
}

.liquid-organic .demo-btn-outline:hover {
    background: rgba(255, 182, 193, 0.1);
    color: #c76b77;
}

.liquid-organic .demo-input {
    border: 2px solid rgba(255, 182, 193, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px !important;
    color: #5c4033;
}

.liquid-organic .demo-input:focus {
    border-color: #ffb6c1;
    box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.15);
}

.liquid-organic .demo-badge {
    border: none;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 20px !important;
    color: #8b5a2b;
    font-weight: 600;
}

.liquid-organic .demo-nav {
    border: none;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border-radius: 32px !important;
}

.liquid-organic .demo-heading {
    font-weight: 700;
    color: #5c4033;
}
