/* PORTFOLIO STYLESHEET FOR IRIS */

:root {
    --font-heading: "Outfit", sans-serif;
    --font-body: "Outfit", sans-serif;
    
    /* Active color palette setting */
    --color-bg: #fdce77;
    --color-header-bg: rgba(253, 206, 119, 0.85);
    --color-text: #2d2a22;
    --color-text-secondary: #705b50;
    --color-primary: #89b352;
    --color-primary-contrast: #ffffff;
    --color-secondary: #1e71a6;
    --color-card: #e6f5ff;
    --color-border: #4d483b;
    
    /* Layout Radiuses */
    --radius-img: 16px;
    --radius-card: 16px;
    --radius-btn: 9999px;
}

/* Reset basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    background-image: url('images/bg_upload_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

/* Word breaking & hyphenation utility classes */
.wb-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}
.wb-wrap {
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
}
.wb-balance {
    text-wrap: balance;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}
.wb-pretty {
    text-wrap: pretty;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}
.wb-normal {
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}
.wb-break-all {
    word-break: break-all;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Base button and card styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-btn);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px var(--color-primary);
}

.card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 32px;
}

/* Core alignment and layout utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }
.w-full { width: 100% !important; }

/* HEADER STYLE */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    background-color: var(--color-header-bg);
    background-color: color-mix(in srgb, var(--color-bg) 85%, transparent);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

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

.logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0.65;
    margin-top: 4px;
}

/* NAV LISTS & SUBMENU */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    padding: 4px 0;
}

.nav-link {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.nav-item.active > .nav-link {
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.contact-badge {
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    text-decoration: none;
    transition: opacity 0.2s ease;
    border: none;
}

.contact-badge:hover {
    opacity: 0.9;
    transform: none !important;
    box-shadow: none !important;
}

.contact-badge ion-icon {
    font-size: 13px;
}

/* Dropdown styling */
.has-submenu {
    cursor: pointer;
}

.has-submenu > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.submenu-chevron {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    min-width: 180px;
    padding: 6px;
    list-style: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-item:hover .submenu {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.nav-item:hover .submenu-chevron {
    transform: rotate(180deg);
}

.submenu-item {
    margin-bottom: 2px;
}

.submenu-item:last-child {
    margin-bottom: 0;
}

.submenu-link {
    display: block;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.15s ease;
}

.submenu-link:hover, .submenu-item.active > .submenu-link {
    color: var(--color-primary);
    background-color: rgba(148, 163, 184, 0.1);
}

/* BURGER TOGGLE BUTTON */
.burger-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--color-text);
    opacity: 0.85;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.burger-menu-btn:hover {
    opacity: 1;
    background-color: rgba(148, 163, 184, 0.1);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    .burger-menu-btn {
        display: flex !important;
    }
}

/* MOBILE DRAWER STYLE - 1:1 WITH PREVIEWCONTAINER FULLSCREEN DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-text);
    z-index: 999;
    padding: 24px;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
}

.mobile-drawer.active {
    display: flex;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--color-text);
    padding: 6px;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.drawer-close:hover {
    background-color: rgba(148, 163, 184, 0.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.15s ease;
    padding: 4px 0;
}

.mobile-nav-link:hover {
    opacity: 0.8;
}

.mobile-submenu-toggle {
    padding: 6px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.mobile-submenu-toggle:hover {
    background-color: rgba(148, 163, 184, 0.1);
}

.chevron-icon {
    transition: transform 0.2s ease;
}

.mobile-submenu-list {
    list-style: none;
    padding-left: 16px;
    margin-left: 4px;
    border-left: 1px solid var(--color-border);
    font-size: 12px;
    font-weight: 700;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.mobile-submenu-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 2px 0;
    transition: opacity 0.15s ease;
}

.mobile-submenu-link:hover {
    opacity: 0.85;
}

.mobile-contact-wrapper {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}

.mobile-contact-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    transition: opacity 0.15s ease;
}

.mobile-contact-btn:hover {
    opacity: 0.9;
}

/* PAGES CONTAINER */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    min-height: calc(100vh - 280px);
}

.portfolio-page {
    /* Transitions for single-page routing */
    animation: fadeIn 0.4s ease forwards;
}

.portfolio-page.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* BLOCKS DESIGN */
.block {
    margin-bottom: 80px;
}

.block:last-child {
    margin-bottom: 0;
}

/* 1. HERO BLOCK */
.hero-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    width: 100%;
}

.hero-block.has-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 769px) {
    .hero-block.has-image {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 48px;
    }
    
    .hero-block.has-image .hero-content {
        grid-column: span 7 / span 7;
    }
    
    .hero-block.has-image .hero-image-wrapper {
        grid-column: span 5 / span 5;
    }

    .hero-block.has-image.pos-left .hero-image-wrapper {
        order: -1;
    }
}

