/* styles.css */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('images/background.webp') no-repeat center center fixed;
    background-size: cover; 
    color: #ff9100;
    text-align: center;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 50px 20px;
    text-align: center;
    color: #ff9100;
}

.hero-section h1 {
    font-size: 3em;
    margin: 0;
}

.hero-section p {
    font-size: 1.5em;
    margin: 10px 0 0;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    text-align: left;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: #ff9100;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}

.navbar ul li a:hover {
    background: #ff9100;
    color: #000;
    border-radius: 5px;
}

/* Gallery */
.gallery {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.gallery h1 {
    margin-bottom: 20px;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-container {
    margin: 10px;
    text-align: center;
}

.images img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 2px solid #ff9100;
    border-radius: 10px;
    transition: transform 0.2s ease-out;
    -webkit-transition: transform 0.2s ease-out; /* Safari and Chrome */
    -moz-transition: transform 0.2s ease-out; /* Firefox */
    -o-transition: transform 0.2s ease-out; /* Opera */
}

.images img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1); /* Safari and Chrome */
    -moz-transform: scale(1.1); /* Firefox */
    -o-transform: scale(1.1); /* Opera */
}

.images p {
    margin-top: 5px;
    color: #ff9100;
}

/* Image View */
.image-view {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.image-view img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ff9100;
    border-radius: 10px;
    margin-bottom: 20px;
}

.image-view a {
    display: inline-block;
    padding: 10px 20px;
    background: #ff9100;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s ease-out;
    -webkit-transition: background 0.2s ease-out; /* Safari and Chrome */
    -moz-transition: background 0.2s ease-out; /* Firefox */
    -o-transition: background 0.2s ease-out; /* Opera */
}

.image-view a:hover {
    background: #ff9100;
}

/* Zoom Container */
.zoom-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.zoom-container img {
    transition: transform 0.2s ease-out, transform-origin 0.2s ease-out;
    -webkit-transition: transform 0.2s ease-out, transform-origin 0.2s ease-out; /* Safari and Chrome */
    -moz-transition: transform 0.2s ease-out, transform-origin 0.2s ease-out; /* Firefox */
    -o-transition: transform 0.2s ease-out, transform-origin 0.2s ease-out; /* Opera */
}

.zoom-container:hover img {
    cursor: zoom-in;
}

.zoomed {
    cursor: zoom-out !important;
}

/* Overlay Creator */
.overlay-creator {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ff9100;
    text-align: center;
}

.overlay-creator h1 {
    margin-bottom: 20px;
}

.filter-selection {
    margin-bottom: 20px;
}

.filter {
    margin-bottom: 10px;
}

#overlayResult canvas {
    border: 2px solid #ff9100;
    border-radius: 10px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .images img {
        max-width: 150px;
    }

    .gallery {
        padding: 10px;
    }

    .image-container {
        margin: 5px;
    }

    .image-view img {
        max-width: 100%;
    }

    .comparison-slider {
        max-width: 100%;
    }

    .slider-container {
        width: 100%;
        padding: 10px;
    }

    #imageContainer {
        width: 100%;
        height: auto;
    }

    #imageSlider {
        width: 100%;
    }

    .writeup {
        padding: 10px;
        max-width: 90%;
    }

    .image-view a {
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .images img {
        max-width: 100px;
    }

    .gallery h1 {
        font-size: 1.5em;
    }

    .image-view a {
        padding: 6px 12px;
    }
}

/* Resume */
.resume {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ff9100;
    max-width: 800px;
    margin: auto;
    border-radius: 10px;
    text-align: left;
}

.resume h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.resume p {
    font-size: 1.1em;
    line-height: 1.6;
}

.resume a {
    color: #ff9100;
    text-decoration: none;
    transition: color 0.2s ease-out;
    -webkit-transition: color 0.2s ease-out; /* Safari and Chrome */
    -moz-transition: color 0.2s ease-out; /* Firefox */
    -o-transition: color 0.2s ease-out; /* Opera */
}

.resume a:hover {
    color: #ff9100;
}

.resume h2 {
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ff9100;
    padding-bottom: 5px;
}

.timeline .entry {
    margin-bottom: 20px;
}

.timeline .entry h3 {
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #ff9100;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Content */
.content {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #ff9100;
}

ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

section {
    margin-bottom: 2rem;
}

iframe {
    display: block;
    margin: 0 auto;
}
