/*
 * KARADENİZ ALÜMİNYUM MİMARİ SİSTEMLERİ
 * Ana Stil Dosyası
 * Renkler: #a41c06 (kırmızı) ve #ffffff (beyaz)
 */

:root {
    --primary: #a41c06;
    --primary-dark: #7d1605;
    --white: #ffffff;
    --black: #111111;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --border: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.site-logo img {
    max-height: 155px;
    width: auto;
}

.site-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.desktop-nav > ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.desktop-nav > ul > li {
    position: relative;
}

.desktop-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--black);
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.desktop-nav > ul > li > a:hover,
.desktop-nav > ul > li.active > a {
    background: var(--primary);
    color: var(--white);
}

.desktop-nav > ul > li > a i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.desktop-nav > ul > li:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px;
    z-index: 100;
    list-style: none;
}

.desktop-nav > ul > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: var(--black);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Language Button */
.lang-btn {
    display: none;
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-dark);
}

/* Mobil Dil Butonu - Varsayılan gizli */
.mobile-lang-btn {
    display: none !important;
    padding: 8px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 10px;
}

/* Mobile Toggle - Varsayılan gizli */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    padding-bottom: 100px;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu > ul > li {
    border-bottom: 1px solid var(--border);
}

.mobile-menu > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--black);
}

.mobile-menu > ul > li > a i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.mobile-menu > ul > li.open > a i {
    transform: rotate(180deg);
}

.mobile-menu .submenu {
    display: none;
    background: var(--light-gray);
}

.mobile-menu > ul > li.open .submenu {
    display: block;
}

.mobile-menu .submenu li a {
    display: block;
    padding: 15px 40px;
    color: var(--gray);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu .submenu li a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==================== HERO / SLIDER ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 85%;
    padding: 20px 35px;
    text-align: center;

    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.hero-content .container {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--primary);
}

.hero-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #333;
}

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

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

.hero-buttons .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.hero-buttons .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1ea952;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 60px 0;
}

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

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-desc {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--gray);
}

/* ==================== STATS ==================== */
.stats-section {
    background: var(--primary);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==================== PRODUCTS ==================== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light-gray);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-body {
    padding: 25px;
}

.product-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.product-card-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.product-card-link:hover {
    gap: 12px;
}

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.feature-card:hover .feature-icon,
.feature-card:hover .feature-title,
.feature-card:hover .feature-desc {
    color: var(--white);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

/* ==================== PROJECTS GALLERY (Instagram Style) ==================== */
.projects-section {
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.project-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.project-card img,
.project-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay i {
    font-size: 2rem;
    color: var(--white);
}

.project-card.video::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>') center/60% no-repeat;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
}

/* Project Modal / Lightbox */
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.project-modal.active {
    display: flex;
}

.project-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.project-modal-content img,
.project-modal-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.project-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.project-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-modal-nav:hover {
    background: var(--primary-dark);
}

.project-modal-prev {
    left: -70px;
}

.project-modal-next {
    right: -70px;
}

/* ==================== CTA ==================== */
.cta-section {
    background: var(--black);
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 120px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

/* ==================== MOBILE BOTTOM MENU ==================== */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.mobile-bottom-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--gray);
    font-size: 0.7rem;
    font-weight: 600;
}

.mobile-bottom-menu a i {
    font-size: 1.4rem;
}

.mobile-bottom-menu a:hover,
.mobile-bottom-menu a.active {
    color: var(--primary);
}

.mobile-bottom-menu a.cpq-btn {
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    margin: -5px 0;
    padding: 12px 18px;
}

