/* Custom CSS for Kotora Public Team Recruitment Site */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom gradient backgrounds */
.gradient-bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #ff7b7b 0%, #ff416c 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff416c 0%, #ff7b7b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    color: white;
    text-decoration: none;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Typography enhancements */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Mobile menu styles */
#mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin-top: 8px;
    padding: 16px;
}

/* Form enhancements */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Banner styles */
.banner-highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-left: 4px solid #e17055;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .btn-mobile {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Loading animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message styles */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: none;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: none;
}

/* Icon enhancements */
.icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.icon-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 60px auto;
    width: 100px;
}

/* Parallax effects for sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Background image optimizations */
.bg-hero {
    background-image: url('https://kotora.co.jp/wp2022/wp-content/uploads/2025/06/img-kv-min.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-pattern {
    background-image: url('https://kotora.co.jp/wp2022/wp-content/themes/WordPressTheme/assets/images/service-6.png');
    background-size: contain;
    background-repeat: repeat;
    opacity: 0.03;
}



/* Enhanced section backgrounds */
.section-bg-primary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy loading styles */
img[loading="lazy"] {
    transition: opacity 0.3s;
}

img[loading="lazy"]:not([src]) {
    opacity: 0;
}

/* Image error handling */
img[onerror] {
    transition: opacity 0.3s ease;
}

.section-bg-secondary {
    background: linear-gradient(135deg, #fef7f0 0%, #fed7aa 100%);
    position: relative;
}

/* Overlay effects */
.bg-overlay {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
}

.bg-overlay-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
}

/* Team member cards */
.team-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Testimonial styles */
.testimonial {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Call-to-action section enhancements */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Statistics counter styles */
.stat-counter {
    font-size: 3rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
}

/* Benefits list styles */
.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: #10b981;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Process steps */
.process-step {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* FAQ styles */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    display: none;
    border-top: 1px solid #e5e7eb;
}

.faq-answer.active {
    display: block;
}

/* Timeline styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3b82f6;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b82f6;
    transform: translateX(-50%);
    z-index: 2;
}

/* Responsive timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3b82f6;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.scroll-to-top.show {
    display: flex;
}