/* ============================================
   EcoHaven - Tesla Style CSS
   Clean, minimal, professional design
   ============================================ */

:root {
    --primary-color: #3457DC;
    --primary-dark: #2847C0;
    --text-dark: #171a20;
    --text-gray: #5c5e62;
    --text-light: #393c41;
    --bg-white: #ffffff;
    --bg-light: #f4f4f4;
    --border-color: #e8e8e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 40px;
}


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

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.nav a:hover {
    color: var(--text-dark);
}

.language-selector {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--bg-light);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 87, 220, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-light);
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.85) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.55)
    );
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero-bg {
        object-position: center top;
    }
}


.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.9);
    margin-top: 12px;
}


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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-dark);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--text-dark);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouseScroll 1.5s infinite;
}

/* ============================================
   MODELS SECTION
   ============================================ */

.models {
    padding: 100px 0;
    background: white;
}

.model-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 120px;
    padding: 0 40px;
    align-items: center;
}

.model-card.reverse {
    direction: rtl;
}

.model-card.reverse .model-info {
    direction: ltr;
}

.model-image {
    aspect-ratio: 16 / 10;
    height: auto;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .model-image {
        aspect-ratio: 4 / 3;
    }
}


.model-info {
    padding: 20px;
}

.model-name {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.model-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.model-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value.price {
    color: var(--primary-color);
    font-size: 24px;
}

.model-features {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.feature {
    font-size: 14px;
    color: var(--text-light);
    padding-left: 0;
}

.model-actions {
    display: flex;
    gap: 16px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 100px 40px;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 100px 40px;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 16px;
    font-size: 15px;
}

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

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ============================================
   ORDER FORM STYLES
   ============================================ */

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.order-message,
.contact-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.order-message.success,
.contact-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.order-message.error,
.contact-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ============================================
   ORDER PAGE
   ============================================ */

.order-section {
    padding: 100px 40px 60px;
    min-height: 100vh;
    background: var(--bg-light);
}

.order-container {
    max-width: 1000px;
    margin: 0 auto;
}

.order-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.config-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.config-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.model-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.model-option {
    padding: 24px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.model-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.model-option.active {
    border-color: var(--primary-color);
    background: rgba(52, 87, 220, 0.05);
}

.model-option-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.model-option-price {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.color-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.color-option {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.color-option.active {
    border-color: var(--primary-color);
    background: rgba(52, 87, 220, 0.05);
}

.color-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.color-price {
    font-size: 13px;
    color: var(--text-gray);
}

.capacity-config {
    max-width: 600px;
}

.capacity-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.capacity-label {
    font-size: 15px;
    color: var(--text-gray);
}

.capacity-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.capacity-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 12px;
}

.capacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.capacity-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.capacity-range {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.capacity-note {
    font-size: 13px;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 12px;
    border-radius: 4px;
}

.order-summary {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 80px;
}

.summary-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.summary-content {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}

.summary-item span:first-child {
    color: var(--text-gray);
}

.summary-item span:last-child {
    font-weight: 500;
    color: var(--text-dark);
}

.summary-item.total {
    font-size: 20px;
    font-weight: 600;
}

.summary-item.total span:last-child {
    color: var(--primary-color);
    font-size: 28px;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.modal-content p {
    margin-bottom: 24px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes mouseScroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .model-card,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .model-card.reverse {
        direction: ltr;
    }
    
    .model-selector {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .model-specs {
        grid-template-columns: 1fr;
    }
    
    .color-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

.section-divider {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1900 / 620; /* oranı korur */
}

.section-divider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .section-divider {
        aspect-ratio: 16 / 9; /* mobilde daha dengeli */
    }
}

