/* Homepage Styles for Toolish Things */

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 1rem 0;
}

.tools-icon {
    font-size: 8rem;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

/* App Cards */
.app-card {
    background: var(--surface);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.app-card h3 {
    color: var(--text-primary);
}

.app-card p {
    color: var(--text-secondary);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.app-card.coming-soon {
    opacity: 0.8;
    background: var(--border-light);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.app-features {
    margin: 1rem 0;
}

.app-features .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* Feature Cards */
.feature-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    color: var(--text-secondary);
}

.feature-card h4 {
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .tools-icon {
        font-size: 5rem;
    }
    
    .hero-section .row {
        padding-bottom: 0.5rem !important;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section .display-3 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .tools-icon {
        font-size: 4rem;
    }
    
    .hero-section .row {
        padding-bottom: 0.25rem !important;
    }
    
    .app-card {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 1rem;
    }
}

/* Button Size Overrides */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Launch App Button Styling */
.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    color: var(--dark-slate-gray);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-slate-gray);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-primary:focus {
    background: var(--gradient-secondary);
    box-shadow: 0 0 0 3px var(--secondary-20);
    color: var(--dark-slate-gray);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Section Spacing */
section {
    position: relative;
}

section:not(:last-child) {
    margin-bottom: 0;
}

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



/* Footer Enhancements */
footer {
    border-top: 1px solid var(--text-primary);
}

/* Animation for app cards on scroll */
.app-card, .feature-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.app-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for interactive elements */
.app-card a:hover {
    text-decoration: none;
}

.badge:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}



/* Print styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        display: none !important;
    }
}
