/* MKA Import & Export - Custom Styles */

/* ==================== VARIABLES ==================== */
:root {
    --primary-color: #d3a849;
    --secondary-color: #141414;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;

    /* Override Bootstrap primary variables */
    --bs-primary: var(--primary-color);
    --bs-primary-rgb: 211, 168, 73;
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: #c49a3e;
}

/* ==================== GLOBAL STYLES ==================== */
body {
    font-family: 'Cambria', Georgia, serif;
    color: var(--text-color);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Override Bootstrap default link colors */
a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

a:hover {
    color: #c49a3e !important;
}

/* Links within dark sections */
.text-white a,
footer a,
.page-header a {
    color: var(--white) !important;
}

.text-white a:hover,
footer a:hover,
.page-header a:hover {
    color: var(--primary-color) !important;
}

/* ==================== NAVIGATION ==================== */
.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-illustration {
    text-align: center;
    color: var(--primary-color);
}

.hero-illustration .hero-logo {
    max-width: 25rem;
    opacity: 0.8;
    filter: brightness(1.2);
    animation: shine 3s ease-in-out infinite alternate;
}

@keyframes shine {
    0% {
        filter: brightness(1.2);
    }
    100% {
        filter: brightness(1.5);
    }
}

.hero-section h1 {
    color: var(--white);
}

.hero-section .lead {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #c49a3e !important;
    border-color: #c49a3e !important;
    color: var(--white) !important;
}

.btn-light {
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.btn-light:hover {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #c49a3e !important;
}

/* Override text-white section inheritance for buttons */
.text-white .btn-light {
    color: var(--primary-color) !important;
}

.text-white .btn-light:hover {
    color: #c49a3e !important;
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    border-color: var(--white) !important;
    color: var(--white) !important;
    background-color: transparent !important;
}

.btn-outline-light:hover {
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--primary-color) !important;
}

/* ==================== CARDS ==================== */
.activity-card,
.value-card,
.product-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover,
.value-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.activity-card i,
.value-card i {
    color: var(--primary-color);
}

.activity-card .activity-icon {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card i {
    color: var(--secondary-color);
}

/* ==================== TITLE UNDERLINE ==================== */
.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
}

/* ==================== ABOUT PAGE ==================== */
.about-section-image,
.about-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c49a3e 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section-image i,
.about-image i {
    font-size: 10rem;
    color: var(--white);
    opacity: 0.8;
}

.vision-card {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
}

.mission-card {
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
}

.principles-section {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
}

/* ==================== PRODUCTS PAGE ==================== */
.service-item {
    text-align: center;
    padding: 30px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c49a3e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon i {
    color: var(--white);
}

.why-card {
    padding: 30px;
    border-radius: 15px;
    background: var(--light-bg);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--white);
}

.why-card i {
    color: var(--primary-color);
}

.why-card:hover i {
    color: var(--white);
}

/* ==================== CONTACT PAGE ==================== */
.contact-info-card,
.contact-form-card {
    background: var(--light-bg);
    border-radius: 15px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c49a3e 100%);
    border-radius: 20px;
    color: var(--white);
}

.map-placeholder i {
    opacity: 0.5;
}

/* ==================== POLICY PAGES ==================== */
.policy-content h2,
.policy-content h3 {
    color: var(--secondary-color);
}

.policy-content h2 {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.policy-content h3 {
    margin-top: 30px;
}

.message-types,
.opt-out-methods {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
}

.contact-info {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
}

/* ==================== FOOTER ==================== */
footer {
    font-family: 'Cambria', Georgia, serif;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-illustration .hero-logo {
        max-width: 15rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .about-section-image,
    .about-image {
        height: 300px;
    }

    .about-section-image i,
    .about-image i {
        font-size: 6rem;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== FORM STYLES ==================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(211, 168, 73, 0.25);
    outline: none;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(211, 168, 73, 0.25);
}

/* Override any remaining Bootstrap blue elements */
.btn-link {
    color: var(--primary-color);
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* ==================== SECTION SPACING ==================== */
section {
    position: relative;
}
