/* Custom CSS for AI Network Automation */

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

/* Custom color palette */
:root {
    --primary-color: #3273dc;
    --secondary-color: #00d1b2;
    --accent-color: #485fc7;
    --dark-color: #363636;
    --light-color: #f5f5f5;
}

/* Navigation enhancements */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-burger {
    color: #3273dc;
}

/* Hero section styling */
.hero.is-primary {
    background: linear-gradient(135deg, #3273dc 0%, #485fc7 100%);
}

.hero-image {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

/* Feature boxes styling */
.feature-box {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.feature-box .icon {
    margin-bottom: 1rem;
}

/* Button enhancements */
.button {
    border-radius: 8px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.button.is-large {
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Section spacing */
.section.is-large {
    padding: 5rem 1.5rem;
}

/* Contact boxes */
.box {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Contact section specific styling */
#contact .box {
    min-height: 180px;
}

#contact .box p {
    word-break: break-word;
    hyphens: auto;
    font-size: 0.9rem;
    line-height: 1.4;
}

#contact .box a {
    color: #3273dc;
    text-decoration: none;
}

/* Footer styling */
.footer {
    background-color: #2c3e50 !important;
    padding: 3rem 1.5rem;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .hero .title.is-1 {
        font-size: 2.5rem;
    }

    .section.is-large {
        padding: 3rem 1.5rem;
    }

    .buttons.is-large .button {
        margin: 0.5rem 0;
    }
}

/* Animation for icons */
.icon {
    transition: transform 0.3s ease;
}

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

/* Custom background patterns */
.has-background-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(50, 115, 220, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 209, 178, 0.1) 0%, transparent 50%);
}

/* Link styling */
a {
    transition: color 0.3s ease;
}

/* Typography improvements */
.title {
    font-weight: 700;
}

.subtitle {
    font-weight: 400;
    line-height: 1.6;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(45deg, #3273dc, #00d1b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}