html {
    overflow-x: hidden;
}
body{
    background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_2k.webp");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.skip-link {
    position: absolute;
    left: 1rem;
    top: -3.5rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: #000;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    border-radius: 0 0 12px 12px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}
.navbar {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 4vw, 80px);
    padding: clamp(20px, 5vw, 80px) 0.5rem clamp(10px, 2vw, 40px) 0.5rem;
    width: 90%;
    margin: 0 auto;
}
.nav-link img {
    width: 90%;
    filter: drop-shadow(8px 8px 16px rgba(0, 0, 0, 0.8));
    transition: transform 0.2s;
}
.nav-link:hover img,
.nav-link:focus-visible img,
.nav-link.is-active img {
    transform: scale(1.1);
    filter: none;
}
.nav-link {
    border-radius: 18px;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: none) {
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 16px 0;
    }
}
.nav-link:focus-visible {
    outline: 4px solid rgba(0, 0, 0, 0.85);
    outline-offset: 8px;
}
.content {
    flex: 1;
    position: relative;
    margin: -3rem auto 0;
    width: 75%;
    padding: 40px 80px;
    padding-bottom: 120px;
    text-align: center;
}
.content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: none;
    z-index: -1;
}
.content.no-bg {
    padding-bottom: 200px;
}
.page-header {
    max-width: 1200px;
    margin: 0 auto 2rem;
    text-align: center;
}
.page-header h1 {
    margin: 0 0 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    color: #000;
}
.page-header p {
    margin: 0 auto;
    max-width: 900px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.6;
    color: #111;
}
.stack-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: clamp(1rem, 2vw, 2rem);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}
.content.no-bg::before {
    background-image: none;
}
.content > img {
    max-width: 80%;
    height: auto;
}
.hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    margin-top: 13rem;
    padding: 0;
}
.hero-text-left,
.hero-text-right {
    flex: 1;
    color: #111;
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    text-align: center;
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    margin: 0 0 10px 0;
    color: #000;
}
.hero-text-left p,
.hero-text-right p {
    font-family: 'Manrope', sans-serif;
    color: #111;
    margin: 0;
}
.hero-text-left .hero-text-box {
    margin-left: 120px;
    margin-right: 20px;
}
.hero-text-right .hero-text-box {
    margin-right: 120px;
    margin-left: 20px;
}
.hero-text-box {
    background-image: url("../images/panel.png");
    background-size: 120% 120%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.hero img {
    width: 39%;
    min-width: 200px;
    flex-shrink: 0;
    height: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 40%, #e0e0e0 100%);
    padding: 10px;
    border-radius: 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

/* Cookie Notice */
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 100;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
#cookie-notice p {
    margin: 0;
    line-height: 1.5;
}
#cookie-notice a {
    color: #fff;
    text-decoration: underline;
}
#cookie-notice button {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: none;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}
#cookie-notice button:hover {
    background-color: #fff;
    color: #000;
}

