@charset "UTF-8";

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "avenir-next-condensed", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    background-color: #222629;
    cursor: url('../images/custom-cursor.png'), auto;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background-image: url('../images/my-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* =============================================
   HEADER NAVIGATION
   ============================================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #222629;
    border-bottom: 2px solid #474b4f;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 150px;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: -20px;
}

.site-name {
    font-family: "vektra", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 150px;
    color: #86c232;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #86c232;
    font-size: 16px;
    transition: color 0.3s;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
}

nav a:hover {
    color: #61892f;
}

.logo-link {
    text-decoration: none;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
}

/* =============================================
   HAMBURGER MENU (mobile only)
   ============================================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 26px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1200;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #86c232;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #2e3238;
    border-left: 2px solid #474b4f;
    z-index: 1050;
    flex-direction: column;
    padding: 100px 30px 40px;
    gap: 10px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.4);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-close {
    display: none;
}

.mobile-nav a {
    text-decoration: none;
    color: #86c232;
    font-family: "vektra", sans-serif;
    font-size: 28px;
    padding: 14px 0;
    border-bottom: 1px solid #474b4f;
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: #d5e599;
    padding-left: 8px;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
}

.nav-overlay.open {
    display: block;
}

/* =============================================
   MAIN CONTENT
   ============================================= */

main {
    flex: 1;
    padding: 60px 50px;
}

/* =============================================
   PORTFOLIO ITEMS
   ============================================= */

.portfolio-item {
    position: relative;
    width: 400px;
    height: 300px;
    overflow: hidden;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.4);
    transition: background-color 0.3s;
}

.portfolio-item:hover .overlay {
    background-color: rgba(0,0,0,0.6);
}

.portfolio-item h2 {
    color: #86c232;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
    transition: color 0.3s;
}

.portfolio-item:hover h2 {
    color: #d5e599;
}

/* =============================================
   PORTFOLIO PAGE
   ============================================= */

.portfolio-page main {
    display: block;
    padding: 60px 50px;
}

.portfolio-page h1 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    color: #86c232;
}

.portfolio-grid-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 50px;
    background-color: #222629;
    border-top: 2px solid #474b4f;
}

.email {
    display: none;
}

.email a {
    color: #86c232;
    text-decoration: none;
}

.footer-tagline {
    justify-self: start;
    color: #86c232;
    font-size: 14px;
}

.copyright {
    justify-self: center;
    color: #86c232;
    font-size: 14px;
}

.social-links {
    justify-self: end;
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #61892f;
    color: #d5e599;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    font-weight: bold;
}

.social-links a:hover {
    background-color: #86c232;
    color: #fffce6;
    transform: scale(1.1);
}

/* =============================================
   GALLERY PAGES
   ============================================= */

.gallery-page main {
    display: block;
    padding: 60px 50px;
}

.gallery-page h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #86c232;
}

