@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes slideDown {
  from {
    transform: translateY(-100%); /* Starts off-screen at the top */
  }
  to {
    transform: translateY(0); /* Ends in its natural resting place */
  }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInAcross {
    0% { transform: translateX(200px); opacity: 0; }
    100% { transform: translateX(150px); opacity: 1; }
}

:root {  
  --base-color: #F1EFEA;
  --text-color: #000000;
  --primary-color: #ffc06e;
  --secondary-color: #8D8DFF;
  --color-1: #FAFAFA;
  --color-2: #F3F7F9;
  --color-3: #F6F3F9;
}

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Inter', sans-serif;
    /* Poppins, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  */
    color: var(--text-color);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--base-color); /* The warm beige background */
}

h1,h2,h3 {
    font-family: 'Inter', sans-serif;
    color: #111827; 
}

section[id] {
    scroll-margin-top: 100px;
}

nav {
    margin: 0;
    width: min(2000px, 100%);
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 2em;
}

nav a {
    display: inline-block;
}

nav li a:hover {
    color: #000000;
    transform: translateY(-2px);
    scale: 1.01;
}
nav li.linkedIn a:hover {
    color: #0077B5;
    transform: translateY(-2px);
}

nav li:first-child {
    margin-right: auto; 
    font-family: Roboto;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;

    width: min (75 em, 100%);
    background-color: var(--color-1);
    animation: slideDown 0.8s ease-out; 
    padding: 20px;
}

h1 {
    margin: .75em 0 1em 0;
    font-size: clamp(1.2rem, 1.3cqw + 0.6rem, 3rem);
    font-weight: 500;
    letter-spacing: -0.04em; 
    line-height: 1.1;
}
h2 {
    margin-bottom: 5px;
    font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
    font-family: 'Inter', sans-serif;
    font-weight: 600; 
    letter-spacing: -0.04em; 
    color: #111827; 
}
h3 {
    font-size: clamp(1.1rem, 1.3vw + 0.5rem, 1.6rem);
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 500; 
    letter-spacing: -0.04em; 
    color: #111827; 
}
p {
    font-size: clamp(0.9rem, 0.8vw + 0.3rem, 1.5rem);
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 400; 
    letter-spacing: -0.04em; 
    color: #111827; 
}
li {
    font-family: 'Inter', sans-serif;
    font-weight: 400; 
    letter-spacing: -0.04em; 
    color: #111827; 
}

hr.section-divider {
    border: none;
    height: 4px;
    background-color: var(--color-1);
    width: 90%;
    border-radius: 2px;
    opacity: 60%;
    margin: 100px auto;
}
hr.section-divider-pre-footer {
    border: none;
    height: 4px;
    background-color: var(--color-1);
    width: 90%;
    border-radius: 2px;
    opacity: 60%;
    margin-top: 100px;
    margin-bottom: 0 !important;
}

section#intro {
    padding: 5% 5%; 
    background-color: var(--base-color);
    width: 100%;
    min-height: 80vh; 
    display: flex;
    align-items: center; 
}

#intro .grid-container {
    display: grid;
    grid-template-columns: 60% 30%;
    gap: 40px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto; 
    width: 100%;
    padding: 0 5%
    
}

#intro .grid-container .text-container {
    max-width: 600px;
    animation: slideInAcross 1s ease-out forwards;
}

#intro .grid-container img {
    columns: 2 / 2;
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 1em;
    opacity: 0;
    animation: fadeIn 0.2s ease-in forwards;
}
.work-section .grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    opacity: 0;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

#work1 {
    margin-bottom: 200px;
}
#work2 {
    margin-bottom: 100px;
}
#work3 {
    margin-top: 100px;
    margin-bottom: 200px;
}
#work4 {
    margin-bottom: 200px;
}
#work5 {
    margin-bottom: 100px;
}

.work-section .grid-container.reverse {
    grid-template-columns: 2fr 1fr; 
}

.work-section .grid-container.is-visible {
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

.work-section .grid-container .image-frame > img {
    width: 100%;
    height: auto;
    border-radius: 1em;
    object-fit: cover;
}
.image-frame {
    background-color: var(--color-1);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 667px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.job {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.work-section .grid-container.reverse > img {
    order: 2;
}

.grid-container.reverse > .image-frame {
    order: 2;
    margin-left: auto;
}

.work-section .grid-container .grid-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    width: 100%;
    gap: 40px;
}

.work-section .grid-container .grid-text .headings {
    grid-column: 1;
}

.work-section .grid-container .grid-text p {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-left: 20px;
}

.work-section .image-grid-4x4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background-color: white;
    max-width: 400px;
    width: 100%;
    border-radius: 0.5em;
    box-sizing: border-box;
}

.work-section .image-grid-4x4 img, 
.work-section .image-grid-4x4 video {
    width: 100%;
    height: 100%;
    margin: 0;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 0.5em;
    display: block;
}


#about .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    max-width: 1900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;

}

#about .grid-container .text-container {
    display: grid;
    width: 80%;
    max-width: 800px;
    animation: slideInAcross 1s ease-out forwards;
}

#about ul {
    padding-left: 20px; 
    margin-left: 5px; 
    margin-top: 10px; 
}
#about p {
    margin-top: 10px;
}
#about li {
    font-size: clamp(0.7rem, 0.8vw + 0.3rem, 1.5rem);
}

#about .grid-container hr.section-divider {
    width: 100%; 
}

footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 5% 20px 5%; /* Lots of padding on top, less on bottom */
    font-family: 'Inter', sans-serif;
}

footer .grid-container {
    display: grid;
    /* This creates 4 columns. The last one is slightly wider (1.5fr) */
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(241, 239, 234, 0.2); /* Faint beige line */
}

.footer-col h4 {
    color: var(--footer-text);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none; /* Removes bullet points */
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--footer-link-hover);
    padding-left: 5px; /* Cool little hover effect */
}

.footer-col p {
    color: var(--footer-text);
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* .cta-button {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color:#0077B5; 
    padding: .75em 1.25em;
    border-radius: 1em;
    font-weight: 600;
    margin-right: 0.2em;
} */
/* .secondary {
    background-color: #475569;
} */ 