/* Custom Fonts */
@font-face 
{
    font-family: 'Open Sans';
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/OpenSans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
}

/* Static-fallbacks (optional) */
@font-face 
{
    font-family: 'Open Sans';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/OpenSans/static/OpenSans-Regular.ttf') format('truetype');
}
@font-face 
{
    font-family: 'Open Sans';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/fonts/OpenSans/static/OpenSans-Bold.ttf') format('truetype');
}

/* CSS custom‑colors */
:root 
{
  --green: #446266;
  --light-green: #5d7f80;
  --dark-green: #213438;
}

/* Base elements – no @apply */
body 
{
  background-color: var(--dark-green);
  color: white;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.625;
  overflow-x: clip;
}
h1,
h2,
h3 
{
  font-family: 'Open Sans', sans-serif;
  letter-spacing: -0.02em; /* similar to tracking-tight */
}

/* Utility helper reused from earlier */
.font-brand 
{
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

/* Parallax image rule – unchanged */
.parallax 
{
  position: absolute;
  top: 0;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translateX(-50%);
  will-change: transform;
}

/* Custom cursor bubble */
#cursorBubble 
{
    pointer-events: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--light-green);
    opacity: 0.75;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease-linear;
    will-change: transform;
}

/* Navbar styles */
.navbar 
{
    background-color: rgba(33, 52, 56, 0.8); /* Slightly transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-bottom: 1px solid rgba(228,215,208,0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.nav-container 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo 
{
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-menu 
{
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link 
{
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover 
{
    color: var(--light-green);
}


/* Beginning Section */
.beginning-section 
{
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.beginning-section-overlay 
{
    position: fixed;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 10;
}

.beginning-section-content 
{
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 0 1rem;
}

.beginning-section-content .subtitle 
{
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.beginning-section-content .title 
{
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.beginning-section-content .description 
{
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Main Content */
.main-content 
{
    position: relative;
    background-color: var(--green);
    color: white;
}

/* Intro Section */
.intro-section 
{
    border-top: 1px solid rgba(33,52,56,0.15);
    display: grid;
    gap: 2.5rem;
    padding: 4rem 1.25rem;
}

.intro-section header .subtitle 
{
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.intro-section header .title 
{
    font-size: 1.875rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 36rem;
}

.intro-section .prose 
{
    max-width: none;
    line-height: 1.625;
}

.intro-section .prose figure 
{
    font-style: italic;
    font-size: 0.875rem;
}

.intro-section .prose figure figcaption 
{
    margin-top: 0.5rem;
}

.intro-section .prose ul 
{
    font-weight: 600;
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* Projects Section */
.projects-section 
{
    border-top: 1px solid rgba(33,52,56,0.15);
    position: relative;
    padding: 4rem 1.25rem;
}

.projects-header 
{
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 4rem;
}

.projects-header .subtitle 
{
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.projects-header .title 
{
    font-size: 1.875rem;
    font-weight: 400;
}

.card-container 
{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.card 
{
    position: relative;
    background-color: var(--dark-green);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(228,215,208,0.15);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for hover effect */
}

/* Added a hover effect to the cards */
.card:hover 
{
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}


.card img 
{
    height: 15rem;
    object-fit: cover;
}

.card-content 
{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.card-content .card-number 
{
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-content .card-title 
{
    font-size: 1.5rem;
    font-weight: 400;
}

/* Education and Roadmap Sections */
.content-section 
{
    border-top: 1px solid rgba(33,52,56,0.15);
    padding: 4rem 1.25rem;
}

.content-section.dark 
{
    background-color: var(--dark-green);
}

.content-section .content-wrapper 
{
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.content-section .title 
{
    font-size: 1.875rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.content-section .prose 
{
    color: white;
}

.content-section .prose figure 
{
    font-style: italic;
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.content-section .prose figure figcaption 
{
    margin-top: 0.5rem;
}

.content-section ul 
{
    font-weight: 600;
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* Contact Link Styles */
.contact-link 
{
    display: inline-block;
    margin: 0 1rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--light-green);
    border-radius: 5px;
    color: var(--light-green);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover 
{
    background-color: var(--light-green);
    color: var(--dark-green);
}


/* Outro Section */
.outro-section 
{
    background-color: var(--dark-green);
    color: white;
    border-top: 1px solid rgba(33,52,56,0.15);
    padding: 4rem 1.25rem;
}

.outro-section .content-wrapper 
{
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.outro-section .title 
{
    font-size: 1.875rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.outro-section .description 
{
    font-size: 1.125rem;
}

/* Footer */
footer 
{
    background-color: var(--dark-green);
    color: white;
    padding: 3rem 1.25rem;
    text-align: center;
}

footer p 
{
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Media Queries for Responsive Design */
@media (min-width: 640px) 
{
    .beginning-section-content .title 
    {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) 
{
    .beginning-section-content .title 
    {
        font-size: 4.5rem;
    }

    .intro-section 
    {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .intro-section header .title, .projects-header .title, .content-section .title, .outro-section .title {
        font-size: 2.25rem;
    }

    .projects-section, .content-section, .outro-section 
    {
        padding: 6rem 2.5rem;
    }
}

@media (min-width: 1024px) 
{
    .intro-section 
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .card 
    {
        flex-direction: row;
    }

    .card.reverse 
    {
        flex-direction: row-reverse;
    }

    .card img 
    {
        width: 50%;
        height: auto;
    }

    .card-content 
    {
        padding: 3.5rem;
    }

    .card-container 
    {
        gap: 6rem;
    }
}