.mobile-bottom-menu a.whatsapp-btn {
    color: #25D366;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Masaüstü Sabit Fiyat Hesapla Butonu */
.desktop-cpq-float {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 15px 25px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(164, 28, 6, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.desktop-cpq-float:hover {
    transform: scale(1.05);
    background: var(--primary-dark);
}

.desktop-cpq-float i {
    margin-right: 8px;
}

@media (min-width: 992px) {
    .desktop-cpq-float {
        display: flex;
        align-items: center;
    }
}

/* ==================== CPQ MODAL ==================== */
.cpq-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.cpq-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpq-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
}

.cpq-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
}

.cpq-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cpq-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.cpq-body {
    padding: 25px;
}

.cpq-step {
    display: none;
}

.cpq-step.active {
    display: block;
}

.cpq-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.cpq-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cpq-product-card {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cpq-product-card:hover,
.cpq-product-card.selected {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
}

.cpq-product-card i {
    font-size: 1.8rem;
    color: var(--primary);
    width: 50px;
    text-align: center;
}

.cpq-product-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.cpq-product-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Balkon Tipi Seçici */
.cpq-balcony-types {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.cpq-balcony-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: #fff;
}

.cpq-balcony-type:hover,
.cpq-balcony-type.selected {
    border-color: var(--primary);
    background: rgba(164, 28, 6, 0.05);
}

.cpq-balcony-type.selected .cpq-balcony-icon {
    color: var(--primary);
}

.cpq-balcony-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: var(--gray);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.cpq-balcony-type.selected .cpq-balcony-icon {
    background: rgba(164, 28, 6, 0.1);
    color: var(--primary);
}

.cpq-balcony-type span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
}

.cpq-balcony-type small {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Balkon Şekilleri */
.balcony-shape-duz {
    width: 50px;
    height: 6px;
    background: var(--gray);
    border-radius: 3px;
}

.cpq-balcony-type.selected .balcony-shape-duz {
    background: var(--primary);
}

.balcony-shape-l {
    width: 35px;
    height: 30px;
    position: relative;
}

.balcony-shape-l::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gray);
    border-radius: 3px;
}

.balcony-shape-l::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gray);
    border-radius: 3px;
}

.cpq-balcony-type.selected .balcony-shape-l::before,
.cpq-balcony-type.selected .balcony-shape-l::after {
    background: var(--primary);
}

