/* BeautyCita Salon Portfolio Styles */

:root {
    --bc-primary: #FF1A75;
    --bc-primary-dark: #D91463;
    --bc-secondary: #6366F1;
    --bc-accent: #F59E0B;
    --bc-success: #22C55E;
    --bc-warning: #EAB308;
    --bc-danger: #EF4444;
    --bc-dark: #1F2937;
    --bc-light: #F9FAFB;
    --bc-gray: #6B7280;
    --bc-border: #E5E7EB;
    --bc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bc-radius: 12px;
    --bc-radius-lg: 20px;
}

/* Hero Section */
.salon-hero {
    background-color: var(--bc-dark);
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    margin-top: -80px;
    color: white;
    position: relative;
}

.salon-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--bc-light));
}

.salon-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.salon-badge {
    margin-bottom: 20px;
}

.salon-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    margin: 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salon-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.salon-tagline {
    font-size: 1.3em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.salon-quick-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--bc-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 1.5em;
    display: block;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8em;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85em;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
.salon-content {
    padding: 60px 0;
    background: var(--bc-light);
}

.salon-section {
    background: white;
    border-radius: var(--bc-radius-lg);
    box-shadow: var(--bc-shadow);
    padding: 40px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bc-dark);
}

.section-icon {
    font-size: 1.2em;
}

.section-grid {
    display: grid;
    gap: 30px;
}

.section-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .section-grid.two-col {
        grid-template-columns: 1fr;
    }
}

/* Contact Card */
.contact-card, .location-card {
    background: var(--bc-light);
    padding: 30px;
    border-radius: var(--bc-radius);
}

.contact-card h3, .location-card h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 1.3em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bc-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.action-btn {
    margin-left: auto;
    background: var(--bc-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--bc-primary-dark);
    transform: translateY(-2px);
}

.action-btn.whatsapp-btn {
    background: #25D366;
}

.address-box {
    background: white;
    padding: 20px;
    border-radius: var(--bc-radius);
    margin-bottom: 20px;
    line-height: 1.6;
}

.map-placeholder {
    height: 200px;
    background: #ddd;
    border-radius: var(--bc-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

#salon-map {
    width: 100%;
    height: 100%;
}

.directions-btn {
    display: inline-block;
    background: var(--bc-secondary);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--bc-shadow);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: linear-gradient(135deg, var(--bc-light), white);
    padding: 25px;
    border-radius: var(--bc-radius);
    text-align: center;
    border: 1px solid var(--bc-border);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bc-shadow-lg);
    border-color: var(--bc-primary);
}

.service-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.1em;
    margin-bottom: 12px;
    color: var(--bc-dark);
}

.service-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.keyword {
    background: var(--bc-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
}

.services-chart-container {
    max-width: 500px;
    margin: 0 auto;
}

/* Reviews Section */
.reviews-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .reviews-dashboard {
        grid-template-columns: 1fr;
    }
}

.review-summary-card {
    background: linear-gradient(135deg, var(--bc-primary), var(--bc-secondary));
    padding: 30px;
    border-radius: var(--bc-radius);
    color: white;
    text-align: center;
}

.big-rating {
    margin-bottom: 20px;
}

.rating-number {
    font-size: 4em;
    font-weight: 800;
    display: block;
}

.rating-stars {
    font-size: 1.5em;
    margin: 10px 0;
}

.review-count-label {
    opacity: 0.9;
}

.sentiment-analysis {
    background: var(--bc-light);
    padding: 30px;
    border-radius: var(--bc-radius);
}

.sentiment-analysis h4 {
    margin-bottom: 20px;
    color: var(--bc-dark);
}

.sentiment-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sentiment-label {
    width: 80px;
    font-weight: 500;
}

.bar-container {
    flex: 1;
    height: 12px;
    background: var(--bc-border);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.positive .bar-fill { background: var(--bc-success); }
.neutral .bar-fill { background: var(--bc-warning); }
.negative .bar-fill { background: var(--bc-danger); }

.sentiment-percent {
    width: 50px;
    text-align: right;
    font-weight: 600;
}

.reviews-keywords {
    margin-bottom: 30px;
}

.reviews-keywords h4 {
    margin-bottom: 15px;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background: var(--bc-light);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--bc-dark);
    transition: all 0.2s;
}

.keyword-tag:hover {
    background: var(--bc-primary);
    color: white;
}

.reviews-list {
    display: grid;
    gap: 20px;
}

.review-card {
    background: var(--bc-light);
    padding: 25px;
    border-radius: var(--bc-radius);
    border-left: 4px solid var(--bc-primary);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.reviewer-name {
    font-weight: 600;
}

.review-stars {
    color: var(--bc-accent);
}

.review-date {
    margin-left: auto;
    font-size: 0.85em;
    color: var(--bc-gray);
}

.review-text {
    line-height: 1.6;
    color: var(--bc-dark);
}

/* Hours */
.hours-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.hours-item {
    background: var(--bc-light);
    padding: 15px 20px;
    border-radius: var(--bc-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hours-item.is-today {
    background: var(--bc-primary);
    color: white;
}

.day-name {
    font-weight: 600;
    text-transform: capitalize;
}

.availability-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.availability-indicator.is-open {
    background: rgba(34, 197, 94, 0.1);
    color: var(--bc-success);
}

.availability-indicator.is-closed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--bc-danger);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--bc-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-source {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
}

/* BeautyCita Score */
.score-dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .score-dashboard {
        grid-template-columns: 1fr;
    }
}

.main-score {
    text-align: center;
}

.score-circle {
    width: 180px;
    height: 180px;
    position: relative;
    margin: 0 auto 20px;
}

.score-circle svg {
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--bc-border);
    stroke-width: 8;
}

.score-progress {
    fill: none;
    stroke: var(--bc-primary);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    font-weight: 800;
    color: var(--bc-primary);
}

.score-label {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--bc-gray);
}

.score-breakdown h4 {
    margin-bottom: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--bc-border);
}

.breakdown-label {
    color: var(--bc-dark);
}

.breakdown-points {
    font-weight: 600;
    color: var(--bc-success);
}

/* Raw Data Section */
.salon-data-section {
    background: var(--bc-dark);
    color: white;
}

.salon-data-section .section-title {
    color: white;
    cursor: pointer;
}

.salon-data-section.collapsed .data-content {
    display: none;
}

.salon-data-section.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.toggle-icon {
    margin-left: auto;
    transition: transform 0.3s;
}

.data-content pre {
    background: #0f172a;
    padding: 20px;
    border-radius: var(--bc-radius);
    overflow-x: auto;
    font-size: 0.85em;
    line-height: 1.5;
}

/* Utility */
.no-data {
    text-align: center;
    color: var(--bc-gray);
    padding: 40px;
    font-style: italic;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.salon-section {
    animation: fadeIn 0.5s ease forwards;
}

.salon-section:nth-child(2) { animation-delay: 0.1s; }
.salon-section:nth-child(3) { animation-delay: 0.2s; }
.salon-section:nth-child(4) { animation-delay: 0.3s; }
.salon-section:nth-child(5) { animation-delay: 0.4s; }
