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

:root {
    --background: #fff;
    --foreground: #111;
    --accent: #111;
    --text: #111;
    --muted: #444;
    --entry-bg: #f8f8f8;
    --border: #e5e5e5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
    letter-spacing: 0.01em;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('../images/home/home2-davos-lake.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 30vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    padding: 0 2rem;
    transition: all 0.5s ease;
    /* justify-content: flex-start;
    transition: padding-top 0.5s ease, min-height 0.5s ease; */
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
    /* transition: font-size 0.5s ease, margin-bottom 0.5s ease; */
    transition: all 0.5s ease;
}

/* Welcome Message */
.welcome-message {
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
    margin: 0;
    padding-top: 10vh;
}

.text-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transition: all 0.5s ease;
    /* transition: max-width 0.5s ease, width 0.5s ease, padding 0.5s ease; */
}

.welcome-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: black;
    text-align: center;
    font-style: italic;
    transition: all 0.5s ease;
    /* transition: font-size 0.5s ease, line-height 0.5s ease; */
}

/* Footer */
footer {
    background-color: #f8f8f8;
    padding: 0.5rem;
    text-align: center;
    border-top: 0.5px solid #eee;
    font-size: 0.85rem;
}

footer p {
    margin: 0;
    color: #666;
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 35vh;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 25rem;
    }

    .welcome-message {
        padding-top: 8vh;
    }

    .text-box {
        width: 90%;
        max-width: 500px;
        padding: 1.2rem 1.5rem;
    }

    .welcome-text {
        font-size: 0.85rem;
    }
}