/* ═══════════════════════════════════════════════════════════════════════════
   HISCAM — Custom Stylesheet
   Üstün: template-css/style.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
    --hiscam-blue:    #1a3e6c;
    --hiscam-teal:    #0d9488;
    --hiscam-gold:    #d4a847;
    --hiscam-light:   #f4f7fb;
    --hiscam-dark:    #0f1e32;
    --hiscam-text:    #374151;
    --hiscam-muted:   #6b7280;
    --font-main:      'Inter', sans-serif;
    --font-cjk:       'Noto Sans SC', 'Inter', sans-serif;
    --radius:         8px;
    --shadow:         0 4px 24px rgba(26,62,108,.10);
    --transition:     0.3s cubic-bezier(.4,0,.2,1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--hiscam-text);
    overflow-x: hidden;
    background: #fff;
}

.lang-zh body,
.lang-zh {
    font-family: var(--font-cjk);
}

/* ── Loader ─────────────────────────────────────────────────────────────── */
.loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--hiscam-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s, visibility .5s;
}
.loader-box {
    display: flex; gap: 6px; list-style: none; padding: 0; margin: 0;
}
.loader-box li {
    width: 10px; height: 40px; border-radius: 4px;
    background: var(--hiscam-teal);
    animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-box li:nth-child(2) { animation-delay: .1s; background: var(--hiscam-gold); }
.loader-box li:nth-child(3) { animation-delay: .2s; }
.loader-box li:nth-child(4) { animation-delay: .3s; background: var(--hiscam-gold); }
.loader-box li:nth-child(5) { animation-delay: .4s; }
.loader-box li:nth-child(6) { animation-delay: .5s; background: var(--hiscam-gold); }
.loader-box li:nth-child(7) { animation-delay: .6s; }
.loader-box li:nth-child(8) { animation-delay: .7s; background: var(--hiscam-gold); }
.loader-box li:nth-child(9) { animation-delay: .8s; }

@keyframes loaderPulse {
    0%, 100% { transform: scaleY(1); opacity: .6; }
    50%       { transform: scaleY(1.8); opacity: 1; }
}

.loader.fade-out { opacity: 0; visibility: hidden; }

/* ── Header & Navbar ────────────────────────────────────────────────────── */
.main-header {
    background: transparent;
    transition: all 0.3s ease;
}

.top-bar {
    background: #0b1625 !important;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    line-height: 1.2;
}
.top-link {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.65rem;
    font-weight: 500;
    text-decoration: none !important;
    margin-right: 20px;
    padding: 4px 0;
    display: inline-block;
    transition: color 0.3s ease;
}
.top-link:hover { color: #fff !important; }
.top-bar .lang-select {
    padding: 0 20px 0 5px;
    font-size: 0.65rem;
    height: 18px;
    border-radius: 3px;
    margin: 2px 0;
}

#hiscam-nav {
    background: rgba(15,30,50,0.95) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Scrolled State */
.main-header.scrolled .top-bar {
    display: none;
}
.main-header.scrolled #hiscam-nav {
    padding: 8px 0;
    background: #0f1e32 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}



#hiscam-nav .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: .9rem;
    letter-spacing: .02em;
    padding: 6px 14px !important;
    transition: color var(--transition);
    position: relative;
}
#hiscam-nav .nav-link::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; right: 50%;
    height: 2px; background: var(--hiscam-teal);
    transition: left var(--transition), right var(--transition);
}
#hiscam-nav .nav-link:hover,
#hiscam-nav .nav-link.active {
    color: #fff !important;
}
#hiscam-nav .nav-link:hover::after,
#hiscam-nav .nav-link.active::after { left: 14px; right: 14px; }

/* Dropdown */
.hiscam-dropdown {
    background: var(--hiscam-dark);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    animation: dropFade .2s ease;
}
@keyframes dropFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hiscam-dropdown a {
    color: rgba(255,255,255,.80) !important;
    padding: 8px 20px !important;
    font-size: .875rem;
    display: block;
    transition: background var(--transition), color var(--transition);
}
.hiscam-dropdown a:hover {
    background: rgba(255,255,255,.06);
    color: #fff !important;
    padding-left: 26px !important;
}

