:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --accent-color: #0066cc;
    --text-color: #333333;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navbar Sticky Fix */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none;
    position: fixed !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    top: 0;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: 80px;
    box-sizing: border-box;
    margin: 0 !important;
}

.navbar .logo {
    margin-left: 5%;
}

.navbar .nav-links {
    margin-right: 5%;
}

/* Navbar Scroll Override */
.navbar.navbar-scrolled {
    background-color: white !important;
    background: white !important;
}

.navbar-scrolled {
    padding: 0.3rem 0 !important;
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transform: none !important;
    transition: all 0.3s ease !important;
    height: 60px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.navbar-scrolled .logo {
    margin-left: 5% !important;
}

.navbar-scrolled .nav-links {
    margin-right: 5% !important;
}

.logo {
    padding: 15px 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.logo svg {
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--accent-color);
}

.navbar-scrolled .logo {
    padding: 8px 0 !important;
}

.navbar-scrolled .logo-image {
    height: 35px !important;
}

.navbar-scrolled .nav-links a {
    font-size: 0.9rem !important;
}

.language-switch {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--accent-color);
    background: none;
    color: var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.language-switch:hover {
    background: var(--accent-color);
    color: white;
}

.navbar-scrolled .language-switch {
    padding: 0.4rem 1rem !important;
    font-size: 0.9rem !important;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('images/bg1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: #64ffda;
    color: #0a192f;
}

.cta-button.secondary {
    border: 2px solid #64ffda;
    color: #64ffda;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(10, 25, 47, 0.9) 0%,
        rgba(10, 25, 47, 0.7) 100%
    );
    z-index: 2;
}

.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
}

.code-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        transparent 0%,
        transparent 48%,
        #64ffda 50%,
        transparent 52%,
        transparent 100%
    );
    background-size: 100% 3px;
    animation: moveLines 15s linear infinite;
    transform: rotate(-45deg);
}

@keyframes moveLines {
    0% {
        transform: translateY(-50%) rotate(-45deg);
    }
    100% {
        transform: translateY(0%) rotate(-45deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-icons {
    z-index: 3;
    opacity: 0.8;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .hero-content {
        margin-left: 5%;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

.code-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    overflow: hidden;
    z-index: 1;
}

.code-text {
    font-family: 'Consolas', monospace;
    font-size: 14px;
    color: #333;
    padding: 20px;
    white-space: pre-wrap;
    line-height: 1.5;
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: randomFloat 20s ease-in-out infinite;
    position: relative;
}

.tech-icon svg, .tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-label {
    display: none;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes randomFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(15px, 15px) rotate(3deg);
    }
}

/* Her logo için farklı animasyon zamanlaması ve hareket */
.tech-icon:nth-child(1) { 
    animation-delay: 0s;
    animation-duration: 25s;
}
.tech-icon:nth-child(2) { 
    animation-delay: -5s;
    animation-duration: 23s;
}
.tech-icon:nth-child(3) { 
    animation-delay: -10s;
    animation-duration: 28s;
}
.tech-icon:nth-child(4) { 
    animation-delay: -3s;
    animation-duration: 22s;
}
.tech-icon:nth-child(5) { 
    animation-delay: -7s;
    animation-duration: 26s;
}
.tech-icon:nth-child(6) { 
    animation-delay: -12s;
    animation-duration: 24s;
}

/* Hover durumunda animasyonu duraklat */
.tech-icon:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 2rem;
        padding: 2rem;
    }

    .tech-icon {
        width: 60px;
        height: 60px;
    }

    .tech-label {
        font-size: 0.8rem;
    }
}

footer {
    background-color: var(--secondary-color);
    padding: 60px 0 20px;
    margin-top: 40px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
}

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

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #0052a3;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

.online-education {
    padding: 80px 0;
    background-color: var(--primary-color);
}

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

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.text-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.text-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.text-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.video-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container video,
.video-container .fallback-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.secondary-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Mobil cihazlar için responsive tasarım */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .text-content,
    .video-container {
        width: 100%;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .navbar-scrolled {
        padding: 0.5rem 3%;
    }
    
    .navbar-scrolled .logo svg {
        width: 130px !important;
        height: 40px !important;
    }
}

.educational-robots {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.robot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.robot-image:hover {
    transform: scale(1.02);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Mobil cihazlar için ek responsive tasarım */
@media (max-width: 768px) {
    .content-wrapper.reverse {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Pop-up Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s;
}

.popup-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideIn 0.3s;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #000;
}

.popup h2 {
    color: #0066cc;
    margin-bottom: 20px;
}

.popup p {
    margin-bottom: 25px;
    color: #444;
    line-height: 1.6;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-btn, .contact-btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.contact-btn {
    background-color: #0066cc;
    color: white;
}

.dont-show {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #666;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Our Products Section */
.our-products {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e3f2fd;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-icon i {
    font-size: 3rem;
    color: #0066cc;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 1.5rem;
    border-radius: 50%;
    display: inline-block;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 1rem;
    text-align: center;
}

.product-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.product-features li i {
    color: #64ffda;
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.product-link {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #0066cc, #64ffda);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-link:hover {
    background: linear-gradient(135deg, #64ffda, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.more-products {
    text-align: center;
    margin-top: 3rem;
}

.view-all-button {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #64ffda);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.view-all-button:hover {
    background: linear-gradient(135deg, #64ffda, #0066cc);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 102, 204, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .product-card p {
        font-size: 0.95rem;
    }
    
    .product-icon i {
        font-size: 2.5rem;
        padding: 1rem;
    }
} 