/* ==========================================================================
   Flor Vida y Amor - Digital Business Card / One-Pager Stylesheet
   Color Palette (Max 3 Main Tones):
   - Primary Accent: Deep Burgundy / Rose (#801B38)
   - Soft Background / Card Tint: Warm Rose Cream (#FFF5F6)
   - Dark Neutral / Typography: Charcoal Slate (#261C20)
   ========================================================================== */

:root {
    --primary-color: #801b38;
    --primary-hover: #631229;
    --primary-light: #f7e6ea;
    --bg-gradient-start: #fcf6f7;
    --bg-gradient-end: #f5eaec;
    --card-bg: #ffffff;
    --text-main: #261c20;
    --text-muted: #6b5c62;
    --border-color: #eee0e3;
    --accent-sage: #4f6e60;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(128, 27, 56, 0.05);
    --shadow-md: 0 8px 24px rgba(128, 27, 56, 0.08);
    --shadow-lg: 0 16px 40px rgba(128, 27, 56, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px 15px;
    position: relative;
    overflow-x: hidden;
}

/* Background Animated Blur Effects */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-blur-1 {
    width: 300px;
    height: 300px;
    background: rgba(128, 27, 56, 0.15);
    top: -50px;
    left: -50px;
}

.bg-blur-2 {
    width: 350px;
    height: 350px;
    background: rgba(79, 110, 96, 0.12);
    bottom: -80px;
    right: -50px;
}

/* Container */
.container {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Main Profile Card */
.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Card Header & Cover */
.card-header {
    position: relative;
    text-align: center;
    background: linear-gradient(to bottom, #fff0f3, #ffffff);
}

.cover-image {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cover-image:hover img {
    transform: scale(1.04);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(128, 27, 56, 0.5) 100%);
}

.badge-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

/* Avatar Circle */
.avatar-container {
    position: relative;
    margin-top: -60px;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Header Titles */
.header-titles {
    padding: 0 20px 20px 20px;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.brand-slogan {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.brand-owner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.brand-owner span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Quick Actions CTA */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 25px 20px 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-full {
    width: 100%;
    background: #25d366;
    color: var(--white);
    font-size: 1rem;
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.btn-whatsapp-full:hover {
    background: #1eb956;
    transform: translateY(-2px);
}

/* General Card Section */
.card-section {
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-title i {
    font-size: 1.2rem;
    opacity: 0.9;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sub-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--accent-sage);
    background: rgba(79, 110, 96, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Bio Section */
.bio-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.location-badge i {
    color: var(--primary-color);
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 25px 25px 25px;
}

.highlight-card {
    background: var(--bg-gradient-start);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.highlight-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.highlight-content p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Services Accordion List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.service-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    cursor: pointer;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-info {
    flex-grow: 1;
}

.service-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.service-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.service-item.active .toggle-btn {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.service-details {
    list-style: none;
    padding: 0 16px 14px 70px;
    display: none;
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
    margin-top: 4px;
}

.service-item.active .service-details {
    display: block;
}

.service-details li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-details li i {
    color: var(--accent-sage);
    font-size: 0.75rem;
}

/* Gallery Section Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 27, 56, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.more-photos-notice {
    margin-top: 12px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.8rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 500;
}

/* Order Builder Form */
.section-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    background: var(--bg-gradient-start);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(128, 27, 56, 0.1);
}

/* Contact Info Section */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    background: var(--white);
}

.contact-item:not(.no-hover):hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.wa-bg { background: #e6f9ed; color: #25d366; }
.phone-bg { background: #eaf2fd; color: #3b82f6; }
.clock-bg { background: #fef3c7; color: #d97706; }
.map-bg { background: #fee2e2; color: #ef4444; }

.contact-text {
    flex-grow: 1;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.arrow-icon {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.card-footer {
    text-align: center;
    padding: 25px;
    background: var(--bg-gradient-start);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-owner {
    font-size: 0.75rem;
    color: var(--accent-sage);
    font-weight: 600;
    margin-top: 4px;
}

/* Image Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-light);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 10px 5px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-title {
        font-size: 1.9rem;
    }
}
