/* ==========================================================================
   Core Components Styles
   ========================================================================== */


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

/* Primary Button (Orange) */
.btn-primary {
    background-color: var(--header-accent, #e67e22);
    color: white;
}

.btn-primary:hover {
    background-color: #d35400;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Secondary Button (Brown) */
.btn-secondary {
    background-color: var(--footer-bg, #846249);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--footer-bg-dark, #573a25);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    border-color: var(--header-accent, #e67e22);
    color: var(--header-accent, #e67e22);
}

.btn-outline:hover {
    background-color: var(--header-accent, #e67e22);
    color: white;
}

/* --- Cards --- */
.card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- Forms --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--header-accent, #e67e22);
    background-color: white;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-body);
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--header-accent, #e67e22);
    margin: 10px auto 0;
    border-radius: 2px;
}