/* GENERAL STYLE */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #d63384;
    font-weight: bold;
}


/* ========== LANDING PAGE (index.html) ========== */
.landing-body {
    background: linear-gradient(to bottom right, #ffe4e1, #fff);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.landing-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1000px;
    padding: 40px;
    background-color: #ffffff;
    border: 3px solid #ffc0cb;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.profile-image-container {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-info {
    flex: 2 1 400px;
    padding: 20px;
}

.name-title {
    font-size: 2.8em;
    color: #d63384;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.enter-button {
    background-color: #d63384;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.enter-button:hover {
    background-color: #b42c6c;
}


/* ========== PORTFOLIO PAGE (portfolio.html) ========== */
.portfolio-body {
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

/* Resume Download Button */
.download-resume-button {
  display: inline-block;
  background-color: #d63384;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.download-resume-button:hover {
  background-color: #b42c6c;
}


/* Menu Bar */
.menu-bar {
    background-color: #ffe4e1;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.menu-bar a {
    color: #d63384;
    margin: 0 15px;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.menu-bar a:hover {
    background-color: #ffc0cb;
    color: #d63384;
}

/* Page Section Layout */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.content-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: visible;
}

/* Section Titles */
.section-title {
    font-size: 2.5em;
    color: #d63384;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffc0cb;
    padding-bottom: 10px;
}

/* Subtitle under headings */
.section-subtitle {
    font-size: 1.1em;
    color: #777;
    text-align: center;
    margin-bottom: 30px;
}

/* About Section */
.about-page-section {
    background: linear-gradient(to bottom right, #ffe6f0, #ffffff);
}

.about-page-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* Skills Section */
.skills-page-section {
    background-color: #fff0f5;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-box {
    background: #fff;
    border: 2px solid #ffc0cb;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 2px 2px 10px #ffd1dc80;
    transition: transform 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
}

.skill-box h3 {
    color: #d63384;
    margin-top: 0;
    font-size: 1.4em;
}

.skill-box ul {
    list-style: none;
    padding-left: 20px;
}

.skill-box li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.skill-box li::before {
    content: "•";
    color: #d63384;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3em;
}

/* Coursework (Projects) Section */
.projects-page-section {
    background-color: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background-color: #fff0f5;
    border-radius: 15px;
    padding: 20px;
    box-shadow: none;
    text-align: left;
}

.project-item h3 {
    color: #d63384;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.project-item p {
    color: #555;
    font-size: 0.95em;
}

/* Group Projects Section Styling */
.group-projects-page-section {
  background-color: #fff0f5; /* soft light pink background */
  padding: 40px 20px;
  border-top: 2px solid #f8bbd0;
}

.group-projects-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.group-project-card {
  background-color: white;
  border: 2px solid #f8bbd0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 2px 2px 10px rgba(248, 187, 208, 0.4);
  transition: transform 0.3s ease;
}

.group-project-card:hover {
  transform: scale(1.01);
}

.group-project-card h3 {
  color: #c2185b; /* strong pink title */
  margin-bottom: 10px;
}

.group-project-card p {
  color: #444;
  margin: 6px 0;
}

.group-project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #e91e63;
  font-weight: bold;
  text-decoration: none;
}

.group-project-card a:hover {
  text-decoration: underline;
}

/* Achievements Section */
.achievements-page-section {
    background-color: #fff;
}

.achievement-list {
    list-style-type: none;
    padding-left: 0;
    font-size: 1em;
    color: #555;
    line-height: 1.8;
}

.achievement-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.achievement-list li::before {
    content: "★";
    color: #d63384;
    font-size: 1.1em;
    position: absolute;
    left: 0;
    top: 2px;
}


/* Contact Section */
.contact-page-section {
    background: linear-gradient(to top left, #ffe6f0, #ffffff);
    min-height: 80vh;
}

.contact-details p {
    font-size: 1.2em;
    color: #555;
    margin: 10px 0;
}

.contact-details strong {
  color: #000; /* or whatever your default text color is */
  font-weight: bold;
}

.contact-details a {
  color: #e91e63; /* soft pink link */
  text-decoration: none;
  font-weight: normal;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Initial state: sections are transparent and shifted down */
.page {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Class to activate when in view */
.page.visible {
  opacity: 1;
  transform: translateY(0);
}

.achievement-list li::before {
  content: "★";
  color: #d63384;
  font-size: 1.1em;
  position: absolute;
  left: 0;
  top: 2px;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}


/* Responsive */
@media (max-width: 768px) {
    .skills-container,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 20px;
        margin: 20px auto;
        height: auto;
        min-height: auto;
    }

    .page {
        padding-bottom: 90px;
    }

    .menu-bar a {
        margin: 0 5px;
        font-size: 0.95em;
        padding: 5px 10px;
    }

    .landing-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-info {
        padding-top: 10px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .menu-bar a {
        font-size: 0.85em;
    }

    .section-title {
        font-size: 2em;
    }

    .name-title {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1em;
    }
}
