/* Components - Buttons, Cards, Badges, Hero, Services */

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: white;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--accent);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease 0.4s both;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.cta-button.secondary:hover {
    background: var(--accent);
    color: white;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0;
}

.theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: var(--grid-gap);
    margin-top: var(--space-2xl);
}

.service-card {
    padding: var(--card-padding);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.7;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--light-gray);
    border-radius: 30px;
    font-size: 0.85rem;
    margin: 0.3rem;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
}

.badge:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}