/* CSS Variables */
:root {
    --color-primary: #36A8A8;
    --color-primary-dark: #2a8a8a;
    --color-accent: #D4AF37;
    --color-dark: #2C3E50;
    --color-text-white: rgba(255, 255, 255, 1);
    --color-text-white-95: rgba(255, 255, 255, 0.95);
    --color-text-white-90: rgba(255, 255, 255, 0.9);
    --color-text-white-80: rgba(255, 255, 255, 0.8);
    --color-text-white-70: rgba(255, 255, 255, 0.7);
    --color-text-white-50: rgba(255, 255, 255, 0.5);
    --color-bg-overlay: rgba(255, 255, 255, 0.1);
    --color-bg-overlay-dark: rgba(44, 62, 80, 0.4);
    --color-border-white: rgba(255, 255, 255, 0.2);
    --color-border-white-30: rgba(255, 255, 255, 0.3);
    --color-border-white-15: rgba(255, 255, 255, 0.15);
    --transition-base: 0.3s ease;
    --transition-fast: 0.15s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #2a4a21;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

.container {
    display: flex;
    height: 100vh;
}

/* Left Sidebar */
.sidebar {
    width: 160px;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: width var(--transition-base);
    overflow: hidden;
}

/* Only allow hover expand on desktop (not mobile) */
@media (hover: hover) and (pointer: fine) {
    .sidebar:hover {
        width: 300px;
    }
}

.sidebar-header {
    padding: 2rem 1.5rem;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.site-title {
    color: var(--color-text-white);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    transition: all var(--transition-base);
    width: 100%;
}

.site-title span {
    display: block;
    transition: all var(--transition-base);
}

.site-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.site-title-link:hover,
.site-title-link:focus,
.site-title-link:active,
.site-title-link:visited {
    text-decoration: none;
    color: inherit;
}

/* Text scaling behavior - only on desktop */
@media (hover: hover) and (pointer: fine) {
    .sidebar:not(:hover) .site-title {
        font-size: 1rem;
        text-align: left;
        line-height: 1.2;
    }

    .sidebar:not(:hover) .site-title span {
        display: block;
        margin-bottom: 0.1rem;
    }

    .sidebar:hover .site-title {
        font-size: 1.2rem;
        text-align: left;
    }

    .sidebar:hover .site-title span {
        display: block;
    }
}

.nav-links {
    list-style: none;
    padding: 0 1.5rem;
    flex-grow: 1;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    display: block;
    padding: 1rem 0;
    position: relative;
    transition: all var(--transition-base);
    white-space: nowrap;
    width: 100%;
    line-height: 1.5;
    text-align: left;
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background-color: var(--color-text-white);
    transition: transform var(--transition-base);
    transform: translateX(0);
}

/* Slide out to the right (scrolling down) */
.nav-link.active.slide-out-right::after {
    transform: translateX(200%) !important;
    transition: transform var(--transition-base);
}

/* Slide out to the left (scrolling up) */
.nav-link.active.slide-out-left::after {
    transform: translateX(-200%) !important;
    transition: transform var(--transition-base);
}

/* Slide in from the left (scrolling down) */
.nav-link.active.slide-in-from-left::after {
    transform: translateX(-200%);
    animation: slideInFromLeft var(--transition-base) forwards;
}

/* Slide in from the right (scrolling up) */
.nav-link.active.slide-in-from-right::after {
    transform: translateX(200%);
    animation: slideInFromRight var(--transition-base) forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-200%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(200%);
    }
    to {
        transform: translateX(0);
    }
}

/* Navigation text behavior - only on desktop */
@media (hover: hover) and (pointer: fine) {
    .sidebar:not(:hover) .nav-link {
        font-size: 0.9rem;
        text-align: center;
        padding: 0.8rem 0.2rem;
    }

    .sidebar:hover .nav-link {
        font-size: 1.3rem;
        text-align: center;
        padding: 1rem 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Individual link hover effect - only on desktop */
    .nav-link:hover {
        opacity: 0.8;
        font-size: 1.5rem !important;
    }
}


/* Burger Menu Toggle Button */
.burger-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 30px;
    height: 30px;
    z-index: 1001;
    position: relative;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
    position: absolute;
    left: 50%;
    margin-left: -12.5px; /* Half of width (25px / 2) */
}

.burger-line:nth-child(1) {
    top: 8px;
}

.burger-line:nth-child(2) {
    top: 50%;
    margin-top: -1.5px; /* Half of height (3px / 2) */
}

.burger-line:nth-child(3) {
    bottom: 8px;
}

.burger-menu-toggle.active .burger-line:nth-child(1) {
    top: 50%;
    margin-top: -1.5px;
    transform: rotate(45deg);
}

.burger-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu-toggle.active .burger-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    margin-top: -1.5px;
    transform: rotate(-45deg);
}