.balcony-shape-u {
    width: 40px;
    height: 25px;
    border: 6px solid var(--gray);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.cpq-balcony-type.selected .balcony-shape-u {
    border-color: var(--primary);
}

.cpq-extra-dimensions {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cpq-btn-next {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.cpq-btn-next:hover {
    background: var(--primary-dark);
}

.cpq-form-group {
    margin-bottom: 20px;
}

.cpq-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
}

.cpq-form-group input,
.cpq-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.cpq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cpq-result {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.cpq-result-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.cpq-result-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.cpq-result-info {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.cpq-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.cpq-buttons button {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cpq-btn-back {
    background: var(--light-gray);
    border: none;
    color: var(--black);
}

.cpq-btn-back:hover {
    background: var(--border);
}

.cpq-btn-next {
    background: var(--primary);
    border: none;
    color: var(--white);
}

.cpq-btn-next:hover {
    background: var(--primary-dark);
}

.cpq-btn-whatsapp {
    background: #25D366;
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cpq-btn-whatsapp:hover {
    background: #1ea952;
}

/* ==================== PAGE STYLES ==================== */
.page-hero {
    background: var(--primary);
    padding: 120px 0 60px;
    margin-top: 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.page-content {
    padding: 60px 0;
}

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.product-gallery {
    background: var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
}

.product-main-image {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-thumbs {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
}

.product-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--primary);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.product-info-section {
    margin-bottom: 30px;
}

.product-info-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-info-section ul {
    list-style: none;
}

.product-info-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.product-info-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 35px;
    border-radius: 16px;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.3rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 5px;
}

.contact-info-item a {
    color: rgba(255, 255, 255, 0.9);
}

/* Export Page */
.export-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    margin-top: 80px;
    overflow: hidden;
}

.world-map-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.world-map-container img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    opacity: 0.3;
    filter: brightness(0) invert(1);
}

.export-points {
    position: absolute;
    inset: 0;
}

.export-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.3);
    animation: pulse-point 2s ease-in-out infinite;
}

.export-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes pulse-point {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.export-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.export-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.export-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7;
}

.export-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.export-stat {
    text-align: center;
}

.export-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
}

.export-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countries-section {
    padding: 80px 0;
}

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

.country-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.country-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.country-card:hover .country-name,
.country-card:hover .country-projects {
    color: var(--white);
}

.country-flag {
    font-size: 2.5rem;
}

.country-name {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.country-projects {
    font-size: 0.85rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cpq-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-buttons {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none;
    }
    
    .desktop-nav {
        display: block;
    }
    
    .lang-btn {
        display: block;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-bottom-menu {
        display: none;
    }
    
    .whatsapp-float {
        display: flex;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
    
    .site-footer {
        padding: 80px 0 40px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .export-content h1 {
        font-size: 3.5rem;
    }
}

/* Mobil Header Düzenlemesi */
@media (max-width: 991px) {
    .lang-btn {
        display: none !important;
    }
    
    .mobile-lang-btn {
        display: block !important;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none !important;
    }
    
    .mobile-lang-btn {
        display: none !important;
    }
    
    .lang-btn {
        display: block !important;
    }
    
    .desktop-nav {
        display: block !important;
    }
}

/* Instagram Butonu - EN dil butonunun yanında */
.header-actions,
.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.instagram-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.instagram-btn:hover {
    background: var(--primary-dark);
}

.mobile-instagram-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-size: 16px;
}

@media (max-width: 991px) {
    .instagram-btn {
        display: none !important;
    }

    .mobile-instagram-btn {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .instagram-btn {
        display: flex !important;
    }

    .mobile-instagram-btn {
        display: none !important;
    }
}

/* ==================== CPQ ANİMASYON YÜKSELTMESİ (2026) ==================== */
/* İlerleme çubuğu */
.cpq-progress {
    padding: 14px 25px 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.cpq-progress-track {
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.cpq-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a41c06, #e04a2f);
    border-radius: 10px;
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cpq-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.cpq-plabel {
    font-size: 0.72rem;
    font-weight: 600;
    color: #bbb;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s, transform 0.3s;
}

.cpq-plabel.active { color: #a41c06; }

.cpq-plabel.current { transform: scale(1.08); }

.cpq-plabel i { font-size: 0.72rem; }

/* Adım geçiş animasyonu — sağdan kayarak + yumuşak görünme */
@keyframes cpqStepIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cpq-step.cpq-anim { animation: cpqStepIn 0.35s cubic-bezier(0.22, 1, 0.36, 1); }

/* Ürün kartları — hover kaldırma + seçim vurgusu */
.cpq-product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cpq-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(164, 28, 6, 0.12);
}

.cpq-product-card:active { transform: scale(0.97); }

@keyframes cpqSelected {
    0%   { box-shadow: 0 0 0 0 rgba(164, 28, 6, 0.35); }
    100% { box-shadow: 0 0 0 12px rgba(164, 28, 6, 0); }
}

.cpq-product-card.selected {
    border-color: #a41c06 !important;
    background: rgba(164, 28, 6, 0.05);
    animation: cpqSelected 0.5s ease-out;
}

.cpq-product-card i {
    transition: transform 0.25s ease, color 0.25s ease;
}

.cpq-product-card:hover i,
.cpq-product-card.selected i {
    transform: scale(1.15);
    color: #a41c06;
}

/* Balkon tipi seçimi */
.cpq-balcony-type {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cpq-balcony-type:hover { transform: translateY(-3px); }

.cpq-balcony-type.selected { animation: cpqSelected 0.5s ease-out; }

/* Sonuç fiyatı — belirme + vurgu */
@keyframes cpqPricePop {
    0%   { transform: scale(0.85); opacity: 0; }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.cpq-step[data-step="4"].cpq-anim .cpq-result-price {
    animation: cpqPricePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

.cpq-step[data-step="4"].cpq-anim .cpq-result {
    animation: cpqStepIn 0.4s ease backwards;
}

/* WhatsApp teklif butonu — dikkat çekici nabız (yalnızca sonuç adımında) */
@keyframes cpqPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35); }
    50%      { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
}

.cpq-btn-whatsapp { animation: cpqPulse 2s ease-in-out infinite; }

/* Erişilebilirlik: hareket azaltma tercihi olanlara animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
    .cpq-step.cpq-anim,
    .cpq-product-card.selected,
    .cpq-balcony-type.selected,
    .cpq-step[data-step="4"].cpq-anim .cpq-result-price,
    .cpq-step[data-step="4"].cpq-anim .cpq-result,
    .cpq-btn-whatsapp { animation: none; }
    .cpq-progress-fill { transition: none; }
}
