/* Styles for the about-me.html page */

/* Resetting body styles to allow the main style.css to take control */
body {
    background-color: #ffffff;
    color: #333;
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* --- About Me Section --- */
#about-me-section {
    background-color: #ffffff;
    padding: 60px 40px;
    margin: 0;
    max-width: none;
    width: 100%;
    transition: background-color 0.3s ease;
}

body.dark-mode #about-me-section {
    background-color: #000;
}

.about-container-new-ui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-container-new-ui {
    flex: 1;
    max-width: 400px;
}

.image-container-new-ui img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blobShape 8s ease-in-out infinite;
}

.text-container-new-ui {
    flex: 1.5;
    max-width: 600px;
}

.text-container-new-ui h1 {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1d3557;
    transition: color 0.3s ease;
}

body.dark-mode .text-container-new-ui h1 {
    color: #fff;
}

.text-container-new-ui p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    transition: color 0.3s ease;
}

body.dark-mode .text-container-new-ui p {
    color: #ccc;
}

@keyframes blobShape {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* --- Journey (Tabs) Section --- */
.journey-container {
    background-color: #fff; /* White background for light mode */
    padding: 60px 20px;
    text-align: center;
    transition: background-color 0.3s ease;
    max-width: 1200px;
    margin: 60px auto 0 auto;
    border-radius: 12px;
    border: 1px solid #ffffff; 
}

body.dark-mode .journey-container {
    background-color: #000000; /* Black background for dark mode */
    border-color: #000000;
}

.journey-header h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

body.dark-mode .journey-header h2 {
    color: #fff;
}

.journey-header p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

body.dark-mode .journey-header p {
    color: #aaa;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .tabs-nav {
    border-bottom-color: #333;
}

.tab-link {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

body.dark-mode .tab-link {
    color: #aaa;
}

.tab-link:hover {
    color: #000;
    transform: translateY(-2px);
}

body.dark-mode .tab-link:hover {
    color: #fff;
}

.tab-link.active {
    color: #000;
    border-bottom-color: #000;
}

body.dark-mode .tab-link.active {
    color: #fff;
    border-bottom-color: #fff;
}

.tab-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.tab-link:hover svg {
    transform: scale(1.1);
}

.tabs-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styling for content within tabs */
#skills ul li {
  background: #84d8d8;
  color: #1d3557;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills ul li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
  animation: jiggle 0.4s ease-in-out;
}

/* Dark Mode for Skills */
body.dark-mode #skills {
    background-color: transparent;
}
body.dark-mode #skills ul li {
    background: #276081;
    color: #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.skills-list-new {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skills-list-new li {
    background-color: #f1f5f9;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
}

body.dark-mode .skills-list-new li {
    background-color: #222;
    color: #eee;
}

.experience-list, .education-list {
    list-style: none;
    padding: 0;
}

.experience-item, .education-item {
    background-color: #dddddd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.experience-item:hover, .education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

body.dark-mode .experience-item, body.dark-mode .education-item {
    background-color: #111;
    border-color: #333;
}

body.dark-mode .experience-item:hover, body.dark-mode .education-item:hover {
    box-shadow: 0 5px 15px rgba(255,255,255,0.05);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-item h3, .education-item h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

body.dark-mode .experience-item h3, body.dark-mode .education-item h3 {
    color: #eee;
}

.experience-header span, .education-item span {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

body.dark-mode .experience-header span, body.dark-mode .education-item span {
    color: #aaa;
}

.experience-details {
    list-style-position: inside;
    padding-left: 5px;
    color: #444;
}

body.dark-mode .experience-details {
    color: #bbb;
}

.experience-details li {
    margin-bottom: 8px;
}


/* Responsive design */
@media (max-width: 768px) {
    #about-me-section { padding: 40px 20px; }
    .about-container-new-ui {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .image-container-new-ui { max-width: 250px; }
    .text-container-new-ui h1 { font-size: 2.5em; }

    .tabs-nav { gap: 5px; flex-direction: column; }
    .tab-link { padding: 15px; font-size: 1em; }

    .education-item, .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