/* Main Content Area */
.main-content {
    width: 100%;
    background-color: #2a4a21;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="mountain" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234a6741;stop-opacity:1" /><stop offset="50%" style="stop-color:%235a7a51;stop-opacity:1" /><stop offset="100%" style="stop-color:%236a8a61;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23mountain)"/><path d="M0,600 L200,400 L400,500 L600,300 L800,450 L1000,350 L1200,400 L1200,800 L0,800 Z" fill="%233a5a31"/><path d="M0,650 L300,450 L600,550 L900,400 L1200,500 L1200,800 L0,800 Z" fill="%232a4a21"/><circle cx="200" cy="200" r="3" fill="%23ffffff" opacity="0.8"/><circle cx="400" cy="150" r="2" fill="%23ffffff" opacity="0.6"/><circle cx="600" cy="180" r="2" fill="%23ffffff" opacity="0.7"/></svg>');
    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: filter var(--transition-base);
    margin-left: 120px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Only apply brightness filter on desktop hover */
@media (hover: hover) and (pointer: fine) {
    .sidebar:hover ~ .main-content {
        filter: brightness(0.85);
    }
}

.main-content::before {
    display: none;
}

.main-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100%;
    background: var(--color-bg-overlay-dark);
    z-index: 1;
    pointer-events: none;
}


.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 500px;
    padding: 3rem 2rem 2rem 2rem;
    margin-top: 2rem;
}

/* Logo Styles */
.logo {
    margin-bottom: 2rem;
}

.logo-outer-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 8px;
}

.logo-inner-circle {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background-color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-bridges {
    position: relative;
    width: 60px;
    height: 40px;
}

.bridge-line {
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    top: 10px;
}

.bridge-line:nth-child(2) {
    top: 20px;
}

.water-lines {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.water-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    margin-bottom: 3px;
}

.logo-birds {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.bird {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Typography */
.main-title {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.subtitle {
    color: #556270;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.line {
    width: 30px;
    height: 2px;
    background-color: #333;
}

.tagline {
    color: #556270;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.scroll-indicator {
    display: none;
}

/* Page Content Styles */
.page-content {
    z-index: 2;
    position: relative;
    max-width: 1400px;
    width: 100%;
    padding: 3rem 2rem;
    color: var(--color-text-white);
    text-align: left;
}


.home-section {
    margin-bottom: 4rem;
}

.home-section:last-child {
    margin-bottom: 20vh;
}

.intro-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.intro-main-text {
    font-size: 1.6rem;
    line-height: 1.9;
    color: var(--color-text-white-95);
    font-weight: 400;
    margin: 0;
}

.page-title {
    color: var(--color-primary);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
}

.content-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.profile-image {
    flex-shrink: 0;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background-color: var(--color-bg-overlay);
    border: 2px dashed var(--color-border-white-30);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--color-text-white-70);
    font-size: 1.1rem;
}

.profile-picture {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--color-border-white-30);
    display: block;
}

.text-content {
    flex-grow: 1;
}

.intro-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--color-text-white-95);
    font-weight: 400;
}

.text-content h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: 600;
}

.text-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text-white-90);
    font-size: 1.15rem;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.skills-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border-white-15);
    color: var(--color-text-white-90);
    font-size: 1.15rem;
}

