/* home.css – homepage specific styles */

.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 40px;
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    max-width: 650px;
    margin-top: 20px;
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Optional: slight fade-in animation */
.hero {
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeIn 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

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

/* dloper.com fun name animation */

.brand-title {
    display: inline-flex;
    align-items: center; /* prevents clipping */
    gap: 2px;
    line-height: 1.1; /* extra vertical space */
    padding-top: 4px; /* fixes top clipping */
}

.brand-d {
    font-weight: 800;
}

.brand-tail {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* brand-eve (hidden until expand animation) */
.brand-eve {
    display: inline-block;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, max-width 0.45s ease;
}

/* Hover: expand into developer.com */
.brand-title:hover .brand-eve {
    opacity: 1;
    max-width: 3ch;
}

/* subtle hover */
.brand-title:hover .brand-tail {
    transform: translateX(2px);
}

/* ---------------------- */
/* Services Section Styles */
/* ---------------------- */

.services-section {
    padding: 56px 20px;
    display: flex;
    justify-content: center;
}

.services-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 24px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 28px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
}

/* Icon placeholder */
.service-card::before {
    content: "💡";
    font-size: 28px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.service-card p {
    opacity: 0.8;
    line-height: 1.5;
}

.service-link {
    margin-top: auto;
    font-weight: 500;
    color: #d69c32;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}