/* General Styles */
:root {
    --primary-color: #6f4e37;  /* Coffee */
    --secondary-color: #c4a484; /* Tan */
    --dark-color: #3e2723;
    --light-color: #f5f5dc;    /* Beige */
    --success-color: #8d6e63;  /* Taupe */
    --danger-color: #5d4037;   /* Dark brown */
    --warning-color: #d7ccc8;  /* Light gray */
    --info-color: #a1887f;     /* Grayish brown */
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 70px;
}

.navbar-nav{
    gap: 2rem;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-color) 0%, rgb(209 169 86 / 80%) 100%);;
  padding: 100px 0;
  color: var(--dark-color);
}


.hero-img {
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 196, 182, 0.2);
}

.social-links a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Skills Section */
.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    background-color: var(--secondary-color);
    border-radius: 5px;
}

/* Projects Section */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(155, 93, 229, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(155, 93, 229, 0.2);
}

/* Experience Section */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid white;
}

.timeline-item h4 {
    margin-bottom: 5px;
}

.timeline-item h5 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.timeline-item span {
    display: block;
    margin-bottom: 10px;
}

.timeline-item ul {
    padding-left: 20px;
}

/* Contact Section */
.contact-info i {
    width: 20px;
    text-align: center;
}

#contact {
  min-height: 80vh;
}


#contactForm .form-control {
    padding: 10px 15px;
    border-radius: 5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0b5ed7;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .section-title::after {
        width: 60px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

.contact-me-button {
    background-color: var(--primary-color);
    color: white;
}

.back-to-top {
    background-color: var(--secondary-color);
}

.back-to-top:hover {
    background-color: #7b4bc3;
}

/* Base Button Styles */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: none;
  color: var(--light-color);
  background-color: var(--dark-color);
}

/* Primary Button */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background-color: #c28b5e; /* slightly darker shade */
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

.btn-secondary:hover {
  background-color: #8e7452;
}

/* Success Button */
.btn-success {
  background-color: var(--success-color);
  color: var(--light-color);
}

.btn-success:hover {
  background-color: #5a8542;
}

/* Danger Button */
.btn-danger {
  background-color: var(--danger-color);
  color: var(--light-color);
}

.btn-danger:hover {
  background-color: #a83f41;
}

/* Warning Button */
.btn-warning {
  background-color: var(--warning-color);
  color: var(--dark-color);
}

.btn-warning:hover {
  background-color: #d6b65a;
}

/* Info Button */
.btn-info {
  background-color: var(--info-color);
  color: var(--light-color);
}

.btn-info:hover {
  background-color: #3b6d8a;
}

/* Disabled Button */
.btn:disabled,
.btn.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Outline Buttons (Optional) */
.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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