.hero-block.no-image {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
}

.hero-block.pos-top, .hero-block.pos-bottom {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.hero-content.text-center, .hero-content.items-center {
    align-items: center;
    text-align: center;
}

.hero-content.text-center .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero-content.text-right, .hero-content.items-end {
    align-items: flex-end;
    text-align: right;
}

.hero-content.text-right .hero-subtitle {
    margin-left: auto;
    margin-right: 0;
}

.hero-content.text-left, .hero-content.items-start {
    align-items: flex-start;
    text-align: left;
}

.hero-content.text-left .hero-subtitle {
    margin-left: 0;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    font-weight: 800;
    line-height: 1.15;
    white-space: pre-line;
    width: 100%;
    word-break: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-secondary);
    max-width: 650px;
    width: 100%;
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-word;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-img);
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: transparent;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

/* 2. TEXT BLOCK */
.text-block {
    max-width: 800px;
}

.text-meta {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.text-heading {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.25;
    margin-bottom: 16px;
    white-space: pre-line;
}

.text-body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    white-space: pre-line;
}

/* 3. IMAGE BLOCK */
.image-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block-image-wrapper {
    border-radius: var(--radius-img);
    overflow: hidden;
    background-color: transparent;
}

.block-image-wrapper.aspect-square { aspect-ratio: 1/1; }
.block-image-wrapper.aspect-video { aspect-ratio: 16/9; }
.block-image-wrapper.aspect-portrait { aspect-ratio: 3/4; }

.block-image {
    width: 100%;
    height: 100%;
}

.image-caption {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-style: italic;
    align-self: center;
}

/* 4. GALLERY BLOCK */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-img-wrapper {
    aspect-ratio: 4/3;
    border-radius: var(--radius-img);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* 4b. COLUMNS GRID BLOCK */
.columns-block {
    width: 100%;
    margin-bottom: 32px;
}

.columns-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.columns-grid.cols-1 {
    grid-template-columns: 1fr;
}

.columns-grid.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.columns-grid.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.columns-grid.cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 768px) {
    .columns-grid.cols-3, .columns-grid.cols-4 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 540px) {
    .columns-grid {
        grid-template-columns: 1fr !important;
    }
}

.column-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* 5. COLOR SWATCHES */
.swatches-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* BUTTON BLOCK */
.button-block {
    width: 100%;
}
.button-block-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    width: 100%;
}
.button-block-container.layout-column {
    flex-direction: column;
}
.button-block-container.align-left {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}
.button-block-container.align-center {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.button-block-container.align-right {
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}
.button-block-container.layout-column.align-left {
    align-items: flex-start;
    justify-content: flex-start;
}
.button-block-container.layout-column.align-center {
    align-items: center;
    justify-content: center;
}
.button-block-container.layout-column.align-right {
    align-items: flex-end;
    justify-content: flex-end;
}
.btn-block-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    line-height: 1.25;
    user-select: none;
    box-sizing: border-box;
}
.btn-block-item:hover {
    transform: scale(1.02);
}
.btn-block-item.btn-variant-solid:hover,
.btn-block-item.btn-variant-gradient:hover {
    filter: brightness(1.1);
}
.btn-block-item.btn-variant-outline:hover,
.btn-block-item.btn-variant-ghost:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.btn-block-item.btn-variant-soft:hover {
    filter: brightness(0.95);
}
.btn-block-item.btn-variant-glass:hover {
    background-color: rgba(255, 255, 255, 0.25);
}
.btn-block-item:active {
    transform: scale(0.98);
}
.btn-block-item.btn-shape-pill {
    border-radius: 9999px;
}
.btn-block-item.btn-shape-rounded {
    border-radius: 12px;
}
.btn-block-item.btn-shape-subtle {
    border-radius: 6px;
}
.btn-block-item.btn-shape-square {
    border-radius: 0px;
}
.btn-block-item.btn-size-sm {
    padding: 6px 14px;
    font-size: 12px;
    gap: 6px;
}
.btn-block-item.btn-size-md {
    padding: 10px 20px;
    font-size: 14px;
    gap: 8px;
    font-weight: 600;
}
.btn-block-item.btn-size-lg {
    padding: 14px 28px;
    font-size: 16px;
    gap: 10px;
    font-weight: 700;
}
.btn-block-item.btn-size-xl {
    padding: 16px 36px;
    font-size: 18px;
    gap: 12px;
    font-weight: 800;
}
.btn-block-item.btn-full-width {
    width: 100%;
}
.btn-block-item svg {
    flex-shrink: 0;
}

