@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #004b87; /* Trustworthy E-commerce Blue */
    --primary-dark: #003366;
    --secondary: #ff7900; /* Action Orange */
    --secondary-hover: #e66a00;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-muted: #777777;
    --border-color: #e5e5e5;
    --success: #28a745;
    --danger: #dc3545;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= TOP BAR ================= */
.top-bar {
    background-color: var(--primary-dark);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left span {
    margin-right: 20px;
}
.top-bar-left i {
    color: var(--secondary);
    margin-right: 5px;
}
.top-bar-right a {
    color: #fff;
    margin-left: 15px;
    transition: var(--transition);
}
.top-bar-right a:hover {
    color: var(--secondary);
}

/* ================= MAIN HEADER ================= */
.main-header {
    background-color: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.logo a {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}
.logo a span {
    color: var(--secondary);
}

.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
}
.search-bar button {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 0 25px;
    font-size: 1.2rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}
.search-bar button:hover {
    background-color: var(--primary-dark);
}

.header-actions {
    display: flex;
    gap: 25px;
}
.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
    transition: var(--transition);
    cursor: pointer;
}
.action-item:hover {
    color: var(--primary);
}
.action-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    position: relative;
}
.action-item .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}
.action-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* ================= NAVIGATION ================= */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}
.nav-bar {
    background-color: var(--primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-list {
    display: flex;
}
.nav-list li a {
    display: block;
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-list li a:hover, .nav-list li.active a {
    background-color: var(--secondary);
}

/* ================= HERO SECTION ================= */
.hero-section {
    padding: 30px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.hero-banner-main {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 75, 135, 0.8)), url('resimler/hero_couple.png') no-repeat center center;
    background-size: cover;
    border-radius: 8px;
    padding: 60px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.hero-banner-main h2,
.hero-banner-main h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    z-index: 2;
}
.hero-banner-main h2 span,
.hero-banner-main h1 span {
    color: var(--secondary);
}
.hero-banner-main p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 80%;
    z-index: 2;
}
.btn-shop {
    background-color: var(--secondary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    align-self: flex-start;
    transition: var(--transition);
    z-index: 2;
}
.btn-shop:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.hero-side-banners {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}
.side-banner {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.side-banner:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.side-banner h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.side-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ================= TRUST BADGES ================= */
.trust-section {
    background-color: #fff;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}
.trust-item i {
    font-size: 2.5rem;
    color: var(--primary);
}
.trust-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}
.trust-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================= PRODUCTS SECTION ================= */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    color: var(--primary-dark);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: #ccc;
    transform: translateY(-5px);
}
.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--danger);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
}
.badge-shipping {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--success);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
}
.product-img {
    text-align: center;
    margin-bottom: 20px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.product-rating span {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 5px;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}
.product-price {
    margin-bottom: 20px;
}
.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-right: 10px;
}
.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--danger);
}
.btn-add-cart {
    background-color: var(--primary);
    color: #fff;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.btn-add-cart:hover {
    background-color: var(--secondary);
}

/* ================= FAQ SECTION ================= */
.faq-ecommerce {
    background-color: #fff;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.faq-box {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}
.faq-box h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-box h4 i {
    color: var(--secondary);
}
.faq-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================= PRODUCT DETAIL PAGE ================= */
.product-detail-wrap {
    padding: 40px 0;
}
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}
.pd-image {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.pd-image img {
    max-width: 100%;
    border-radius: 8px;
}
.pd-info h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}
.pd-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #ffc107;
    font-size: 1.1rem;
}
.pd-rating span {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.pd-price-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.pd-old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.pd-new-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--danger);
}
.pd-stock {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-action-btn {
    display: block;
    width: 100%;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}
.pd-action-btn:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.pd-trust-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pd-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
}
.pd-trust-list i {
    color: var(--success);
    font-size: 1.2rem;
}
.pd-description {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    line-height: 1.8;
    color: var(--text-main);
}
.pd-description h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}
.pd-description p {
    margin-bottom: 15px;
}

