:root {
    --bg-color: #F7F9FC;
    --text-dark: #2D3436;
    --text-light: #636e72;
    --primary: #4834D4; 
    --red: #FF6B81;
    --yellow: #FFA502;
    --green: #2ED573;
    --purple: #7ED6DF;
    
    --bg-red: #ffe8eb;
    --bg-yellow: #fff4e0;
    --bg-green: #e5fdf0;
    --bg-purple: #e0f9fb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background-color: var(--bg-color); color: var(--text-dark); overflow-x: hidden; }

h1, h2, h3, .logo, .badge, .card-badge { font-family: 'Fredoka', sans-serif; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); z-index: 1000; transition: 0.3s; }
.logo { font-size: 26px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; cursor: pointer; }
.spin-icon { color: var(--yellow); animation: bounceSoft 3s ease-in-out infinite; }
.nav-menu ul { list-style: none; display: flex; gap: 30px; }
.nav-menu a { text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 1.1rem; position: relative; transition: 0.3s; }
.nav-menu a:hover { color: var(--red); }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 3px; background: var(--red); bottom: -5px; left: 50%; transform: translateX(-50%); transition: 0.3s; border-radius: 5px; }
.nav-menu a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.contact-btn { background: var(--yellow); padding: 10px 25px; border-radius: 30px; color: #fff; text-decoration: none; font-weight: 700; font-family: 'Fredoka', sans-serif; display: flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 5px 15px rgba(255, 165, 2, 0.3); }
.contact-btn:hover { background: #ff9f1a; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 165, 2, 0.4); }
.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--text-dark); }

