/* Legacy overrides — design tokens live in front-components.css */

body {
    background: #fff;
}

#wrapper {
    margin-top: 0 !important;
}

/* Buttons */
.btn-custom1 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-custom1:hover {
    background: linear-gradient(135deg, var(--accent), #C9A227);
    color: #fff;
    transform: translateY(-2px);
}

/* Typography */
p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Cards */
.card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-modern img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-modern-body {
    padding: 1.5rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Footer */
#finaly {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin: 0 auto;
    overflow: hidden;
    padding-top: 15px;
}

#copyright {
    background: var(--accent);
    color: var(--primary);
    line-height: 40px;
    margin-top: 15px;
    text-align: center;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    .section-title h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 991px) {
    .section-title h2 {
        font-size: 1.5rem;
    }

    .btn-custom1 {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .card-modern img {
        height: 180px;
    }

    .card-modern-body {
        padding: 1rem;
    }

    .card-modern-body h3 {
        font-size: 1rem;
    }

    .btn-custom1 {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 1.3rem;
    }

    .card-modern {
        border-radius: 12px;
    }

    .card-modern img {
        height: 160px;
    }
}
