/* Home Page Specific Styles for Darner.ai */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content {
    position: relative;
    z-index: 10;
}

.hero-section .hero-image {
    position: relative;
    z-index: 5;
}

.hero-section .floating-element {
    transition: transform 0.3s ease;
}

.hero-section:hover .floating-element {
    transform: translateY(-5px);
}

/* Animation for hero elements */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-animation {
    animation: float 6s ease-in-out infinite;
}

/* About Section */
.about-section .feature-icon {
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
}

.about-section .feature:hover .feature-icon {
    transform: scale(1.1);
}

/* Garth Product Section */
.product-section .product-image {
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-md);
}

.product-section .product-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Solutions Section */
.solutions-section .solution-card {
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
    position: relative;
}

.solutions-section .solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-full);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.solutions-section .solution-card:hover::before {
    transform: scaleX(1);
}

.solutions-section .solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solutions-section .solution-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    transition: all 0.3s ease;
}

.solutions-section .solution-card:hover .solution-icon {
    background: var(--gradient-primary);
    color: white;
}

/* Stats Section */
.stats-section .stat-card {
    overflow: hidden;
    position: relative;
}

.stats-section .stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,225,210,0.1) 0%, rgba(255,62,127,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-section .stat-card:hover::after {
    opacity: 1;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Team Section */
.team-section .team-card {
    transition: all 0.3s ease;
}

.team-section .team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-section .team-image {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.team-section .team-image img {
    transition: transform 0.5s ease;
}

.team-section .team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-section .team-position {
    color: var(--primary);
    font-weight: 500;
}

.team-section .social-links {
    display: flex;
    gap: 0.75rem;
}

.team-section .social-link {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
    transition: all 0.3s ease;
}

.team-section .social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section .contact-form {
    transition: all 0.3s ease;
}

.contact-section .contact-form:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-section .contact-info-card {
    transition: all 0.3s ease;
}

.contact-section .contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-section .contact-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-section .contact-info-card:hover .contact-icon {
    background: var(--gradient-primary);
    color: white;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cta-section .cta-content {
    position: relative;
    z-index: 10;
}

.cta-section .btn-white {
    background-color: white;
    color: var(--primary);
    transition: all 0.3s ease;
}

.cta-section .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .hero-content {
        order: 2;
    }
    
    .hero-section .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}