/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

h2 {
    color: #962d24;
}

h1 {
    color: #962d24 !important;
    font-weight: 700;
}

/* Back to top button hover effect */
#back-to-top:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.badge {
    margin: 2px;
}

.display-4 {
    color: #2c3e50;
}

.lead {
    color: #6c757d;
}

.progress {
    background-color: #e9ecef;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* Navbar styles to match footer */
.navbar {
    background: linear-gradient(to right, #d24136, #ff914d);
}

.navbar-nav .nav-link {
    color: #ecf0f1 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f6c244 !important;
}

.navbar-brand {
    color: #ecf0f1 !important;
}

.navbar-brand:hover {
    color: #f6c244 !important;
}

/* Equal height columns for skills section */
.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.skill-column {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-column ul {
    flex: 1;
}

/* Footer styles */
main {
    flex: 1;
}



.footer {
    background: linear-gradient(to right, #d24136, #ff914d);
    color: #ecf0f1;
    padding: 40px 0 20px 0;
    margin-top: auto;
}

.footer h5 {
    color: #ecf0f1;
    font-weight: 600;
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer li a {
    text-decoration: underline !important;
}

.footer a:hover {
    box-shadow: 0 4px 8px rgba(210, 65, 54, 0.3);
}

a:hover {
  color: #f6c244;
}

.footer .social-links a {
    font-size: 1.5rem;
    margin: 0 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: #962d24;
}

:root {
    --primary-icon-color: #962d24;
    --primary-icon-hover-color: #7a2119;
}

/* Apply to all icons */
.text-center i,
.skill-column i {
    color: var(--primary-icon-color) !important;
    transition: color 0.3s ease;
}

.text-center i:hover,
.skill-column i:hover{
    color: var(--primary-icon-hover-color) !important;
}

/* Project section icons */
.bi-globe,
.bi-github {
    color: var(--primary-icon-color) !important;
}

.bi-globe:hover,
.bi-github:hover {
    color: var(--primary-icon-hover-color) !important;
}

/* Dark mode toggle button */
#toggleBtn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 8px;
}

#toggleBtn:hover {
    background-color: rgba(150, 45, 36, 0.1) !important;
    transform: scale(1.1);
}

#toggleBtn:focus {
    box-shadow: 0 0 0 3px rgba(150, 45, 36, 0.25);
    outline: none;
}

#theme-icon {
    transition: all 0.3s ease;
}

/* Navbar adjustments */
.navbar-nav .nav-item:last-child {
    display: flex;
    align-items: center;
}
