/* Custom CSS for Sakuteru Landing Page */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Animation Classes */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-delay {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Custom Gradient Backgrounds */
.gradient-tea {
    background: linear-gradient(135deg, #8BC34A, #4CAF50, #2E7D32);
    background-size: 300% 300%;
    animation: gradient-shift 6s ease infinite;
}

.gradient-hero {
    background: linear-gradient(135deg, #C8E6C9 0%, #F5F5DC 50%, #E8F5E8 100%);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

/* Enhanced Typography */
.text-shadow-soft {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.heading-gradient {
    background: linear-gradient(135deg, #2E7D32, #4CAF50, #8BC34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Custom Button Styles */
.btn-tea-primary {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-tea-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #66BB6A, #9CCC65);
}

.btn-tea-secondary {
    background: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-tea-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Enhanced Card Styles */
.card-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.card-premium:hover::before {
    left: 100%;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Navigation Enhancements */
.nav-glass {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Spacing and Layout */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* Enhanced Text Effects */
.text-glow {
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.highlight-green {
    background: linear-gradient(120deg, #8BC34A 0%, #8BC34A 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 88%;
    transition: background-size 0.25s ease-in;
}

.highlight-green:hover {
    background-size: 100% 88%;
}

/* Responsive Image Containers */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.img-container img {
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .animate-fade-in-up {
        animation-duration: 0.8s;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .card-premium {
        margin-bottom: 20px;
    }
    
    .btn-tea-primary,
    .btn-tea-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Loading Animation */
.loading-dots {
    display: inline-flex;
    align-items: center;
}

.loading-dots::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    margin-left: 5px;
    animation: loading-dot 1.5s infinite ease-in-out;
}

@keyframes loading-dot {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Particle Effect Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(76, 175, 80, 0.3);
    border-radius: 50%;
    animation: float-particle 6s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.5;
    }
}

/* Success/Info Message Styles */
.message-success {
    background: linear-gradient(135deg, #C8E6C9, #E8F5E8);
    border-left: 4px solid #4CAF50;
    padding: 16px 24px;
    border-radius: 8px;
    margin: 16px 0;
}

.message-warning {
    background: linear-gradient(135deg, #FFE0B2, #FFF3E0);
    border-left: 4px solid #FF9800;
    padding: 16px 24px;
    border-radius: 8px;
    margin: 16px 0;
}

.message-info {
    background: linear-gradient(135deg, #E3F2FD, #F3E5F5);
    border-left: 4px solid #2196F3;
    padding: 16px 24px;
    border-radius: 8px;
    margin: 16px 0;
}

/* Enhanced Form Styles (if needed later) */
.form-tea {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.input-tea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.input-tea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-tea-primary {
        border: 2px solid #000;
    }
    
    .card-premium {
        border: 2px solid #000;
    }
    
    .text-gray-600 {
        color: #000 !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .animate-float,
    .animate-float-delay {
        animation: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}