/*
Theme Name: AdecPrint Studio
Theme URI: https://adecprint.it
Author: Antonino De Cosmi - ADEC
Author URI: https://adecpc.pro
Description: Tema WordPress & WooCommerce su misura per AdecPrint.it: trasformazione foto AI (Cartoon, Acquerello, Pittura), stampe fotografiche, tovagliette plastificate, segnalibri e biglietti da visita a Monte Sacro, Roma.
Version: 1.0.0
Text Domain: adecprint
*/

:root {
    --navy: #0F172A;
    --navy-light: #1E293B;
    --magenta: #E11D48;
    --magenta-hover: #BE123C;
    --cyan: #06B6D4;
    --amber: #F59E0B;
    --cream: #FFFBF5;
    --white: #FFFFFF;
    --gray-100: #F1F5F9;
    --gray-600: #475569;
    --radius: 16px;
    --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--navy);
    background-color: var(--cream);
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.brand-logo span { color: var(--magenta); }
.main-nav { display: flex; gap: 28px; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--magenta); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; border: none; transition: all 0.2s ease;
}
.btn-primary { background: var(--magenta); color: var(--white); box-shadow: 0 8px 20px -6px rgba(225, 29, 72, 0.5); }
.btn-primary:hover { background: var(--magenta-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Hero */
.hero {
    padding: 80px 0 60px;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.12), transparent 40%),
                radial-gradient(circle at bottom left, rgba(225, 29, 72, 0.08), transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.badge-local {
    display: inline-block; background: rgba(245, 158, 11, 0.15); color: #B45309;
    padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--magenta), var(--amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.12rem; color: var(--gray-600); margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.88rem; font-weight: 600; color: var(--navy-light); }
.hero-visual {
    background: var(--white); padding: 18px; border-radius: 24px; box-shadow: var(--shadow);
    border: 1px solid rgba(15,23,42,0.06); text-align: center;
}
.hero-visual img { width: 100%; border-radius: 16px; display: block; }

/* Configurator Studio */
.studio-section { padding: 80px 0; background: var(--white); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.section-header p { color: var(--gray-600); }

.studio-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
    background: var(--cream); padding: 36px; border-radius: 24px;
    border: 1px solid rgba(15,23,42,0.08); box-shadow: var(--shadow);
}
.preview-stage {
    position: relative; background: #E2E8F0; border-radius: 16px; min-height: 360px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    border: 2px dashed #94A3B8;
}
.preview-stage img { max-width: 100%; max-height: 420px; object-fit: contain; transition: filter 0.3s ease; }
.watermark-overlay {
    position: absolute; inset: 0; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    background: repeating-linear-gradient(-30deg, rgba(15,23,42,0.04) 0px, rgba(15,23,42,0.04) 40px, transparent 40px, transparent 80px);
}
.watermark-text {
    font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800;
    color: rgba(255, 255, 255, 0.55); text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    transform: rotate(-25deg); letter-spacing: 3px; user-select: none;
}

/* Filter Simulations for Instant Preview */
.filter-cartoon { filter: contrast(1.35) saturate(1.85) brightness(1.05); }
.filter-acquerello { filter: contrast(0.95) saturate(1.35) brightness(1.12) sepia(0.15); }
.filter-olio { filter: contrast(1.25) saturate(1.45) sepia(0.22); }

.studio-controls { display: flex; flex-direction: column; gap: 20px; }
.control-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.style-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.style-pill {
    padding: 12px 10px; border-radius: 12px; border: 2px solid #CBD5E1; background: var(--white);
    font-weight: 700; cursor: pointer; text-align: center; transition: all 0.2s;
}
.style-pill.active { border-color: var(--magenta); background: rgba(225, 29, 72, 0.08); color: var(--magenta); }
.studio-select {
    width: 100%; padding: 14px; border-radius: 12px; border: 2px solid #CBD5E1;
    font-family: inherit; font-size: 1rem; background: var(--white);
}
.price-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--navy); color: var(--white); padding: 18px 24px; border-radius: 16px;
}
.price-value { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--amber); }

/* Products Grid */
.products-section { padding: 80px 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.product-card {
    background: var(--white); padding: 28px; border-radius: 20px;
    border: 1px solid rgba(15,23,42,0.06); box-shadow: var(--shadow);
    display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.product-card p { font-size: 0.94rem; color: var(--gray-600); margin-bottom: 18px; }
.card-price { font-weight: 800; color: var(--magenta); font-size: 1.15rem; }

/* Local Monte Sacro Banner */
.local-banner {
    background: var(--navy); color: var(--white); border-radius: 28px;
    padding: 56px 40px; margin: 40px auto 80px; text-align: center;
}
.local-banner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.local-banner p { color: #CBD5E1; max-width: 660px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: #0B1120; color: #94A3B8; padding: 60px 0 30px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; }

@media (max-width: 860px) {
    .hero-grid, .studio-box, .footer-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; }
}
