/* button */
.push-button {
    position: relative; /* needed for the pseudo-element */
    appearance: none;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.5em 1.5em;
    font-size: clamp(0px, 5vw, 25px);
    font-weight: 600;
    letter-spacing: 0.35px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1;
    transition:
    transform 160ms cubic-bezier(.2,.9,.2,1),
    box-shadow 160ms cubic-bezier(.2,.9,.2,1),
    background-color 160ms cubic-bezier(.2,.9,.2,1),
    color 160ms cubic-bezier(.2,.9,.2,1);
    box-shadow: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* small line under the button - now always visible, but less intense by default */
.push-button::after {
    content: "";
    position: absolute;
    left: 10%;                 /* start a little inside the button */
    right: 10%;                /* end a little inside the button */
    bottom: 4px;               /* distance from bottom of button */
    height: 2px;               /* thickness of the line */
    background-color: var(--accent);
    border-radius: 1px;        /* slightly rounded edges */
    opacity: 0.4;              /* less intense by default */
    transition: left 0.3s ease, right 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

/* On hover: make line grow and full intensity */
.push-button:hover::after {
    left: 5%;
    right: 5%;
    background-color: #ffffff; /* full white on hover */
    opacity: 1;
}
    /* hover & focus: reveal background and glow */
.push-button:hover,
.push-button:focus{
    background-color: var(--accent);      /* filled on hover/focus */
    color: #ffffff;                       /* white text when filled */
    box-shadow: 0 10px 30px rgba(32,77,159,0.18);
    transform: translateY(-3px);
    outline: none;
}

/* keyboard focus accessibility */
.push-button:focus-visible{
    outline: 3px solid rgba(32,77,159,0.18);
    outline-offset: 4px;
}

/* active (pressed) state: pushed-down look */
.push-button:active{
    transform: translateY(-1px);
    background-color: var(--accent-darker); /* slightly darker while pressing */
    box-shadow: 0 6px 18px rgba(22,55,111,0.22), inset 0 2px 6px rgba(0,0,0,0.12);
}

/* disabled variant (optional) */
.push-button[disabled]{
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Home button - UPDATED */
.house-button {
    /* --- ADD THESE LINES --- */
    -webkit-appearance: none; /* Removes default iOS styling */
    appearance: none;         /* Standard property for removing default styling */
    padding: 0;               /* Explicitly remove any default padding */

    /* --- Unchanged properties below --- */
    background-color: #0031ae71;
    border: none;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: pulse-on-load 1.2s ease-out;
}

.house-button:hover {
    transform: scale(1.5);
}

.house-button svg {
    /* --- CHANGE THESE LINES --- */
    width: 55%;  /* Use a relative size */
    height: 55%; /* Use a relative size */

    /* --- Unchanged property below --- */
    fill: currentColor;
}

@keyframes pulse-on-load {
    0% {
        transform: scale(1.5); /* Start larger */
    }
    100% {
        transform: scale(1);   /* End at original size */
    }
}



/* social links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;  /* center horizontally */
  margin-top: auto;
  margin-bottom: 2rem;
}

.social-button {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2.2rem;
    cursor: pointer;
    transition:
    background-color 160ms cubic-bezier(.2,.9,.2,1),
    color 160ms cubic-bezier(.2,.9,.2,1),
    transform 160ms cubic-bezier(.2,.9,.2,1),
    box-shadow 160ms cubic-bezier(.2,.9,.2,1);
    text-decoration: none;
}

.social-button:hover,
.social-button:focus {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32,77,159,0.18);
    outline: none;
}

.social-button:focus-visible {
    outline: 2px solid rgba(32,77,159,0.18);
    outline-offset: 2px;
}

.social-button:active {
    transform: translateY(0);
}