/* home.css - Styles specific to home/index page */

.content {
    padding: 40px 20px 80px;
    min-height: calc(100vh - 90px);
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

/* Hero Logo */
.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 30px rgba(168, 192, 255, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-subtitle {
    font-size: 1.4em;
    color: #a8c0ff;
    margin-bottom: 20px;
    font-style: italic;
}

.hero-description {
    font-size: 1.2em;
    color: #bbb;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Inline Link in Hero */
.inline-link {
    color: #a8c0ff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.inline-link:hover {
    color: #fff;
    border-bottom-color: #a8c0ff;
}

.inline-link::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.3s ease;
}

.inline-link:hover::after {
    transform: translateX(5px);
}

/* Hero Image */
.hero-img {
    display: block;
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 60px auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(168, 192, 255, 0.3);
}

/* Action Cards Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.action-link-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 35px;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.action-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(168, 192, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-link-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(168, 192, 255, 0.5);
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.4);
}

.action-link-card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 4em;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(168, 192, 255, 0.3));
    transition: transform 0.3s ease;
}

.action-link-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.action-link-card h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #a8c0ff;
    transition: color 0.3s ease;
}

.action-link-card:hover h2 {
    color: #fff;
}

.action-link-card p {
    font-size: 1.1em;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-arrow {
    font-size: 2em;
    color: #a8c0ff;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.action-link-card:hover .card-arrow {
    transform: translateX(10px);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .action-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .hero-img {
        max-width: 600px;
        margin: 50px auto;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 350px;
        margin-bottom: 25px;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-description {
        font-size: 1em;
    }

    .hero-img {
        max-width: 500px;
        margin: 40px auto;
        border-radius: 15px;
    }

    .action-grid {
        gap: 30px;
    }

    .action-link-card {
        padding: 30px 25px;
    }

    .card-icon {
        font-size: 3.5em;
    }

    .action-link-card h2 {
        font-size: 1.7em;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 10px;
        margin-bottom: 40px;
    }

    .hero-logo {
        max-width: 250px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-description {
        font-size: 0.95em;
    }

    .hero-img {
        max-width: 100%;
        margin: 30px auto;
        border-radius: 12px;
    }

    .action-link-card {
        padding: 25px 20px;
    }
}