/* Color Overrides */
:root {
    --bs-primary: #1e3a5f;
    --bs-primary-rgb: 30, 58, 95;
}

.btn-primary {
    background-color: #1e3a5f !important;
    border-color: #1e3a5f !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #152a45 !important;
    border-color: #152a45 !important;
}

.text-primary {
    color: #1e3a5f !important;
}

.border-primary {
    border-color: #1e3a5f !important;
}

.bg-primary {
    background-color: #1e3a5f !important;
}

/* Global Styles */
body {
    padding-top: 56px;
    min-height: 100vh;
    position: relative;
    background-color: #f0eee9;
}

html {
    scroll-behavior: smooth;
}

/* Section Styling */
section {
    scroll-margin-top: 70px;
}

.hero-section {
    display: flex;
    align-items: center;
}

.hero-logo {
    max-width: 250px;
    height: auto;
    mix-blend-mode: multiply;
}

.services-section {
    background: linear-gradient(135deg, #f0eee9 0%, #ffffff 100%);
}

.about-section {
    background-color: #f0eee9;
}

.skills-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0eee9 100%);
}

.contact-section {
    background: linear-gradient(135deg, #f0eee9 0%, #e9ecef 100%);
}

/* Card Enhancements */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-body-img {
    height: 96px;
    width: 96px;
    margin-left: auto;
    margin-right: auto;
}

.icon-attribution:hover {
    color: #495057;
    text-decoration: underline;
}

/* Navigation Enhancements */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.navbar-dark .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
    color: #ffffff !important;
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

/* Typography */
.display-4, .display-5 {
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
}

/* Skills Section */
.skills-section ul {
    line-height: 1.8;
}

.skills-section strong {
    color: #1e3a5f;
}

.skills-section .col-lg-6 {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Contact Section */
.contact-section a {
    color: #1e3a5f;
}

.contact-section .btn-outline-dark:hover,
.contact-section .btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-logo {
        max-width: 150px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }
}
