/* === ExploitEye - Homepage Specific Styles === */

/* ===== 1. Hero Section ===== */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height));
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.1), transparent 50%),
                      radial-gradient(circle at 80% 90%, rgba(0, 86, 179, 0.1), transparent 50%);
    z-index: -1;
}

body[data-theme='dark'] .home-hero::before {
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.15), transparent 50%),
                      radial-gradient(circle at 80% 90%, rgba(0, 86, 179, 0.15), transparent 50%);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== 2. Services Section ===== */
.services-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 600;
    color: var(--color-primary);
    align-self: flex-start;
}

/* ===== 3. Why Choose Us Section ===== */
.why-us-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* ===== 4. Portfolio Preview Section ===== */
.portfolio-preview-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 { font-size: 1.25rem; }
.portfolio-info p { opacity: 0.8; }

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== 5. Final CTA Section ===== */
.home-cta-section {
    padding: 5rem 0;
}

.cta-content {
    background: var(--gradient-secondary);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius);
}
.cta-content p {
    max-width: 600px;
    margin: 1rem auto 2rem;
    opacity: 0.9;
}