/* HERO BÖLÜMÜ */
.hero { position: relative; min-height: 100vh; padding: 120px 5% 50px; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; }
.hero-bg-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; animation: floatShape 10s infinite alternate ease-in-out; }
.shape-1 { width: 400px; height: 400px; background: var(--yellow); top: -100px; left: -100px; }
.shape-2 { width: 500px; height: 500px; background: #686de0; bottom: -150px; right: 10%; animation-delay: -3s; }
.shape-3 { width: 300px; height: 300px; background: var(--bg-green); top: 30%; left: 40%; animation-delay: -6s; }

.hero-content { flex: 1.2; max-width: 650px; }
.badge { display: inline-block; background: var(--bg-red); color: var(--red); padding: 8px 20px; border-radius: 30px; font-size: 1.1rem; font-weight: 600; margin-bottom: 25px; }
.hero h1 { font-size: 3.5rem; color: var(--text-dark); line-height: 1.2; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(45deg, var(--primary), var(--red)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 40px; font-weight: 600; line-height: 1.6; }

.hero-btns { display: flex; gap: 20px; align-items: center; }
.btn-primary-3d { background: var(--primary); color: #fff; padding: 16px 40px; border-radius: 40px; font-family: 'Fredoka', sans-serif; font-size: 1.2rem; text-decoration: none; transition: 0.2s; box-shadow: 0 8px 0 #302387, 0 15px 20px rgba(0,0,0,0.2); }
.btn-primary-3d:active { transform: translateY(8px); box-shadow: 0 0px 0 #302387, 0 5px 10px rgba(0,0,0,0.2); }
.btn-secondary-play { display: flex; align-items: center; gap: 15px; color: var(--text-dark); font-weight: 800; font-size: 1.1rem; text-decoration: none; transition: 0.3s; }
.btn-secondary-play i { width: 50px; height: 50px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.08); transition: 0.3s; }
.btn-secondary-play:hover i { background: var(--primary); color: #fff; transform: scale(1.1); }

/* TELEFON MOCKUP */
.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.phone-mockup { width: 300px; height: 620px; background: #000; border: 14px solid #1a1a1a; border-radius: 45px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.2), inset 0 0 15px rgba(255,255,255,0.2); overflow: hidden; animation: floatPhone 6s ease-in-out infinite; z-index: 2; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; height: 28px; background: #1a1a1a; border-radius: 0 0 20px 20px; z-index: 10; }
.phone-mockup video { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }

.floating-icon { position: absolute; width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.1); z-index: 3; }
.fi-1 { top: 10%; right: 5%; color: var(--purple); animation: floatObj 4s infinite alternate; }
.fi-2 { bottom: 15%; left: 0; color: var(--red); animation: floatObj 5s infinite alternate-reverse; }

/* HİZMET KARTLARI (3D TİLT) */
.section-padding { padding: 100px 5%; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.8rem; color: var(--text-dark); margin-bottom: 10px; }
.highlight { color: var(--primary); position: relative; }
.highlight::after { content: ''; position: absolute; width: 100%; height: 10px; background: var(--yellow); bottom: 5px; left: 0; z-index: -1; border-radius: 10px; opacity: 0.6; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; perspective: 1500px; }
.product-card { background: #fff; padding: 25px; border-radius: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); position: relative; transition: transform 0.1s ease, box-shadow 0.3s; transform-style: preserve-3d; }
.product-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.card-badge { position: absolute; top: -15px; right: 20px; color: #fff; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transform: translateZ(30px); }
.product-img-box { height: 220px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transform: translateZ(40px); }
.product-placeholder-icon { font-size: 6rem; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1)); }

.product-details { transform: translateZ(20px); text-align: center; }
.product-details h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-dark); }
.service-desc { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.info-link { font-weight: 800; text-decoration: none; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.info-link:hover { opacity: 0.7; transform: translateX(5px); }

.bg-red { background: var(--red); } .text-red { color: var(--red); }
.bg-green { background: var(--green); } .text-green { color: var(--green); }
.bg-purple { background: var(--purple); } .text-purple { color: var(--primary); }
.bg-yellow-light { background: var(--bg-yellow); }
.bg-green-light { background: var(--bg-green); }
.bg-purple-light { background: var(--bg-purple); }

/* VİDEO GALERİSİ (SİNEMA ÖNİZLEME) */
.video-section { background: var(--primary); position: relative; padding-top: 150px; }
.wave-top { position: absolute; top: -5px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.wave-top svg { display: block; width: calc(100% + 1.3px); height: 100px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.video-card { background: rgba(255,255,255,0.1); border-radius: 25px; padding: 15px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); transition: 0.3s; cursor: pointer; }
.video-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.2); }
.video-thumbnail { position: relative; height: 350px; border-radius: 15px; overflow: hidden; }
.video-thumbnail video { width: 100%; height: 100%; object-fit: cover; }
.play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.play-overlay i { font-size: 3rem; color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: 0.3s; }
.video-card:hover .play-overlay { background: rgba(0,0,0,0.1); }
.video-card:hover .play-overlay i { transform: scale(1.2); color: var(--yellow); }
.video-info { text-align: center; margin-top: 15px; }
.video-info h3 { color: #fff; font-size: 1.2rem; font-family: 'Fredoka', sans-serif; }

/* SİNEMA MODU (TAM EKRAN VİDEO MODAL) */
.video-modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); justify-content: center; align-items: center; }
.video-modal.show { display: flex; animation: fadeIn 0.3s ease; }
.modal-video-container { width: 90%; max-width: 400px; /* Dikey formata uygun genişlik */ aspect-ratio: 9/16; background: #000; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.6); position: relative; animation: slideUp 0.4s ease; }
.modal-video-container video { width: 100%; height: 100%; object-fit: cover; outline: none; }
.close-video { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; z-index: 3001; transition: 0.3s; }
.close-video:hover { color: var(--red); transform: scale(1.1); }

/* FOOTER */
footer { background: #1a1a1a; color: #fff; text-align: center; padding: 60px 20px; }
footer h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--yellow); }
footer p { color: #aaa; margin-bottom: 30px; font-size: 1.1rem; }
.contact-info-box { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.contact-info-box p { color: #fff; font-size: 1.2rem; font-weight: bold; display: flex; align-items: center; gap: 10px; }
.contact-info-box i { color: var(--red); font-size: 1.5rem; }

/* ANİMASYONLAR */
@keyframes bounceSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes floatPhone { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
@keyframes floatObj { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-30px) rotate(15deg); } }
@keyframes floatShape { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(30px, 30px) scale(1.1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.right-delay { transform: translateX(50px); }
.right-delay.active { transform: translateX(0); }

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content { margin-bottom: 50px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { justify-content: center; }
    .phone-mockup { width: 260px; height: 540px; }
}

@media (max-width: 768px) {
    .nav-menu { position: fixed; top: -100%; left: 0; width: 100%; background: rgba(255,255,255,0.98); flex-direction: column; text-align: center; padding: 100px 0 40px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.4s; z-index: -1; }
    .nav-menu.active { top: 0; }
    .nav-menu ul { flex-direction: column; gap: 20px; }
    .hamburger { display: block; }
    .nav-actions .contact-btn { display: none; } 
    .section-header h2 { font-size: 2.2rem; }
    .modal-video-container { width: 85%; } /* Telefondaki video genişliği ayarı */
}