/* Global Styles */
:root {
    --primary-color: #1e5287;
    --secondary-color: #333333;
    --light-color: #f5f6fa;
    --dark-color: #2c3e50;
    --text-color: #444;
    --white-color: #fff;
    --black-color: #000;
    --accent-color: #d4a017;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --header-bg: #1e5287;
    --header-text: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

body.popup-active {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

.bg-light {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 12px 25px;
    font-size: 16px;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 4px 0;
    background-color: rgba(255, 255, 255, 0.97);
}

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

.logo {
    width: 380px;
    padding: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 110px;
    max-width: 100%;
    transition: var(--transition);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
    color: var(--dark-color);
    text-shadow: none;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

/* Slider Section */
.slider-section {
    height: 100vh;
    width: 100%;
    margin-top: 86px;
}

.slider-content {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.slider-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slider-content .container {
    position: relative;
    z-index: 1;
    color: var(--white-color);
    max-width: 800px;
    text-align: left;
}

.slider-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slider-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    display: flex;
    margin-top: 30px;
    gap: 20px;
}

.feature {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 5px;
    flex: 1;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.feature i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 18px;
    color: var(--secondary-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white-color);
    font-size: 28px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.service-card:hover .service-icon {
    background-color: transparent;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

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

.project-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-link {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    font-size: 18px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.project-info p {
    color: var(--text-color);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-form-container {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    margin-bottom: 20px;
    max-height: 70px;
    max-width: 260px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

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

.footer-social {
    flex: 1;
    min-width: 200px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

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

/* Responsive */
@media screen and (max-width: 991px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .slider-content h1 {
        font-size: 36px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .logo img {
        max-height: 55px;
        max-width: 220px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        position: relative;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: var(--box-shadow);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .slider-section {
        height: 70vh;
        margin-top: 80px;
    }
    
    .slider-content {
        height: 70vh;
        text-align: center;
    }
    
    .slider-content .container {
        text-align: center;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .logo img {
        max-height: 50px;
        max-width: 200px;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .slider-content h1 {
        font-size: 28px;
    }
    
    .slider-content p {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

/* Form Messages */
.form-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    padding-left: 5px;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

/* Proje Detay Sayfası */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 15px;
    min-width: 200px;
}

.project-details {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.project-details h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.project-details h4 i {
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    .col {
        flex: 100%;
    }
}

/* Proje Görüntüleme Stilleri Güncellendi */
.project-gallery .owl-carousel .item {
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin: 10px;
    cursor: pointer;
    position: relative;
}

.project-gallery .owl-carousel .item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: white;
    opacity: 0;
    background: rgba(30, 82, 135, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Lansman Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.6) translateY(-80px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid var(--accent-color);
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.popup-close i {
    color: var(--white-color);
    font-size: 18px;
}

.popup-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

/* Popup Responsive Design */
@media screen and (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        max-height: 85%;
        margin: 20px;
    }
    
    .popup-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .popup-close i {
        font-size: 16px;
    }
    
    .popup-image img {
        max-height: 75vh;
    }
}

@media screen and (max-width: 480px) {
    .popup-content {
        max-width: 98%;
        max-height: 80%;
        margin: 10px;
        border-radius: 10px;
    }
    
    .popup-close {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }
    
    .popup-close i {
        font-size: 14px;
    }
} 