/* =========================================
   TT-TSHIRT AND SEPT
   MAIN STYLESHEET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #06285f;
    --navy: #031b42;
    --sky-blue: #19a9f5;
    --light-blue: #eaf7ff;
    --white: #ffffff;
    --text: #14213d;
    --muted: #667085;
    --border: #dbe8f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}


/* =========================================
   TOP BAR
========================================= */

.top-bar {
    min-height: 36px;
    padding: 0 5%;
    background: var(--navy);
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 12px;
}

.top-left,
.top-right {
    display: flex;
    gap: 22px;
}

.top-center {
    font-weight: 600;
}


/* =========================================
   HEADER
========================================= */

.header {
    min-height: 78px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: white;

    position: relative;
    z-index: 20;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-symbol {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    color: var(--deep-blue);

    font-size: 26px;
    font-weight: 900;

    border: 3px solid var(--deep-blue);

    position: relative;
}

.logo-symbol::after {
    content: "♛";

    position: absolute;

    top: -20px;

    font-size: 17px;

    background: white;
    padding: 0 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-size: 22px;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 7px;
    text-align: center;
}


/* NAVIGATION */

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;

    font-size: 14px;
    font-weight: 600;
}

.navbar a {
    position: relative;
    padding: 30px 0;
}

.navbar a.active {
    color: var(--sky-blue);
}

.navbar a.active::after {
    content: "";

    position: absolute;
    bottom: 20px;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--sky-blue);
}


/* HEADER ICONS */

.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icons button {
    border: 0;
    background: transparent;
    color: var(--deep-blue);

    cursor: pointer;

    font-size: 24px;
}

.cart-button {
    position: relative;
}

.cart-button span {
    position: absolute;

    top: -7px;
    right: -8px;

    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    background: var(--sky-blue);
    color: white;

    border-radius: 50%;

    font-size: 10px;
}

.menu-button {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 510px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 60px 8%;

    background:
        radial-gradient(
            circle at 80% 20%,
            #168ff0,
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #021638,
            #063b86,
            #087ed1
        );

    color: white;

    overflow: hidden;
}

.hero-content {
    width: 52%;
    position: relative;
    z-index: 3;
}

.hero-small {
    color: #65c9ff;
    font-size: 14px;
    letter-spacing: 5px;
    font-weight: 700;

    margin-bottom: 12px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: .95;
}

.hero h1 span {
    display: inline-block;

    color: var(--sky-blue);

    font-family: cursive;
    font-style: italic;

    margin-left: 10px;
}

.hero h2 {
    margin-top: 22px;

    font-size: 20px;
}

.hero-description {
    max-width: 520px;

    margin-top: 15px;

    color: #e2f4ff;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 30px;
}

.btn {
    padding: 14px 25px;

    border-radius: 30px;

    font-weight: 700;
}

.primary-btn {
    background: var(--sky-blue);
    color: white;
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}


/* HERO PLACEHOLDER */

.hero-image {
    position: absolute;

    right: 4%;
    bottom: 0;

    width: 45%;
    height: 90%;
}

.model-placeholder {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 150px;
    font-weight: 900;

    color: rgba(255,255,255,.15);
}


/* HERO ARROWS */

.slider-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: transparent;
    color: white;

    border: 1px solid white;

    font-size: 30px;

    cursor: pointer;
}

.left-arrow {
    left: 18px;
}

.right-arrow {
    right: 18px;
}


/* DOTS */

.slider-dots {
    position: absolute;

    bottom: 22px;
    left: 50%;

    display: flex;
    gap: 8px;
}

.dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    border: 1px solid white;
}

.dot.active {
    background: white;
}


/* =========================================
   FEATURES
========================================= */

.features {
    width: 92%;
    margin: -20px auto 0;

    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: white;

    border-radius: 14px;

    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.feature {
    padding: 20px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-right: 1px solid var(--border);
}

.feature:last-child {
    border-right: 0;
}

.feature-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--deep-blue);
    color: white;
}

.feature h3 {
    font-size: 14px;
}

.feature p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    padding: 70px 5%;
}

.section-heading {
    text-align: center;

    margin-bottom: 35px;
}