.skills-list li:before {
    content: "✓ ";
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* SPA Transitions */
#content-container {
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    min-height: 400px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.error-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: #ff6b6b;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--color-bg-overlay);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 140px;
}

.horizontal-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    height: 100%;
}

/* Icon Containers */
.service-icon,
.summary-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-placeholder {
    font-size: 4rem;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-content p {
    color: var(--color-text-white-90);
    line-height: 1.8;
    font-size: 1.15rem;
}

/* Contact Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(54, 168, 168, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--color-text-white-80);
    margin: 0;
}

.contact-email-link {
    color: var(--color-text-white);
}

.contact-form,
.contact-text-box {
    background: var(--color-bg-overlay);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--color-border-white);
}

.contact-text-box {
    height: 100%;
}

.contact-form h3,
.contact-text-box h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-text-box p {
    color: var(--color-text-white-90);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--color-text-white-90);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border-white-30);
    border-radius: 5px;
    background: var(--color-bg-overlay);
    color: var(--color-text-white);
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-white-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(54, 168, 168, 0.2);
}

.submit-btn {
    background: var(--color-primary);
    color: var(--color-text-white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-base);
    width: 100%;
}

.submit-btn:hover {
    background: var(--color-primary-dark);
}

/* Home Contact Card */
.home-contact-card {
    background: var(--color-bg-overlay);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.summary-card-icon .icon-placeholder {
    font-size: 4rem;
}

.summary-card-content {
    flex: 1;
    text-align: left;
}

.summary-card-text {
    color: var(--color-text-white-95);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.summary-card-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.summary-card-text:last-child {
    margin-bottom: 0;
}

/* Creations Section - Before/After Slider */
.creations-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-top: -2.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.creations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.creation-site-title {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
    text-align: left;
}

.before-after-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border-white-30);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Desktop aspect ratio */
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    width: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.after-image {
    width: 100%;
    z-index: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Show/hide images based on screen size */
.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

.image-label {
    position: absolute;
    top: 20px;
    padding: 0.5rem 1.5rem;
    background: var(--color-bg-overlay-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-white-30);
    border-radius: 6px;
    color: var(--color-text-white);
    font-weight: 600;
    font-size: 1rem;
    z-index: 10;
    pointer-events: none;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

.slider-control {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    transition: background-color var(--transition-fast);
}

.slider-control:hover {
    background: var(--color-primary-dark);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border: 3px solid var(--color-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    cursor: ew-resize;
    pointer-events: auto;
}

.slider-control:hover .slider-handle {
    background: var(--color-primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-text-white);
    pointer-events: none;
}

.left-arrow {
    position: absolute;
    left: 8px;
}

.right-arrow {
    position: absolute;
    right: 8px;
}

/* About section mobile styles at 1024px breakpoint */
@media (max-width: 1024px) {
    #about .content-section {
        flex-direction: column;
        text-align: left;
        gap: 2rem;
    }
    
    #about .profile-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    #about .image-placeholder {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    #about .profile-picture {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    #about .text-content {
        text-align: left;
    }
    
    #about .intro-text {
        font-size: 1.2rem;
        text-align: left;
    }
    
    #about .text-content h3 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    #about .text-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    #about .skills-list {
        text-align: left;
    }
    
    #about .skills-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
        position: relative;
    }
    
    #about .skills-list li:before {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Medium mobile devices - reduce sidebar font sizes (but keep sidebar vertical, not top menu) */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar-header {
        padding: 1.5rem 1rem;
    }
    
    .nav-links {
        padding: 0 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.8rem 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: hidden;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: auto;
        min-height: 100vh;
    }
    
    html {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .container {
        flex-direction: column;
        
        min-height: 100vh;
        height: auto;
        
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 60px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        overflow: visible;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Disable hover effects on mobile */
    .sidebar:hover {
        width: 100%;
    }
    
    .sidebar-header {
        padding: 0;
        margin: 0;
        flex: 0 0 auto;
    }
    
    .site-title {
        font-size: 0.9rem;
        line-height: 1.2;
        margin: 0;
    }
    
    .site-title span {
        display: inline;
        margin-right: 0.3rem;
    }
    
    .site-title span:last-child {
        margin-right: 0;
    }
    
    /* Show burger menu on mobile */
    .burger-menu-toggle {
        display: flex;
        order: 2;
    }
    
    /* Hide nav links by default on mobile, show when menu is open */
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 0 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base), padding var(--transition-base);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .sidebar.menu-open .nav-links {
        max-height: 400px;
        padding: 1rem 0;
    }
    
    .nav-links li {
        margin-bottom: 0;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1rem;
        text-align: left;
        padding: 1rem 2rem;
        width: 100%;
        display: block;
    }
    
    .nav-link:hover {
        background-color: var(--color-bg-overlay);
        font-size: 1rem !important;
    }
    
    .main-content {
        width: 100%;
        height: auto;
        min-height: calc(100vh - 60px);
        margin-left: 0;
        margin-top: 60px;
        background-color: transparent;
        background-image: none;
        position: relative;
        
        overflow-y: visible;
        overscroll-behavior-y: auto;
        
    }
    
    /* iOS Safari workaround: use fixed pseudo-element for background */
    .main-content::before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background-color: #2a4a21;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="mountain" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234a6741;stop-opacity:1" /><stop offset="50%" style="stop-color:%235a7a51;stop-opacity:1" /><stop offset="100%" style="stop-color:%236a8a61;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23mountain)"/><path d="M0,600 L200,400 L400,500 L600,300 L800,450 L1000,350 L1200,400 L1200,800 L0,800 Z" fill="%233a5a31"/><path d="M0,650 L300,450 L600,550 L900,400 L1200,500 L1200,800 L0,800 Z" fill="%232a4a21"/><circle cx="200" cy="200" r="3" fill="%23ffffff" opacity="0.8"/><circle cx="400" cy="150" r="2" fill="%23ffffff" opacity="0.6"/><circle cx="600" cy="180" r="2" fill="%23ffffff" opacity="0.7"/></svg>');
        background-size: 200%;
        background-position: center var(--bg-position-y, 0px);
        background-repeat: no-repeat;
        z-index: -1;
        pointer-events: none;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .sidebar:hover ~ .main-content,
    .sidebar.menu-open ~ .main-content {
        filter: none;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .page-content {
        max-width: 100%;
        padding: 2rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .home-section {
        margin-bottom: 3rem;
    }

    .home-section:last-child {
        margin-bottom: 10vh;
    }
    
    .intro-section {
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .intro-main-text {
        font-size: 1.3rem;
        line-height: 1.7;
        text-align: center;
    }
    
    .content-section {
        flex-direction: column;
        text-align: left;
        gap: 2rem;
    }
    
    .profile-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .profile-picture {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .text-content {
        text-align: left;
    }
    
    .intro-text {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .text-content h3 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .text-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .skills-list {
        text-align: left;
    }
    
    .skills-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
        position: relative;
    }
    
    .skills-list li:before {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .horizontal-card {
        flex-direction: column !important;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-content {
        text-align: left;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .service-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .icon-placeholder {
        font-size: 3rem;
    }
    
    .home-contact-card {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .summary-card-content {
        text-align: center;
    }

    .summary-card-content p {
        text-align: left;
    }
    
    .summary-card-text {
        font-size: 1rem;
    }
    
    /* Creations Section - Mobile Styles */
    .creations-subtitle {
        font-size: 1rem;
        margin-top: -1rem;
        margin-bottom: 1.5rem;
    }
    
    .creations-container {
        padding: 1rem 0;
    }
    
    .creation-site-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-wrapper {
        aspect-ratio: 9 / 16; /* Mobile aspect ratio */
    }
    
    /* Show mobile images, hide desktop images on mobile */
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
    }
    
    .image-label {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
        top: 15px;
    }
    
    .before-label {
        left: 15px;
    }
    
    .after-label {
        right: 15px;
    }
    
    .slider-handle {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow {
        width: 16px;
        height: 16px;
    }
}
