/* this section of code consists of the main parts for each page (footer, navbar, etc.) and the index.html */
/* Overall body styling */
body {
    padding: 0;
    margin: 0;
    background: #f6f3e7;
    font-family: 'Roboto Slab', serif;
}

/* Navbargradient and spacing */
.navbar {
    background: linear-gradient(135deg, purple, teal);
    padding: 10px 20px;
}

/* Logo Style */
.navbar-brand.logo {
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-brand.logo:hover {
    color: gold;
    transition: color 0.3s ease;
}

/* Links Style */
.navbar-nav .nav-link {
    font-family: 'Roboto Slab', serif;
    color: white;
    font-size: 16px;
    margin-right: 25px;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover {
    color: gold;
}

.navbar-toggler {
    border-color: white;
}

/* Section Landing Page */
#landing-page {
    padding: 100px 20px;
    background: #f8f6ed;
    text-align: center;
}

#landing-page h1 {
    font-size: 40px;
    font-weight: 600;
}

#landing-page p {
    font-size: 18px;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: plum;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover{
    background-color: gold;
}

/* Section Footer */
.footer {
    padding: 20px;
    background-color: #1b2023;
    color: white;
    text-align: center;
}

.footer-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
    gap: 20px;
}

.footer-trademark{
    font-size: 0.9rem;
    margin-bottom: 20px;
}
/* automatic scaling social links footer */
.footer-links .footer-column{
    flex: 1 1 calc(33.33% - 20px);
    max-width: 33.33%;
    box-sizing: border-box;
}

.footer-links a{
    color: white;
    text-decoration: none;
}

.footer-links a:hover{
    text-decoration: underline;
}













/* this section of code consists of everything for 3D-Modeling.html */
/* 3D modeling page */
/* most of these settings come from sketchfab itself or what was recommended for me with slight tweaks */
#sketchfab {
    margin: 40px 0; 
    text-align: center;
}

#sketchfab h2, .sketchfab-showcase-summary {
    font-family: 'Roboto Slab', serif;
    color: #4A4A4A;
    margin: 50px;
    padding: 25px;
    background-color: #f9f9f9;
}

.sketchfab-container {
    position: relative;
    padding-bottom: 56.25%;  /* Keeps the aspect ratio at 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 80%;
    margin: 0 auto;
    border: 1px solid white;
}

/* Style for the iframe, setting it to take up 100% width and keeping aspect ratio intact */
.sketchfab-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border:none;  /* Removes any border around the iframe */
}


/* adding projects section, these are also used for index/landing page */
#projects {
    padding: 40px 10%;
    text-align: center;
    background-color: #f9f9f9;
}

/* Projects Cards Grid */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Individual Project Card */
.project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s ease-in-out;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-link {
    padding: 20px;
}

.card-link h3{
    font-family: 'Roboto Slab', serif;
    color: #333;
    font-size: 1.2rem;
}

.card-link p {
    color: #555;
    font-size: 1rem;
}

.card-link .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: plum;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.card-link .btn:hover {
    background-color: gold;
}

/* Hover Effects for Cards */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-title{
    padding-top: 5px;
    font-size: 1.4rem;
}

.card-text{
    padding-top: 10px;
}














/* this section of code consists of everything for 2D-Art */
/* 2D-art photo gallery*/
/* banner is used on all pages except landing and contact */
.banner {
    background: #a770ef;
    background: -webkit-linear-gradient(to right, #a770ef, #cf8bf3, teal);
    background: linear-gradient(to right, #a770ef, #cf8bf3, teal);
  }

.badge {
    background: grey;
}

.badge-new {
    background: red;
}

.badge-archive {
    background: purple;
}
/* styling for gallery containers */
.thumbnail-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 200px;
    border-radius: 8px;
}
/* Styling for images */
.thumbnail {
    flex-shrink: 0;
    min-width: 100%; 
    min-height: 100%;
    object-fit: cover; 
}

.thumbnail:hover {
    transform: scale(1.05);
}

.bg-white{
    background-color: #fff;
    overflow: hidden;
}

/* Style for the picture overlay */
.overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#overlayImage {
    max-width: 80%; /* make sure there is room next to image so you disable the overlay*/
    max-height: 80%;
    margin: auto;
}













/* this section consist of everything for youtube.html */
/* Style for youtube page */
.videos{
    background-color: #f8f6ed;
    display: flex;
}

.videos-grid{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: clamp(10px, 5%, 20px);
}
/* automatic scaling so there are 3 videos next to eachother unless max width is reached */
.videos-grid-item{
    flex: 1 1 calc(33.33% - 40px);;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px;
    aspect-ratio: 1;
    
    background: linear-gradient(180deg, #ffffff, #f0f0f0);
    border: 5px solid purple;
    border-radius: 15px;
    
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15), -3px -3px 8px rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 20px auto;

    text-align: center;
    color: black
}

.videos-title, .videos-body{
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.videos-body{
    font-size: 1rem;
    margin-bottom: 20px;
    text-shadow: none;
}











/* This section of code consists of everything for Contact.html */
/* Styling for Contact page*/
#contact {
    padding: 50px;
    background-color: #f5f5f5;
    text-align: center;
}

/* Form Container */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

/* Form Text Styling */
.contact-form h3 {
    font-size: 1.8rem;
    font-family: 'Roboto Slab', serif;
    margin-bottom: 20px;
}

/* Form Fields */
.form-row{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
/* automatic scaling boxes side to side */
.form-name, .form-personal, .form-contactInformation{
    flex: 1 1 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
}
/* making sure gender options are next to eachother */
.gender-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form label {
    display: block;
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    margin: 15px 0 5px;
}

/* setup user input */
form input,
form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form textarea {
    resize: vertical;
    font-size: 1rem;
}

/* Submit Button Styling */
form button {
    background-color: plum;
    color: white;
    font-size: 1.2rem;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s ease;
}

form button:hover {
    background-color: gold;
    transform: scale(1.05);
}

/* setup various little tweaks contact page */
.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style-type: none;
    padding-left: 0;
    font-size: 1rem;
    color: #333;
}

.contact-info ul li {
    margin-bottom: 10px;
}

.contact-info a {
    color: plum;
    text-decoration: none;
}

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