/**
 * Emiralp Mobilya Web Sitesi - Ana Stil Dosyası
 * Modern, responsive ve kullanıcı dostu tasarım
 */

/* Reset ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d3748;
    --secondary-color: #4a5568;
    --accent-color: #718096;
    --text-color: #1a202c;
    --text-light: #4a5568;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #f56565;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

/* Header */
.site-header {
    background: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.site-header.hide-header {
    transform: translateY(-100%);
}

.header-top {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 0;
}

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

.header-contact a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Navigation */
.main-nav {
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    display: block;
    padding: 5px 0;
}

.nav-menu > li > a {
    color: var(--primary-color);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 5px;
    z-index: 1000;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
    margin: 0;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 400;
    border-bottom: 1px solid var(--bg-light);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Hero Section Slider */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 152, 219, 0.6) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-content .btn {
    animation: fadeInUp 1.2s ease;
}

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

/* Hero Slider Navigation */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 30px;
}

.hero-slider-next {
    right: 30px;
}

.hero-slider-prev span,
.hero-slider-next span {
    line-height: 1;
    font-weight: bold;
}

/* Hero Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    border: none;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: #fff;
    width: 40px;
    border-radius: 7px;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* Categories Slider */
.categories-section {
    padding: 60px 0;
    width: 100%;
}

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

.categories-section .section-title {
    margin-bottom: 50px;
}

.slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    min-height: 500px;
}

.category-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    min-width: calc(25% - 15px);
    flex-shrink: 0;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Categories Grid (fallback) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px 10px 0 0;
    box-shadow: none;
    margin: 0;
    box-sizing: border-box;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-info {
    padding: 20px;
}

.category-info h2,
.category-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px 10px 0 0;
    box-shadow: none;
    margin: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 10px 0;
}

.product-stock {
    margin: 12px 0;
}

.stock-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.stock-badge.stock-in {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.stock-badge.stock-out {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: none;
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.blog-content {
    padding: 20px;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.blog-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    background: var(--bg-color);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 5px;
}

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

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Form Styles */
.contact-form {
    max-width: 600px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-link {
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

/* Page Styles */
.page-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

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

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 28px;
}

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

/* Products Page */
.products-page {
    padding: 40px 0;
}

.products-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    text-decoration: none;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    transition: var(--transition);
    background: var(--bg-color);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.product-description {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.product-description h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.description-content {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.product-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
}

/* Product Detail Page */
.product-detail-page {
    padding: 40px 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-color);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    background: var(--bg-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2px;
}

.gallery-thumbnails img:hover {
    border-color: var(--secondary-color);
}

.product-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.product-header {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.product-info h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 0;
}

.product-short-description-box {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.product-short-description-box h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.short-description-content {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

.stock-info {
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 15px 0;
    font-weight: 500;
    background: #d4edda;
    color: #155724;
}

.stock-info.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-light);
}

.related-products h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Categories Page */
.categories-page {
    padding: 40px 0;
}

.category-page {
    padding: 40px 0;
}

.category-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Blog Page */
.blog-page {
    padding: 40px 0;
}

.blog-detail-page {
    padding: 40px 0;
}

.blog-detail {
    display: block;
}

.blog-post {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}

.blog-post-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 40px;
}

.blog-header-image-wrapper {
    display: flex;
    flex-direction: column;
}

.blog-header-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    background: var(--bg-color);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

.blog-header-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.blog-image-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-image-info .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.blog-image-info .info-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
}

.blog-image-info .info-value {
    color: var(--text-color);
    text-decoration: none;
}

.blog-image-info .info-value:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.blog-post-content {
    padding: 0;
}

.blog-post-content h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 30px;
}

.blog-body p {
    margin-bottom: 20px;
}

.blog-sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.blog-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
}

.recent-posts a:hover {
    color: var(--secondary-color);
}

.post-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Branches Page */
.branches-page {
    padding: 40px 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.branch-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.branch-card h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.branch-info {
    margin: 20px 0;
}

.branch-info p {
    margin-bottom: 10px;
    color: var(--text-color);
}

.branch-info strong {
    color: var(--primary-color);
    margin-right: 10px;
}

.branch-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.branch-info a:hover {
    text-decoration: underline;
}

/* Gallery Page */
.gallery-page {
    padding: 40px 0;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Contact Page */
.contact-page {
    padding: 40px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.info-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.info-item .btn,
.info-item .btn-primary {
    color: #fff !important;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.info-item .btn:hover,
.info-item .btn-primary:hover {
    text-decoration: none;
    color: #fff !important;
}

.info-item p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

.contact-map {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-map h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    flex: 1;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 0 30px rgba(0,0,0,0.1);
    background: var(--bg-color);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.05) 0%, rgba(74, 85, 104, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    position: relative;
    z-index: 2;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 18px;
}

/* Error Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-page h1 {
    font-size: 120px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.error-page h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
        padding: 10px 0;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
        padding: 0;
    }
    
    .hero-slider-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .hero-slider-prev {
        left: 15px;
    }
    
    .hero-slider-next {
        right: 15px;
    }
    
    .hero-slider-dots {
        bottom: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .categories-section .container {
        padding: 0 !important;
    }
    
    .slider-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    
    .slider-container::-webkit-scrollbar {
        display: none;
    }
    
    .slider-track {
        gap: 0 !important;
        padding: 0 !important;
        min-height: auto;
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    
    .category-card {
        min-width: 100vw !important;
        width: 100vw !important;
        max-width: 100vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        margin: 0 !important;
        padding: 15px 20px !important;
        box-sizing: border-box !important;
    }
    
    .category-image {
        height: 250px !important;
        padding: 15px !important;
    }
    
    .category-image img {
        object-fit: contain !important;
        width: 100%;
        height: 100%;
    }
    
    .category-info {
        padding: 20px 0 !important;
    }
    
    .categories-grid,
    .products-grid,
    .blog-grid,
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    @media (max-width: 1024px) and (min-width: 769px) {
        .categories-slider {
            margin: 0 50px;
            width: calc(100% - 100px);
        }
        
        .category-card {
            min-width: calc(50% - 10px) !important;
            width: calc(50% - 10px) !important;
        }
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-detail,
    .blog-detail,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .blog-post-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .blog-header-image-wrapper {
        order: -1;
    }
    
    .blog-image-info {
        padding: 15px;
        gap: 10px;
    }
    
    .blog-image-info .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .blog-image-info .info-label {
        min-width: auto;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .page-title {
        font-size: 32px;
    }
}

