@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800&display=swap');

/* ============================
   RESET & BASE
   ============================ */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

@media only screen and (max-width: 75em) {
    html { font-size: 56.25%; }
}

@media only screen and (max-width: 56.25em) {
    html { font-size: 60%; }
}

@media only screen and (min-width: 112.5em) {
    html { font-size: 75%; }
}

body {
    overscroll-behavior: none;
    box-sizing: border-box;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #777;
}

::selection {
    background-color: #ffb43e;
    color: #fff;
}

/* ============================
   TYPOGRAPHY
   ============================ */
.heading-primary {
    color: #fff;
    text-transform: uppercase;
    backface-visibility: hidden;
    margin-bottom: 6rem;
    font-weight: 800;
    font-size: 10rem;
    line-height: 5rem;
    text-shadow: 3px 3px #777;
}

.heading-primary--main {
    display: block;
    font-size: 8rem;
    font-weight: 800;
}

@media only screen and (max-width: 56.25em) {
    .heading-primary--main {
        letter-spacing: 1rem;
        font-size: 3rem;
    }
}

.heading-primary--sub {
    display: block;
    font-size: 4rem;
    line-height: 8rem;
    font-weight: 700;
}

@media only screen and (max-width: 37.5em) {
    .heading-primary--sub {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.heading-secondary,
.heading-tertiary,
.heading-quarterary {
    color: #000;
    font-style: italic;
}

.heading-secondary {
    font-size: 6rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
}

@media only screen and (max-width: 37.5em) {
    .heading-secondary {
        padding-top: 2rem;
        font-size: 3rem;
        text-align: center;
    }
}

.heading-tertiary {
    font-size: 4rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
}

@media only screen and (max-width: 37.5em) {
    .heading-tertiary {
        font-size: 3rem;
        margin-left: 0;
        text-align: center;
    }
}

.heading-quarterary {
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
}

@media only screen and (max-width: 37.5em) {
    .heading-quarterary {
        font-size: 2rem;
        margin-left: 0;
        text-align: center;
    }
}

.paragraph {
    background-color: inherit;
    font-size: 2rem;
    color: #000;
    margin: 0 2rem;
}

.paragraph:not(:last-child) {
    margin-bottom: 3rem;
}

/* ============================
   HEADER (Parallax Hero)
   ============================ */
header {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: url(/assets/images/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
}

@media only screen and (max-width: 56.25em) {
    header {
        height: 400px;
        background-attachment: scroll;
    }
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    z-index: 100;
    background: linear-gradient(transparent, #fff);
}

header #layer1 {
    position: absolute;
    left: 40%;
    width: 100%;
    transform: translateX(-50%);
    z-index: 10;
}

@media only screen and (max-width: 56.25em) {
    header #layer1 {
        display: none;
    }
}

header #layer2 {
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 9;
}

@media only screen and (max-width: 56.25em) {
    header #layer2 {
        display: none;
    }
}

header #text {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100vh;
    transform: translateY(100%);
}

@media only screen and (max-width: 56.25em) {
    header #text {
        height: 20vh;
    }
}

/* ============================
   NAVIGATION
   ============================ */
.btn {
    position: fixed;
    border: none;
    top: 20px;
    left: 20px;
    background: #fff;
    z-index: 2000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.bar {
    position: absolute;
    width: 50%;
    height: 4px;
    background: #000;
    border-radius: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    transition: all 0.4s ease-in-out;
}

.b1 {
    transform: translate(-50%, -8px);
}

.b2 {
    opacity: 1;
}

.b3 {
    transform: translate(-50%, 8px);
}

.active .b1 {
    transform: translate(-50%) rotate(-135deg);
}

.active .b2 {
    opacity: 0;
}

.active .b3 {
    transform: translate(-50%) rotate(135deg);
}

.menu {
    transition: all 0.4s ease-in-out;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    letter-spacing: 0.2em;
    font-weight: normal;
    text-transform: uppercase;
    word-spacing: -0.2em;
    padding: 97px 117px;
}

@media only screen and (max-width: 37.5em) {
    .menu {
        padding: 30px 40px;
    }
}

.menu a {
    color: #fff;
    transition: color 0.3s;
}

.menu a:hover {
    color: #ffb43e;
}

.menu > ul:not(#languages-menu) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.menu > ul:not(#languages-menu) > li {
    width: 25%;
    min-width: 280px;
    margin: 45px 0 0 0;
    font-size: 14px;
    letter-spacing: 0.2em;
    line-height: 30px;
    font-weight: bold;
    margin: 60px 0;
}

.menu > ul:not(#languages-menu) > li ul {
    margin-top: 27px;
}

.menu > ul:not(#languages-menu) > li ul li {
    font-size: 13px;
    letter-spacing: 0.124em;
    line-height: 30px;
    font-weight: normal;
}

.active .menu {
    background: #88afe3;
    transform: translateX(0);
}

/* Language Switcher */
#languages-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
}

#languages-menu li a {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: bold;
}

#languages-menu li a.active-lang,
#languages-menu li a:hover {
    background: #ffb43e;
}

/* ============================
   MAIN CONTENT
   ============================ */
main {
    padding: 100px;
}

@media only screen and (max-width: 37.5em) {
    main {
        padding: 10px;
    }
}

/* ============================
   WIDGETS
   ============================ */
.widgets-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 2rem;
}

.widget {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.widget h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.widget-weather .weather-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.widget-weather .temperature {
    font-size: 4rem;
    font-weight: 800;
    color: #88afe3;
}

.widget-weather .conditions {
    font-size: 1.6rem;
}

.widget-webcam img,
.widget-webcam iframe {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.widget-snow .snow-data {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.widget-snow .snow-item {
    text-align: center;
}

.widget-snow .snow-value {
    font-size: 3rem;
    font-weight: 700;
    color: #88afe3;
    display: block;
}

.widget-snow .snow-label {
    font-size: 1.4rem;
    color: #777;
}

/* ============================
   CARDS & CTA
   ============================ */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 2rem;
}

.cta-card {
    background: linear-gradient(135deg, #88afe3 0%, #6a8dc9 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

.cta-card h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: #ffb43e;
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: #feb654;
    transform: scale(1.05);
}

/* ============================
   FOOTER
   ============================ */
footer {
    background: #333;
    color: #fff;
    padding: 4rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffb43e;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffb43e;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    font-size: 1.4rem;
}

/* ============================
   UTILITIES
   ============================ */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 4rem;
}
