/* =========================
 *  BASIS
 *  ========================= */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url("img/background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgb(57, 255, 20);
}

h1, h2, h3, h4 {
    color: rgb(255, 183, 0);
    margin-top: 0;
}

p, li {
    line-height: 1.6;
}

header {
    width: 100%;
}

main {
    width: 80%;
    padding: 10px;
    text-align: center;
    background-color: rgba(36, 36, 36, 0.8);
}

/* =========================
 *  NAVIGATIE
 *  ========================= */

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    background-color: rgb(36, 36, 36);
    text-align: center;
}

.buttons a {
    background-color: #000000;
    color: rgb(255, 183, 0);
    padding: 15px 32px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.buttons a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* =========================
 *  LIJNEN
 *  ========================= */

.hr,
.hrtop {
    border: none;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.hr {
    border-top: 3px solid rgb(57, 255, 20);
    display: none;
    opacity: 0.5;
}

.hrtop {
    border-top: 3px solid #4b4b4b;
}

/* =========================
 *  INDEX - TITEL EN LETTERS
 *  ========================= */

#openline {
margin: 0 auto;
width: 50%;
padding: 8px 12px;
text-align: center;
background-color: rgba(36, 36, 36, 0.8);
}

.letters {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 60px;
    text-align: center;
    color: rgb(57, 255, 20);
    font-weight: 1000;
    letter-spacing: 5px;
    flex-wrap: wrap;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
    text-shadow:
    -1px 1px 0 #000,
    -2px 2px 0 #000,
    -3px 3px 0 #000,
    -4px 4px 0 #000,
    -5px 5px 0 #000,
    -6px 6px 0 #000,
    -7px 7px 0 #000;
}

/* =========================
 *  INDEX - INTRO STAGE / LAYERS
 *  ========================= */

.intro-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hidden-content {
    position: relative;
    z-index: 1; /* layer 0 */
    width: 100%;
}

.hidden-content .panel {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1.2s ease-in-out;
    width: 100%;
    min-height: 420px;
    padding: 30px 20px;
    font-size: 20px;
}

.expl {
    color: rgb(255, 183, 0);
    font-size: 24px;
    font-weight: bold;
    text-shadow:
    -1px 1px 0 #000,
    -2px 2px 0 #000,
    -3px 3px 0 #000,
    -4px 4px 0 #000,
    -5px 5px 0 #000;
}

.intro-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hidden-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hidden-content .panel {
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1.2s ease-in-out;
    width: 100%;
    min-height: 420px;
    padding: 30px 20px;
    font-size: 20px;
}

.intro-overlay {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    transition: transform 5.5s ease-in-out;
    will-change: transform;
}

.intro-overlay.intro-fall {
    transform: translateY(235%);
}

.intro-overlay.intro-hidden {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.intro-overlay img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.intro-landing {
    width: 100%;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s ease, transform 1s ease;
    margin-top: 0;
}

.intro-landing.show {
    opacity: 1;
    transform: translateY(0);
}

#swatLogo {
width: 100%;
max-height: 70vh;
object-fit: cover;
object-position: center;
display: block;
}

#swatLogo1 {
width: 50%;
height: auto;
display: block;
margin: 0 auto 20px auto;
max-width: 100%;
}

/* =========================
 *  ABOUT PAGE
 *  ========================= */

#aboutCompany {
max-width: 900px;
margin: 0 auto;
padding: 20px 15px;
}

.texturl {
    color: rgb(255, 183, 0);
    font-weight: bold;
    text-decoration: none;
}

.texturl:hover {
    text-decoration: underline;
}

/* =========================
 *  FOUNDER PAGE
 *  ========================= */

#founderPage {
max-width: 1000px;
margin: 0 auto;
padding: 20px 15px;
}

.founder-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.founder-photo {
    width: 150px;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.founder-text h1,
.founder-text h2,
.founder-text h3 {
    margin-bottom: 10px;
}

.tagline {
    font-style: italic;
    margin: 10px 0;
}

.content-block {
    margin: 30px auto;
    max-width: 900px;
}

.simple-list {
    list-style-position: inside;
    padding-left: 0;
    margin: 15px 0;
}

.cv-button {
    display: inline-block;
    padding: 10px 18px;
    background-color: #17324d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.2s ease;
}

.cv-button:hover {
    background-color: #0f2236;
    box-shadow: 0 0 8px rgba(23, 50, 77, 0.6);
}

/* =========================
 *  CONTACT PAGE
 *  ========================= */

#contact {
width: 80%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.contact-wrapper {
    width: 100%;
    text-align: center;
}

.contact-intro {
    font-size: 18px;
    margin-bottom: 25px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
    margin-top: 30px;
    width: 100%;
    align-items: start;
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: rgba(20, 20, 20, 0.85);
    border: 2px solid rgb(57, 255, 20);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.contact-card h4 {
    color: rgb(255, 183, 0);
    margin-bottom: 12px;
    font-size: 22px;
}

.contact-card p {
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.25s ease;
    min-width: 160px;
    margin-bottom: 12px;
}

.email-btn {
    background-color: #17324d;
    color: white;
}

.email-btn:hover {
    background-color: #0f2236;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 14px rgba(46, 204, 113, 0.7);
}

.discord-btn {
    background-color: #5865F2;
    color: white;
    border: none;
    cursor: pointer;
}

.discord-btn:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.8);
}

.github-btn {
    background-color: #000000;
    color: rgb(255, 183, 0);
    border: 1px solid rgb(255, 183, 0);
}

.github-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.4);
}

