/* Reset and Base Styles */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e3a8a;
    --primary-900: #1e3a8a;
    --accent-500: #f97316;
    --accent-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--gray-800);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--gray-100);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-content > a {
    text-decoration: none !important;
    box-shadow: none !important;
    color: var(--primary-800);
    font-weight: 500;
    transition: color 0.2s;
}

.top-bar-content > a:hover, .top-bar-content > a:focus {
    color: var(--accent-500);
    box-shadow: none !important;
    outline: none;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-header {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-800);
}

.logo .accent {
    color: var(--accent-500);
}

.search-bar {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    outline: none;
}

.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--accent-500);
    color: white;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav {
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-actions a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary-50), white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--accent-100);
    color: var(--accent-700);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .accent {
    color: var(--primary-800);
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.features-list img {
    width: 1.25rem;
    height: 1.25rem;
    color: #22c55e;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

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

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

.button.secondary {
    border: 1px solid var(--primary-800);
    color: var(--primary-800);
}

.button.secondary:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-100);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon img {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-800);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* Products Section */
.products {
    padding: 4rem 0;
    background: var(--gray-50);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-800);
    text-decoration: none;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

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

.product-image {
    position: relative;
    height: 250px;
}

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

.product-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge.new {
    background: var(--primary-600);
    color: white;
}

.badge.sale {
    background: var(--accent-500);
    color: white;
}

.product-info {
    padding: 1rem;
}

.category {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.product-info h3 {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current {
    color: var(--accent-600);
    font-weight: bold;
}

.original {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
}

.footer h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

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

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-500);
}

.payment-methods {
    display: flex;
    gap: 1rem;
}

.payment-methods img {
    height: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .main-header {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Referanslarımız Bölümü */
.references {
    background: var(--gray-50);
    padding: 4rem 0 3rem 0;
}
.references h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-800);
}
.references .section-description {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-600);
}
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}
.reference-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}
.reference-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.reference-item img {
    max-width: 240px;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(0.2);
    opacity: 0.9;
    transition: filter 0.2s, opacity 0.2s;
}
.reference-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}
.references-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.references-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
    box-shadow: none;
}

.nav-links a,
.footer-links a,
.footer-contact a,
.nav-actions a {
    box-shadow: 0 1px 0 0 transparent;
    transition: color 0.2s, box-shadow 0.2s;
}

.nav-links a:hover,
.footer-links a:hover,
.footer-contact a:hover,
.nav-actions a:hover,
.nav-links a:focus,
.footer-links a:focus,
.footer-contact a:focus,
.nav-actions a:focus {
    color: var(--primary-800);
    box-shadow: 0 2px 0 0 var(--primary-400);
    outline: none;
}

.blink-phone {
    color: var(--accent-500);
    font-weight: bold;
    font-size: 1.15rem;
    background: linear-gradient(90deg, var(--accent-500) 0%, var(--primary-100) 100%);
    padding: 0.35em 1em;
    border-radius: 0.75em;
    box-shadow: 0 2px 12px 0 rgba(249,115,22,0.10);
    animation: blinkPhone 1s steps(2, start) infinite, pulsePhone 2s cubic-bezier(0.4,0,0.6,1) infinite;
    transition: box-shadow 0.2s, background 0.2s;
}

@keyframes blinkPhone {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulsePhone {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(249,115,22,0.15); }
}