/* TEBER GRUP - 2026 10 Kurumsal Dev Hibrit CSS */

:root {
    --ColorUltraLight: rgba(224, 38, 38, 0.12);
    --ColorLight: #EF9292;
    --ColorNormal: #E02626;
    --ColorDark: #9D1B1B;
    --ColorUltraDark: #701313;
    --ColorDarkBack: #08080a;
    --CardBG: rgba(18, 20, 24, 0.88);
    --White: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

#istirakler, #iletisim, #top {
    scroll-margin-top: 100px;
}

body {
    background-color: var(--ColorDarkBack);
    color: var(--White);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- DOCKING HEADER (LOGO MORPH) --- */
.docking-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.docking-header.docked {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.docked-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.docked-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(224, 38, 38, 0.5));
    transition: transform 0.3s ease;
}

.docked-logo:hover {
    transform: scale(1.05);
}

.docked-nav {
    display: flex;
    gap: 30px;
}

.docked-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.docked-nav a:hover {
    color: var(--ColorNormal);
}

.docked-phone {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--White);
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transition: all 0.25s ease;
}

.docked-phone:hover {
    border-color: var(--ColorNormal);
    background: rgba(224, 38, 38, 0.15);
    color: var(--White);
}

/* --- 10 KURUMSAL HİBRİT HERO --- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: -10%;
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.65) 0%, rgba(8, 8, 12, 0.92) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hero-corporate-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--ColorNormal);
    background: rgba(224, 38, 38, 0.1);
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(224, 38, 38, 0.25);
    text-transform: uppercase;
}

.logo-wrapper-main {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(224, 38, 38, 0.6));
}

.main-logo {
    width: 75%;
    height: auto;
    object-fit: contain;
    animation: pulseLogo 3s infinite ease-in-out;
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(224, 38, 38, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: brightness(0) invert(1) drop-shadow(0 0 35px rgba(224, 38, 38, 0.8));
    }
    100% {
        transform: scale(1);
        filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(224, 38, 38, 0.4));
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    z-index: 5;
    pointer-events: none;
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
}

/* --- KARTLAR VE GRID --- */
.container {
    max-width: 1300px;
    margin: -80px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.card {
    background: var(--CardBG);
    backdrop-filter: blur(30px);
    padding: 52px 42px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    border-color: rgba(224, 38, 38, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(224, 38, 38, 0.12);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
}

.company-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    background: linear-gradient(180deg, #FFFFFF 0%, #D4D4D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--ColorNormal);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.logo-white-bg {
    background: var(--White);
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* SQUIRCLE ŞİRKET KUTULARI */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.sub-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 6px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.sub-logo-white {
    background: var(--White);
    width: 100%;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.sub-logo-white img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sub-box:hover {
    background: rgba(224, 38, 38, 0.06);
    border-color: rgba(224, 38, 38, 0.35);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.sub-box:hover .sub-logo-white {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(224, 38, 38, 0.2);
}

/* İLETİŞİM BÖLÜMÜ */
.contact-section {
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #FFFFFF 0%, #E02626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.contact-info p {
    opacity: 0.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.call-card {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 30px;
    border-radius: 26px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 22px;
    margin-bottom: 40px;
}

.call-icon {
    background: linear-gradient(135deg, #E02626, #9D1B1B);
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(224, 38, 38, 0.35);
}

.call-icon svg {
    width: 28px;
    height: 28px;
}

.call-text span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.call-text strong {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
}

.call-card:hover {
    background: rgba(224, 38, 38, 0.08);
    border-color: rgba(224, 38, 38, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(224, 38, 38, 0.15);
}

.contact-form {
    background: var(--CardBG);
    padding: 42px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 18px 25px;
    background: #111;
    border: 2px solid #222;
    border-radius: 20px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

.contact-form select optgroup {
    background: #141414;
    color: #ffffff;
    font-weight: 700;
}

.contact-form select option {
    background: #1c2128;
    color: #ffffff;
}

.btn {
    background: linear-gradient(135deg, #E02626, #B51B1B);
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn:hover {
    background: linear-gradient(135deg, #C41E1E, #8D1414);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(224, 38, 38, 0.3);
}

.map-container {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 325px;
    border: none;
    filter: grayscale(1) invert(0.92);
}

footer {
    padding: 60px 20px;
    text-align: center;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .grid, .contact-section {
        grid-template-columns: 1fr;
    }
}
