/* ========================================
   RFBIT Corporate Website - Modern Style
   ======================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #4D4D4D;
    --accent: #F8AA00;
    --accent-hover: #e09800;
    --accent-light: rgba(248, 170, 0, 0.08);
    --accent-glow: rgba(248, 170, 0, 0.18);
    --gray-brand: #4D4D4D;
    --nav-height: 64px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1320px;
    --section-padding: 120px 0;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.12);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #1a1a1a;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p {
    color: #666666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border: none;
    border-radius: 60px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #F8AA00 0%, #e09800 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(248, 170, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(248, 170, 0, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 8px 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-ghost:hover {
    color: var(--accent-hover);
}

.btn-ghost::after {
    content: '→';
    transition: transform var(--transition);
    display: inline-block;
}

.btn-ghost:hover::after {
    transform: translateX(6px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    transition: background 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -30%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F8AA00, transparent);
    animation: rfSignal 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(248, 170, 0, 0.6), 0 0 20px rgba(248, 170, 0, 0.3);
}

@keyframes rfSignal {
    0% { left: -30%; }
    100% { left: 100%; }
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.96);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 32px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(160, 180, 200, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.navbar-menu a:hover {
    color: #ffffff;
    border-bottom-color: var(--accent);
}

.navbar-menu a.active {
    color: #ffffff;
    border-bottom-color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1a1a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.mobile-menu a:hover { color: #ffffff; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(248, 170, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 170, 0, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(248, 170, 0, 0.12);
    border: 1px solid rgba(248, 170, 0, 0.25);
    border-radius: 60px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--section-padding);
    background: #ffffff;
    color: #1a1a1a;
}

.section h2, .section h3, .section h4 { color: #1a1a1a; }
.section p { color: #666666; }

.section-dark {
    background: #FAFAFA;
    color: #1a1a1a;
}

.section-dark h2, .section-dark h3, .section-dark h4 { color: #1a1a1a; }
.section-dark p { color: #666666; }

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    width: 100%;
    height: 280px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-image .placeholder-icon {
    font-size: 4rem;
    opacity: 0.15;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
    z-index: 1;
}

.product-card-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.product-card-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.7;
}

.product-card-content .btn-ghost {
    align-self: flex-start;
}

/* Product Featured */
.product-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.product-featured:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.product-featured:hover .product-card-image img {
    transform: scale(1.05);
}

.product-featured .product-card-image {
    height: 100%;
    min-height: 420px;
}

.product-featured .product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px;
}

.product-featured .product-card-content h3 {
    font-size: 2rem;
}

.product-featured .product-card-content p {
    font-size: 1.05rem;
}

/* ========================================
   STATS / NUMBERS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.85rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ========================================
   NEWS CARDS
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    width: 100%;
    height: 220px;
    background: #f5f5f5;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-image .placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.15;
}

.news-card-content {
    padding: 28px;
}

.news-card-date {
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.news-card-content h4 {
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-content p {
    font-size: 0.92rem;
    margin-bottom: 20px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 80px;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 420px;
    background: #f5f5f5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-image .placeholder-icon {
    font-size: 5rem;
    opacity: 0.1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 18px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    padding: 40px 32px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--accent-light);
    border-radius: 16px;
    font-size: 1.8rem;
}

.value-card h4 {
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.92rem;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    background: #ffffff;
    color: #1a1a1a;
}

.product-hero h1 { color: #1a1a1a; }
.product-hero p { color: #666666; }

.product-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.product-hero-image {
    width: 100%;
    height: 480px;
    background: #f5f5f5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.product-hero-image .placeholder-icon {
    font-size: 6rem;
    opacity: 0.1;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.product-hero-text h1 {
    margin-bottom: 16px;
}

.product-hero-text .product-tagline {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-hero-text p {
    margin-bottom: 32px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 36px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 14px;
}

.feature-card h4 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.specs-table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background var(--transition);
}

.specs-table tr:hover {
    background: #FAFAFA;
}

.specs-table td {
    padding: 18px 24px;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: #999999;
    width: 40%;
    font-weight: 600;
}

.specs-table td:last-child {
    color: #1a1a1a;
    font-weight: 500;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.82rem;
    color: #999999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #FAFAFA;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 16px 20px;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(248, 170, 0, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 6px;
}

.contact-info-text p {
    font-size: 0.95rem;
}

.map-placeholder {
    width: 100%;
    height: 260px;
    background: #FAFAFA;
    border: 2px dashed #e8e8e8;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   FOOTER CTA SECTION
   ======================================== */
