/* ==============================================
   İş Ortağım Page CSS - SOA Arsa
   Primary: #248971  |  Dark: #1a6b56  |  Light: #e4f5f0
   ============================================== */

:root {
    --io-primary: #248971;
    --io-primary-dark: #1a6b56;
    --io-primary-light: #e4f5f0;
    --io-primary-rgb: 36, 137, 113;
    --io-dark: #1a1a1a;
    --io-gray: #555;
    --io-light-gray: #999;
    --io-border: #e0e0e0;
    --io-white: #ffffff;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Jost', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    overflow-x: hidden;
}
body.loaded { opacity: 1; }

/* ============ HEADER ============ */
.header {
    background-color: #f5f5f5;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.header-container {
    max-width: 1400px; margin: 0 auto; padding: 0 40px;
    display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: center;
}
.header-left { display: flex; justify-content: space-between; align-items: center; }
.header-right { display: flex; justify-content: flex-end; align-items: center; }
.logo { height: 50px; transition: transform 0.3s ease; }
.main-nav { display: flex; gap: 40px; align-items: center; }
.main-nav a {
    text-decoration: none; color: #666; font-weight: 400;
    font-size: 16px; font-family: 'Jost', sans-serif;
    transition: all 0.3s ease; position: relative;
}
.main-nav a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--io-primary);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--io-primary); }
.main-nav a.active { color: var(--io-primary); font-weight: 400; }
.main-nav a.active::after { width: 100%; }
.header-btn {
    background-color: var(--io-primary); color: white; padding: 12px 25px;
    border: none; border-radius: 25px; font-weight: 600; font-size: 14px;
    cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block;
}
.header-btn:hover { background-color: var(--io-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--io-primary-rgb), 0.3); }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown::before { content: ''; position: absolute; top: 0; left: -10px; right: -10px; bottom: -15px; z-index: 1; }
.dropdown-toggle {
    display: flex; align-items: center; gap: 5px;
    text-decoration: none; color: #666; font-weight: 400;
    font-size: 16px; transition: all 0.3s ease; position: relative;
}
.dropdown-toggle::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--io-primary); transition: width 0.3s ease;
}
.dropdown-toggle:hover::after { width: 100%; }
.dropdown-toggle:hover { color: var(--io-primary); }
.dropdown-arrow { font-size: 10px; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: calc(100% + 15px); left: 0;
    background: #F5F5F5; border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 15px; min-width: 180px;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s ease; z-index: 10000;
}
.dropdown-menu::before { content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-section a {
    display: block; padding: 12px 15px; color: #666;
    text-decoration: none; font-size: 16px; font-weight: 400;
    font-family: 'Jost', sans-serif; transition: all 0.3s ease;
    border-radius: 6px; margin-bottom: 5px; white-space: nowrap;
}
.dropdown-section a:hover { color: var(--io-primary); background-color: #EEE; transform: translateX(5px); }

/* Hamburger / Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}
.hamburger span {
    width: 25px; height: 3px; background: #333; margin: 3px 0; transition: 0.3s;
}
.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 {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    z-index: 9999; flex-direction: column; justify-content: center;
    align-items: center; gap: 20px; padding: 20px;
}
.mobile-menu.active { display: flex; }
.mobile-menu-section { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.mobile-menu-title { font-size: 1.3rem; font-weight: 600; color: #333; text-decoration: none; margin-bottom: 10px; border-bottom: 2px solid var(--io-primary); padding-bottom: 5px; }
.mobile-menu-title:hover { color: var(--io-primary); }
.mobile-menu-sub { font-size: 1.1rem; font-weight: 400; color: #666; text-decoration: none; padding: 5px 15px; border-radius: 15px; transition: all 0.3s ease; }
.mobile-menu-sub:hover { background-color: #f0f0f0; color: var(--io-primary); }
.mobile-menu-btn { margin-top: 20px; padding: 15px 25px; background: var(--io-primary); color: white; text-decoration: none; border-radius: 25px; display: inline-block; font-size: 14px; font-weight: 600; }
.mobile-menu-btn:hover { background: var(--io-primary-dark); transform: translateY(-2px); }
.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; }
.overlay.active { display: block; }

/* ============ CONTAINER ============ */
.io-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ============ ORTAK BAŞLIK STİLLERİ ============ */
.io-red-title {
    color: var(--io-primary);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* ============ PROGRAM SECTION ============ */
.io-program-section {
    padding: 80px 0 70px;
    background: #fff;
}

.io-program-intro {
    max-width: 780px;
    margin-bottom: 55px;
}

.io-bold-sub {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--io-dark);
    margin-bottom: 14px;
    line-height: 1.4;
}

.io-desc-p {
    font-size: 0.92rem;
    color: var(--io-gray);
    line-height: 1.85;
}

/* Features Grid */
.io-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.io-feature-card {
    display: flex;
    flex-direction: column;
}

.io-feature-icon {
    margin-bottom: 22px;
}

.io-feature-icon img {
    width: 80px;
    height: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(44%) sepia(29%) saturate(760%) hue-rotate(120deg) brightness(92%);
}

.io-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--io-dark);
    margin-bottom: 10px;
    line-height: 1.45;
}

.io-feature-text {
    font-size: 0.85rem;
    color: var(--io-light-gray);
    line-height: 1.75;
}

/* ============ WHY SECTION ============ */
.io-why-section {
    padding: 80px 0;
    background: #fff;
}

.io-why-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
    align-items: center;
}

.io-check-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.io-check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--io-gray);
    font-weight: 400;
}