.section-heading p {
    color: var(--sky-blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}

.section-heading h2 {
    margin-top: 7px;

    font-family: Georgia, serif;

    color: var(--deep-blue);

    font-size: 34px;
}


/* =========================================
   CATEGORIES
========================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 18px;
}

.category-card {
    text-align: center;
}

.category-image {
    height: 150px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    font-size: 40px;
    font-weight: 900;

    color: white;

    background: var(--light-blue);

    transition: .3s;
}

.category-card:hover{
    transform: translateY(-10px);
}

.category-card h3 {
    margin-top: 12px;

    font-size: 14px;

    color: var(--deep-blue);
}

.navy-shirt {
    background: linear-gradient(145deg, #dceeff, #bddcff);
    color: var(--deep-blue);
}

.sky-shirt {
    background: linear-gradient(145deg, #dff6ff, #b8e9ff);
    color: #168fd1;
}

.white-shirt {
    background: #f5f7fa;
    color: var(--deep-blue);
}

.black-shirt {
    background: #e7edf5;
    color: #111;
}

.polo-shirt {
    background: #eeeae2;
    color: #67563b;
}

.new-shirt {
    background: #dceeff;
    color: var(--sky-blue);
}


/* =========================================
   PRODUCTS
========================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 15px;
}

.product-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;

    transition: .3s;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.product-image {
    height: ;

    display: grid;
    place-items: center;

    position: relative;

    font-size: 60px;
    font-weight: 900;
}

.navy-product {
    background: #f2f7fc;
    color: var(--deep-blue);
}

.blue-product {
    background: #eaf4ff;
    color: #0d6fc3;
}

.sky-product {
    background: #eafaff;
    color: #24a9e9;
}

.black-product {
    background: #edf0f4;
    color: #151515;
}

.splash-product {
    background: #e5f3ff;
    color: #168fe0;
}

.cream-product {
    background: #f4eee4;
    color: #66563f;
}

.new-badge {
    position: absolute;

    top: 10px;
    left: 10px;

    padding: 5px 8px;

    border-radius: 4px;

    background: var(--sky-blue);
    color: white;

    font-size: 9px;
    font-weight: 800;
}

.wishlist {
    position: absolute;

    top: 8px;
    right: 8px;

    border: 0;

    background: white;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    color: var(--deep-blue);

    cursor: pointer;
}

.product-info {
    padding: 15px;

    text-align: center;
}

.product-info h3 {
    font-size: 14px;
}

.product-info strong {
    display: block;

    margin-top: 6px;

    color: var(--deep-blue);
}

.product-colours {
    display: flex;
    justify-content: center;

    gap: 6px;

    margin: 10px 0;
}

.product-colours span {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    border: 1px solid #bbb;
}

.product-colours span:nth-child(1) {
    background: white;
}

.product-colours span:nth-child(2) {
    background: var(--deep-blue);
}

.product-colours span:nth-child(3) {
    background: #111;
}

.add-cart {
    width: 100%;

    border: 0;

    padding: 9px;

    margin-top: 5px;

    border-radius: 20px;

    background: var(--sky-blue);
    color: white;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.view-products {
    text-align: center;

    margin-top: 35px;
}

.view-btn {
    display: inline-block;

    padding: 12px 25px;

    border-radius: 25px;

    background: var(--deep-blue);
    color: white;
}


/* =========================================
   BRAND STORY
========================================= */

.brand-story {
    padding: 50px 7%;

    display: grid;

    grid-template-columns:
        1fr 1.5fr 1fr;

    gap: 40px;

    align-items: center;

    background:
        linear-gradient(
            110deg,
            #021b43,
            #087fd1
        );

    color: white;
}

.story-image {
    min-height: 180px;

    display: grid;
    place-items: center;

    font-size: 100px;
    font-weight: 900;

    color: rgba(255,255,255,.3);
}

.story-content > p:first-child {
    color: #6fd0ff;

    font-size: 12px;
    letter-spacing: 3px;
}

.story-content h2 {
    margin: 8px 0 12px;

    font-family: Georgia, serif;

    font-size: 30px;
}

.story-content p {
    line-height: 1.7;
}

.story-btn {
    display: inline-block;

    margin-top: 18px;

    padding: 9px 18px;

    border: 1px solid white;

    border-radius: 20px;
}

.story-values {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.story-values div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-values strong {
    font-size: 25px;
    color: #7bd6ff;
}


/* =========================================
   NEWSLETTER
========================================= */

.newsletter {
    padding: 25px 7%;

    display: flex;
    align-items: center;
    gap: 20px;

    background: #078ce5;

    color: white;
}

.newsletter-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid white;
}

.newsletter h2 {
    font-size: 18px;
}

.newsletter p {
    font-size: 12px;
    margin-top: 3px;
}

.newsletter form {
    margin-left: auto;

    display: flex;

    width: 45%;
}

.newsletter input {
    flex: 1;

    border: 0;

    padding: 13px 18px;

    border-radius: 25px 0 0 25px;

    outline: none;
}

.newsletter button {
    border: 0;

    padding: 0 25px;

    border-radius: 0 25px 25px 0;

    background: var(--deep-blue);
    color: white;

    cursor: pointer;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 50px 6% 35px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1.2fr 1.2fr;

    gap: 30px;

    background: var(--navy);

    color: white;
}

.footer-logo {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border: 2px solid white;

    font-weight: 900;
}

.footer-brand h2 {
    margin-top: 10px;
    font-size: 20px;
}

.footer-brand > span {
    letter-spacing: 3px;
    font-size: 12px;
}

.footer-brand p {
    margin-top: 10px;

    color: #bcd0eb;

    font-size: 12px;
}

.socials {
    display: flex;
    gap: 8px;

    margin-top: 18px;
}

.socials a {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: white;
    color: var(--deep-blue);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 8px;

    color: white;

    font-size: 14px;
}

.footer-column a,
.footer-column p {
    color: #bcd0eb;

    font-size: 12px;
}

.payment-methods {
    display: flex;
    gap: 6px;

    flex-wrap: wrap;
}

.payment-methods {
    color: var(--deep-blue);
}

.payment-methods::first-line {
    background: white;
}


/* =========================================
   COPYRIGHT
========================================= */

.copyright {
    padding: 14px;

    text-align: center;

    background: #02142f;

    color: #9eb6d5;

    font-size: 11px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 15px;
    }

    .navbar a {
        font-size: 12px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature:nth-child(2) {
        border-right: 0;
    }

    .brand-story {
        grid-template-columns: 1fr 1fr;
    }

    .story-values {
        grid-column: 1 / -1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .top-bar {
        display: none;
    }

    .header {
        min-height: 70px;
        padding: 0 5%;
    }

    .logo-symbol {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text span {
        font-size: 10px;
    }

    .navbar {
        display: none;
    }

    .header-icons button:nth-child(1),
    .header-icons button:nth-child(2),
    .header-icons button:nth-child(3) {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        min-height: 650px;

        padding:
            70px 7%
            120px;

        text-align: center;

        justify-content: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h1 span {
        display: block;
        margin: 8px 0;
    }

    .hero h2 {
        font-size: 17px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-image {
        display: none;
    }

    .features {
        width: 90%;

        grid-template-columns: 1fr;

        margin-top: -40px;
    }

    .feature {
        border-right: 0;

        border-bottom: 1px solid var(--border);
    }

    .feature:last-child {
        border-bottom: 0;
    }

    .category-grid,
    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .category-image {
        height: 120px;
    }

    .product-image {
        height: 160px;
    }

    .section {
        padding: 55px 5%;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .brand-story {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 45px 7%;
    }

    .story-values {
        grid-column: auto;
    }

    .newsletter {
        flex-direction: column;

        text-align: center;
    }

    .newsletter form {
        margin: 10px 0 0;

        width: 100%;
    }

    .footer {
        grid-template-columns:
            repeat(2, 1fr);

        padding: 40px 7%;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 420px) {

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 220px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero {
        min-height: 620px;
    }

    .newsletter form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter input,
    .newsletter button {
        border-radius: 25px;

        min-height: 45px;
    }

    .footer {
        grid-template-columns: 1fr;
    }

}

/* =========================
   LOGIN & REGISTER PAGES
========================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: #f5f7fb;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #102a56;
}

.auth-container form {
    display: flex;
    flex-direction: column;
}

.auth-container label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.auth-container input {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 20px;
    border: 1px solid #d5dbe5;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-container input:focus {
    outline: none;
    border-color: #1d70d6;
    box-shadow: 0 0 0 3px rgba(29, 112, 214, 0.12);
}

.auth-container button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #1d70d6;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.auth-container button:hover {
    background: #1558aa;
}

.auth-container p {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.auth-container a {
    color: #1d70d6;
    font-weight: 600;
    text-decoration: none;
}

.auth-container a:hover {
    text-decoration: underline;
}           