.swatches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.swatch-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    flex: 1 1 200px;
    transition: all 0.2s ease;
}

.swatch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.swatch-color-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.swatch-info {
    display: flex;
    flex-direction: column;
}

.swatch-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
}

.swatch-hex {
    font-size: 10px;
    color: var(--color-text-secondary);
    font-family: monospace;
    opacity: 0.65;
    text-transform: uppercase;
}

/* 6. SKILLS BLOCK */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.skill-bar-wrapper {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.skill-name {
    font-size: 12px;
    font-weight: 700;
}

.skill-percent {
    font-size: 10px;
    font-family: monospace;
    opacity: 0.75;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(15, 23, 42, 0.1);
    background-color: color-mix(in srgb, var(--color-text) 12%, transparent);
    border-radius: 9999px;
    overflow: hidden;
    border: none;
}

.skill-progress {
    height: 100%;
    border-radius: 9999px;
    background-color: var(--color-secondary);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 7. CONTACT BLOCK */
.contact-banner {
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 32px;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.contact-title {
    font-size: clamp(1.5rem, 2.5vw, 2.125rem);
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    word-break: break-word;
}

.contact-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
    word-break: break-word;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.contact-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    line-height: 1;
}

.contact-action-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.contact-action-btn svg {
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.social-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.social-icon-btn:hover {
    background-color: rgba(148, 163, 184, 0.1);
}

.social-icon-btn svg {
    flex-shrink: 0;
}

/* MINIMAL SHELF FOR NAVIGATION SUBPAGES (DASHBOARD HIGHLIGHTS) */
.project-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.project-thumbnail-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-thumbnail-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.thumbnail-image-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    background-color: var(--color-bg);
    flex-shrink: 0;
    width: 100%;
}

.thumbnail-image-wrapper img {
    width: 100%;
    height: 100%;
}

.thumbnail-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.thumbnail-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.thumbnail-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
    margin-top: 80px;
    background-color: transparent;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.footer-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.footer-role {
    font-size: 10px;
    color: var(--color-text-secondary);
    margin: 4px 0 0 0;
}

.footer-email-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.footer-email-link:hover {
    text-decoration: underline;
}

.footer-email-link ion-icon {
    font-size: 14px;
}

/* RESPONSIVENESS */
@media (max-width: 968px) {
    .site-header {
        padding: 12px 0;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .burger-menu-btn {
        display: flex;
    }
    
    .hero-block {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .hero-block:not(.pos-top) .hero-content {
        order: 0 !important;
    }

    .hero-block:not(.pos-top) .hero-image-wrapper {
        order: 1 !important;
        width: 100% !important;
    }

    .columns-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .contact-banner {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
        gap: 24px !important;
    }
    
    .contact-left {
        gap: 8px;
    }
    
    .contact-right {
        align-items: stretch !important;
        gap: 16px;
    }

    .contact-action-btn {
        width: 100% !important;
        text-align: center;
    }

    .social-links {
        justify-content: flex-start !important;
    }
}

/* LIGHTBOX MODAL WITH BLURRED BACKDROP */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 92vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeIn 0.3s ease;
    user-select: none;
}

.lightbox-caption {
    margin-top: 14px;
    padding: 8px 18px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    max-width: 650px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    word-break: break-word;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
}

.lightbox-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

/* Image zoom cursor & hover animation */
.block-image, .hero-image, .carousel-slide img, .gallery-img-wrapper img, .column-img-wrapper img, .project-thumbnail-card img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.gallery-img-wrapper:hover img, .column-img-wrapper:hover img, .hero-image-wrapper:hover img {
    transform: scale(1.02);
}
