/**
 * Components Stylesheet - GaLa-Bau Kiki
 * Modern reusable UI components
 */

/* ========================================
   MODERN BUTTONS
   ======================================== */

/* Primary Button - Gradient with Shadow */
.btn-primary-modern {
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
    color: white;
}

/* Secondary Button - Outline with Hover Fill */
.btn-secondary-modern {
    background: transparent;
    border: 2px solid #2E7D32;
    color: #2E7D32;
    padding: 14px 38px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #2E7D32;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary-modern:hover::before {
    left: 0;
}

.btn-secondary-modern:hover {
    color: white;
}

/* CTA Button - Orange with Pulse Animation */
.btn-cta-modern {
    background: linear-gradient(135deg, #FF6F00, #F57C00);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.4);
    animation: pulse-shadow 2s infinite;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-modern:hover {
    transform: translateY(-3px);
    color: white;
}

/* Header CTA Button */
.btn-header-cta {
    background: var(--gradient-accent);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-primary);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
    color: white;
}

/* Footer CTA Button */
.btn-footer-cta {
    background: white;
    color: var(--color-primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    color: var(--color-primary-dark);
}

/* Hero Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #FF6F00, #F57C00);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 111, 0, 0.5);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* ========================================
   MODERN SERVICE CARDS
   ======================================== */

.service-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-card-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-card-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1), rgba(46, 125, 50, 0.1));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-card-icon-bg {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.2), rgba(46, 125, 50, 0.2));
    transform: scale(1.1);
}

.service-card-icon {
    position: relative;
    font-size: 2.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-card-icon {
    transform: rotate(360deg);
}

.service-card-title {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card-text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.service-card-features li i {
    color: var(--color-primary-light);
    font-size: 1rem;
}

.service-card-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    color: var(--color-primary-light);
    gap: 12px;
}

/* ========================================
   TEAM CARDS
   ======================================== */

.team-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.team-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.team-card-modern:hover .team-card-image img {
    transform: scale(1.1);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.9), rgba(46, 125, 50, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card-modern:hover .team-card-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

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

.team-social a:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

.team-card-content {
    padding: 1.5rem;
}

.team-name {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-role {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.feature-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(124, 179, 66, 0.1);
    font-family: var(--font-primary);
    line-height: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1), rgba(46, 125, 50, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.2), rgba(46, 125, 50, 0.2));
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.feature-card-modern h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card-modern p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========================================
   STATS COMPONENTS
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   SECTION COMPONENTS
   ======================================== */

/* Section Title Styling */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

/* Section Subtitle */
.section-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.section-subtitle::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

/* Display Title for Hero */
.display-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ========================================
   BREADCRUMB
   ======================================== */

.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-modern a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.breadcrumb-modern a:hover {
    color: var(--color-accent);
}

.breadcrumb-modern i {
    font-size: 0.8rem;
}

.breadcrumb-modern span {
    color: var(--color-accent);
    font-weight: 600;
}
