
/* =========================================================
   THINK & THANK POLY PRODUCTS LIMITED
   COMPLETE PREMIUM CORPORATE WEBSITE STYLESHEET
   ========================================================= */

/* =========================
   1. ROOT VARIABLES
========================= */

:root {
    --navy: #071a33;
    --deep-navy: #031126;
    --royal-blue: #102e50;
    --gold: #c9a45c;
    --light-gold: #e6cb91;
    --white: #ffffff;
    --cream: #f7f5f0;
    --text: #252b34;
    --muted: #777d86;
    --border: #e6e2d9;
    --shadow: 0 12px 35px rgba(3, 17, 38, 0.10);
}

/* =========================
   2. RESET AND GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

section {
    position: relative;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

::selection {
    background: var(--gold);
    color: var(--deep-navy);
}

/* =========================
   3. GLOBAL PREMIUM HEADER
========================= */

.site-header {
    width: 100%;
    min-height: 125px;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--deep-navy);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
}

/* Brand */

.site-header .brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    width: auto;
    max-width: 390px;
    text-decoration: none;
}

.site-header .brand img {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px;
    max-width: 88px !important;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.site-header .brand span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    line-height: 1.2;
}

.site-header .brand strong {
    color: var(--light-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.site-header .brand small {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    flex-wrap: wrap;
}

.main-nav a {
    position: relative;
    padding: 10px 0;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--light-gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Inquiry button */

.cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    background: var(--gold);
    color: var(--deep-navy);
    border: 1px solid var(--light-gold);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s ease;
}

.cart-button:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

#cart-count {
    min-width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--deep-navy);
    color: var(--white);
    font-size: 11px;
}

/* =========================
   4. BUTTONS
========================= */

.classic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.classic-btn-gold {
    background: var(--gold);
    color: var(--deep-navy);
    border-color: var(--gold);
}

.classic-btn-gold:hover {
    background: var(--light-gold);
    border-color: var(--light-gold);
    transform: translateY(-3px);
}

.classic-btn-dark {
    background: var(--deep-navy);
    color: var(--white);
    border-color: var(--deep-navy);
}

.classic-btn-dark:hover {
    background: var(--royal-blue);
    transform: translateY(-3px);
}

.classic-btn-outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.classic-btn-outline:hover {
    background: var(--gold);
    color: var(--deep-navy);
}

/* =========================
   5. TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    color: var(--navy);
}

h1 {
    font-size: clamp(42px, 6vw, 76px);
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
}

h3 {
    font-size: 25px;
}

p {
    line-height: 1.8;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gold-line {
    width: 65px;
    height: 3px;
    margin: 20px auto;
    background: var(--gold);
}

/* =========================
   6. SECTION HEADINGS
========================= */

