/* Temel Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Genel Stiller */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header Stilleri */
.company-title {
    background: #1a1a1a;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    color: white;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2;
}

.logo-subtext {
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    opacity: 0.8;
}

.main-menu {
    display: flex;
    gap: 2rem;
}

.menu-item {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.menu-item:hover,
.menu-item.active {
    color: #ffd700;
}

.menu-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Ana İçerik */
.main-content {
    max-width: 1200px;
    margin: 120px auto 2rem;
    padding: 0 2rem;
}

.main-content h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.main-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ffd700;
}

/* Projeler Konteyner */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Proje Kartı */
.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.project-info p {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.project-link {
    display: inline-block;
    color: #ffd700;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.project-link:hover::after {
    width: 100%;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

/* Scroll to top butonu */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .projects-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .main-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: circle(0% at 50% 0);
        transition: clip-path 0.5s ease;
    }
    
    .main-menu.active {
        clip-path: circle(141.4% at 50% 0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-content {
        margin-top: 100px;
        padding: 0 1rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-content h1 {
        font-size: 2rem;
    }
    
    .project-card {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .project-image {
        height: 200px;
    }
}

/* Project Sections */
.project-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.project-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffd700;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.project-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-features {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.project-features h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.project-features li::before {
    content: '✓';
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Gallery Styles */
.project-gallery {
    margin: 2.5rem 0;
}

.project-gallery h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-gallery h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Video Section */
.project-video {
    margin: 3rem 0 1.5rem;
}

.project-video h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-video h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e74c3c;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-section {
        padding: 1.5rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .project-section {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }
}