.io-check-list li img {
    width: 34px;
    height: auto;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(44%) sepia(29%) saturate(760%) hue-rotate(120deg) brightness(92%);
}

.io-why-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ============ WHO SECTION ============ */
.io-who-section {
    padding: 70px 0 80px;
    background: #fff;
}

.io-who-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.io-who-card {
    display: flex;
    flex-direction: column;
}

.io-who-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.io-who-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--io-dark);
    line-height: 1.45;
}

.io-red-square {
    display: inline-block;
    width: 9px;
    height: 9px;
    min-width: 9px;
    background: var(--io-primary);
    margin-top: 4px;
}

/* ============ CONTACT / FORM SECTION ============ */
.io-contact-section {
    padding: 80px 0 90px;
    background: #fff;
}

.io-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.io-contact-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--io-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.io-contact-desc {
    font-size: 0.88rem;
    color: var(--io-gray);
    margin-bottom: 28px;
    line-height: 1.75;
}

.io-field {
    display: block;
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--io-border);
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: 'Jost', sans-serif;
    background: #fff;
    color: #333;
    margin-bottom: 12px;
    transition: border-color 0.25s ease;
    outline: none;
}

.io-field:focus {
    border-color: var(--io-primary);
}

.io-field::placeholder { color: #bbb; }

.io-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.io-kvkk {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 22px;
    cursor: pointer;
    user-select: none;
}

.io-kvkk input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin-top: 2px;
    accent-color: var(--io-primary);
    cursor: pointer;
}

.io-kvkk-text {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

.io-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--io-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.io-send-btn:hover {
    background: var(--io-primary-dark);
    transform: translateY(-1px);
}

.io-send-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Form mesaj kutusu */
.io-form-msg {
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 0.88rem;
    margin-bottom: 18px;
    line-height: 1.5;
}
.io-form-msg.success {
    background: #edfaf3;
    border: 1px solid #b5e8ce;
    color: #1a6b3c;
}
.io-form-msg.error {
    background: #fdf0f0;
    border: 1px solid #f5c0c0;
    color: #8b1a1a;
}

.io-contact-img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ============ FOOTER OVERRIDES ============ */
.floating-buttons {
    position: fixed; left: 30px; bottom: 30px;
    display: flex; flex-direction: column; gap: 15px; z-index: 1000;
}
.floating-btn {
    width: 60px; height: 60px; border-radius: 50%; border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.floating-btn:hover { transform: scale(1.1) translateY(-5px); }
.phone-btn { background: #007bff; position: relative; }
.phone-btn::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.whatsapp-btn { background: #25d366; position: relative; }
.whatsapp-btn::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.891 3.426'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}

/* Address Section */
.address-section { padding: 60px 0; background: #f5f5f5; padding-top: 80px; }
.address-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.addresses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.address-content { display: flex; align-items: flex-start; gap: 15px; text-align: left; }
.address-pin { flex-shrink: 0; margin-top: 2px; width: 42px; height: 42px; }
.address-info { flex: 1; }
.address-title { color: #000; font-size: 20px; font-weight: 500; margin: 0 0 8px 0; text-align: left; }
.address-text { color: #666; font-size: 14px; line-height: 1.5; text-align: left; margin: 0; }

/* Footer */
.footer { background: #1a1a1a; padding: 40px 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; align-items: center; }
.footer-column { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-text { color: white; font-size: 16px; margin: 0; text-align: center; }
.phone-container { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; }
.footer-phone { color: white; font-size: 28px; font-weight: 500; margin: 0; }
.footer-phone a { color: #fff; text-decoration: none; }
.whatsapp-container { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: inherit; }
.footer-whatsapp { color: white; font-size: 18px; font-weight: 500; margin: 0; text-decoration: none !important; }
.social-media { display: flex; gap: 15px; justify-content: center; }
.social-icon { width: 40px; height: 40px; background-color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s ease; }
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { transform: scale(1.1); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .io-why-grid { gap: 40px; }
    .io-who-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .io-contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .header-container { grid-template-columns: 1fr; gap: 15px; text-align: center; padding: 0 20px; }
    .header-left { flex-direction: column; gap: 15px; align-items: center; width: 100%; }
    .logo-section { width: 100%; display: flex; justify-content: center; align-items: center; }
    .logo-section a { display: flex; justify-content: center; align-items: center; }
    .logo { display: block; margin: 0 auto; }
    .main-nav { display: none; }
    .header-right { display: none; }

    .io-container { padding: 0 20px; }

    .io-program-section { padding: 50px 0; }
    .io-features-grid { grid-template-columns: 1fr; gap: 35px; }
    .io-feature-icon img { width: 65px; }

    .io-why-section { padding: 50px 0; }
    .io-why-grid { grid-template-columns: 1fr; gap: 35px; }
    .io-why-img { height: 260px; }

    .io-who-section { padding: 50px 0; }
    .io-who-cards { grid-template-columns: repeat(2, 1fr); }
    .io-who-img { height: 170px; }

    .io-contact-section { padding: 50px 0 60px; }
    .io-contact-grid { grid-template-columns: 1fr; gap: 35px; }
    .io-contact-img { min-height: 280px; }

    .addresses-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .io-who-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
    .io-who-img { height: 140px; }
    .io-why-img { height: 220px; }
    .addresses-grid { grid-template-columns: 1fr; }
    .floating-buttons { left: 15px; bottom: 15px; }
    .floating-btn { width: 50px; height: 50px; }
}
