:root {
    --bg-color: #faf9f6;
    --card-bg: rgba(255, 255, 255, 0.92);
    --text-primary: #1a1a1a;
    --text-muted: #666666;
    --accent: #932924; /* Granat / vermell elegant Aumatell */
    --accent-gold: #c59b27;
    --accent-hover: #721e1a;
    --border: #e8e6df;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo {
    height: 42px;
    width: auto;
}

.brand-text h1 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.btn-client-access {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-client-access:hover {
    background: var(--accent);
    color: white;
}

/* HERO SECTION */
.hero {
    padding: 60px 5% 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 18px;
    font-weight: 500;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* TABS / SELECTOR DE SERVEIS */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
    flex-wrap: wrap;
    max-width: 800px;
}

.tab-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.tab-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* DESTACAT: LLUMFOTO */
.featured-badge {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: #ffd700;
    border: 1px solid #4a5568;
}

/* SECCIONS GENERALS */
.section {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* PACKS NADAL */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pack-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.pack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.pack-card.popular {
    border: 2px solid var(--accent);
}

.badge-pop {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pack-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.pack-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.pack-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pack-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
    flex: 1;
}

.pack-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.92rem;
    color: #444;
}

.pack-features li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: bold;
}

.btn-reserve-pack {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 15px;
    font-family: var(--font-sans);
}

.btn-reserve-pack:hover {
    background: var(--accent-hover);
}

.btn-wa-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 15px;
    white-space: nowrap;
    border: none;
    transition: background 0.2s;
    font-family: var(--font-sans);
}

.btn-wa-pill:hover {
    background: #1ebd5a;
    color: #ffffff !important;
}

/* BANNER LLUMFOTO */
.llumfoto-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: 16px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin: 40px 0;
}

.llumfoto-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.llumfoto-content h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.llumfoto-content p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-llumfoto {
    background: #ffd700;
    color: #0f172a;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-llumfoto:hover {
    transform: scale(1.03);
}

.llumfoto-visual {
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(15,23,42,0) 70%);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.llumfoto-visual span {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* FORMULARI I SIGNATURA (MODAL / PANTALLA) */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.booking-card {
    background: white;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.booking-header h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--accent);
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

.canvas-signature-wrap {
    border: 2px dashed #cbd5e0;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 8px;
    position: relative;
    touch-action: none;
}

#signature-pad {
    width: 100%;
    height: 140px;
    display: block;
    cursor: crosshair;
}

.signature-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #718096;
}

.btn-clear-sig {
    background: transparent;
    border: none;
    color: #e53e3e;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 60px;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .llumfoto-banner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .nav-links {
        display: none; /* Podem afegir menú mòbil */
    }
}
