body{
    background-color: transparent !important;

    background-image: url('img/sean-sinclair-C_NJKfnTR5A-unsplash.jpg');
    background-size: cover;

    background-attachment: fixed;

    color: #fff !important;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); 
}

.content{
    content: "";
    width: 100%;
    height: auto;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;

    padding: 1rem 1rem;
}

.background-box{
    border-radius: 40px;
    padding: 1rem;
}

.headline{
    font-size: 1.8rem !important;
    text-align: center;
}

.logo{
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    text-align: center;
    padding-bottom: 2rem;
}
.logo.large{
    font-size: 14rem !important;
}

p {
    font-size: 0.9rem !important;
}

p.caption {
    font-size:0.9rem !important;
    color: #ddd;
}

.highlight{
    color: #ff895b;
}

.highlight.blue{
    color: #01c5f1;
}

.main-hr{
    border-top: 4px solid #fff !important;
    margin: 3rem 3rem !important;
}

.sub-hr{
    border-top: 1px solid #fff !important;
    margin: 1rem 3rem !important;
}

img{
    border-radius: 2rem;
}
iframe{
    border-radius: 2rem;
    width: 300px;
    height: 170px;
}
.media-placeholder{
    border-radius: 2rem;
    width: 300px;
    height: 170px;
}



#landing {
    min-height: 100vh;            /* fill screen */
    display: flex;                /* enable flexbox */
    flex-direction: column;       /* stack logo + headline vertically */
    justify-content: center;      /* vertical centering */
    align-items: center;          /* horizontal centering */
    padding-top: 60px;            /* compensate for fixed navbar height */
}

#headshot {
    max-width: 600px;
    max-height: 600px;

    width: 100%;
    height: auto;
}

.btn.splash-button {
    font-size: 1.5rem;
    background-color: rgba(0,0,0,0) !important;
    color: rgba(255, 255, 255, 1) !important;
    padding: 0.5rem 1.5rem;
}
.btn.splash-button:hover {
    background-color: rgba(0,0,0,0.05);
}

.btn.main-button {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    background-color: #0191b3;

    color: #fff;
}

.btn.main-button:hover {
    background-color: #016b7f;
}

.btn.side-button {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    background-color: #00a57f;

    color: #fff;
}

.btn.side-button.active {
    background-color: #00a57f;
}
.btn.side-button.inactive {
    background-color: #007a5d;
}

.btn.side-button:hover {
    background-color: #007a5d;
}

.slide {
    padding: 0 0 3rem 0;
    height: 932px;
}

.tech-icon {
    width: 50px;
    height: 50px;
    margin: 0.5rem;
    border-radius: 0;
}

.subheader {
    color: #aaa !important;
}

.carousel-indicators {
    bottom: -5px !important;
}

.carousel-control-prev{
    margin-top: 52rem !important;
}
.carousel-control-next{
    margin-top: 52rem !important;
}

.project-header{
    padding-bottom: 1rem;
}

/* Smooth hover fades */
.btn.splash-button,
.btn.main-button,
.btn.side-button {
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.btn.fade-hover:hover {
  opacity: 0.85;
}

/* Fade in landing on load */
#landing {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
#landing.visible {
  opacity: 1;
}

/* Force landing buttons + dividers into one row */
.landing-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;  /* don’t wrap on small screens */
  gap: 0.5rem;
}
.landing-buttons .vr {
  height: 2rem;
}

/* Base style for toggle buttons */
#toggle-previous,
#toggle-current {
    background-color: rgba(0,0,0,0.3) !important;
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    outline: none !important; 
    box-shadow: none !important;
}

/* Hover effect for both */
#toggle-previous:hover,
#toggle-current:hover {
    background-color: rgba(1,145,179,0.5) !important; /* subtle teal highlight */
}

/* Active button styling */
#toggle-previous.active,
#toggle-current.active {
    background-color: #0191b3 !important; /* brand teal */
    color: #fff !important;
}

/* For desktop */
@media (min-width: 768px){
    .content{
        padding: 7rem 5rem;
    }
    .headline{
        font-size: 4.5rem !important;
    }
    p {
        font-size: 1.25rem !important;
    }
    hr{
        border-top: 4px solid #fff !important;
        margin: 5rem 5rem !important;
    }

    .btn.main-button {
        min-width: 150px;
    }
    .btn.side-button {
        min-width: 150px;
    }

    iframe{
        border-radius: 2rem;
        width: 500px;
        height: 300px;
    }

    .media-placeholder{
        border-radius: 2rem;
        width: 500px;
        height: 300px;
    }

    .slide {
        padding: 2rem 5rem;
        height: 80vh;
    }

    .carousel-indicators {
        bottom: 0px !important;
    }

    .carousel-control-prev{
        margin-top: 0 !important;
    }
    .carousel-control-next{
        margin-top: 0 !important;
    }
    .project-header{
        padding-bottom: 0;
    }

    #landing {
        min-height: 100vh;
        align-items: center;
    }
}