.footer-cta {
    padding: 80px 0;
    background: #333333;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-cta-glow { display: none; }

.footer-cta h2 {
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-cta p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    max-width: 460px;
    margin: 0 auto 28px;
}

.footer-cta .btn-lg {
    padding: 14px 40px;
    font-size: 0.9rem;
}

/* ========================================
   CLOSING CALL TO ACTION (Baran, 18 Oct 2026, option A of cta-deneme):
   white, a product-specific headline, a quote button and one link. Replaces .footer-cta on
   TTS, FIX, TRACER and News; Bridge keeps .footer-cta until its rebuild.
   ======================================== */
.cta-close { padding: 104px 0; background: #fff; text-align: center; border-top: 1px solid #e5e5ea; }
.cta-close h2 { margin: 0; color: #1d1d1f; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.cta-close p { max-width: 560px; margin: 16px auto 36px; color: #6e6e73; font-size: 1.1rem; line-height: 1.6; }
.cta-close-acts { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-close-btn { display: inline-block; padding: 14px 28px; border-radius: 8px; background: #F8AA00; color: #0a0a0a; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.cta-close-btn:hover { background: #ffb81f; color: #0a0a0a; }
.cta-close-link { color: #1d1d1f; font-weight: 500; text-decoration: none; }
.cta-close-link span { color: #F8AA00; font-size: 1.3em; }
.cta-close-link:hover { color: #1d1d1f; text-decoration: underline; }
@media (max-width: 760px) { .cta-close { padding: 72px 0; } }

/* ========================================
   FOOTER
   ======================================== */
/* Footer (Baran, 4 Oct 2026): option A of footer-deneme.html - the site's black, larger type - with the old
   spacing kept ("su anki uzaklik degerleriyle"), orange headings, white text */
.footer {
    background: #0a0a0a;
    padding: 0 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;   /* option A (Baran, 4 Oct 2026): logo flush left, Contact flush right, the four */
    gap: 64px;                        /* blocks (logo, Quick Links, Products, Contact) with equal gaps between them */
    padding: 48px 0 16px;          /* bottom 48 -> 28 -> 16: the gap above the (c) line (Baran) */
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex: 0 0 auto;            /* as wide as the logo, so the gaps are measured from what you see */
}

.footer-brand .navbar-logo {
    margin-bottom: 16px;
    justify-content: center;   /* logo and the line under it share one centre (Baran, 4 Oct 2026) */
}

.footer-brand .navbar-logo img {
    height: 28px;
}

.footer-brand p {
    font-size: 0.95rem;        /* the company motto under the logo (Baran, 4 Oct 2026; the descriptive sentence */
    font-weight: 500;          /* before it was not liked) */
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.5;
    text-align: center;
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* EQUAL columns, so the three headings are evenly spaced (with equal */
    column-gap: 48px;                        /* gaps but unequal widths they sat 188 / 318 px apart - Baran, 4 Oct */
    max-width: 740px;                        /* 2026); the group stays centred right of the logo */
    margin: 0 auto;
}

.footer-social {
    display: flex;
    gap: 18px;
    justify-content: center;   /* on the logo's axis, like the line above */
}

.footer-social a {
    font-size: 0.95rem;
    color: #ffffff;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--accent);
}

@media (min-width: 1025px) {
    .footer-links { display: contents; }   /* the three columns become items of .footer-top next to the logo */
}

.footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--accent);
    font-weight: 600;
}

.footer-column a {
    display: block;
    font-size: 0.75rem;        /* 0.9 -> 0.85 -> 0.8 -> 0.75, each time "biraz daha kucuk" (Baran) */
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 6px;        /* 10 + body line-height made the footer "gereksiz buyuk" (Baran) */
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

/* contact rows: small orange line icon before mail / phone / address (Baran, 4 Oct 2026) */
.footer-column a.ft-ct {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ft-ico {
    flex: none;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
    padding-top: calc(var(--nav-height) + 100px);
    padding-bottom: 72px;
    text-align: center;
    position: relative;
    background: #ffffff;
    color: #1a1a1a;
}

.page-hero h1 { color: #1a1a1a; }
.page-hero p { color: #666666; }

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(248, 170, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    margin-bottom: 20px;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* ========================================
   CAREER PAGE - JOB CARDS
   ======================================== */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.job-card-info {
    flex: 1;
}

.job-card-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.job-card-info p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.job-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.job-card-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.job-card .btn {
    margin-left: 32px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }
    .job-card .btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: 1fr 1fr; }
    .product-featured { grid-template-columns: 1fr; }
    .product-featured .product-card-image { min-height: 300px; }
    .product-featured .product-card-content { padding: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { flex-direction: column; gap: 48px; }
    .footer-brand { flex: none; }
    .footer-links { flex-wrap: wrap; }

    .about-content,
    .product-hero-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --nav-height: 56px;
    }

    .navbar-menu { display: none; }
    .hamburger { display: flex; }
    .products-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 2.5rem; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { grid-template-columns: 1fr; row-gap: 24px; margin: 0; }
    .footer-cta { padding: 56px 0; }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .product-card-image { height: 220px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   PRODUCTS DROPDOWN
   Full-bleed panel: pinned to the viewport edges so it spans the page,
   with the cards held to the site container width inside it.
   Card rules are scoped `.navbar-menu .nav-drop-*` because `.navbar-menu a`
   would otherwise force uppercase nav styling onto every link inside.
   ======================================== */
.nav-drop-wrap { position: relative; display: flex; align-items: center; }

.nav-drop {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 40px 34px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s;
    z-index: 999;

    display: grid;
    /* Six products at launch. Tracks are capped and centred so the bar stays
       full-bleed without the thumbnails ballooning; see tools/launch_scope.py. */
    grid-template-columns: repeat(6, minmax(0, 211px));
    justify-content: center;
    gap: 18px;
    max-width: none;
}

/* Keeps the row aligned with the rest of the page instead of the raw viewport. */
@media (min-width: 1440px) {
    .nav-drop { padding-left: calc((100vw - var(--max-width)) / 2); padding-right: calc((100vw - var(--max-width)) / 2); }
}

.nav-drop-wrap:hover .nav-drop,
.nav-drop-wrap:focus-within .nav-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-menu .nav-drop a {
    display: block;
    padding: 0;
    border-bottom: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    /* 0.8rem + nowrap: "IRIG-106 Telemetry Transmitters" (200 px) must stay
       on one line inside a 211 px track at 1440. */
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-drop-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #16161a;
    margin-bottom: 12px;
}

.nav-drop-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: transform 0.45s ease, opacity 0.25s ease;
}

/* Transparent renders would be cropped by cover — they need to breathe. */
.nav-drop-thumb.is-render img { object-fit: contain; padding: 12px; opacity: 0.95; }

.navbar-menu .nav-drop a:hover { color: var(--accent); }
.nav-drop a:hover .nav-drop-thumb img { transform: scale(1.06); opacity: 1; }

.mobile-menu .mobile-sub {
    font-size: 0.9rem;
    opacity: 0.6;
    padding-left: 18px;
}

/* Below 1400 px six tracks drop under 204 px and the longest label no longer fits — go 3 x 2. */
@media (max-width: 1400px) { .nav-drop { grid-template-columns: repeat(3, minmax(0, 245px)); gap: 20px; } }
@media (max-width: 992px)  { .nav-drop { display: none; } }
