/* Home page styles */

@font-face {
    font-family: 'cakefont';
    src: url('../font/cakedingbats-webfont.eot');
    src: url('../font/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'),
    url('../font/cakedingbats-webfont.woff2') format('woff2'),
    url('../font/cakedingbats-webfont.woff') format('woff'),
    url('../font/cakedingbats-webfont.ttf') format('truetype'),
    url('../font/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ===== Base ===== */
body.landing-page {
    margin: 0;
    padding: 0;
    background: #f6f4f1;
    color: #1f1f1f;
    font-family: Arial, Helvetica, sans-serif;
}

body.landing-page a {
    text-decoration: none;
}

.container {
    width: 88%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ===== Header / Nav ===== */
.site-header {
    padding: 28px 0 18px;
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.site-logo a {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    color: #4a433d;
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s ease;
}

.site-nav a:hover {
    color: #c46b36;
}

.site-nav a.active {
    color: #c46b36;
    font-weight: 700;
}

/* nav right button */
.nav-login {
    padding: 16px 34px;
    border: 2px solid #c46b36;
    border-radius: 999px;
    color: #c46b36 !important;
    font-weight: 600;
    background: transparent;
    display: inline-block;
    line-height: 1;
}

.nav-login:hover {
    background: #c46b36;
    color: #ffffff !important;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 34px 0 60px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.hero-text {
    flex: 1;
    max-width: 620px;
}

.hero-label {
    color: #c46b36;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.hero-text h1 {
    margin: 0 0 24px;
    font-size: 6rem;
    line-height: 1.03;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1.5px;
}

.hero-description {
    margin: 0;
    font-size: 2rem;
    line-height: 1.7;
    color: #5f5a56;
}

/* ===== Hero Image ===== */
.hero-image {
    flex: 1;
    max-width: 560px;
    aspect-ratio: 4 / 3;
    background: #ffffff;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.10);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== About Section ===== */
.about-section {
    padding: 0 0 80px;
}

.about-card {
    background: #fbfaf8;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.about-card p {
    margin: 0 0 18px;
    font-size: 1.7rem;
    line-height: 1.85;
    color: #5f5a56;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* ===== Optional old Cake classes kept safe ===== */
.text-center {
    text-align: center;
}

.links a {
    margin-right: 10px;
}

.release-name {
    color: #D33C43;
    font-weight: 400;
    font-style: italic;
}

.bullet:before {
    font-family: 'cakefont', sans-serif;
    font-size: 18px;
    display: inline-block;
    margin-left: -1.3em;
    width: 1.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: -1px;
}

.success:before {
    color: #88c671;
    content: "\0056";
}

.problem:before {
    color: #d33d44;
    content: "\0057";
}

.cake-error {
    padding: 10px;
    margin: 10px 0;
}

#url-rewriting-warning {
    display: none;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px;
    }

    .hero-container {
        flex-direction: column;
        gap: 36px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 4.5rem;
    }

    .hero-image {
        max-width: 100%;
        min-height: 420px;
    }
}

@media (max-width: 576px) {
    .site-logo a {
        font-size: 2rem;
    }

    .site-nav a {
        font-size: 1.6rem;
    }

    .nav-login {
        padding: 14px 26px;
    }

    .hero-text h1 {
        font-size: 3.4rem;
    }

    .hero-description {
        font-size: 1.7rem;
    }

    .about-card {
        padding: 24px;
    }

    .about-card p {
        font-size: 1.55rem;
    }
}
