/* =============================================
   KARDELEN KIRTASİYE - Premium CSS Styles
   ============================================= */

/* ==================== Root Variables ==================== */
:root {
    --primary-color: #0F172A;
    --secondary-color: #F97316;
    --accent-color: #F97316;
    --text-color: #334155;
    --text-light: #64748B;
    --bg-color: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ==================== Dark Mode ==================== */
.dark-mode {
    --primary-color: #0F172A;
    --secondary-color: #F97316;
    --accent-color: #F97316;
    --text-color: #E2E8F0;
    --text-light: #94A3B8;
    --bg-color: #0F172A;
    --bg-light: #1E293B;
    --bg-dark: #0F172A;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.5);
}

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Section Styles ==================== */
.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* ==================== Glass Card ==================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 15px 0;
}

.header.scrolled {
    background: var(--bg-color);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    padding: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    gap: 10px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
    background: rgba(249, 115, 22, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(249, 115, 22, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn-call {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    background-image: url('https://images.unsplash.com/photo-1586075010923-2dd4570fb338?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn-primary {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #EA580C;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

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

.btn-whatsapp-lg {
    background: #25D366;
}

.btn-whatsapp-lg:hover {
    background: #128C7E;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: white;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==================== Breadcrumb ==================== */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ==================== Hakkımızda Section ==================== */
.hakkimizda {
    background: var(--bg-light);
}

.hakkimizda-content {
    padding: 20px 0;
}

.hakkimizda-content .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hakkimizda-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-list {
    margin: 20px 0 30px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hakkimizda-image {
    position: relative;
}

.hakkimizda-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ==================== Ürün Kategorileri Section ==================== */
.urunler {
    background: var(--bg-color);
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.category-card:hover h3 {
    color: var(--primary-color);
}

/* ==================== Markalar Section ==================== */
.markalar {
    background: var(--bg-light);
}

.markalar-swiper {
    padding: 20px 0;
}

.brand-card {
    padding: 30px;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card img {
    max-height: 60px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brand-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.swiper-pagination {
    margin-top: 30px;
}

.swiper-pagination-bullet {
    background: var(--secondary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* ==================== Neden Biz Section ==================== */
.neden-biz {
    background: var(--bg-color);
}

.counter-card {
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.counter-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== Kampanyalar Section ==================== */
.kampanyalar {
    background: var(--bg-light);
}

.campaign-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.campaign-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.campaign-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ==================== Galeri Section ==================== */
.galeri {
    background: var(--bg-color);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.masonry-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    transition: var(--transition);
}

.masonry-item:hover::after {
    opacity: 1;
}

/* ==================== Yorumlar Section ==================== */
.yorumlar {
    background: var(--bg-light);
}

.review-card {
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== İletişim Section ==================== */
.iletisim {
    background: var(--bg-color);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-details a,
.contact-details p {
    color: var(--text-light);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-form {
    padding: 30px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-control {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    background: var(--bg-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

.footer-bottom a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ==================== Sticky Buttons ==================== */
.sticky-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.sticky-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.sticky-phone {
    position: fixed;
    bottom: 170px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.sticky-phone:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

/* ==================== Mobile Bottom Menu ==================== */
.mobile-bottom-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 10px 0;
    z-index: 998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu-item i {
    font-size: 1.5rem;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: var(--secondary-color);
}

.mobile-whatsapp {
    color: #25D366;
}

.mobile-whatsapp:hover {
    color: #128C7E;
}

/* ==================== Responsive Styles ==================== */
@media (max-width: 991px) {
    .header-buttons {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mobile-bottom-menu {
        display: flex;
        justify-content: space-around;
    }
    
    .sticky-whatsapp,
    .sticky-phone {
        bottom: 80px;
    }
    
    .sticky-phone {
        bottom: 150px;
    }
    
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .masonry-item img {
        height: 200px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .masonry-item img {
        height: 250px;
    }
}

/* ==================== Animation Classes ==================== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== Parallax Effect ==================== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==================== Loading ==================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ==================== Lightbox Customization ==================== */
.lb-data .lb-caption {
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.5;
    transition: var(--transition);
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

/* ==================== Custom Scrollbar ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==================== Print Styles ==================== */
@media print {
    .header,
    .mobile-bottom-menu,
    .sticky-whatsapp,
    .sticky-phone,
    .hero {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}