/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2ECC71;
    --primary-dark: #27AE60;
    --secondary: #F39C12;
    --dark: #2C3E50;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #7F8C8D;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    --danger: #E74C3C;
    --success: #27AE60;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* YENİ EKLENEN: Teklif Detay Butonu */
.btn-detail {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.btn-detail:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 32px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==================== HERO ==================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
}

.badge i {
    color: var(--primary);
    font-size: 20px;
}

/* ==================== DASHBOARD MOCKUP ==================== */
.dashboard-mock {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.mock-header {
    background: #f5f5f5;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mock-title {
    margin-left: auto;
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
}

.mock-content {
    padding: 30px;
    min-height: 300px;
    position: relative;
}

.sensor-card {
    background: var(--light);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.sensor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.sensor-card.active::before {
    transform: scaleX(1);
}

.sensor-card i {
    font-size: 40px;
    margin-bottom: 15px;
}

.sensor-card.temp i { color: #E74C3C; }
.sensor-card.soil i { color: #27AE60; }
.sensor-card.npk i { color: #9B59B6; }
.sensor-card.ec i { color: #3498DB; }

.sensor-card .value {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
    color: var(--dark);
}

.sensor-card .value-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.sensor-card .value-group > div {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.sensor-card p {
    color: var(--gray);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Sensor Navigation */
.sensor-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--border);
}

.nav-arrow {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.sensor-indicator {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
}

.status-bar {
    background: var(--primary);
    padding: 15px 30px;
    text-align: center;
    color: var(--white);
}

.status i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

/* ==================== PROBLEM-SOLUTION SECTION ==================== */
.problem-solution {
    padding: 80px 0;
    background: var(--white);
}

.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.solution-block.reverse {
    direction: rtl;
}

.solution-block.reverse > * {
    direction: ltr;
}

.solution-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    margin-bottom: 20px;
}

.solution-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.solution-text .lead {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
}

/* Comparison Slider */
.comparison-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
}

.comparison-side {
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.comparison-side.problem {
    background: linear-gradient(135deg, #FF6B6B 0%, #C0392B 100%);
    color: var(--white);
}

.comparison-side.solution {
    background: var(--gradient);
    color: var(--white);
}

.comparison-side i {
    font-size: 60px;
    margin-bottom: 20px;
}

.comparison-side h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Digital Supervisor Visual */
.digital-supervisor {
    padding: 40px;
    background: var(--light);
    border-radius: 12px;
}

.soil-sensor-visual {
    position: relative;
    text-align: center;
}

.soil-sensor-visual > i {
    font-size: 80px;
    color: #8B4513;
}

.data-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.data-line {
    width: 100px;
    height: 3px;
    background: var(--primary);
    position: relative;
    animation: dataFlow 2s infinite;
}

@keyframes dataFlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.data-flow i {
    font-size: 50px;
    color: var(--dark);
}

.alert-badge {
    background: var(--danger);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ==================== TECH SUPERIORITY ==================== */
.tech-superiority {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
}

.tech-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.tech-text .lead {
    font-size: 18px;
    color: var(--light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.tech-benefit {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    display: flex;
    gap: 15px;
}

.tech-benefit i {
    font-size: 32px;
    color: var(--primary);
}

/* Range Map Visual */
.range-map {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-hub {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.center-hub i {
    font-size: 32px;
}

.center-hub span {
    font-size: 10px;
    margin-top: 5px;
}

.signal-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: waveExpand 3s infinite;
}

.wave-1 {
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.wave-2 {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

.wave-3 {
    width: 350px;
    height: 350px;
    animation-delay: 2s;
}

@keyframes waveExpand {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

.greenhouse {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.gh-1 { top: 10%; left: 20%; }
.gh-2 { top: 60%; right: 15%; }
.gh-3 { bottom: 15%; left: 15%; }

.range-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

/* ==================== WORKING MODES ==================== */
.working-modes {
    padding: 80px 0;
    background: var(--light);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mode-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.mode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.mode-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
}

.mode-icon.autopilot { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.mode-icon.remote { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.mode-icon.observer { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.mode-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.mode-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ==================== SECURITY SECTION ==================== */
.security-section {
    padding: 80px 0;
    background: var(--white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.security-item {
    text-align: center;
}

.security-item i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.security-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.security-item p {
    color: var(--gray);
    line-height: 1.8;
}

/* ==================== SENSOR BENEFITS ==================== */
.sensor-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.sensor-benefits .section-header h2,
.sensor-benefits .section-header p {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.benefit-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* ==================== PRICING ==================== */
.pricing {
    padding: 80px 0;
    background: var(--white);
}

.category-title {
    text-align: center;
    font-size: 24px;
    color: var(--primary);
    margin: 50px 0 30px;
    position: relative;
    display: inline-block;
    width: 100%;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.category-title i {
    margin-right: 10px;
    color: var(--secondary);
}
.mt-large {
    margin-top: 80px !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.package-subtitle {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 20px;
}

/* Parametre Butonları */
.param-selector {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.param-btn {
    flex: 1;
    padding: 8px 5px;
    font-size: 13px;
    border: none;
    background: transparent;
    color: #7f8c8d;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.param-btn:hover { background: rgba(0,0,0,0.05); color: var(--dark); }
.param-btn.active { background: var(--primary); color: white; box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3); }


.pricing-price {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.pricing-price .currency {
    font-size: 24px;
    color: var(--gray);
    margin-top: 10px;
}

.pricing-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

.price-update-anim { animation: pulsePrice 0.3s ease-in-out; }
@keyframes pulsePrice {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--secondary); }
    100% { transform: scale(1); }
}

/* Adet Seçici */
.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f2f6;
    border-radius: 10px;
    padding: 10px;
    margin-top: auto;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.qty-controls { display: flex; align-items: center; gap: 10px; }

.qty-btn {
    width: 35px; height: 35px;
    border-radius: 50%; border: none;
    cursor: pointer; font-weight: bold; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}

.qty-btn.minus { background: #e0e0e0; color: #555; }
.qty-btn.plus { background: var(--primary); color: white; }
.qty-btn:hover { transform: scale(1.1); }
.qty-display { font-size: 18px; font-weight: bold; min-width: 30px; text-align: center; }

.selection-status { font-size: 14px; color: #7f8c8d; font-weight: 600; }
.selection-status.active { color: var(--primary); }


.pricing-features {
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.pricing-features i {
    color: var(--primary);
    font-size: 18px;
}

.vat-note { text-align: center; margin-top: 30px; color: #7f8c8d; font-size: 14px; font-style: italic; }

/* Tech Details Accordion */
.tech-details {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 40px;
    background: var(--light);
    border-radius: 16px;
}

.tech-details h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark);
}

.details-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.detail-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.detail-header:hover {
    background: var(--light);
}

.detail-header h4 {
    font-size: 18px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-header i.fa-chevron-down {
    color: var(--primary);
    transition: transform 0.3s;
}

.detail-item.active .detail-header i.fa-chevron-down {
    transform: rotate(180deg);
}

.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 25px;
}

.detail-item.active .detail-content {
    max-height: 500px;
    padding: 0 25px 25px;
}

.detail-content ul {
    list-style: none;
}

.detail-content li {
    padding: 10px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}

.detail-content li:last-child {
    border-bottom: none;
}

/* ==================== CONTACT & CART ==================== */
.contact {
    padding: 80px 0;
    background: var(--white);
}

/* YENİ: Sepet Özeti Stilleri */
.cart-summary {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cart-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

.cart-items { margin-bottom: 15px; }
.cart-item {
    display: flex; justify-content: space-between;
    padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px;
}

.cart-actions-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-total {
    text-align: right;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    flex: 1;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 18px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s;
}

.contact-method:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(10px);
}

.contact-method i {
    font-size: 32px;
}

.contact-method.whatsapp i { color: #25D366; }
.contact-method.phone i { color: #3498DB; }
.contact-method.email i { color: #E74C3C; }

.contact-method:hover i {
    color: var(--white);
}

.contact-method h4 {
    margin-bottom: 5px;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 40px;
    border-radius: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col p,
.footer-col li {
    color: var(--gray);
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--gray);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
}

/* ==================== MODAL (TEKLİF DETAYI) ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideDown 0.4s ease;
    position: relative;
}

@keyframes slideDown {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.modal-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { margin: 0; font-size: 18px; }
.close-modal { font-size: 28px; cursor: pointer; color: white; }
.close-modal:hover { opacity: 0.8; }

.modal-body { padding: 30px; }

.modal-footer {
    padding: 20px;
    background: #f8f9fa;
    text-align: right;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Modal Detay Blokları */
.detail-block { margin-bottom: 30px; page-break-inside: avoid; }
.detail-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.detail-title i { color: var(--primary); }
.detail-desc { color: #666; margin-bottom: 15px; font-size: 14px; }

/* Yeşil Fayda Kutusu */
.benefit-box {
    background: #e8f8f5;
    border-left: 5px solid var(--primary);
    padding: 15px;
    border-radius: 4px;
}
.benefit-title {
    color: var(--primary-dark);
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}
.benefit-text { font-size: 13px; color: #555; line-height: 1.5; }

/* Modal Tablo */
.proposal-table-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.proposal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.proposal-table th {
    background: #f8f9fa;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #ddd;
    color: #2c3e50;
}

.proposal-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.table-total-row td {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    text-align: right;
    border-top: 2px solid #eee;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* ==================== PRINT (YAZDIRMA) AYARLARI ==================== */
@media print {
    /* 1. Sayfa Yapısını Sıfırla */
    @page {
        margin: 1cm;
        size: auto;
    }

    body {
        background: white;
        height: auto;
    }

    /* 2. Modal HARİÇ her şeyi yok et (Boş sayfaları önler) */
    body > *:not(#proposalModal) {
        display: none !important;
    }

    /* 3. Modalı Görünür ve Sayfaya Yayılmış Yap */
    #proposalModal {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        background: white !important;
        box-shadow: none !important;
        margin: 0 !important;
        border: none !important;
    }

    .modal-container {
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        margin: 0 !important;
        border: none !important;
    }

    .modal-body {
        padding: 0 !important;
    }

    /* 4. Gereksiz Modal Parçalarını Gizle */
    .close-modal, 
    .modal-footer {
        display: none !important;
    }

    .modal-header {
        background: white !important;
        color: black !important;
        border-bottom: 2px solid var(--primary);
        padding: 0 0 10px 0 !important;
        margin-bottom: 20px;
    }

    /* 5. Sayfa Bölünmelerini Yönet (Kritik Kısım) */
    
    /* Her bir detay bloğu (Yeşil kutu ve açıklama) bölünmesin */
    .detail-block {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #eee;
    }

    /* Tablo başlığı her sayfada tekrar etsin (uzun listelerde) */
    thead {
        display: table-header-group;
    }

    /* Tablo satırları ortadan ikiye bölünmesin */
    tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Toplam satırı bölünmesin */
    .table-total-row {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Linklerin yanına URL yazılmasını engelle */
    a[href]:after {
        content: none !important;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 5px 20px var(--shadow);
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .solution-block,
    .tech-block {
        grid-template-columns: 1fr;
    }

    .solution-block.reverse {
        direction: ltr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .comparison-slider {
        grid-template-columns: 1fr;
    }

    .sensor-card .value-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .solution-text h3 {
        font-size: 24px;
    }

    .pricing-price .amount {
        font-size: 36px;
    }
    
    .modal-container { width: 95%; margin: 20px auto; }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-large { margin-top: 80px !important; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden { display: none; }