:root {
    --primary-yellow: #FFB300;
    --primary-light: #FFD54F;
    --accent-green: #AED581;
    --text-dark: #2C3E50;
    --text-light: #546E7A;
    --bg-color: #FAFAFA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-yellow);
    text-decoration: none;
    letter-spacing: 1px;
}

nav {
    display: flex;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-green);
}

.menu {
    --color: var(--text-dark);
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    outline: none;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance:none;
    -webkit-tap-highlight-color: transparent;
    display: none; 
}

.menu svg {
    width: 64px;
    height: 48px;
    top: -6px;
    left: -14px;
    stroke: var(--color);
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
    position: absolute;
}

.menu svg path {
    transition: stroke-dasharray var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s), 
                stroke-dashoffset var(--duration, 0.85s) var(--easing, ease) var(--delay, 0s);
    stroke-dasharray: var(--array-1, 26px) var(--array-2, 100px);
    stroke-dashoffset: var(--offset, 126px);
    transform: translateZ(0);
}

.menu svg path:nth-child(2) {
    --duration: 0.7s;
    --easing: ease-in;
    --offset: 100px;
    --array-2: 74px;
}

.menu svg path:nth-child(3) {
    --offset: 133px;
    --array-2: 107px;
}

.menu.active svg path {
    --offset: 57px;
}

.menu.active svg path:nth-child(1),
.menu.active svg path:nth-child(3) {
    --delay: 0.15s;
    --easing: cubic-bezier(0.2, 0.4, 0.2, 1.1);
}

.menu.active svg path:nth-child(2) {
    --duration: 0.4s;
    --offset: 2px;
    --array-1: 1px;
}

.menu.active svg path:nth-child(3) {
    --offset: 58px;
}

main {
    flex: 1;
    padding: 3rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.hero {
    text-align: center;
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-green) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    color: white;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.content-card {
    background: white;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.content-card h1 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-card h2 {
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem 0;
}

.content-card p, .content-card ul {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.content-card ul {
    padding-left: 20px;
}

.mail-btn {
    background: var(--text-dark);
    color: white;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-block;
    margin-left: 8px;
    transition: background 0.3s ease;
    vertical-align: middle;
}

.mail-btn:hover {
    background: var(--primary-yellow);
    color: white;
}

footer {
    text-align: center;
    padding: 2rem;
    background: white;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

@media screen and (max-width: 768px) {
    .menu {
        display: block; 
    }

    nav {
        position: absolute;
        top: calc(100% + 15px);
        right: 5%;
        width: 220px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
        padding: 8px 0;
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-15px);
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
    }

    nav::before {
        content: '';
        position: absolute;
        top: -6px;
        right: 18px;
        width: 14px;
        height: 14px;
        background: white;
        transform: rotate(45deg);
        border-radius: 2px;
        box-shadow: -2px -2px 5px rgba(0,0,0,0.03);
        z-index: -1;
    }

    nav.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    nav a {
        margin: 0;
        padding: 12px 20px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-dark);
        text-align: left;
        border-bottom: 1px solid #f5f5f5;
        transition: background 0.2s ease, color 0.2s ease;
    }

    nav a:last-child {
        border-bottom: none;
    }

    nav a:hover, nav a:active {
        background: #fafafa;
        color: var(--primary-yellow);
    }
}