/* Default gallery: 2 columns (used on project pages) */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Graphic design page: 4 columns */
.graphic-design-gallery {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* Illustration Gallery */
.illustration-gallery {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
}

.illustration-gallery .gallery-item {
    height: 350px;
    display: block;
    text-decoration: none;
}

.illustration-gallery a.gallery-item {
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    pointer-events: auto;
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-page main {
    display: block;
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #86c232;
}

.about-container {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.about-text-section {
    flex: 0 0 600px;
}

.about-content {
    line-height: 1.8;
    color: #9a9d9f;
    margin-bottom: 40px;
    text-align: left;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image {
    flex: 0 0 350px;
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    background-color: #222629;
}

/* =============================================
   INSPIRATIONS SECTION
   ============================================= */

.inspirations-section {
    background-color: #222629;
    padding: 80px 50px;
    position: relative;
    z-index: 1;
}

.inspirations-container {
    max-width: 1200px;
    margin: 0 auto;
}

.inspirations-section h2 {
    font-family: "vektra", sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #d5e599;
    margin-bottom: 20px;
    text-align: left;
}

.inspirations-section p {
    color: #f0f0f0;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: left;
    max-width: 900px;
}

/* =============================================
   CAROUSEL
   ============================================= */

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.carousel-slides {
    flex: 1;
    overflow: visible;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.carousel-track img {
    width: 60%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    margin: 0 10px;
}

.carousel-arrow {
    background-color: #61892f;
    color: #d5e599;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background-color: #86c232;
    color: #fffce6;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #6b6e70;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #86c232;
}

.dot:hover {
    background-color: #61892f;
}

/* =============================================
   BUTTONS
   ============================================= */

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold;
    display: inline-block;
}

.btn-primary {
    background-color: #61892f;
    color: #d5e599;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.btn-primary:hover {
    background-color: #86c232;
    color: #fffce6;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #222629;
    color: #86c232;
    border: 2px solid #61892f;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background-color: #61892f;
    color: #fffce6;
    transform: translateY(-2px);
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-page main {
    display: block;
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #86c232;
}

.contact-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-form {
    flex: 1;
    background-color: #474b4f;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #86c232;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #6b6e70;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s;
    margin-top: 5px;
    background-color: #6b6e70;
    color: #d5e599;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #86c232;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #61892f;
    color: #d5e599;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #86c232;
    color: #fffce6;
    transform: translateY(-2px);
}

.contact-social {
    flex: 0 0 300px;
    background-color: #474b4f;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.contact-social h2 {
    color: #86c232;
    margin-bottom: 15px;
    font-size: 24px;
}

.contact-social p {
    color: #d5e599;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.social-link-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    background-color: #61892f;
    color: #d5e599;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    flex: 1;
}

.social-link-large:hover {
    background-color: #86c232;
    color: #fffce6;
    transform: translateY(-5px);
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-weight: bold;
    font-size: 24px;
}

.social-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
}

/* Form validation */
.required {
    color: red;
    font-weight: bold;
}

.error-message {
    color: red;
    font-size: 14px;
    display: none;
    margin-bottom: 5px;
    font-weight: normal;
}

.error-border {
    border-color: red !important;
}

/* =============================================
   HOME PAGE - FEATURED WORKS
   ============================================= */

.home-page main {
    display: block;
    padding: 60px 0;
}

.featured-works {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.featured-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.featured-item.left {
    flex-direction: row;
}

.featured-item.right {
    flex-direction: row-reverse;
}

.featured-item img {
    flex: 0 0 50%;
    width: 50%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
}

.featured-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.featured-info {
    flex: 0 0 50%;
    width: 50%;
    padding: 20px;
    transition: transform 0.3s;
}

.featured-item:hover .featured-info {
    transform: translateX(10px);
}

.featured-item.right:hover .featured-info {
    transform: translateX(-10px);
}

.featured-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #86c232;
}

.featured-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #9a9d9f;
}

.see-more-container {
    text-align: center;
    margin: 60px 0;
}

.see-more-btn {
    display: inline-block;
    padding: 20px 60px;
    background-color: #61892f;
    color: #d5e599;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.see-more-btn:hover {
    background-color: #86c232;
    color: #fffce6;
    transform: translateY(-3px);
}

.fa-instagram {
    font-size: 1.2em;
}

/* =============================================
   BACK / PROJECT NAV BUTTONS
   ============================================= */

.back-button-container {
    margin: 60px auto 0;
    max-width: 1400px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.back-button-container > *:nth-child(1) {
    justify-self: start;
}

.back-button-container > *:nth-child(2) {
    justify-self: center;
    grid-column: 2;
}

.back-button-container > *:nth-child(3) {
    justify-self: end;
}

.project-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #222629;
    color: #86c232;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #61892f;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    cursor: url('../images/custom-cursor-hover.png'), pointer;
    flex-shrink: 0;
}

.back-button-container .btn-secondary {
    flex-shrink: 0;
}

.project-nav-btn:hover {
    background-color: #61892f;
    color: #fffce6;
    transform: translateY(-2px);
}

.project-nav-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

.project-nav-btn .short-text {
    display: none;
}

.project-nav-btn .full-text {
    display: inline;
}

/* Project Gallery - 2 columns side by side */
.project-gallery {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-gallery .gallery-item {
    height: 400px;
    cursor: default;
}

.project-gallery .gallery-item img {
    transition: none;
}

.project-gallery .gallery-item:hover img {
    transform: none;
    filter: none;
}

/* =============================================
   PROJECT DESCRIPTION
   ============================================= */

.project-description {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 40px;
    background-color: rgba(71, 75, 79, 0.3);
    border-radius: 8px;
}

.description-section {
    margin-bottom: 30px;
}

.description-section:last-child {
    margin-bottom: 0;
}

.description-section h3 {
    color: #86c232;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: "vektra", sans-serif;
}

.description-section p {
    color: #9a9d9f;
    line-height: 1.8;
    text-align: left;
}

/* Image zoom effects */
.pixel-zoom .gallery-item:nth-child(n+2) img {
    transform: scale(1.05);
    transform-origin: center;
}

.stranger-zoom .gallery-item:nth-child(2) img,
.stranger-zoom .gallery-item:nth-child(3) img {
    transform: scale(1.15);
    transform-origin: center;
}

.snowboard-zoom .gallery-item:nth-child(3) img {
    transform: scale(1.15);
    object-position: center center;
}

.snowglobe-zoom .gallery-item:nth-child(2) img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    transform: scale(1.3);
    margin-top: -20px;
}

.snowglobe-zoom .gallery-item:nth-child(4) img {
    object-position: center 60%;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4, h5, h6,
.site-name,
.featured-info h2,
.portfolio-item h2 {
    font-family: "vektra", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* =============================================
   ABOUT - BORDERED SECTIONS
   ============================================= */

.bordered-section {
    padding: 80px 50px;
    background-color: #222629;
    position: relative;
    z-index: 1;
}

.bordered-box {
    max-width: 1200px;
    margin: 0 auto;
    border: 3px solid #61892f;
    border-radius: 20px;
    padding: 40px;
    background-color: #222629 !important;
    position: relative;
    z-index: 1;
}

.bordered-box h2 {
    font-family: "vektra", sans-serif;
    font-size: 36px;
    color: #86c232;
    margin-bottom: 20px;
}

.bordered-box p {
    color: #9a9d9f;
    line-height: 1.8;
    margin: 0;
}

.education-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.education-h2 {
    margin-bottom: 40px;
}

.education-left {
    flex: 0 0 300px;
}

.education-left p {
    color: #9a9d9f;
    font-size: 18px;
    margin-bottom: 10px;
}

.education-left .degree {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.education-left .university {
    font-style: italic;
}

.education-right {
    flex: 1;
}

.education-right p {
    color: #9a9d9f;
    font-size: 18px;
    line-height: 1.8;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* =============================================
   SKILLS SECTION
   ============================================= */

.skills-section {
    padding: 80px 50px;
    background-color: #222629;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #61892f;
    border-radius: 20px;
    padding: 60px;
}

.skills-container h2 {
    font-family: "vektra", sans-serif;
    font-size: 36px;
    color: #d5e599;
    margin-bottom: 60px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.skills-category h3 {
    font-family: "vektra", sans-serif;
    font-size: 24px;
    color: #d5e599;
    margin-bottom: 20px;
}

.skills-category ul {
    list-style: disc;
    padding-left: 20px;
    color: #f0f0f0;
    font-size: 18px;
    line-height: 2;
}

.software-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.software-icons img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
}

/* =============================================
   CONTACT CTA SECTION
   ============================================= */

.contact-cta-section {
    background-color: #d5e599;
    padding: 80px 50px;
    text-align: center;
}

.contact-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-cta-container h2 {
    font-family: "vektra", sans-serif;
    font-size: 36px;
    color: #232e3e;
    margin-bottom: 30px;
}

.contact-cta-container .btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #61892f;
    color: #d5e599;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    transition: background-color 0.3s;
}

/* Project Info */
.project-info {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.project-description {
    color: #9a9d9f;
    line-height: 1.8;
}

.project-description h3 {
    color: #86c232;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-description h3:first-child {
    margin-top: 0;
}

.project-description p {
    margin-bottom: 20px;
}

.project-meta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #474b4f;
}

.project-meta p {
    margin-bottom: 10px;
    color: #9a9d9f;
}

.project-meta strong {
    color: #86c232;
}


/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* ---- TABLET (768px – 1199px) ---- */
@media (max-width: 1199px) {

    header {
        height: 110px;
        padding: 15px 30px;
    }

    body {
        padding-top: 110px;
    }

    .logo {
        width: 85px;
        height: 85px;
    }

    .site-name {
        font-size: 90px;
    }

    .hamburger {
        display: flex;
        width: 36px;
        height: 26px;
    }

    nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    main {
        padding: 40px 30px;
    }

    .portfolio-grid-container {
        flex-wrap: wrap;
        gap: 25px;
    }

    .portfolio-item {
        width: 400px;
        height: 300px;
    }

    .featured-item,
    .featured-item.left,
    .featured-item.right {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .featured-item img {
        flex: none;
        width: 100%;
        height: 280px;
    }

    .featured-info {
        flex: none;
        width: 100%;
        padding: 10px 0;
    }

    .featured-item:hover .featured-info,
    .featured-item.right:hover .featured-info {
        transform: none;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-text-section {
        flex: none;
        width: 100%;
    }

    .about-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .education-layout {
        flex-direction: column;
        gap: 30px;
    }

    .education-left {
        flex: none;
        width: 100%;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .graphic-design-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .project-gallery .gallery-item {
        height: 300px;
    }

    .back-button-container {
        gap: 12px;
    }

    .project-nav-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .skills-grid {
        gap: 40px;
    }

    .skills-container {
        padding: 40px 30px;
    }

    .bordered-section,
    .inspirations-section,
    .skills-section,
    .contact-cta-section {
        padding: 60px 30px;
    }

    footer {
        padding: 20px 30px;
    }

    .carousel-track img {
        width: 80%;
        height: 300px;
    }
}

/* ---- MOBILE  (up to 767px) ---- */
@media (max-width: 767px) {

    header {
        height: 80px;
        padding: 10px 20px;
    }

    body {
        padding-top: 80px;
    }

    .logo {
        width: 60px;
        height: 60px;
        margin-left: 0;
    }

    .site-name {
        font-size: 58px;
    }

    /* Lock ALL gallery images on mobile — no zoom, no movement */
    .gallery-item img,
    .project-gallery .gallery-item img,
    .portfolio-item img,
    .featured-item img,
    .pixel-zoom .gallery-item img,
    .pixel-zoom .gallery-item:nth-child(n+2) img,
    .stranger-zoom .gallery-item img,
    .stranger-zoom .gallery-item:nth-child(2) img,
    .stranger-zoom .gallery-item:nth-child(3) img,
    .snowboard-zoom .gallery-item img,
    .snowboard-zoom .gallery-item:nth-child(3) img,
    .snowglobe-zoom .gallery-item img,
    .snowglobe-zoom .gallery-item:nth-child(2) img,
    .snowglobe-zoom .gallery-item:nth-child(4) img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: scale(1) !important;
        margin-top: 0 !important;
        min-height: unset !important;
    }

    main {
        padding: 30px 20px;
    }

    .portfolio-grid-container {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-item {
        width: 100%;
        max-width: 100%;
        height: 220px;
    }

    .portfolio-item h2 {
        font-size: 24px;
    }

    .portfolio-page main {
        padding: 30px 20px;
    }

    .portfolio-page h1 {
        margin-bottom: 30px;
        font-size: 28px;
    }

    .featured-works {
        padding: 0 20px;
    }

    .featured-item,
    .featured-item.left,
    .featured-item.right {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
    }

    .featured-item img {
        flex: none;
        width: 100%;
        height: 220px;
    }

    .featured-info {
        flex: none;
        width: 100%;
    }

    .featured-info h2 {
        font-size: 24px;
    }

    .featured-info p {
        font-size: 15px;
    }

    .see-more-btn {
        padding: 15px 40px;
        font-size: 16px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-item {
        height: 250px;
    }

    .illustration-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .illustration-gallery .gallery-item {
        height: 250px;
    }

    .gallery-page main {
        padding: 30px 20px;
    }

    .gallery-page h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .about-page main {
        padding: 30px 20px;
    }

    .about-page h1 {
        font-size: 28px;
    }

    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-text-section,
    .about-image {
        flex: none;
        width: 100%;
    }

    .bordered-section {
        padding: 40px 20px;
    }

    .bordered-box {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .bordered-box h2 {
        font-size: 26px;
    }

    .education-layout {
        flex-direction: column;
        gap: 20px;
    }

    .education-left {
        flex: none;
        width: 100%;
    }

    .education-left p,
    .education-right p {
        font-size: 16px;
    }

    .skills-section {
        padding: 40px 20px;
    }

    .skills-container {
        padding: 30px 20px;
        border-radius: 14px;
    }

    .skills-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .skills-category h3 {
        font-size: 20px;
    }

    .skills-category ul {
        font-size: 16px;
    }

    .software-icons img {
        width: 60px;
        height: 60px;
    }

    .inspirations-section {
        padding: 40px 20px;
    }

    .inspirations-section h2 {
        font-size: 26px;
    }

    .carousel-track img {
        width: 90%;
        height: 220px;
    }

    .contact-page main {
        padding: 30px 20px;
    }

    .contact-page h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-social {
        flex: none;
        width: 100%;
        padding: 25px 20px;
    }

    .social-links-vertical {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .social-link-large {
        flex: 1 1 calc(50% - 10px);
        padding: 20px 15px;
    }

    .contact-cta-section {
        padding: 50px 20px;
    }

    .contact-cta-container h2 {
        font-size: 26px;
    }

    .project-gallery .gallery-item {
        height: 240px;
    }

    .project-description {
        padding: 25px 20px;
    }

    .back-button-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        padding: 0 15px;
        margin-top: 40px;
    }

    .back-button-container > *:nth-child(2) {
        grid-column: 1 / -1;
        justify-self: center;
        order: 3;
    }

    .project-nav-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 30px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    footer {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 5px 15px;
        padding: 20px;
        align-items: center;
    }

    .footer-tagline {
        justify-self: start;
        grid-column: 1;
        grid-row: 1;
        white-space: nowrap;
        font-size: 13px;
    }

    .copyright {
        justify-self: start;
        grid-column: 1;
        grid-row: 2;
        font-size: 12px;
    }

    .social-links {
        justify-self: end;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        gap: 12px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    body::before {
        width: 300px;
        height: 300px;
        bottom: -50px;
        right: -50px;
    }
}

/* ---- SMALL MOBILE (up to 480px) ---- */
@media (max-width: 480px) {

    .site-name {
        font-size: 44px;
    }

    header {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .featured-item img {
        height: 180px;
    }

    .carousel-track img {
        height: 180px;
    }

    /* FIXED: include graphic-design-gallery items */
  .gallery-item,
.graphic-design-gallery .gallery-item {
    height: auto;
}

    .illustration-gallery .gallery-item {
        height: 160px;
    }

   .project-gallery .gallery-item {
    height: auto;
}
}

/* ---- PHONES (up to 540px) ---- */
@media (max-width: 540px) {
    .gallery,
    .graphic-design-gallery,
    .illustration-gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* FIXED: include graphic-design-gallery items */
   .gallery-item,
.graphic-design-gallery .gallery-item {
    height: auto;
}

.graphic-design-gallery .gallery-item img {
    height: auto;
    width: 100%;
    object-fit: contain;
}

    .illustration-gallery .gallery-item {
        height: 300px;
    }

    .portfolio-grid-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .portfolio-item {
        width: 100% !important;
        max-width: 100% !important;
        height: 260px;
    }

    .project-gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

   .project-gallery .gallery-item {
    height: auto;
}

.project-gallery .gallery-item img {
    height: auto;
    width: 100%;
    object-fit: contain;
}
    .project-nav-btn .full-text {
        display: none;
    }

    .project-nav-btn .short-text {
        display: inline;
    }

    footer {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .footer-tagline,
    .copyright,
    .social-links {
        justify-self: unset;
        grid-column: unset;
        grid-row: unset;
        white-space: normal;
        font-size: 13px;
    }

    .social-links {
        gap: 15px;
    }
}

@media (min-width: 541px) {
    .illustration-gallery {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}