/* ── Dil Seçici ─────────────────────────────────────────────────────────── */
.lang-select {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: .85rem;
    cursor: pointer;
    outline: none;
    transition: background var(--transition), border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,.6)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}
.lang-select:hover, .lang-select:focus {
    background-color: rgba(255,255,255,.18);
    border-color: var(--hiscam-teal);
}
.lang-select option { background: var(--hiscam-dark); color: #fff; }

/* ── Hero Banner (Redesigned) ────────────────────────────────────────── */
.hiscam-hero {
    min-height: 85vh;
    background: #fff;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 60px 0;
}
.hiscam-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L100 50L50 100L0 50Z' fill='%23f8fafc' /%3E%3C/svg%3E");
    background-size: 120px 120px;
    opacity: 1;
}
.hiscam-hero .hero-content { position: relative; z-index: 2; width: 100%; }

.hero-left { text-align: center; }
.hero-logo-wrap img { max-height: 220px; margin-bottom: 30px; border: 2px solid #1a3e6c; padding: 10px; }
.hero-vertical-title { 
    font-size: 2.5rem; font-weight: 900; color: #1a3e6c; 
    line-height: 1.2; text-transform: uppercase;
}

.hero-right { padding-left: 40px; }
.hero-top-text { margin-bottom: 40px; }
.hero-top-text h2 { color: #407088; font-size: 2.2rem; font-weight: 300; margin-bottom: 5px; }
.hero-top-text h3 { color: #1a3e6c; font-size: 1.6rem; font-weight: 600; }

.hero-tag-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
    max-width: 550px;
}
.hero-tag {
    background: #205072;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    display: block;
}
.hero-tag:hover {
    transform: scale(1.03);
    background: #2c698d;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .hiscam-hero { min-height: auto; padding: 100px 0 60px; }
    .hero-right { padding-left: 0; margin-top: 60px; text-align: center; }
    .hero-tag-grid { margin: 0 auto; }
}
@media (max-width: 575px) {
    .hero-tag-grid { grid-template-columns: 1fr; }
    .hero-vertical-title { font-size: 1.8rem; }
    .hero-top-text h2 { font-size: 1.6rem; }
    .hero-top-text h3 { font-size: 1.2rem; }
}

/* ── Section Titles ─────────────────────────────────────────────────────── */
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--hiscam-blue); }
.section-eyebrow {
    display: inline-block;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--hiscam-teal);
    margin-bottom: 10px;
}
.section-divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--hiscam-teal), var(--hiscam-gold));
    border-radius: 2px; margin: 12px 0 24px;
}

/* ── About Section ──────────────────────────────────────────────────────── */
.about-section { padding: 100px 0; background: var(--hiscam-light); }
.about-img-wrap {
    position: relative; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--hiscam-teal); color: #fff;
    padding: 20px 26px; border-radius: 12px;
    text-align: center; box-shadow: 0 8px 24px rgba(13,148,136,.3);
}
.about-badge .number { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-badge .label  { font-size: .78rem; opacity: .85; letter-spacing: .06em; }

/* ── Products Section ───────────────────────────────────────────────────── */
.products-section { padding: 100px 0; }
.product-card {
    background: #fff; border-radius: 12px;
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26,62,108,.15);
}
.product-card .card-img-wrap {
    height: 220px; overflow: hidden;
    flex-shrink: 0;
}
.product-card .card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.07); }
.product-card .card-body { 
    padding: 24px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card .card-title {
    font-size: 1.15rem; font-weight: 700; color: var(--hiscam-blue); margin-bottom: 12px;
}
.product-card .card-text { font-size: .875rem; color: var(--hiscam-muted); line-height: 1.6; }
.product-card .card-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--hiscam-teal); font-size: .9rem; font-weight: 700;
    text-decoration: none; margin-top: auto;
    padding-top: 16px;
    transition: gap var(--transition);
}
.product-card .card-link:hover { gap: 12px; }