.phone-btn {
    background: linear-gradient(135deg, #1f6f3d, #2ecc71);
    color: white;
    border: none;
    cursor: pointer;
}

.phone-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 14px rgba(46, 204, 113, 0.7);
}

.phone-icon {
    font-size: 18px;
}

.embed-section {
    margin-top: 40px;
}

.embed-section h4 {
    color: rgb(255, 183, 0);
    margin-bottom: 10px;
    font-size: 24px;
}

.embed-text {
    margin-bottom: 15px;
}

.embed-box {
    width: 100%;
    background-color: rgba(20, 20, 20, 0.85);
    border: 2px solid rgb(57, 255, 20);
    border-radius: 10px;
    padding: 12px;
    overflow: hidden;
}

.embed-box iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
}

/* =========================
 *  DISCORD CONTACT FORM
 *  ========================= */

.discord-form-intro {
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.5;
    color: rgb(57, 255, 20);
}

.discord-contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group-small {
    max-width: 100%;
}

.form-group label {
    font-size: 15px;
    font-weight: bold;
    color: rgb(255, 183, 0);
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(57, 255, 20, 0.55);
    border-radius: 8px;
    background-color: rgba(10, 10, 10, 0.9);
    color: white;
    font-size: 15px;
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgb(57, 255, 20);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.35);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.5;
}

.discord-contact-form button {
    width: 100%;
    font-size: 16px;
    margin-top: 4px;
}

.form-status {
    min-height: 22px;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: rgb(255, 183, 0);
    text-align: center;
}

/* =========================
 *  TABLET
 *  ========================= */

@media (max-width: 1024px) {
    #openline {
    width: 70%;
    }

    main {
        width: 90%;
    }

    #swatLogo1 {
    width: 70%;
    }

    .letters {
        font-size: 48px;
        gap: 8px;
    }

    .discord-contact-form {
        gap: 16px;
    }

    .form-group textarea {
        min-height: 160px;
    }
}

/* =========================
 *  SMARTPHONE PORTRET
 *  ========================= */

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    #openline {
    width: 90%;
    padding: 10px;
    }

    main,
    #contact {
    width: 95%;
    padding: 15px 10px;
    }

    .buttons {
        flex-direction: column;
    }

    .buttons a {
        width: 90%;
        margin: 5px 0;
        padding: 12px 20px;
        font-size: 15px;
    }

    .letters {
        font-size: 36px;
        gap: 6px;
        letter-spacing: 2px;
    }

    .expl {
        font-size: 20px;
    }

    .hidden-content .panel {
        font-size: 17px;
        min-height: 320px;
        padding: 20px 12px;
    }

    #swatLogo1 {
    width: 85%;
    }

    .founder-intro {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .founder-photo {
        width: 120px;
    }

    .founder-text h1 {
        font-size: 26px;
    }

    .tagline {
        font-size: 15px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-card h4 {
        font-size: 20px;
    }

    .contact-card p {
        font-size: 15px;
    }

    .contact-btn {
        width: 100%;
    }

    .embed-section h4 {
        font-size: 20px;
    }

    .discord-form-intro {
        font-size: 14px;
        text-align: left;
    }

    .discord-contact-form {
        gap: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 14px;
        border-radius: 7px;
    }

    .form-group textarea {
        min-height: 150px;
    }

    .discord-contact-form button {
        font-size: 15px;
        padding: 12px 16px;
    }

    .form-status {
        font-size: 13px;
    }
}

/* =========================
 *  SMARTPHONE LANDSCAPE
 *  ========================= */

@media (max-width: 932px) and (orientation: landscape) {
    body {
        background-attachment: scroll;
    }

    #openline {
    width: 92%;
    padding: 8px 12px;
    }

    main,
    #contact {
    width: 96%;
    padding: 12px;
    }

    .buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px;
    }

    .buttons a {
        padding: 10px 18px;
        font-size: 14px;
        width: auto;
        margin: 0;
    }

    .letters {
        font-size: 28px;
        gap: 6px;
        letter-spacing: 2px;
        text-shadow:
        -1px 1px 0 #000,
        -2px 2px 0 #000,
        -3px 3px 0 #000;
    }

    .expl {
        font-size: 18px;
    }

    .hidden-content .panel {
        font-size: 16px;
        min-height: 280px;
        padding: 16px 12px;
    }

    #swatLogo1 {
    width: 40%;
    max-width: 280px;
    }

    .founder-intro {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        text-align: left;
        flex-wrap: nowrap;
    }

    .founder-photo {
        width: 100px;
    }

    .founder-text h1 {
        font-size: 24px;
    }

    .tagline {
        font-size: 14px;
    }

    h2, h3 {
        font-size: 20px;
    }

    p, li {
        font-size: 15px;
    }

    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contact-card h4 {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .contact-btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .embed-box iframe {
        height: 280px;
    }

    .form-group textarea {
        min-height: 130px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@media (max-width: 600px) and (orientation: landscape) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .embed-box iframe {
        height: 220px;
    }
}

/* =========================
 *  ZEER LAGE SCHERMHOOGTE
 *  ========================= */

@media (max-height: 500px) and (orientation: landscape) {
    .letters {
        font-size: 24px;
    }

    .buttons a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .expl {
        font-size: 16px;
    }

    h2, h3 {
        font-size: 18px;
    }

    .founder-photo {
        width: 85px;
    }

    .founder-text h1 {
        font-size: 20px;
    }

    .tagline,
    p,
    li {
        font-size: 14px;
    }
}
