:root {
    /* Color scheme declaration */
    color-scheme: light dark;
    /* Light Mode Colors */
    --clr-light-background: #e8e6dc;
    --clr-light-background-content: #d8d6cc;
    --clr-light-text: #3a3a38;
    --clr-light-primary: #7a7870;
    --clr-light-secondary: #8f8f87;
    --clr-light-surface: #dedad0;
    --clr-light-success: #a8a69c;
    --clr-light-warning: #9e9c92;
    --clr-light-danger: #88867c;
    --clr-light-info: #aea8a0;
    /* Dark Mode Colors */
    --clr-dark-background: #0a0a0a;
    --clr-dark-background-content: #1a1a1a;
    --clr-dark-text: #e0e0e0;
    --clr-dark-primary: #707070;
    --clr-dark-secondary: #888888;
    --clr-dark-surface: #2a2a2a;
    --clr-dark-success: #606060;
    --clr-dark-warning: #686868;
    --clr-dark-danger: #505050;
    --clr-dark-info: #787878;
    /* Theme-Aware Custom Properties */
    --bg-color: light-dark(
        var(--clr-light-background),
        var(--clr-dark-background)
    );
    --bg-color-content: light-dark(
        var(--clr-light-background-content),
        var(--clr-dark-background-content)
    );
    --txt-color: light-dark(var(--clr-light-text), var(--clr-dark-text));
    --primary-color: light-dark(
        var(--clr-light-primary),
        var(--clr-dark-primary)
    );
    --secondary-color: light-dark(
        var(--clr-light-secondary),
        var(--clr-dark-secondary)
    );
    --surface-color: light-dark(
        var(--clr-light-surface),
        var(--clr-dark-surface)
    );
    --success-color: light-dark(
        var(--clr-light-success),
        var(--clr-dark-success)
    );
    --warning-color: light-dark(
        var(--clr-light-warning),
        var(--clr-dark-warning)
    );
    --danger-color: light-dark(var(--clr-light-danger), var(--clr-dark-danger));
    --info-color: light-dark(var(--clr-light-info), var(--clr-dark-info));
}

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

html,
body {
    height: 100%;
    overflow: hidden;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}

/* Navigation */
nav {
    background-color: var(--bg-color-content);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.logo {
    font-size: xx-large;
    font-weight: bold;
    min-width: fit-content;
    font-family: Rockwell Extra Bold;
}

.nav-buttons {
    display: flex;
    gap: 20px;
}

/* Main Content */
main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 90px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

/* Footer */
footer {
    background-color: var(--bg-color-content);
    padding: 15px 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    color: var(--txt-color);
    word-wrap: break-word;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
}
.link {
    text-decoration: underline;
}
.link:hover {
    scale: 1.02;
    transition-duration: 0.25s;
}
/* Buttons */
.button {
    background-color: var(--secondary-color);
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-block;
    color: var(--txt-color);
    text-decoration: none;
    transition: transform 0.25s;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

.button:hover {
    transform: scale(1.02);
    transition: transform 0.25s;
}

.button:focus {
    outline: none;
}

/* Utilities */
.border-top {
    border-top: 2px solid var(--secondary-color);
    border-radius: 8px 8px 0 0;
}

.border-bottom {
    border-bottom: 2px solid var(--secondary-color);
    border-radius: 0 0 8px 8px;
}

.Cat-Img-coming-soon {
    margin: 15px auto 0;
    width: auto;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    display: block;
}

.spacer {
    height: 10px;
}
.link-button {
    display: inline-block;
    color: var(--txt-color);
    text-decoration: none;
    transition: transform 0.25s;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    text-decoration: underline;
}
.link-button:hover {
    transform: scale(1.02);
    transition: transform 0.25s;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 992px) {
    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: x-large;
    }

    .nav-buttons {
        gap: 15px;
    }

    main {
        padding-top: 90px;
        padding-bottom: 80px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE LANDSCAPE
   ======================================== */
@media (max-width: 768px) {
    nav {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .logo {
        font-size: 20px;
        width: 100%;
        text-align: left;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .nav-buttons .button {
        width: 100%;
        padding: 8px 16px;
    }

    main {
        padding-top: 140px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 70px;
    }

    footer {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.95rem;
    }

    .Cat-Img-coming-soon {
        margin: 10px auto 0;
    }

    .spacer {
        height: 8px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE PORTRAIT
   ======================================== */
@media (max-width: 480px) {
    nav {
        padding: 10px 12px;
        gap: 6px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-buttons {
        gap: 5px;
    }

    .nav-buttons .button {
        padding: 7px 12px;
        font-size: 0.9rem;
    }

    main {
        padding-top: 130px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 60px;
    }

    footer {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.9rem;
    }

    .Cat-Img-coming-soon {
        margin: 8px auto 0;
        border-radius: 6px;
    }

    .spacer {
        height: 6px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ======================================== */
@media (max-width: 360px) {
    nav {
        padding: 8px 10px;
        gap: 5px;
    }

    .logo {
        font-size: 16px;
    }

    .nav-buttons {
        gap: 4px;
    }

    .nav-buttons .button {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    main {
        padding-top: 120px;
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 55px;
    }

    footer {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.85rem;
    }

    .spacer {
        height: 5px;
    }
}
/* ========================================
   RESPONSIVE DESIGN - Gradual Height Adjustments
   ======================================== */

/* Large landscape tablets and small laptops */
@media (max-height: 900px) {
    main {
        padding-block: 120px 70px;
    }

    .Cat-Img-coming-soon {
        max-height: 500px;
        object-fit: contain;
    }
}

/* Standard landscape tablets */
@media (max-height: 800px) {
    main {
        padding-block: 100px 60px;
    }

    .Cat-Img-coming-soon {
        max-height: 400px;
    }
}

/* Landscape mobile (large phones) */
@media (max-height: 700px) {
    main {
        padding-block: 90px 55px;
    }

    .Cat-Img-coming-soon {
        max-height: 300px;
    }
}

/* Landscape mobile (standard phones) */
@media (max-height: 600px) {
    main {
        padding-block: 80px 50px;
    }

    .Cat-Img-coming-soon {
        max-height: 200px;
        opacity: 0.7;
    }
}

/* Landscape mobile (small phones) */
@media (max-height: 500px) {
    main {
        padding-block: 70px 45px;
    }

    .Cat-Img-coming-soon {
        max-height: 150px;
        opacity: 0.4;
    }
}

/* Very short viewports - hide image */
@media (max-height: 400px) {
    main {
        padding-block: 60px 40px;
    }

    .Cat-Img-coming-soon {
        display: none;
    }
}
