/* =========================================
   TECHNOCHIYA BRAND SYSTEM
   ========================================= */

:root {
    --tc-navy: #172433;
    --tc-navy-dark: #101a25;

    --tc-copper: #a66a24;
    --tc-copper-light: #c18a47;
    --tc-copper-dark: #805019;

    --tc-white: #ffffff;
    --tc-cream: #faf8f5;

    --tc-heading: #172433;
    --tc-text: #3e4852;
    --tc-text-muted: #707780;

    --tc-border: #e8e3dc;

    --tc-max-width: 1100px;
}


/* =========================================
   RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--tc-cream);
    color: var(--tc-text);

    line-height: 1.7;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
}


/* =========================================
   TYPOGRAPHY
   ========================================= */

h1,
h2,
h3 {
    color: var(--tc-heading);
    line-height: 1.2;
}


h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}


p {
    color: var(--tc-text-muted);
}


/* =========================================
   NAVBAR
   ========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;

    background: var(--tc-navy);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 3px 18px rgba(0, 0, 0, 0.12);
}


.navbar-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    min-height: 72px;

    padding: 10px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo,
.logo:visited {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--tc-white);

    text-decoration: none;

    font-size: 1.3rem;
    font-weight: 700;

    flex-shrink: 0;
}


.logo img {
    width: 46px;
    height: 46px;

    object-fit: cover;

    border-radius: 50%;
}


/* Desktop navigation */

.nav-links {
    display: flex;
    align-items: center;

    gap: 26px;
}


.nav-links a,
.nav-links a:visited {
    position: relative;

    color: var(--tc-white);

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 500;

    transition: color 0.2s ease;
}


.nav-links a:hover,
.nav-links .active-link {
    color: var(--tc-copper-light);
}


/* =========================================
   MOBILE MENU BUTTON
   ========================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    background: transparent;

    border: none;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}


.menu-toggle span {
    display: block;

    width: 26px;
    height: 3px;

    background: var(--tc-copper-light);

    border-radius: 3px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(8px) rotate(45deg);
}


.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-8px) rotate(-45deg);
}


/* =========================================
   HOMEPAGE HERO
   ========================================= */

.hero-section {
    background: var(--tc-navy);
}


.hero {
    min-height: 540px;

    max-width: 1000px;

    margin: 0 auto;

    padding:
        85px 24px 100px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
}


.hero-label,
.section-label {
    color: var(--tc-copper-light);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 16px;
}


.hero h1 {
    max-width: 900px;

    color: var(--tc-white);

    font-size:
        clamp(2.6rem, 6vw, 5rem);

    line-height: 1.05;

    margin-bottom: 24px;
}


.hero h1 span {
    display: block;

    color: var(--tc-copper-light);
}


.hero-description {
    max-width: 700px;

    color: #ccd2d8;

    font-size: 1.1rem;

    margin-bottom: 34px;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 14px;
}


/* =========================================
   BUTTONS
   ========================================= */

.btn,
.btn:visited {
    display: inline-block;

    padding:
        13px 22px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary,
.btn-primary:visited {
    background: var(--tc-copper);

    color: var(--tc-white);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.10);
}


.btn-primary:hover {
    background: var(--tc-copper-dark);
}


.btn-secondary,
.btn-secondary:visited {
    color: var(--tc-white);

    border:
        1px solid rgba(255, 255, 255, 0.35);

    background:
        rgba(255, 255, 255, 0.03);
}


.btn-secondary:hover {
    border-color: var(--tc-copper-light);
}


/* =========================================
   MAIN CONTENT
   ========================================= */

main {
    width: 100%;

    max-width: var(--tc-max-width);

    margin: 0 auto;

    padding: 50px 24px 70px;
}


.content-section {
    background: var(--tc-white);

    padding: 40px;

    border:
        1px solid var(--tc-border);

    border-radius: 18px;

    margin-bottom: 35px;

    box-shadow:
        0 8px 30px rgba(23, 36, 51, 0.05);
}


.section-heading {
    margin-bottom: 30px;
}


.section-heading h2 {
    margin-bottom: 10px;
}


/* =========================================
   PROJECTS
   ========================================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.project-card {
    overflow: hidden;

    background: var(--tc-white);

    border:
        1px solid var(--tc-border);

    border-radius: 16px;

    padding: 20px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.project-card:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--tc-copper-light);

    box-shadow:
        0 14px 35px rgba(23, 36, 51, 0.10);
}


.project-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 18px;

    display: block;
}


.project-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;
}


.project-type {
    color: var(--tc-copper-dark);

    font-size: 0.70rem;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.project-card h3 {
    font-size: 1.3rem;

    margin:
        14px 0 10px;
}


.project-card p {
    margin-bottom: 20px;
}


.project-link,
.project-link:visited {
    color: var(--tc-copper-dark);

    text-decoration: none;

    font-weight: 700;
}


.project-link:hover {
    text-decoration: underline;
}


/* Status */

.status {
    padding:
        5px 10px;

    border-radius: 100px;

    font-size: 0.70rem;

    font-weight: 700;
}


.status.published {
    background: #e3f4e8;
    color: #28643b;
}


.status.production {
    background: #f8ebd5;
    color: #82520f;
}


.coming-soon {
    color: var(--tc-text-muted);

    font-size: 0.85rem;

    font-weight: 700;
}


/* =========================================
   ABOUT
   ========================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1.15fr 1fr;

    gap: 50px;
}


.about-copy h3 {
    margin-bottom: 18px;

    font-size: 1.65rem;
}


.about-copy p {
    margin-bottom: 15px;
}


.about-values {
    display: grid;

    gap: 15px;
}


.value-card {
    padding: 18px;

    background: var(--tc-cream);

    border:
        1px solid var(--tc-border);

    border-radius: 12px;
}


.value-card strong {
    display: block;

    color: var(--tc-heading);

    margin-bottom: 5px;
}


.value-card span {
    color: var(--tc-text-muted);

    font-size: 0.95rem;
}


/* =========================================
   CONTACT
   ========================================= */

