* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1B1725;
    color: white;
}

nav {
    width: 100%;
    background: #1f1f1f;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 100;
}

.navbar {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.navbar li {
    display: inline;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
}

.navbar a:hover {
    background: #444444;
    border-radius: 5px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    margin-right: 30px;
}

.profile{
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    justify-content: center; /* Centers content vertically */
    text-align: center;
    margin-top: 40px;
}

.index-image {
    width: 500px; /* Adjust size as needed */
    height: auto;
    border-radius: 500%;
    display: block;
    margin: 0 auto; /* Ensures it's centered */
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
}

.titles {
    width: 700px; /* Adjust size as needed */
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto; /* Ensures it's centered */
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    
}

/*About me Section*/
.about-me {
    margin-top: 40px;
    padding: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-heading {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #E54B4B;
    text-underline-offset: 5px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 18px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.button {
    border: none;
    color: #1B1725;
    background-color: #E54B4B;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    font-weight: bold;
}

/*Timeline Section*/
.timeline {
    margin-top: 40px;
    padding: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-heading {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #E54B4B;
    text-underline-offset: 8px;
    margin-bottom: 15px;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

.year {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.event {
    font-size: 16px;
    margin-top: 5px;
    color: white;
}

/* Social Media Section */
.social-media {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
}

.social-heading {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #E54B4B;
    text-underline-offset: 5px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    background: #1e1e1e;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #333;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Works Section */

.works {
    text-align: center;
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.works-heading {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #E54B4B;
    text-underline-offset: 8px;
    margin-bottom: 20px;
}

.works-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px;
    justify-content: center;
}

.work-item {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

.work-item h3 {
    font-size: 20px;
    text-align: center;
    color: #D6C3C9;
    margin-bottom: 5px;
}

.work-item p {
    text-align: center;
    font-size: 16px;
    color: #F7EBE8;
}

/* Capstone Section */
.capstone-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
}

.capstone-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.capstone-image img {
    width: 450px; /* Adjust as needed */
    height: auto;
    border-radius: 8px;
}

.capstone-content {
    flex: 1;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    color: white;
}

.capstone-heading {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-color: #E54B4B;
    text-underline-offset: 8px;
    margin-bottom: 10px;
}

.capstone-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 10px;
}

/* Hobbies Header Image */
.hobbies-header img {
    margin-top: 100px;
    width: 50%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hobbies Section */
.hobbies {
    text-align: center;
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hobbies-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 40px;
    justify-content: center;
}

.hobby-item {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

.hobby-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.hobby-item h3 {
    font-size: 20px;
    color: #f7ebe8;
    margin-top: 10px;
    font-weight: bold;
}

.hobby-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #e54b4b;
    color: #1b1725;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: bold;
}

.hobby-button:hover {
    background: rgb(77, 46, 46);
}

/* Large Image Preview */
#image-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60vh;
    margin-top: 80px; /* Push it down below the navbar */
}

#preview-img {
    max-width: 80%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

/* Image Slider */
#image-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#image-track {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    white-space: nowrap;
    scroll-behavior: smooth;
    max-width: 80%;
}

.thumbnail {
    width: 100px;
    height: 70px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Slider Buttons */
#prev-btn, #next-btn {
    background-color: #1b1725;
    color: #e54b4b;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
}

#prev-btn:hover, #next-btn:hover {
    background-color: #555;
}

/* Coffee Page Header */
.coffee-header {
    text-align: center;
    margin-top: 120px; /* Adjust for fixed navbar */
    padding: 20px;
}

.coffee-header h1 {
    font-size: 32px;
    color: #E54B4B;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.coffee-header p {
    font-size: 18px;
    margin-top: 10px;
    color: #F7EBE8;
}

/* Coffee Sections */
.coffee-section {
    background: #1e1e1e;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    max-width: 800px;
    text-align: center;
}

.coffee-section h2 {
    font-size: 24px;
    color: #D6C3C9;
    margin-bottom: 10px;
}

.coffee-section p {
    font-size: 16px;
    color: #F7EBE8;
}

.espresso-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.espresso-images img {
    width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}


/* Café List */
.cafe-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.cafe-list li {
    background: #2a2a2a;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    font-size: 16px;
    color: #F7EBE8;
    text-align: center;
}

/* Vintage Tech Page Styles */
.vintage-header {
    text-align: center;
    margin: 20px 0;
    margin-top: 5%;
    color: #F7EBE8;
}

.vintage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.vintage-item {
    background: #1e1e1e;
    color: #F7EBE8;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 300px; /* Ensures uniform height */
}

.vintage-item img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.vintage-item h2 {
    margin: 10px 0;
    font-size: 18px;
    color: #F7EBE8;
}

.vintage-item p {
    font-size: 14px;
    flex-grow: 1; /* Helps balance content height */
    color: #F7EBE8;
}


/* New photo HTML section*/
#photo-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    transition: transform 0.6s ease-in-out;
}

.full-page {
    width: 100vw;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 60px;
    
}

/* Navigation Buttons */
#prev-btn, #next-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

#prev-btn { left: 10px; }
#next-btn { right: 10px; }

#prev-btn:hover, #next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}