.section {
    padding: 90px 5%;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.section-heading p {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
    font-size: 14px;
}

.section-description {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   7. HOMEPAGE HERO
========================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(3, 17, 38, 0.94),
            rgba(3, 17, 38, 0.68)
        ),
        url("images/blue-black-nylon.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(3, 17, 38, 0.25),
        transparent
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: var(--white);
}

.hero-content h1 {
    margin-bottom: 24px;
    color: var(--white);
}

.hero-content p {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Typing animation cursor */

[data-typing] {
    position: relative;
}

.typing-cursor::after {
    content: "|";
    color: var(--gold);
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

/* =========================
   8. INTRODUCTION
========================= */

.intro-section {
    padding: 90px 7%;
    background: var(--cream);
}

.intro-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.intro-content p {
    color: var(--muted);
    font-size: 15px;
}

/* =========================
   9. ABOUT PAGE
========================= */

.page-hero {
    min-height: 350px;
    padding: 90px 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(
            rgba(3, 17, 38, 0.90),
            rgba(3, 17, 38, 0.88)
        ),
        url("images/blue-black-nylon.jpg") center/cover no-repeat;
}

.page-hero h1 {
    color: var(--white);
}

.page-hero p {
    max-width: 650px;
    margin: 15px auto 0;
    color: rgba(255, 255, 255, 0.8);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    padding: 90px 7%;
}

.about-content img,
.about-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.about-content p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   10. PRODUCTS
========================= */

.products-section {
    padding: 90px 5%;
    background: var(--cream);
}

.product-grid {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.product-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.product-card img {
    display: block;
    width: 100%;
    height: 240px;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.add-to-cart {
    display: inline-block;
    padding: 11px 18px;
    background: var(--deep-navy);
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.add-to-cart:hover {
    background: var(--gold);
    color: var(--deep-navy);
}

/* Store page */

.store-hero {
    min-height: 350px;
    padding: 90px 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(
            rgba(3, 17, 38, 0.88),
            rgba(3, 17, 38, 0.88)
        ),
        url("images/transparent-nylon.jpg") center/cover no-repeat;
}

.store-hero h1 {
    color: var(--white);
}

.store-hero p {
    max-width: 650px;
    margin: 15px auto;
    color: var(--white);
}

.store-intro {
    padding: 70px 5%;
    text-align: center;
}

/* =========================
   11. QUALITY SECTION
========================= */

.quality-section {
    padding: 90px 6%;
    background: var(--deep-navy);
    color: var(--white);
    text-align: center;
}

.quality-section h2 {
    color: var(--white);
}

.quality-section p {
    max-width: 750px;
    margin: 20px auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

/* =========================
   12. CAREERS HERO
========================= */

.careers-hero {
    min-height: 470px;
    padding: 90px 8%;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(3, 17, 38, 0.95),
            rgba(3, 17, 38, 0.72)
        ),
        url("images/black-nylon.jpg") center/cover no-repeat;
}

.careers-hero-content {
    max-width: 750px;
    color: var(--white);
}

.careers-hero h1 {
    margin-bottom: 22px;
    color: var(--white);
}

.careers-hero p {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

/* =========================
   13. CAREERS VALUES
========================= */

.career-section {
    padding: 90px 5%;
    background: var(--cream);
}

.career-grid {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.career-card {
    min-height: 190px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 3px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.035);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.career-card h3 {
    margin-bottom: 13px;
    color: var(--navy);
    font-size: 25px;
}

.career-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================
   14. APPLICATION FORM
========================= */

.application-section {
    padding: 90px 5%;
    background: var(--white);
}

.application-form {
    width: 100%;
    max-width: 720px;
    margin: auto;
    padding: 45px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.application-form h2 {
    margin-bottom: 12px;
    font-size: 32px;
}

.application-form > p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
}

.application-form label,
#quote-form label {
    display: block;
    margin: 18px 0 8px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
}

.application-form input,
.application-form select,
.application-form textarea,
#quote-form input,
#quote-form textarea {
    width: 100%;
    padding: 14px 15px;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    outline: none;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus,
#quote-form input:focus,
#quote-form textarea:focus {
    border-color: var(--gold);
}

.application-form textarea,
#quote-form textarea {
    resize: vertical;
}

.application-form button {
    margin-top: 25px;
    width: 100%;
}

.form-notice {
    margin-top: 20px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

/* =========================
   15. COMPANY INFORMATION
========================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 60px 5%;
}

.info-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 3px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
    margin-bottom: 12px;
}

.info-card p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   16. DIRECTORS / MANAGEMENT
========================= */

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: auto;
}

.management-card {
    padding: 30px;
    background: var(--cream);
    border-bottom: 3px solid var(--gold);
    text-align: center;
}

.management-card h3 {
    margin-bottom: 8px;
}

.management-card p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   17. CONTACT BANNER
========================= */

.contact-banner {
    padding: 85px 6%;
    background: var(--deep-navy);
    text-align: center;
    color: var(--white);
}

.contact-banner h2 {
    margin-bottom: 18px;
    color: var(--white);
}

.contact-banner p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

/* =========================
   18. CONTACT SECTION
========================= */

.contact-section {
    padding: 90px 6%;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.contact-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
}

.contact-card h3 {
    margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   19. FOOTER
========================= */

.site-footer {
    padding: 55px 6% 25px;
    background: #020d1c;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1250px;
    margin: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.site-footer h3 {
    margin-bottom: 12px;
    color: var(--light-gold);
}

.site-footer p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-gold);
}

.footer-bottom {
    max-width: 1250px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

/* =========================
   20. INQUIRY BASKET
========================= */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    z-index: 2001;
    width: min(420px, 100%);
    height: 100vh;
    padding: 28px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    transition: right 0.35s ease;
}

.cart-sidebar.open,
.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 27px;
}

#close-cart {
    width: 35px;
    height: 35px;
    background: var(--deep-navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 22px;
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.cart-backdrop.active,
.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

#cart-items {
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item h4 {
    font-size: 17px;
}

.cart-item button {
    padding: 7px 10px;
    background: #8c3030;
    color: var(--white);
    border: none;
    border-radius: 2px;
    font-size: 11px;
}

#quote-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

#quote-form h3 {
    margin-bottom: 15px;
}

#quote-form button {
    width: 100%;
    margin-top: 20px;
}

/* =========================
   21. GENERAL FORMS
========================= */

input::placeholder,
textarea::placeholder {
    color: #a2a6ac;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* =========================
   22. RESPONSIVE TABLET
========================= */

@media (max-width: 1050px) {

    .site-header {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-nav {
        order: 3;
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(201, 164, 92, 0.25);
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-content {
        gap: 30px;
    }
}

/* =========================
   23. RESPONSIVE MOBILE
========================= */

@media (max-width: 650px) {

    html {
        scroll-padding-top: 160px;
    }

    .site-header {
        padding: 15px 4%;
        gap: 15px;
        min-height: auto;
    }

    .site-header .brand {
        gap: 11px;
        max-width: 75%;
    }

    .site-header .brand img {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px;
        max-width: 70px !important;
    }

    .site-header .brand strong {
        font-size: 21px;
        letter-spacing: 1px;
    }

    .site-header .brand small {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .main-nav {
        gap: 17px;
        justify-content: flex-start;
    }

    .main-nav a {
        font-size: 11px;
    }

    .cart-button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .hero {
        min-height: 530px;
        padding: 75px 6%;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .section {
        padding: 65px 5%;
    }

    .product-grid,
    .career-grid,
    .info-grid,
    .management-grid,
    .contact-grid,
    .footer-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 250px;
    }

    .careers-hero {
        min-height: 400px;
        padding: 70px 6%;
    }

    .careers-hero h1 {
        font-size: 43px;
    }

    .application-form {
        padding: 25px 18px;
    }

    .page-hero,
    .store-hero {
        min-height: 290px;
        padding: 65px 5%;
    }

    .contact-banner {
        padding: 65px 5%;
    }

    .footer-content {
        gap: 25px;
    }

    .cart-sidebar {
        padding: 22px;
    }
}

/* =========================
   24. VERY SMALL PHONES
========================= */

@media (max-width: 380px) {

    .site-header .brand img {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px;
        max-width: 58px !important;
    }

    .site-header .brand strong {
        font-size: 18px;
    }

    .site-header .brand small {
        font-size: 7px;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .cart-button {
        padding: 9px;
    }

    .hero-content h1,
    .careers-hero h1 {
        font-size: 36px;
    }

    .product-card img {
        height: 210px;
    }
}

/* =========================
   25. ACCESSIBILITY
========================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
