:root {
    --stone-brown: #584d3dff;
    --sand: #9f956cff;
    --sand-2: #cbbf7aff;
    --pale-amber: #f4e87cff;
    --lime-cream: #ebf38bff;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--stone-brown) 0%, #6B5D4F 100%);
    color: #ededed;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    font-size: 25px;
    text-decoration: none;
    font-weight: bold;
    color: var(--lime-cream);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}

.logo:hover {
    color: var(--sand-2);
    transform: translateX(5px);
}

.navMenu a {
    position: relative;
    font-size: 18px;
    text-decoration: none;
    color: var(--lime-cream);
    margin-left: 35px;
    transition: 0.3s ease;
    display: inline-block;
}

.navMenu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--sand-2);
    transition: width 0.3s ease;
}

.navMenu a:hover {
    color: var(--sand-2);
}

.navMenu a:hover::after {
    width: 100%;
}

.home {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5% 80px 10%;
    gap: 40px;
    background: linear-gradient(135deg, var(--stone-brown) 0%, #6B5D4F 100%);
    background-attachment: fixed;
}

.home-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.home-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--lime-cream);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    overflow: visible;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    line-height: 1.3;
    min-height: 1.3em;
    width: 100%;
}

.home-content h1.typing {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .home-content h1.typing {
        white-space: normal !important;
    }
}

.home-content h1 .cursor {
    display: inline;
    animation: blink 0.75s step-end infinite;
    font-size: 1.1em;
    font-weight: 300;
    opacity: 0.8;
}

.home-content h3 {
    font-size: 1.3rem;
    color: var(--pale-amber);
    line-height: 1.8;
    margin-bottom: 40px;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    opacity: 0;
}

.home-image {
    flex: 0 0 320px;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-2) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.home-image:hover {
    transform: translateY(-10px);
}

.home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.btn-box {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.btn-box a {
    display: inline-flex;
    position: relative;
    width: 150px;
    height: auto;
    padding: 12px 20px;
    background-color: transparent;
    border: 2px solid var(--pale-amber);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 19px;
    color: #ededed;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s ease;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: calc(100% + 4px);
    background-color: var(--pale-amber);
    z-index: -1;
    transition: 0.3s ease;
    border-radius: 8px;
}

.btn-box a:hover {
    color: var(--stone-brown);
    border-color: var(--pale-amber);
    transform: translateY(-2px);
}

.btn-box a:hover::before {
    width: calc(100% + 4px);
}

.btn-box a:focus {
    outline: 2px solid var(--lime-cream);
    outline-offset: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 102;
    background: none;
    border: none;
    padding: 8px;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger img {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(87%) sepia(80%) saturate(350%) hue-rotate(2deg) brightness(103%) contrast(103%);
}

.hamburger:hover img {
    filter: brightness(0) saturate(100%) invert(70%) sepia(80%) saturate(350%) hue-rotate(2deg) brightness(103%) contrast(103%);
}

@media (max-width: 1400px) {
    .home {
        padding: 80px 5% 60px 5%;
        gap: 30px;
    }

    .home-content h1 {
        font-size: 3rem;
    }

    .home-content h3 {
        font-size: 1.2rem;
    }

    .home-image {
        flex: 0 0 280px;
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 1150px) {
    .home {
        flex-direction: column;
        padding: 100px 5% 60px 5%;
        gap: 30px;
    }

    .home-content {
        align-items: center;
        text-align: center;
    }

    .home-content h1 {
        font-size: 2.5rem;
        white-space: nowrap;
    }

    .home-content h3 {
        font-size: 1.15rem;
    }

    .home-image {
        flex: 0 0 300px;
        width: 300px;
        height: 300px;
    }

    .btn-box {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, var(--stone-brown) 0%, #6B5D4F 100%);
        background-attachment: fixed;
    }

    .header {
        padding: 12px 4%;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, rgba(88, 77, 61, 0.98) 0%, rgba(107, 93, 79, 0.98) 100%);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .logo {
        font-size: 18px;
        flex: 1;
    }

    .navMenu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, rgba(88, 77, 61, 0.98) 0%, rgba(107, 93, 79, 0.98) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 30px 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        z-index: 50;
    }

    .navMenu.active {
        transform: translateX(0);
    }

    .navMenu a {
        width: 100%;
        text-align: center;
        padding: 18px 0;
        margin-left: 0;
        border-bottom: 1px solid rgba(235, 243, 139, 0.1);
        font-size: 16px;
        transition: all 0.3s ease;
        animation: slideInMenu 0.4s ease-out;
        display: block;
        position: relative;
    }

    .navMenu a:nth-child(1) {
        animation-delay: 0.05s;
    }

    .navMenu a:nth-child(2) {
        animation-delay: 0.1s;
    }

    .navMenu a:nth-child(3) {
        animation-delay: 0.15s;
    }

    .navMenu a:nth-child(4) {
        animation-delay: 0.2s;
    }

    .navMenu a:nth-child(5) {
        animation-delay: 0.25s;
    }

    .navMenu a:nth-child(6) {
        animation-delay: 0.3s;
    }

    .navMenu a:hover {
        background-color: rgba(235, 243, 139, 0.15);
        color: var(--sand-2);
        padding-left: 20px;
        border-left: 4px solid var(--sand-2);
        padding-left: 16px;
    }

    .navMenu a:focus {
        outline: 2px solid var(--lime-cream);
        outline-offset: -2px;
    }

    .navMenu a::after {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 102;
    }

    .home {
        flex-direction: column;
        padding: 100px 5% 60px 5%;
        gap: 30px;
        overflow-x: hidden;
    }

    .home-content {
        width: 100%;
        max-width: 100%;
    }

    .home-content h1 {
        font-size: 2rem;
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .home-content h1.typing {
        white-space: normal !important;
    }

    .home-content h3 {
        font-size: 0.95rem;
        margin-bottom: 30px;
        line-height: 1.6;
        opacity: 0;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }

    .home-image {
        flex: 0 0 250px;
        width: 250px;
        height: 250px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

    .btn-box {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: stretch;
    }

    .btn-box a {
        width: 100%;
        padding: 12px 20px;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        height: auto;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    body {
        background: linear-gradient(135deg, var(--stone-brown) 0%, #6B5D4F 100%);
        background-attachment: fixed;
    }

    .header {
        padding: 12px 4%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .logo {
        font-size: 16px;
    }

    .navMenu a {
        padding: 16px 0;
        font-size: 15px;
    }

    .navMenu a:hover {
        border-left-width: 3px;
    }

    .home {
        padding: 80px 4% 40px 4%;
        gap: 20px;
        overflow-x: hidden;
    }

    .home-content {
        width: 100%;
        max-width: 100%;
    }

    .home-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .home-content h1.typing {
        white-space: normal !important;
    }

    .home-content h3 {
        font-size: 0.85rem;
        margin-bottom: 25px;
        line-height: 1.5;
        opacity: 0;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }

    .home-image {
        flex: 0 0 200px;
        width: 200px;
        height: 200px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .btn-box {        width: 100%;        gap: 12px;
    }

    .btn-box a {
        font-size: 16px;
        padding: 12px 18px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        height: auto;
        min-height: 44px;
    }
}

@keyframes slideInMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}