/* ANPS Theme Plugin Frontend Styles */

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 3px;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover, .btn:focus {
    text-decoration: none;
    outline: none;
}
.btn-sm {
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
}
.btn-md {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}
.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}
.btn-normal {
    background-color: #2b70bf;
    color: #ffffff;
    border-color: #2b70bf;
}
.btn-normal:hover {
    background-color: #1e528e;
    color: #ffffff;
}
.btn-dark {
    background-color: #222222;
    color: #ffffff;
    border-color: #222222;
}
.btn-dark:hover {
    background-color: #111111;
    color: #ffffff;
}
.btn-light {
    background-color: #f7f7f7;
    color: #333333;
    border-color: #e0e0e0;
}
.btn-light:hover {
    background-color: #e6e6e6;
    color: #222222;
}
.btn-minimal {
    background: transparent;
    border-color: transparent;
    color: #2b70bf;
    padding-left: 0;
    padding-right: 0;
}
.btn-minimal:hover {
    background: transparent;
    color: #1e528e;
}
.btn-shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-gradient {
    background: linear-gradient(135deg, #2b70bf 0%, #17a2b8 100%);
    border: none;
    color: #ffffff;
}

/* Alerts */
.alert {
    position: relative;
    padding: 0.9rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.alert .close {
    background: transparent;
    border: 0;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
}
.alert .close:hover {
    opacity: 1;
}
.alert-info, .alert-info-style-2 {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.alert-danger, .alert-danger-style-2 {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-warning, .alert-warning-style-2 {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert-success, .alert-success-style-2 {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-useful, .alert-useful-style-2 {
    color: #1a4f78;
    background-color: #e2f0fb;
    border-color: #c6e0f7;
}
.alert-normal, .alert-normal-style-2 {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

/* Featured Content */
.featured {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.featured-header {
    position: relative;
    overflow: hidden;
}
.featured-header img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.featured:hover .featured-header img {
    transform: scale(1.04);
}
.featured-content {
    padding: 24px;
}
.featured-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}
.featured-title a {
    color: inherit;
    text-decoration: none;
}
.featured-desc {
    color: #666666;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.featured-horizontal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}
.featured-horizontal-header {
    flex: 0 0 160px;
    max-width: 160px;
}
.featured-horizontal-header img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.featured-horizontal-content {
    flex: 1;
}
.featured-horizontal-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.15rem;
}
.featured-horizontal-title a {
    color: inherit;
    text-decoration: none;
}
.featured-horizontal-desc {
    color: #666666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
.info-table-row {
    border-bottom: 1px solid #f0f0f0;
}
.info-table-icon {
    width: 40px;
    text-align: center;
    vertical-align: middle;
    padding: 10px 8px;
    color: #2b70bf;
    font-size: 1.1rem;
}
.info-table-content {
    padding: 10px 12px;
    vertical-align: middle;
}
.info-table-content a {
    color: inherit;
    text-decoration: none;
}

/* Call to Action */
.anps_cta {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cta-content {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Gallery Simple */
.gallery-simple {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}
.gallery-simple--col-2 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-simple--col-3 {
    grid-template-columns: repeat(3, 1fr);
}
.gallery-simple--col-4 {
    grid-template-columns: repeat(4, 1fr);
}
.gallery-simple__item {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}
.gallery-simple__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-simple__item:hover img {
    transform: scale(1.05);
}

/* Appointment */
.appointment {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}
.appointment-content {
    flex: 1 1 300px;
}
.appointment-form {
    flex: 1 1 300px;
}
