/* CSS Variables */
:root {
    --primary-color: #333;
    --secondary-color: #f8f9fa;
    --accent-color: #dc3545;
    --text-color: #666;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

/* Top Bar */
.top-bar {
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.top-bar a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.2;
}

.nav-link {
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #000 !important;
}

/* ================================
   HERO SECTIONS
   ================================ */

/* Standard Hero */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.hero-content {
    text-align: left;
    color: white;
    max-width: 500px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Small Hero (for inner pages) */
.hero-section.small {
    height: 200px;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.hero-section.small .hero-content {
    text-align: center;
    margin-bottom: 30px;
    max-width: none;
}

.hero-section.small .hero-content h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* Hero Decorative Elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    border-radius: 10px;
    z-index: 1;
	display: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 12%;
    width: 320px;
    height: 200px;
    background: #000;
    border-radius: 5px;
    z-index: 2;
	display: none;
}

/* Remove decorative elements for small hero */
.hero-section.small::before,
.hero-section.small::after {
    display: none;
}

/* ================================
   BREADCRUMBS
   ================================ */

.breadcrumb-section {
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    padding: 12px 25px;
    position: relative;
}

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

.breadcrumb-section .breadcrumb-item a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-section .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Gray breadcrumb for specific pages */
.breadcrumb-section.gray {
    background: #6c757d;
    color: white;
    padding: 20px 0;
}

.breadcrumb-section.gray .breadcrumb-item a {
    color: #ccc;
}

.breadcrumb-section.gray .breadcrumb-item.active {
    color: white;
}

/* ================================
   CONTENT SECTIONS
   ================================ */

/* Standard content sections */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

/* About section specific */
.about-content {
    padding: 80px 0;
}

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

.about-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    margin-top: 40px;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: justify;
}

/* ================================
   PRODUCT GRIDS
   ================================ */

.product-grid {
    padding: 80px 0;
}

/* Large product cards (home page) */
.product-card-large {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
	max-width: 1265px;
}

.product-card-medium {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.product-card-large:hover,
.product-card-medium:hover {
    transform: translateY(-5px);
}

/* Product categories backgrounds */
.beyaz-mermer-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1616594039964-ae9021a400a0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

.siyah-mermer-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

.gri-mermer-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1615887023516-c44d692c54db?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

.kahverengi-mermer-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1615887023516-c44d692c54db?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

.diger-renkler-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

.product-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* ================================
   CATEGORY PAGES
   ================================ */

/* Category tabs */
.category-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-pills .nav-link {
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    color: var(--text-color);
    margin: 5px;
    padding: 10px 20px;
    transition: var(--transition);
}

.nav-pills .nav-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.nav-pills .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.nav-pills .nav-link .badge {
    background: rgba(255,255,255,0.2) !important;
}

.nav-pills .nav-link.active .badge {
    background: rgba(255,255,255,0.3) !important;
}

/* Product items in category pages */
.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 30px;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.product-info {
    color: white;
    width: 100%;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-code {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ================================
   PRODUCT DETAIL PAGE
   ================================ */

.product-detail {
    padding: 80px 0;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.product-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-radius: 5px;
}

.product-thumbnails {
    margin-top: 20px;
}

.thumbnail-item {
    height: 80px;
    background: var(--border-color);
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
}

.action-buttons .btn {
    padding: 12px 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    border-radius: 0;
}

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

.btn-outline-dark {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.youtube-section {
    margin-top: 30px;
    padding: 20px;
    background: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
}

.youtube-section h6 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.product-details-section {
    background: var(--secondary-color);
    padding: 50px 0;
}

.details-card {
    background: white;
    padding: 30px;
    border-radius: 0;
    box-shadow: var(--shadow-light);
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.details-content {
    padding-top: 20px;
    display: none;
}

.details-content.show {
    display: block;
}

/* ================================
   PROJECT PAGES
   ================================ */

.projects-grid {
    padding: 80px 0;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 30px;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 30px;
	display: none;
}

.project-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.project-logo small {
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    margin-top: 2px;
}

.project-card {
    height: 500px;
    background: var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
}

/* ================================
   BLOG PAGES
   ================================ */

.blog-grid {
    padding: 60px 0;
}

.blog-item {
    margin-bottom: 30px;
}

.blog-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.blog-card-body {
    padding: 20px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Blog Detail Page */
.blog-content {
    padding: 60px 0;
}

.blog-article {
    background: white;
    border-radius: 0;
    padding: 40px;
    box-shadow: var(--shadow-light);
}

.article-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.article-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
    border-radius: 5px;
}

.article-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: justify;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 100px;
}

.contact-card {
    background: var(--primary-color);
    color: white;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.contact-card h5 {
    color: white;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    width: 20px;
    margin-right: 10px;
}

.blog-sidebar {
    margin-top: 30px;
}

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

.blog-item-sidebar {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.blog-item-sidebar:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-thumb {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin-right: 15px;
    flex-shrink: 0;
}

.blog-info h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
    color: var(--primary-color);
}

.blog-info small {
    color: #999;
    font-size: 0.8rem;
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-locations {
    padding: 60px 0;
}

.location-item {
    margin-bottom: 40px;
}

.location-row {
    display: flex;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    min-height: 300px;
}

.map-container {
    flex: 1;
    min-height: 300px;
    background: var(--border-color);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23e9ecef" width="400" height="300"/><g fill="%23adb5bd"><rect x="50" y="50" width="300" height="200" fill="%23f8f9fa" stroke="%23dee2e6" stroke-width="2"/><circle cx="200" cy="150" r="8" fill="%23dc3545"/><path d="M190,140 Q200,120 210,140 L205,155 L195,155 Z" fill="%23dc3545"/></g><text x="200" y="280" text-anchor="middle" font-family="Arial" font-size="12" fill="%23666">Harita Yükleniyor...</text></svg>') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.location-info {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-detail i {
    width: 20px;
    margin-right: 15px;
    margin-top: 3px;
    color: #ccc;
}

.contact-detail-content h6 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-detail-content p {
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}

/* ================================
   BUTTONS & FORMS
   ================================ */

.btn-custom {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-custom:hover {
    background: #b02a37;
    transform: translateY(-2px);
    color: white;
}

/* ================================
   FLOATING BUTTONS
   ================================ */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: var(--transition);
}

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

.youtube-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: var(--transition);
}

.youtube-float:hover {
    transform: scale(1.1);
    color: white;
}

.instagram-float {
    position: fixed;
    bottom: 160px;
    right: 20px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: var(--transition);
}

.instagram-float:hover {
    transform: scale(1.1);
    color: white;
}

.accessibility-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: var(--transition);
}

.accessibility-widget:hover {
    transform: scale(1.1);
    color: white;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    background: #444;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
    background: #555;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    color: white;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        padding: 0 0px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section::before,
    .hero-section::after {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .location-row {
        flex-direction: column;
    }
    
    .location-info {
        min-width: auto;
    }
    
    .product-label {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .floating-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-float,
    .youtube-float,
    .instagram-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .youtube-float {
        bottom: 70px;
    }
    
    .instagram-float {
        bottom: 130px;
    }
    
    .blog-article {
        padding: 20px;
    }
    
    .sidebar {
        margin-top: 30px;
        position: relative;
        top: auto;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .product-detail {
        padding: 40px 0;
    }
    
    .projects-grid {
        padding: 40px 0;
    }
    
    .blog-grid {
        padding: 40px 0;
    }
    
    .contact-locations {
        padding: 40px 0;
    }
    
    .about-content {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .top-bar {
        font-size: 0.75rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .product-card-large,
    .product-card-medium {
        height: 250px;
    }
    
    .project-item {
        height: 300px;
    }
    
    .article-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 150px;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

/* Text utilities */
.text-justify {
    text-align: justify;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

/* Spacing utilities */
.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}

/* Shadow utilities */
.shadow-light {
    box-shadow: var(--shadow-light);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.shadow-heavy {
    box-shadow: var(--shadow-heavy);
}

/* Transition utilities */
.transition-all {
    transition: var(--transition);
}

/* Background utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #666);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #e0e0e0);
}

/* Border utilities */
.border-radius-0 {
    border-radius: 0 !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Color utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--text-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

/* ================================
   ANIMATION CLASSES
   ================================ */

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scale animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

/* ================================
   LOADING STATES
   ================================ */

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    .top-bar,
    .navbar,
    .floating-buttons,
    .whatsapp-float,
    .youtube-float,
    .instagram-float,
    .accessibility-widget,
    .footer {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        padding: 20px 0;
        background: none !important;
        color: var(--primary-color) !important;
    }
    
    .hero-content h1 {
        color: var(--primary-color) !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 20pt;
    }
    
    .article-title {
        font-size: 16pt;
        margin-bottom: 15pt;
    }
    
    .article-text,
    .about-section p {
        font-size: 11pt;
        line-height: 1.5;
        margin-bottom: 12pt;
    }
    
    .product-label,
    .project-logo {
        background: var(--primary-color) !important;
        color: white !important;
    }
    
    .blog-card,
    .product-item,
    .project-item {
        break-inside: avoid;
        margin-bottom: 20pt;
    }
}

/* ================================
   ACCESSIBILITY IMPROVEMENTS
   ================================ */

/* Focus styles */
a:focus,
button:focus,
.nav-link:focus,
.btn:focus,
.thumbnail-item:focus {

}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --text-color: #333;
        --border-color: #666;
    }
    
    .product-overlay,
    .project-overlay {
        background: rgba(0,0,0,0.9);
    }
    
    .location-info,
    .contact-card {
        background: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section::before,
    .hero-section::after {
        display: none;
    }
    
    .gallery-item:hover,
    .product-item:hover,
    .project-item:hover,
    .blog-card:hover {
        transform: none;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   DARK MODE SUPPORT (OPTIONAL)
   ================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #fff;
        --secondary-color: #1a1a1a;
        --text-color: #ccc;
        --border-color: #333;
    }
    
    body {
        background-color: #121212;
        color: var(--primary-color);
    }
    
    .navbar,
    .top-bar {
        background-color: #1a1a1a !important;
        border-color: #333 !important;
    }
    
    .blog-card,
    .blog-article,
    .sidebar,
    .details-card {
        background-color: #1a1a1a;
        color: var(--primary-color);
    }
    
    .location-row {
        background-color: #1a1a1a;
    }
    
    .breadcrumb-section {
        background: rgba(26, 26, 26, 0.95);
        color: var(--primary-color);
    }
    
    .breadcrumb-section .breadcrumb-item a {
        color: var(--text-color);
    }
    
    .breadcrumb-section .breadcrumb-item.active {
        color: var(--primary-color);
    }
}
	   .hero-section-detay {
    height: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80) center / cover;
    display: flex
;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
        }
.hero-content-detay {
    text-align: center;
    color: white;
    z-index: 2;
    margin-bottom: 30px;
}

/* ================================
   ÜRÜN THUMBNAIL STİLLERİ
   ================================ */

.product-thumbnails {
    margin-top: 1rem;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.thumbnail-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.thumbnail-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

/* Ürün ana resim container */
.product-image-container {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.product-main-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}