/* 
 * Birlik Reklam - CSS Styles
 * Author: Birlik Grup
 * Version: 1.0
 */

/* Root Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 6px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.btn {
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

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

.btn-light:hover, .btn-light:focus {
    background-color: #e6e6e6;
    border-color: #e6e6e6;
    color: var(--primary-color);
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-top: 1.5rem;
}

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

.bg-light {
    background-color: #f8f9fa !important;
}

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

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

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

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

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

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

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

/* Navbar */
.navbar {
    background-color: var(--dark-color) !important;
    padding: 1rem 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin-left: 0.5rem;
    position: relative;
    transition: all 0.3s;
    color: #fff !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.navbar-scrolled {
    background-color: rgba(33, 37, 41, 0.9) !important;
    padding: 0.8rem 0;
}

/* Page Header */
.page-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45,45,45,0.7);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb-area {
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    margin-top: 76px;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #777;
}

.breadcrumb-item a {
    color: #777;
}

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

/* Slider */
.carousel-item {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: 25%;
    text-align: left;
    max-width: 600px;
    left: 15%;
    background: rgba(45,45,45,0.7);
    padding: 30px;
    border-radius: var(--border-radius);
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

/* Services */
.service-card {
    border-radius: var(--border-radius);
    padding: 2rem;
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    background-color: rgba(0, 95, 172, 0.1);
    border-radius: 50%;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--secondary-color);
}

.service-description {
    color: #777;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    text-align: center;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-image {
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.service-content {
    padding: 1.5rem;
}

.service-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--light-color);
    color: #777;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.service-detail-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Projects */
.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid #eee;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(45,45,45,0.8), transparent);
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-overlay-category {
    font-size: 0.9rem;
    opacity: 0.9;
}

.project-overlay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    margin-top: 1rem;
    transition: var(--transition);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.project-description {
    color: #777;
    margin-bottom: 1.5rem;
}

/* Project Detail */
.project-detail-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.project-detail-image img {
    width: 100%;
}

.project-detail-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.project-info {
    background-color: var(--light-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
}

.info-item {
    margin-bottom: 0.5rem;
}

.info-label {
    font-weight: 700;
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.project-description {
    margin-bottom: 2rem;
}

.gallery-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.social-share {
    display: flex;
    align-items: center;
}

.social-share span {
    margin-right: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    color: #777;
    border-radius: 50%;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.share-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.share-link.facebook:hover {
    background-color: #3b5998;
}

.share-link.twitter:hover {
    background-color: #1da1f2;
}

.share-link.linkedin:hover {
    background-color: #0077b5;
}

.share-link.whatsapp:hover {
    background-color: #25d366;
}

/* Filter */
.filter-title {
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--secondary-color);
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 30px;
    margin: 0 5px 10px;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Stats */
.stats-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-count {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-title {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Clients */
.client-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
    transition: var(--transition);
    margin-bottom: 1rem;
    border: 1px solid #eee;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.client-item img {
    max-width: 100%;
    max-height: 80px;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.7;
}

.client-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.client-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    color: var(--secondary-color);
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 0;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer p {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

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

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 4px;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
}

.footer-social li {
    margin-right: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
}

/* Call to Action */
.cta-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
    position: relative;
    color: white;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45,45,45,0.8);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        bottom: 20%;
        left: 10%;
        max-width: 80%;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
    
    .project-card {
        margin-bottom: 30px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 767px) {
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption {
        text-align: center;
        left: 5%;
        right: 5%;
        bottom: 15%;
        max-width: 90%;
        padding: 20px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-header {
        height: 30vh;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .stats-section .row > div {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575px) {
    .carousel-item {
        height: 40vh;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .service-card, 
    .project-card, 
    .client-item, 
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 15px;
    margin-top: 2rem;
} 