/* ================= BLOG/PAGE LAYOUT ================= */
.page-wrap {
    padding: 50px 0;
}
.page-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}
.page-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    line-height: 1.8;
}
.page-content h1 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}
.page-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.6rem;
}
.page-content p {
    margin-bottom: 15px;
    color: var(--text-main);
}
.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}
.page-content li {
    margin-bottom: 10px;
}
.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}
.sidebar-widget h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

/* ================= MEGA FOOTER ================= */
.mega-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}
.footer-col p {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #bbb;
}
.footer-contact i {
    color: var(--secondary);
    font-size: 1.2rem;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #bbb;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.newsletter-form {
    display: flex;
    margin-top: 20px;
}
.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}
.newsletter-form button {
    background-color: var(--secondary);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    color: #888;
    font-size: 0.9rem;
}
.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #888;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side-banners { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .main-header .container { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }
    .logo { order: 1; }
    .header-actions { order: 2; align-items: center; }
    .search-bar { width: 100%; order: 3; }
    .action-item span { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-bar { position: relative; }
    .nav-list { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--primary-dark); z-index: 999; }
    .nav-list.active { display: flex; }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
    .nav-list li a { padding: 12px 20px; }
    
    .hero-side-banners { display: none; }
    .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .faq-box { padding: 10px; }
    .faq-box h4 { font-size: 0.85rem; margin-bottom: 5px; }
    .faq-box h4 i { font-size: 0.9rem; }
    .faq-box p { font-size: 0.75rem; line-height: 1.4; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .footer-col h4 { font-size: 1rem; margin-bottom: 15px; }
    .footer-col p, .footer-contact li, .footer-links a { font-size: 0.85rem; }
    .footer-bottom .container { flex-direction: column; gap: 15px; text-align: center; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card { padding: 10px; }
    .product-img { height: 140px; margin-bottom: 10px; }
    .product-title { font-size: 0.85rem; line-height: 1.3; margin-bottom: 5px; }
    .product-rating { font-size: 0.7rem; margin-bottom: 5px; }
    .product-rating span { display: none; }
    .product-price { margin-bottom: 10px; }
    .new-price { font-size: 1.1rem; }
    .old-price { font-size: 0.8rem; }
    .btn-add-cart { font-size: 0.8rem; padding: 8px 5px; }
    .badge-discount { font-size: 0.7rem; padding: 3px 6px; top: 5px; left: 5px; }
    .badge-shipping { font-size: 0.7rem; padding: 3px 6px; top: 5px; right: 5px; }
    
    .page-grid { grid-template-columns: 1fr; }
}

/* ================= STORE FILTER ================= */
.store-filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px auto 20px;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: #fff;
    color: var(--primary);
    border: 2px solid var(--border-color);
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.filter-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ================= PRODUCT CARD LINK INTERACTIONS ================= */
.product-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.product-title a:hover {
    color: var(--secondary);
}
.product-img a {
    display: block;
    width: 100%;
    height: 100%;
}
.product-img img {
    transition: var(--transition);
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}

/* ================= BLOG PAGE STYLING ================= */
.blog-header {
    background: radial-gradient(circle at top center, rgba(217, 119, 6, 0.08), transparent 50%), #0c1524;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.blog-header h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}
.blog-header h1 span {
    color: var(--secondary);
}
.blog-page-wrap {
    margin: 50px auto 80px;
    max-width: 900px;
}
.blog-article {
    background: #0c1524;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.blog-article h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin: 35px 0 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}
.blog-article p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.blog-article ul {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 20px;
}
.blog-article li {
    margin-bottom: 10px;
}
.blog-article strong {
    color: #fff;
}
.blog-link-wheel {
    margin-top: 50px;
    border-top: 1px dashed var(--border-color);
    padding-top: 40px;
}
.blog-link-wheel-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
}
.blog-link-wheel-title span {
    color: var(--secondary);
}

