body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

.vcard-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vcard-header-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vcard-body-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vcard-header {
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcard-body {
    background-color: white;
    padding: 0;
    margin: 0;
}

.info-section {
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.info-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 107, 147, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background-color: rgba(255, 107, 147, 0.2);
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
}

.service-item, .procedure-item, .catalog-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover, .procedure-item:hover, .catalog-item:hover {
    background-color: rgba(255, 107, 147, 0.05);
}

.service-icon, .procedure-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 107, 147, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Enhanced Navigation with Arrows */
.nav-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.nav-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.nav-scroll-btn.left {
    left: 8px;
}

.nav-scroll-btn.right {
    right: 8px;
}

.nav-scroll-btn.hidden {
    display: none;
}

.nav-tabs-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.nav-tab-scroll {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.nav-tab-scroll.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.nav-tab-scroll:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Button Styles */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    flex: 1;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 147, 0.3);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 12px 24px;
    flex: 1;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 147, 0.2);
}

/* Map Styles */
#map {
    height: 200px;
    border-radius: 10px;
    margin-top: 15px;
    z-index: 1;
}

.map-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Accordion Styles */
.accordion-section {
    margin-bottom: 15px;
}

.accordion-header {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-title {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--dark-color);
}

.accordion-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

.accordion-arrow {
    transition: transform 0.3s ease;
}

.accordion-arrow.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.expanded {
    padding: 15px;
    max-height: 1000px;
}

/* Tab Content Styles */
.tab-content-section {
    max-width: 400px;
    margin: 10px auto;
    background: white;
    border-radius: 0;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-slider, .gallery-slider {
    margin: 20px 0;
}

.portfolio-slider .slick-slide, .gallery-slider .slick-slide {
    padding: 0 10px;
}

.portfolio-slider img, .gallery-slider img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.slick-prev, .slick-next {
    z-index: 1;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.back-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
}

.back-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.review-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
}

.rating-stars {
    color: #ffc107;
}

.working-hours-table {
    width: 100%;
}

.working-hours-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.working-hours-table td {
    padding: 8px 0;
}

.day-name {
    font-weight: 500;
}

.closed-text {
    color: #dc3545;
    font-style: italic;
}

/* Additional Feature Sections */
.feature-section {
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    margin: 4px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.feature-item:hover .feature-icon {
    color: white;
}

.feature-label {
    font-size: 0.85rem;
    font-weight: 500;
}


/* CV Styles --------------------------------------------------------------------- */
.cv-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.cv-contact-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cv-section-title {
    color: var(--primary-color);
    font-weight: 600;
}

.cv-section-content {
    line-height: 1.6;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 10px;
}

/* Media Files Styles */
.media-files {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.media-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    gap: 15px;
}

.media-preview {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.media-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview, .audio-preview, .document-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
}

.video-icon, .audio-icon, .document-icon {
    font-size: 2rem;
}

.media-info {
    flex: 1;
}

.media-title {
    margin: 0 0 5px 0;
    color: var(--dark-color);
}

.media-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.btn-download {
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--secondary-color);
    color: white;
}

.media-type-badge {
    background: #6c757d;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
}

/* Appointment Styles */
.appointment-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.appointment-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.slot-date {
    flex: 1;
}

.slot-time {
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.btn-book-slot {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book-slot:hover {
    background: var(--secondary-color);
}

/* Notes Styles */
.notes-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.note-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.note-item h6 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Booking Form Styles */
.booking-summary {
    border-left: 4px solid var(--primary-color);
}

/* Services Tab Styles */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    gap: 15px;
}

.service-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 147, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.service-info {
    flex: 1;
}

.service-name {
    margin: 0 0 8px 0;
    color: var(--dark-color);
}

.service-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-duration {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.service-description {
    margin: 0;
    color: #555;
    line-height: 1.4;
}

/* Catalog Tab Styles */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.catalog-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.catalog-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.catalog-title {
    margin: 0 0 8px 0;
    font-weight: 600;
}

.catalog-price {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.catalog-description {
    margin: 0 0 10px 0;
}

.btn-download-small {
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-download-small:hover {
    background: var(--secondary-color);
    color: white;
}

/* Review Form Styles */
.review-form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    color: #ddd;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}

.rating-input input:checked + label {
    color: #ffc107;
}

/* Media Files Fix Styles */
.video-placeholder {
    width: 100%;
    height: 80px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Feature Grid Responsive */
@media (max-width: 380px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

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