
/*============== GENERAL ==============*/
body
{
    background-color: black;
}
/* Header */
.top-header header
{
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    background-color: #232323;
    color:white;
}
.top-header .logo img
{
    height: 80px;
    width: auto;
}
.top-header nav
{
    display: flex;
    gap: 30px;
}
.top-header nav a
{
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
.top-header nav a:hover
{
    color: #00bfff;
}
.top-header .header-button button
{
    background-color: #00bfff;
    border: none;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3;
}
.top-header .header-button button:hover
{
    background-color: #009ad6;
}

footer
{
    background-color: #464646;
    color: #a9a9a9;
    padding: 30px 0;
}
.footer-container
{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-left, .footer-center, .footer-right
{
    flex: 1; /* divide all three elements by 1 */
    text-align: center;
}
.footer-logo
{
    width: 80px;
    margin-bottom: 10px;
}
.footer-center a, .footer-right a
{
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-center a:hover, .footer-right a:hover
{
    color: #fff;
}
.footer-left p
{
    font-size: 0.9rem;
    color: #aaa;
}

/*============== PROFILE ==============*/
body.profile
{
    background-image: url('assets/marble_bg.jpg');
}

body.profile .main-container
{
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

body.profile .main-container .img-header
{
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    display: block;
}

body.profile .site-title
{
    color: black;
    font-size: 80px;
}

body.profile section
{
    margin-bottom: 40px;
}

body.profile .cards-container
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

body.profile .cards-container div
{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.6);;
    overflow: hidden; /* clip images to edges */
}

body.profile .cards-container img, .social-container img
{
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

body.profile .social-container
{
    display: grid;
    grid-template-columns: repeat(3, 150px);
    gap: 20px;
    place-content: center;
    justify-items: center;
}
body.profile .social-container div
{
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.6);;
    overflow: hidden; /* clip images to edges */

    transition: transform 0.5s ease;
}
body.profile a.footer-link
{
    font-size: 24px;
}
body.profile a.footer-link:hover
{
    color: #009ad6;
}
body.profile a.footer-link:visited
{
    color: white;
}

/* Overlay text on cards */
body.profile .card
{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer; /* change mouse pointer to hand */
}
body.profile .card img
{
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}
body.profile .card-text-overlay
{
    position: absolute;
    inset: 0; /* shortcut for 0 on all sides */
    background-color: rgba(0,0,0,0.8); /* dim the bg */
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.profile .card:hover img
{
    opacity: 0.6;
}
/* Show text on hover */
body.profile .card:hover .card-text-overlay
{
    opacity: 1;
}
body.profile .social-container div:hover
{
    transform: scale(1.1);
}

/*============== LANDING PAGE ==============*/
body.landing
{
    background-color: black;
}

body.landing .hero
{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
body.landing .hero img
{
    max-width: 80%;
    max-height: 60vh;
    width: auto; height: auto;
    object-fit: contain;
    animation: heroAnim 2.5s ease forwards;
}
@keyframes heroAnim
{
    0% {opacity: 0;}
    100% {opacity: 1;}    
}
body.landing .intro
{
    text-align: center;
    padding: 100px 20px;
    background-color: #181818;
    color: white;
}
body.landing .intro h1
{
    font-size: 40px;
    margin-bottom: 20px;
}
body.landing .intro p
{
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #ccc;
}
body.landing .intro-buttons
{
    display: flex;
    justify-content: center;
    gap: 20px;
}
body.landing .btn
{
    background-color: #00bfff;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3 ease;
}
body.landing .btn:hover
{
    background-color: #009ad6;
}

/* GALLERY */
.gallery
{
    text-align: center;
    padding: 60px 20px;
    background: #f8f8f8;
}
.gallery-title
{
    text-align: center;
    padding: 100px 20px;
    background-color: #181818;
    color: white;
}
.gallery-grid
{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.gallery-grid img
{
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery img:hover
{
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.gallery-card
{
    max-width: 350px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rbga(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-card:hover
{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.gallery-card img
{
    width: 100%;
    height: auto;
    display: block;
}
.gallery-info 
{
  padding: 15px;
  text-align: left;
}

.gallery-info h3 
{
  margin: 0 0 8px;
  font-size: 18px;
}

.gallery-info p 
{
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* JOURNAL */
.timeline
{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px 20px;
}
.timeline-item
{
    background: #f0f0f0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(50px);
    animation: slideAnim 0.6s forwards;
}
.timeline-item:nth-child(1){animation-delay: 0s;}
.timeline-item:nth-child(2){animation-delay: 0.3s;}
.timeline-item:nth-child(3){animation-delay: 0.6s;}
.timeline-item:nth-child(4){animation-delay: 0.9s;}
.timeline-item:nth-child(5){animation-delay: 1.2s;}
.timeline-item:nth-child(6){animation-delay: 1.5s;}
@keyframes slideAnim
{
    to
    {
        opacity: 1;
        transform: translateY(0);
    }
}