.contact-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 30px;

    background: var(--tc-cream);

    border:
        1px solid var(--tc-border);

    border-radius: 16px;
}


.contact-box h3 {
    margin-bottom: 8px;
}


.contact-box p {
    max-width: 620px;
}


/* =========================================
   INNER PAGE HEADER
   ========================================= */

.page-header {
    background: var(--tc-navy);

    padding:
        70px 24px;
}


.page-header-inner {
    max-width: var(--tc-max-width);

    margin: 0 auto;
}


.page-header h1 {
    color: var(--tc-white);

    font-size:
        clamp(2.3rem, 5vw, 4rem);

    margin-bottom: 14px;
}


.page-header p:not(.hero-label) {
    max-width: 650px;

    color: #ccd2d8;

    font-size: 1.05rem;
}


/* =========================================
   PRIVACY LIST
   ========================================= */

.privacy-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 30px;
}


.privacy-card,
.privacy-card:visited {
    display: block;

    padding: 26px;

    background: var(--tc-cream);

    border:
        1px solid var(--tc-border);

    border-radius: 14px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.privacy-card:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--tc-copper-light);

    box-shadow:
        0 10px 25px rgba(23, 36, 51, 0.08);
}


.privacy-card h3 {
    margin:
        10px 0 8px;

    font-size: 1.3rem;
}


.privacy-card p {
    margin: 0;

    color: var(--tc-copper-dark);

    font-weight: 700;
}


/* =========================================
   PRIVACY POLICY PAGE
   ========================================= */

.policy-content {
    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}


.policy-content h2 {
    margin-top: 20px;
    margin-bottom: 8px;
}


.policy-updated {
    margin-bottom: 30px;

    font-size: 0.9rem;
}


.back-link,
.back-link:visited {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--tc-copper-dark);

    text-decoration: none;

    font-weight: 700;
}


.back-link:hover {
    text-decoration: underline;
}


.policy-notice {
    margin-top: 30px;

    padding: 25px;

    background: var(--tc-cream);

    border:
        1px solid var(--tc-border);

    border-radius: 14px;
}


.policy-notice h3 {
    margin-bottom: 10px;
}


.policy-notice a {
    color: var(--tc-copper-dark);
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: var(--tc-navy-dark);

    color: var(--tc-white);

    padding:
        45px 24px 22px;
}


.footer-content {
    max-width: var(--tc-max-width);

    margin:
        0 auto 30px;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 8px;
}


.footer-brand img {
    width: 34px;
    height: 34px;

    object-fit: cover;

    border-radius: 50%;
}


.footer-brand h3 {
    color: var(--tc-white);
}


.footer-content p {
    color: #b9c0c7;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    align-items: flex-start;

    gap: 20px;
}


.footer-links a,
.footer-links a:visited {
    color: var(--tc-white);

    text-decoration: none;

    font-size: 0.95rem;
}


.footer-links a:hover {
    color: var(--tc-copper-light);
}


.copyright {
    max-width: var(--tc-max-width);

    margin: 0 auto;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.14);

    color: #969fa8;

    font-size: 0.85rem;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 850px) {

    .project-grid {
        grid-template-columns: 1fr;
    }


    .about-grid {
        grid-template-columns: 1fr;
    }


    .privacy-list {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 70px;
    }


    .navbar-inner {
        min-height: 64px;

        padding:
            9px 16px;
    }


    .logo {
        font-size: 1.05rem;
    }


    .logo img {
        width: 38px;
        height: 38px;
    }


    .menu-toggle {
        display: flex;

        margin-left: auto;
    }


    .nav-links {
        display: none;

        position: absolute;

        top: 64px;
        right: 14px;

        width: min(220px,
                calc(100vw - 28px));

        padding: 12px;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        background: var(--tc-navy-dark);

        border:
            1px solid rgba(255, 255, 255, 0.12);

        border-radius: 12px;

        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.30);
    }


    .nav-links.open {
        display: flex;
    }


    .nav-links a,
    .nav-links a:visited {
        padding:
            10px 12px;

        border-radius: 8px;
    }


    .nav-links a:hover {
        background:
            rgba(255, 255, 255, 0.06);
    }


    /* Homepage hero */

    .hero {
        min-height: auto;

        padding:
            65px 18px 75px;
    }


    .hero-label,
    .section-label {
        font-size: 0.68rem;

        letter-spacing: 1.5px;
    }


    .hero h1 {
        font-size:
            clamp(2.35rem, 11vw, 3.1rem);

        line-height: 1.08;
    }


    .hero-description {
        font-size: 1rem;
    }


    .hero-actions {
        width: 100%;
    }


    .hero-actions .btn {
        width: 100%;

        max-width: 330px;

        text-align: center;
    }


    /* Inner pages */

    .page-header {
        padding:
            55px 20px;
    }


    main {
        padding:
            30px 15px 50px;
    }


    .content-section {
        padding: 25px;

        border-radius: 14px;
    }


    .contact-box {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-content {
        flex-direction: column;
    }

}

.policy-content>h3 {
    margin-top: 34px;
    margin-bottom: 10px;
}

.policy-content>p {
    margin-bottom: 16px;
}

.policy-content ul {
    margin: 10px 0 20px 24px;
    color: var(--tc-text-muted);
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    color: var(--tc-copper-dark);
}

.policy-content a:hover {
    text-decoration: underline;
}