/* ==================================================
   TTA - Main Stylesheet
   Author: Jakub Dyrcik
   Year: 2026
   ================================================== */


/* ==================================================
   GLOBAL / BASE STYLES
   ================================================== */

:root {
    --main-color: #000;
    --bg: #ffffff;
    --bg-muted: #f5f5f5;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --text-second: #000;
    --text-purpl: #9578ff;      /* purple text */
    --accent: #7b5cff;         /* purple button highlight */
    --accent-hover: rgb(149, 120, 255); /* */
    --feature-line: #7b5cff;
    --text-font-main: 'Hammersmith One', sans-serif;
    --text-font-second: 'Inter', sans-serif;
    --text-size-main: 1.2rem;
    --text-size-second: 1.8rem;
    --text-size-biggest: 2.1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--main-color);
    font-family: var(--text-font-main);
    color: var(--main-color);
    overflow-x: hidden;
}

main{
    width: 100%;
}

h1 {
    font-family: var(--text-font-main);
}

h2, h3, h4, h5, h6{
    font-family: var(--text-font-second);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

section h1 {
    margin: 0;
    font-family: var(--text-font-main);
    font-size: clamp(1.6rem, 2.4vw, 2.05rem);
    line-height: 1.35;
    letter-spacing: 0.5px;
}

section h3{
    margin: 0;
    color: var(--text-purpl);
    font-family: var(--text-font-second);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

section p {
    margin: 1.15rem 0 0;
    font-family: var(--text-font-second);
    font-size: var(--text-size-main);
    font-weight: 500;
    line-height: 1.65;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header-menu {
    width: 100%;
    background: var(--main-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header-menu .navbar {
    display: flex;
    
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 1rem 2rem 0 2rem;
    
}


.box-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.box-left{
    display: flex;
    align-items: center;
    
}

.box-right{
    display: flex;
    align-items: center;
}


.box-two > div {
    min-width: 0;
}

.box-two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}



/* --------------------------------------------------
   BUTTON
   -------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 1.15rem 2rem;
    border-radius: 10px;
    background-color: var(--accent);
    color: var(--text-main);
    font-family: var(--text-font-main);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(123, 92, 255, 0.4);
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover,
.btn:focus-visible {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(123, 92, 255, 0.6);
}


@media (max-width: 900px){
    .box-two{
        grid-template-columns: 1fr;
        align-items: start;
    }
}