/*Custom Fonts*/
@font-face {
    font-family: customFont;
    src: url();
}
/*Smooth Scrolling*/
html {
    scroll-behavior: smooth;
}

/*Main Content*/

/* Main Layout Structure */
.main-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px; /* Fixed sidebar width */
    flex-shrink: 0; /* Prevents sidebar from shrinking */
    background: #f8f9fa;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.main-content {
    flex: 1;
    margin-left: 270px; /* Same as sidebar width */
    padding: 20px;
    min-height: 100vh;
    background: white;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Project Section Specific Fixes */
.project-section {
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.project-hero {
    min-height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e85 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0; /* Remove any margins */
}

/* Container fixes to prevent overflow */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
}

.project-content-section {
    margin: 80px 0;
    width: 100%;
    box-sizing: border-box;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Image constraints to prevent overflow */
.image-showcase img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

/* Navigation fixes */
.project-navigation {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
    margin: 80px 0 0 0;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
        position: fixed;
        z-index: 1000;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .nav-link {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .project-hero {
        min-height: 50vh;
    }
    
    .tech-tags {
        gap: 8px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Prevent any horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: border-box;
}

/* Smooth transitions for responsive behavior */
.main-content, .sidebar, .container {
    transition: all 0.3s ease;
}

/* Mobile menu toggle (if needed) */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}
/*Nav Bar Styling*/
.side-nav {
    max-height: 100%;
    max-width: 270px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #e5e5e5;
    overflow-x: hidden;
    overflow: hidden;
    text-align: left;
    font-size: xx-small;
    padding-left: 15px;
    line-height: 16px;
    border-bottom: white;  
}

.intro-container {
    padding-bottom: 10px;
}

.project-container {
    border-style: solid;
    border-color: #e5e5e5;
    border-width: 1px;
    border-right:white;
    border-left: white;
    padding-top: 10px;
    padding-bottom: 10px;
}
.side-nav a {
    padding: 8px 8px 8px 12px;
    text-decoration: none;
    font-size: 15px;
    color: #6c757d;
    display: block;
    transition: 0.3s;
    
}


.proj-section {
    text-align: center;
    font-weight:600;
    color: rgb(160, 165, 172);
}

.side-nav a:hover {
    color: #f1f1f1;
}

.section-header {
    padding-left: 11px;
    color: black;
    font-size: 20px;
    margin-left: -2%;
    line-height: normal;
}

#about-nav {
    margin-left: 1%;
    font-size: large;
    margin-top: 15%;
}


.section-header a {
    font-size: 20px;
    color: black;
    padding-left: 3px;
}

.About {
    font-size: 20px;
}

.column {
  float: left;
  width: 50%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  margin-bottom: 30%;
}



/*Device Sizing*/
@media screen and (max-height: 450px) {
    .side-nav {padding-top: 15px;}
    .side-nav a {font-size: 18px;}
}

a:active {
    color: #70d6ff;
}

a {
    text-decoration: none;
    color: #adb5bd;
}

.Name {
    font-size: large;
    letter-spacing: 3px;
}

.About-Heading  h1 {
    text-align: left;
} 


/*Intro Section Styling*/



.intro-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  padding: 20px 0;
  border-bottom: 2px solid #eee;
}

/* Text Content (Left Side) */
.intro-content {
  flex: 1;
  order: 1;
  text-align: center;
  display: inline-block;
}

/* Image Container (Right Side) */
.intro-img {
  flex-shrink: 0;
  width: 300px;
  order: 2;
  text-align: center;
}

.intro-img img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/*Intro button customization*/
/* From Uiverse.io by ke1221 */ 
button {
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 18px;
  border-radius: 0.5em;
  background: #e8e8e8;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
  box-shadow: 2px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  padding-inline: 25px;
  margin-top: 15px;
  margin-inline: 12px;
}



button:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}
a {
    color: black;
}


/*About Section Styling*/

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  padding: 20px 0;
  border-bottom: 2px solid #eee;
}

/* Text Content (Left Side) */
.about-content {
  flex: 1;
  order: 1;
  font-size:medium;
}

/* Image Container (Right Side) */
.about-img {
  flex-shrink: 0;
  width: 300px;
  order: 2;
  text-align: center;
}

.about-img img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*Education*/

.education-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  padding: 20px 0;
  border-bottom: 2px solid #eee;
}

/* Text Content (Left Side) */
.education-content {
  flex: 1;
  order: 1;
  font-size:medium;
}

/* Image Container (Right Side) */
.education-img {
  flex-shrink: 0;
  width: 300px;
  order: 2;
  text-align: center;
}

.education-img img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.Intro, .About, .Education, .Experience {
    padding: 40px 20px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/*Experience Section*/

/* Experience Item Container - Creates the side-by-side layout */
.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  padding: 20px 0;
  border-bottom: 2px solid #eee;
}

/* Text Content (Left Side) */
.experience-content {
  flex: 1;
  order: 1;
}

/* Image Container (Right Side) */
.experience-img {
  flex-shrink: 0;
  width: 300px;
  order: 2;
  text-align: center;
}

.experience-img img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.experience-img sub {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
}

/* Typography */
.sub-header {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1.4rem;
  line-height: 1.3;
}

h5 {
  margin: 5px 0;
  color: #666;
  font-weight: normal;
}

h6 {
  margin: 15px 0 8px 0;
  color: #444;
  font-weight: bold;
}

/* Lists */
ul {
  margin: 15px 0;
  padding-left: 25px;
}

li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Links */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .experience-item {
    flex-direction: column;
    gap: 20px;
  }
  
  .experience-content {
    order: 2;
  }
  
  .experience-img {
    order: 1;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .sub-header {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .Experience {
    padding: 15px;
  }
  
  .experience-img {
    max-width: 200px;
  }
  
  .section-header {
    font-size: 2rem;
  }
}

/*Project */
/* Project Section Styles */
.project-section {
    padding: 0;
    margin: 0;
}

.project-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff8e85 0%, #ff8e85 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(255,255,255,0.05)" points="0,0 100,30 100,100 0,70"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #ff6b6b;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
}

.project-content-section {
    margin: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 60px 0;
}

.content-block {
    padding: 20px 0;
}

.content-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}



.image-showcase {
    text-align: center;
}

.image-showcase img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b6b;
    display: block;
}

.metric-label {
    font-size: 1rem;
    color: #666;
    margin-top: 8px;
}

/* Project Navigation */
.project-navigation {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 80px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #495057;
    padding: 20px 30px;
    border-radius: 12px;
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-width: 200px;
    cursor: pointer;
}

.nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #ff6b6b;
}

.nav-link.prev {
    margin-right: auto;
}

.nav-link.next {
    margin-left: auto;
}

.nav-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
}

.nav-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nav-link.next .nav-info {
    text-align: right;
}

.nav-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-link {
        min-width: auto;
        width: 100%;
    }
}