/* Pulsate animation */
.pulsate {
    animation: pulsate-color 2s ease-in-out infinite;
    font-weight: bold;
}
@keyframes pulsate-color {
    0%   { color: #ff0000; }
    25%  { color: #ff00ff; }
    50%  { color: #00ccff; }
    75%  { color: #00ff66; }
    100% { color: #ff0000; }
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #f0f0f0 0%, #fff 40%, #e8e8e8 100%);
    padding: 16px 32px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    color: #000;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3), 0 -2px 6px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border-top: 3px solid rgba(255, 255, 255, 0.8);
}
.site-footer a {
    color: #000;
    text-decoration: underline;
    margin: 0 20px;
}
.site-footer a:hover {
    opacity: 0.6;
}
.site-footer .footer-links {
    margin-bottom: 16px;
}
.site-footer .footer-copy {
    font-size: 0.68rem;
    opacity: 0.6;
}

/* 4K Desktop (3840px and up) */
@media (min-width: 3840px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_4k.webp");
    }
}

/* 1920px */
@media (max-width: 1920px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero-text-left,
    .hero-text-right {
        font-size: 1.3rem;
    }
    .hero-text-left .hero-text-box {
        margin-left: 80px;
        margin-right: 15px;
    }
    .hero-text-right .hero-text-box {
        margin-right: 80px;
        margin-left: 15px;
    }
}

/* 1440px */
@media (max-width: 1440px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_1366.webp");
    }
    .content {
        width: 80%;
        padding: 60px;
    }
    .hero {
        gap: 15px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-text-left,
    .hero-text-right {
        font-size: 1.2rem;
    }
    .hero-text-left .hero-text-box {
        margin-left: 40px;
        margin-right: 10px;
    }
    .hero-text-right .hero-text-box {
        margin-right: 50px;
        margin-left: 10px;
    }
}

/* 1366px */
@media (max-width: 1366px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_1366.webp");
    }
    .content {
        width: 85%;
        padding: 30px;
    }
    .hero {
        flex-direction: column;
        gap: 10px;
    }
    .hero img {
        width: 60%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-text-left,
    .hero-text-right {
        font-size: 1.1rem;
    }
    .hero-text-left .hero-text-box {
        margin-left: 20px;
    }
    .hero-text-right .hero-text-box {
        margin-right: 20px;
    }
    .hero-text-box {
        padding: 15px;
        border-radius: 16px;
    }
}

/* 1080px */
@media (max-width: 1080px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_1080p.webp");
    }
    .content {
        width: 90%;
        padding: 20px;
    }
    .hero {
        flex-direction: column;
        gap: 15px;
    }
    .hero img {
        width: 50%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-text-left,
    .hero-text-right {
        font-size: 1rem;
    }
    .hero-text-left .hero-text-box {
        margin-left: 0;
    }
    .hero-text-right .hero-text-box {
        margin-right: 0;
    }
    .hero-text-box {
        padding: 12px;
        border-radius: 12px;
    }
}

/* 720px */
@media (max-width: 720px) {
    #cookie-notice { flex-direction: column; }
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_720p.webp");
    }
    .navbar {
        gap: 10px;
    }
    .nav-link {
        padding: 16px 8px;
    }
    .nav-link img {
        height: 44px;
        width: auto;
        filter:
            drop-shadow(2px 2px 0px #000)
            drop-shadow(4px 4px 0px rgba(0,0,0,0.6))
            drop-shadow(6px 6px 0px rgba(0,0,0,0.3))
            drop-shadow(0px 10px 14px rgba(0,0,0,0.5));
    }
    .content {
        width: 95%;
        padding: 15px;
    }
    .hero {
        flex-direction: column;
        gap: 10px;
        margin-top: 6rem;
    }
    .hero img {
        width: 70%;
    }
    .site-footer a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-text-left,
    .hero-text-right {
        font-size: 1.2rem;
    }
    .hero-text-left .hero-text-box,
    .hero-text-right .hero-text-box {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-text-box {
        padding: 10px;
        border-radius: 10px;
    }
}

/* 460px */
@media (max-width: 460px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_460.webp");
    }
}

/* 430px */
@media (max-width: 430px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_430.webp");
    }
    .navbar {
        gap: 5px;
    }
    .nav-link {
        padding: 16px 4px;
    }
    .nav-link img {
        height: 26px;
        width: auto;
        filter:
            drop-shadow(1px 1px 0px #000)
            drop-shadow(3px 3px 0px rgba(0,0,0,0.6))
            drop-shadow(5px 5px 0px rgba(0,0,0,0.3))
            drop-shadow(0px 7px 10px rgba(0,0,0,0.5));
    }
    .content::before {
        background-image: none;
    }
}

/* 390px - Mobile */
@media (max-width: 390px) {
    body {
        background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../images/house/house_430.webp");
    }
    .navbar {
        gap: 5px;
        padding: 10px 0 5px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        padding: 16px 2px;
    }
    .nav-link img {
        height: 26px;
        width: auto;
    }
    .content {
        width: 98%;
        padding: 8px;
    }
    .content::before {
        background-image: none;
    }
    .hero {
        flex-direction: column;
        gap: 8px;
        margin-top: 3rem;
    }
    .site-footer a {
        margin: 0 6px;
    }
    .site-footer .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    .hero img {
        width: 80%;
        padding: 5px;
        border-radius: 20px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-text-left,
    .hero-text-right {
        font-size: 0.85rem;
    }
    .hero-text-left .hero-text-box,
    .hero-text-right .hero-text-box {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-text-box {
        padding: 8px;
        border-radius: 8px;
    }
}