/* ── Partners Section ───────────────────────────────────────────────────── */
.partners-section {
    padding: 60px 0;
    background: var(--hiscam-dark);
    border-top: 1px solid rgba(255,255,255,.05);
}
.partners-section .partner-logo {
    filter: brightness(0) invert(1); opacity: .5;
    max-height: 50px; transition: opacity var(--transition);
}
.partners-section .partner-logo:hover { opacity: 1; }

/* ── Contact Section ────────────────────────────────────────────────────── */
.contact-section { padding: 100px 0; background: var(--hiscam-light); }
.contact-card {
    background: #fff; border-radius: 12px;
    padding: 36px; box-shadow: var(--shadow);
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px;
}
.contact-info-item .icon {
    width: 44px; height: 44px;
    background: rgba(13,148,136,.1); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--hiscam-teal); font-size: 1rem; flex-shrink: 0;
}
.contact-form .form-control {
    border: 1px solid #e5e7eb; border-radius: 8px;
    padding: 12px 16px; font-size: .9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--hiscam-teal);
    box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.contact-form .btn-submit {
    background: var(--hiscam-teal); color: #fff;
    border: none; padding: 13px 36px; border-radius: 50px;
    font-weight: 600; font-size: .95rem; cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.contact-form .btn-submit:hover { background: #0b7a71; transform: translateY(-2px); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.hiscam-footer {
    background: var(--hiscam-dark);
    padding: 80px 0 0;
    color: rgba(255,255,255,.75);
}
.footer-logo img { max-height: 55px; }
.footer-about { font-size: .875rem; line-height: 1.7; opacity: .75; }
.footer-title {
    color: #fff; font-weight: 700; font-size: 1rem;
    margin-bottom: 20px; position: relative; padding-bottom: 10px;
}
.footer-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: linear-gradient(90deg, var(--hiscam-teal), var(--hiscam-gold));
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,.65); font-size: .875rem;
    text-decoration: none; transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--hiscam-teal); padding-left: 6px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
    display: flex; gap: 12px; margin-bottom: 14px;
    font-size: .875rem; color: rgba(255,255,255,.65);
}
.footer-contact-list i { color: var(--hiscam-teal); margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-contact-list a:hover { color: var(--hiscam-teal); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover {
    background: var(--hiscam-teal); color: #fff; transform: translateY(-3px);
}
.footer-bottom {
    margin-top: 60px; padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.07);
    font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--hiscam-teal); text-decoration: none; }

/* ── Scroll To Top ──────────────────────────────────────────────────────── */
.scroll-top-arrow {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--hiscam-teal);
    display: none; align-items: center; justify-content: center;
    color: #fff; font-size: .9rem; text-decoration: none;
    box-shadow: 0 4px 16px rgba(13,148,136,.4);
    transition: background var(--transition), transform var(--transition);
}
.scroll-top-arrow:hover {
    background: var(--hiscam-blue); transform: translateY(-3px); color: #fff;
}

/* ── Page Header ────────────────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--hiscam-dark) 0%, var(--hiscam-blue) 100%);
    padding: 120px 0 60px; text-align: center;
}
.page-header .page-title { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
.page-header .breadcrumb { background: transparent; justify-content: center; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,.65); }
.page-header .breadcrumb-item.active { color: var(--hiscam-teal); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.text-teal   { color: var(--hiscam-teal) !important; }
.bg-hiscam   { background-color: var(--hiscam-blue) !important; }
.btn-teal {
    background: var(--hiscam-teal); color: #fff; border: none;
    padding: 10px 28px; border-radius: 50px; font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.btn-teal:hover { background: #0b7a71; transform: translateY(-2px); color: #fff; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .hiscam-hero { min-height: 80vh; }
    .about-badge { bottom: 0; right: 0; }
    .about-img-wrap img { height: 300px; }
}
@media (max-width: 575px) {
    .page-header { padding: 100px 0 40px; }
    .hiscam-hero { min-height: 70vh; }
}
