/*
    Vincent OS Website, The website of Vincent OS.
    Copyright (C) 2022 - 2024 - v38armageddon

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

/*
    ==========================================================================
    SUPPORT PAGE STYLES (css/support.css)
    Only used by support.html. Shared styles (header, footer, colors, fonts,
    parallax background) are in css/main.css.
    Contents:
      1. Support section
      2. Title and intro
      3. Contact cards
      4. Phones (760px wide or less)
    ==========================================================================
*/


/* ==========================================================================
   1. SUPPORT SECTION
   ========================================================================== */

/* Fills the screen so the footer reaches the bottom (130px = footer height) */
.support {
    min-height: calc(100vh - 130px);
}


/* ==========================================================================
   2. TITLE AND INTRO (centered, like the about section on the home page)
   ========================================================================== */

.support__intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* "Help and support" */
.support__intro h1 {
    margin-bottom: 24px;
    font-size: 36px;
}

/* Intro paragraph */
.support__intro p {
    font-size: 15px;
    line-height: 1.7;
}

/* "How to contact us?" */
.support__heading {
    margin: 64px 0 32px;
    font-size: 26px;
    text-align: center;
}


/* ==========================================================================
   3. CONTACT CARDS (same dark panel and green line as the home page bands)
   ========================================================================== */

/* Row of cards: as many per row as fit */
.support__channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* One card */
.channel {
    padding: 32px 28px;
    background: rgba(11, 13, 12, 0.55);
    border-top: 1px solid rgba(74, 175, 68, 0.35);
}

/* Card name ("Forum", "GitHub"...) */
.channel h3 {
    margin-bottom: 14px;
    font-size: 20px;
}

/* Card text */
.channel p {
    font-size: 15px;
    line-height: 1.7;
}

/* Card link */
.channel .channel__link {
    margin-top: 14px;
    overflow-wrap: anywhere;
}

.channel .channel__link + .channel__link {
    margin-top: 4px;
}


/* ==========================================================================
   4. PHONES (screens 760px wide or less)
   ========================================================================== */

@media (max-width: 760px) {

    .support__intro h1 {
        font-size: 28px;
    }

    .support__heading {
        margin: 44px 0 24px;
        font-size: 22px;
    }

    /* Tighter cards, stacked by the grid */
    .support__channels {
        gap: 16px;
    }

    .channel {
        padding: 24px 20px;
    }
}
