/* =====================================================
   BASARI WEBSITE v1.0
   Main Stylesheet
   ===================================================== */

/* =====================================================
   CSS RESET
===================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header.scrolled {
    box-shadow: var(--shadow-small);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
}

section {
    scroll-margin-top: 90px;
}

/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

h1,
h2,
h3 {
    color: var(--color-heading);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 28px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

p {
    margin-bottom: 18px;
    color: var(--color-text);
}

.hero-subtitle,
.hero-text {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 28px;
}

/* =====================================================
   HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--color-primary);
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a {
    position: relative;
    font-weight: 600;
    color: var(--color-heading);
    transition:
        color .25s ease,
        opacity .25s ease;
}

.navigation a:hover {
    color: var(--color-primary);
}

.navigation a.active {
    color: var(--color-primary);
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width .25s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    padding: 120px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 72px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow:
        0 18px 45px rgba(0,0,0,.10);
}

.hero p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   ABOUT
===================================================== */

.about-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   PRODUCTS
===================================================== */

.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

.products-list span {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-heading);
    font-weight: 600;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.products-list span:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* =====================================================
   MARKETS
===================================================== */

.markets-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 36px;
}

.markets-list span {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
}

.markets-image img {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

/* =====================================================
   WHY BASARI
===================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.card {
    padding: 36px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.card p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   CONTACT
===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
    margin-top: 42px;
}

.contact-grid h3 {
    margin-bottom: 12px;
}

.contact-grid p {
    margin-bottom: 22px;
}

.contact-grid a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-grid a:hover {
    text-decoration: underline;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 60px 0;
    background: var(--color-heading);
    color: rgba(255,255,255,.85);
    text-align: center;
}

.footer strong,
.footer h2 {
    color: #ffffff;
}

.footer p {
    margin-bottom: 10px;
    color: inherit;
}

.footer p:last-child {
    margin-bottom: 0;
    opacity: .7;
    font-size: .95rem;
}

/* =====================================================
   SIMPLE FADE-IN ANIMATION
===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   UTILITIES
===================================================== */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.hidden {
    display: none;
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--color-primary);
    color: #ffffff;
}

/* =====================================================
   LINKS
===================================================== */

a {
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

a:hover {
    opacity: 0.9;
}

/* =====================================================
   IMAGES
===================================================== */

img {
    user-select: none;
    -webkit-user-drag: none;
}

/* =====================================================
   TABLES
===================================================== */

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: left;
}

/* =====================================================
   FORM ELEMENTS
===================================================== */

input,
textarea,
button {
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f4f6f8;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-heading);
}

/* =====================================================
   PRINT
===================================================== */

@media print {

    .header,
    .footer,
    .navigation {
        display: none;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    .section {
        padding: 30px 0;
    }

}



/* =====================================================
   END OF FILE
===================================================== */