:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white-color: #fff;
    --border-radius: 5px;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-open-sans: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-open-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-montserrat);
    color: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5em; 
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; 
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Scroll için geçiş */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
}

.logo h1 {
    font-size: 1.8em;
    color: var(--white-color);
    margin: 0;
    line-height: 1; 
}

.main-nav {
    flex-grow: 1; 
    text-align: right; 
}

.main-nav .nav-list {
    display: flex;
    justify-content: flex-end; 
}

.main-nav .nav-list li {
    margin-left: 30px;
}

.main-nav .nav-list a {
    color: var(--white-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after {
    width: 100%;
}

.main-nav .nav-list a:hover {
    color: var(--secondary-color);
}

.hamburger-menu {
    display: none; 
    font-size: 1.8em;
    cursor: pointer;
    color: var(--white-color);
    order: 2; 
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('adanaankutsankatfabrikas/IMG-20251119-WA0064.jpg') no-repeat center center/cover;
    height: 80vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--white-color);
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: 400;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.about-section .about-content {
    font-size: 1.1em;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

.about-section .about-content p {
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Esnek sütunlar */
    gap: 30px;
}

.service-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item .service-icon {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-item p {
    font-size: 0.95em;
    color: #555;
}

/* Projects Section */
.project-category {
    margin-bottom: 60px;
}

.project-category h3 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-bg);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Esnek sütunlar */
    gap: 25px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    z-index: 1;
}

.project-item img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 86, 179, 0.7);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--white-color);
}

.project-overlay p {
    font-size: 0.9em;
    text-align: center;
}
.references-section {
    padding: 80px 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 30px;
    justify-items: center; 
    align-items: center;
}

.reference-item {
    background-color: #2196F3;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    justify-content: center;
    align-items: center;
    height: 100px; 
    width: 100%; 
    max-width: 200px; 
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.reference-item img {
    max-width: 100%;
    max-height: 60px; 
    object-fit: contain; 
    filter: grayscale(100%); 
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.reference-item:hover img {
    filter: grayscale(0%); 
    opacity: 1;
}
.contact-section {
    padding: 80px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px;
}

.contact-info {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-info h3 { 
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    color: #555;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3em;
}


.footer {
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer p {
    margin-bottom: 15px;
}

.social-links {
    margin-top: 15px; 
}

.social-links a {
    color: var(--white-color);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-content h2 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2.2em;
        margin-bottom: 50px;
    }

    .services-grid,
    .project-gallery,
    .contact-grid {
        gap: 20px; 
    }

    .service-item {
        padding: 25px;
    }

    .project-item img {
        height: 180px;
    }
    .references-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header .main-nav {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; 
        left: 0;
        background-color: var(--dark-bg);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        text-align: center; 
    }

    .header .main-nav.active {
        display: flex; 
    }

    .main-nav .nav-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-nav .nav-list li {
        margin: 10px 0;
    }

    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
        gap: 15px;
    }
    .reference-item {
            height: 80px; 
            padding: 15px;
        }

        .reference-item img {
            max-height: 40px; 
        }
    .main-nav .nav-list a {
        padding: 10px 20px; 
        display: block;
    }

    .hamburger-menu {
        display: block; 
    }

    .logo h1 {
        font-size: 1.6em; 
    }

    .hero-section {
        height: 60vh;
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .section {
        padding: 60px 0; 
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .services-grid,
    .project-gallery,
    .contact-grid {
        grid-template-columns: 1fr; 
    }

    .service-item, .project-item {
        margin-bottom: 20px; 
    }

    .contact-form button {
        width: 100%; 
    }

    .contact-info p {
        font-size: 1em;
    }
    .contact-info {
            margin-bottom: 20px;
        }
    .footer .container {
        flex-direction: column;
        align-items: center;
    }
    .footer p {
        margin-bottom: 10px;
    }
    .social-links {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo h1 {
        font-size: 1.4em;
    }

    .hamburger-menu {
        font-size: 1.6em;
    }

    .hero-section {
        height: 50vh;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }
    .hero-content p {
        font-size: 0.9em;
    }

    .btn {
        padding: 8px 18px;
        font-size: 0.85em;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .about-section .about-content {
        font-size: 0.95em;
    }

    .service-item h3 {
        font-size: 1.3em;
    }

    .project-category h3 {
        font-size: 1.8em;
    }

    .project-item img {
        height: 160px;
    }

    .project-overlay h4 {
        font-size: 1.2em;
    }

    .project-overlay p {
        font-size: 0.8em;
    }
    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
        gap: 10px;
    }

    .reference-item {
        height: 70px;
        padding: 10px;
    }

    .reference-item img {
        max-height: 30px;
    }

    .contact-info h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .contact-info p {
        font-size: 0.95em;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .contact-info p i {
        margin-right: 10px;
        margin-bottom: 0;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 0.9em;
    }

    .footer p, .social-links a {
        font-size: 0.8em;
    }
}
.certificates-section {
    padding: 80px 0;
    overflow: hidden; 
    position: relative;
}

.certificates-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.certificates-carousel {
    display: flex; 
    width: fit-content;
    white-space: nowrap; 
    animation: scroll-right-to-left 40s linear infinite; 
}

.certificates-carousel:hover {
    animation-play-state: paused;
}

.certificate-item {
    flex: 0 0 auto; 
    width: 280px; 
    height: 180px; 
    margin: 0 15px; 
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.certificate-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

@keyframes scroll-right-to-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.lightbox-overlay {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 45px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    font-size: 2em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
    border-radius: 5px;
    z-index: 2001;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2em;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    text-align: center;
    max-width: 80%;
    z-index: 2001;
    display: none;
}
@media (max-width: 992px) {


    .certificate-item {
        width: 250px;
        height: 160px;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {

    .certificate-item {
        width: 200px;
        height: 140px;
        margin: 0 8px;
    }
}

@media (max-width: 480px) {

    .certificate-item {
        width: 160px;
        height: 120px;
        margin: 0 5px;
    }

    .lightbox-close {
        font-size: 40px;
        top: 15px;
        right: 25px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .lightbox-nav {
        font-size: 1.5em;
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-caption {
        font-size: 1em;
        bottom: 10px;
        padding: 8px 15px;
    }
}
