/* ============================================
   REUSABLE COMPONENT STYLES
   ============================================
   
   This file contains semantic component classes.
   Avoid duplication with utilities.css.
   
   Key Optimizations:
   - Consistent cubic-bezier transitions
   - Shared hover effects via .hover-lift
   - Container moved to utilities.css
   - Hidden scrollbars for all scroll containers
   
   ============================================ */

/* Button Component */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #c72200;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0px 8px 16px rgba(229, 41, 0, 0.3);
    animation: pulse 0.6s ease-in-out;
}

.btn-secondary {
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
}

.btn-secondary:hover {
    background: #333333;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Common Hover Transform - Reusable */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0px 20px 24px rgba(0, 0, 0, 0.12);
}

/* Card Component */
.card {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0px 16px 12px 0px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0px 20px 24px 0px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Icon Text Component */
.icon-text-component {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-text-component .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.icon-text-component .text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5em;
    color: var(--color-black);
}

/* Section Label Component */
.section-label-component {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5em;
    text-transform: uppercase;
    color: var(--color-black);
    letter-spacing: 0.05em;
}

/* Section Title Component */
.section-title-component {
    text-align: center;
}

.section-title-component h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2em;
    color: var(--color-black);
    margin-bottom: 10px;
}

.section-title-component .subtitle {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.173em;
    color: var(--color-text-medium);
}

/* Feature Item Component */
.feature-item-component {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item-component:hover {
    transform: translateX(8px);
}

.feature-item-component .icon {
    width: 38px;
    height: 38px;
    padding: 4px 6px;
    border-radius: 25px;
    flex-shrink: 0;
    background: var(--color-light-bg);
}

.feature-item-component .text {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.173em;
    color: var(--color-text-medium);
}

/* Tag Component */
.tag-component {
    padding: 10px 14px;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    border-radius: 100px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5em;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-component:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Navigation Arrow Component */
.nav-arrow-component {
    width: 56px;
    height: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-arrow-component:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

/* Stats Card Component */
.stats-card-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.stats-card-component .number {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 74px;
    line-height: 1.304em;
    color: var(--color-black);
}

.stats-card-component .label {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.173em;
    color: var(--color-text-medium);
}

/* Service Number Component */
.service-number-component {
    font-family: var(--font-primary);
    font-weight: 275;
    font-size: 38px;
    line-height: 0.842em;
    color: var(--color-black);
    opacity: 0.5;
}

/* Menu Item Component */
.menu-item-component {
    position: relative;
}

.menu-item-component a {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    color: var(--color-black);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.menu-item-component a:hover {
    background: var(--color-light-bg);
}

.menu-item-component.active a {
    background: var(--color-light-bg);
}

/* Customer Info Component */
.customer-info-component {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-info-component h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2em;
    color: var(--color-black);
    transition: opacity 0.3s ease;
}

.customer-info-component p {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    color: var(--color-text-light);
}

/* Social Link Component */
.social-link-component {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-black);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link-component:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Image with Border Radius Component */
.image-rounded-component {
    border-radius: 18px;
    overflow: hidden;
}

.image-rounded-component img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Loading Spinner Component */
.spinner-component {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-light-bg);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification Component */
.toast-component {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.toast-component.show {
    transform: translateY(0);
    opacity: 1;
}

/* Badge Component */
.badge-component {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 100px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5em;
}

.badge-component.secondary {
    background: var(--color-secondary);
}

.badge-component.outline {
    background: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
}

/* Container moved to utilities.css to avoid duplication */

/* Grid Component */
.grid-component {
    display: grid;
    gap: 24px;
}

.grid-component.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-component.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-component.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .grid-component.cols-4,
    .grid-component.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-component.cols-4,
    .grid-component.cols-3,
    .grid-component.cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Flex Component */
.flex-component {
    display: flex;
    gap: 24px;
}

.flex-component.align-center {
    align-items: center;
}

.flex-component.justify-between {
    justify-content: space-between;
}

.flex-component.justify-center {
    justify-content: center;
}

.flex-component.column {
    flex-direction: column;
}

/* Scroll Container Component - Scrollbars hidden by default in main.css */
.scroll-container-component {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.scroll-container-component::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

