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

:root {
    --black: #222;
    --dark-green: #2e7d32;
    --light-green: #66bb6a;
    --white: #fff;
}

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

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

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

.nav-logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--dark-green);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f5e9 50%, #c8e6c9 100%);
    position: relative;
}

.hero-content {
    text-align: center;
    color: var(--black);
}

.logo {
    margin-bottom: 2rem;
    opacity: 0;
    animation: zoomInRotate 1s ease forwards, float 3s ease-in-out infinite 2s;
}

.logo img {
    width: 150px;
    height: auto;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInRotate {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(10px) rotate(2deg);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    color: var(--dark-green);
    opacity: 0;
    animation: slideInFromTop 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--black);
    font-weight: 500;
    opacity: 0;
    animation: slideInFromBottom 1s ease forwards;
    animation-delay: 0.6s;
}

.cta-button {
    display: inline-block;
    padding: 12px 40px;
    background: var(--dark-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.cta-button:hover {
    background: var(--light-green);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.4);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-green);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--light-green);
    margin: 20px auto;
    transform: scaleX(0);
    transition: transform 0.8s ease 0.3s;
}

.section-title.active::after {
    transform: scaleX(1);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.active {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.about-text.active h3 {
    opacity: 1;
    transform: translateY(0);
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.active p:nth-child(2) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.about-text.active p:nth-child(3) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.about-text.active p:nth-child(4) {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}

.about-text.active p:nth-child(5) {
    transition-delay: 1s;
    opacity: 1;
    transform: translateY(0);
}

.about-text.active p:nth-child(6) {
    transition-delay: 1.2s;
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    flex: 1;
    align-self: flex-start;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.about-image.active {
    opacity: 1;
    transform: translateX(0);
}

.image-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2rem;
}

.image-placeholder img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f8f8;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--light-green), var(--dark-green));
    border-radius: 2px;
    opacity: 0.3;
    transition: opacity 0.8s ease;
    transform: translateX(-50%);
}

.services.active .timeline-line {
    opacity: 1;
    animation: lineGrow 2s ease forwards;
}

@keyframes lineGrow {
    0% { height: 0; }
    100% { height: 100%; }
}

/* Timeline Items */
.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.services.active .timeline-item {
    opacity: 1;
    transform: translateX(0);
}

.services.active .timeline-item:nth-child(2) { animation-delay: 0.2s; }
.services.active .timeline-item:nth-child(3) { animation-delay: 0.4s; }
.services.active .timeline-item:nth-child(4) { animation-delay: 0.6s; }
.services.active .timeline-item:nth-child(5) { animation-delay: 0.8s; }
.services.active .timeline-item:nth-child(6) { animation-delay: 1.0s; }

/* Timeline Marker */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--dark-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.4);
}

.step-number {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Timeline Content */
.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 70px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 70px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.1), transparent);
    transition: left 0.8s;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--dark-green));
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.timeline-icon i {
    color: white;
    font-size: 1.5rem;
}

.timeline-content:hover .timeline-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.timeline-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: var(--white);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    margin-top: 3rem;
}

.projects.active .projects-grid {
    opacity: 1;
    transform: translateY(0);
}


.featured-project-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    height: 100%;
}

.featured-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.project-logo {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-green), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.project-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.project-info {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.project-info h4 {
    font-size: 1.3rem;
    color: var(--light-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-features.top-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin-bottom: 0;
    z-index: 10;
}

.feature-tag {
    background: linear-gradient(135deg, var(--dark-green), var(--light-green));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.visit-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-green);
    font-weight: 600;
    font-size: 1.1rem;
}

.visit-link i {
    transition: transform 0.3s ease;
}

.featured-project-card:hover .visit-link i {
    transform: translateX(5px);
}

.development-project {
    cursor: default;
}

.development-project .project-logo {
    background: linear-gradient(135deg, #4caf50, #81c784);
}

.development-project .project-logo i {
    font-size: 4rem;
    color: white;
}

.development-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.development-status i {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-green);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: var(--dark-green);
    color: white;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--dark-green);
    transform: scale(1.2);
}

/* Responsive tasarım */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .project-logo {
        height: 150px;
    }

    .project-info {
        padding: 2rem;
    }

    .project-info h3 {
        font-size: 1.8rem;
    }
}

.project-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.projects-grid.active .featured-project-card:nth-child(1) { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.2s; }
.projects-grid.active .featured-project-card:nth-child(2) { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.4s; }

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-green), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.8;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.95);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-green);
}

.project-overlay p {
    color: #ccc;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f8f8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-wrapper.active {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-wrapper.active .contact-info {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.company-info h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--light-green);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.info-item p {
    margin: 0.3rem 0;
    color: #555;
    line-height: 1.6;
}

.contact-content {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-wrapper.active .contact-content {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-green);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--dark-green);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--light-green);
    color: var(--black);
    transform: translateY(-2px);
}

.social-links {
    text-align: center;
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    margin: 0 1rem;
    font-size: 1.5rem;
    color: var(--dark-green);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--light-green);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(46, 125, 50, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        position: static;
    }
    
    .timeline-container {
        max-width: 100%;
        margin-top: 2rem;
        padding: 1rem;
    }

    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 3rem;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: center;
        margin: 1.5rem 0 0 0;
    }

    .timeline-marker {
        width: 80px;
        height: 80px;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 0 1.5rem 0;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .timeline-content {
        margin: 0 !important;
        padding: 2rem 1.5rem;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
    }

    .timeline-icon i {
        font-size: 1.2rem;
    }
    
    .carousel-nav {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .project-card {
        height: 250px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo img {
        width: 100px;
    }
    
    .nav-logo {
        height: 45px;
    }
}