:root {
    --primary-purple: #511f5c;
    --primary-yellow: #ccde61;
    --primary-red: #f3705c;
    --primary-turquoise: #D0E8E2;
    --primary-blue: #10183e;
    --primary-green: #5ebe7b;
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    z-index: 1001;
}

.logo img {
    height: 40px;
    transition: all 0.3s ease;
}

.menu-toggle {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

nav.scrolled .menu-toggle span {
    background-color: var(--primary-purple);
}

nav.scrolled .menu-toggle.active span {
    background-color: #e7e866;
}

.menu-toggle.active span {
    background-color: #e7e866;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-turquoise);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem;
    position: relative;
}

.hero-content {
    text-align: left;
    margin-bottom: 6rem;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 0 0 30px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5),
                 0 0 15px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-line {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scrollAnimation 2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes scrollAnimation {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 20px);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

/* Work Section */
.work {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.work-split {
    display: flex;
    min-height: 100vh;
}

.work-left {
    width: 50%;
    background-color: #ffffff;
    color: var(--bg-color);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.work-left h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary-red);
    font-weight: 700;
}

.work-left p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 500px;
}

.work-right {
    width: 50%;
    background-color: var(--primary-red);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.big-logo {
    width: 60%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.big-logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.big-logo img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* About Section */
.about {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.about-split {
    display: flex;
    min-height: 100vh;
}

.about-left {
    width: 50%;
    background-color: #ffffff;
    color: var(--bg-color);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.about-left h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary-turquoise);
    font-weight: 700;
}

.about-left p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 500px;
}

.about-right {
    width: 50%;
    background-color: var(--primary-turquoise);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-right::before {
    content: '';
    position: absolute;
    right: -100vw;
    top: 0;
    width: 100vw;
    height: 100%;
    background: var(--primary-turquoise);
}

/* Contact Section */
.contact {
    min-height: 100vh;
    height: 100vh;
    background-color: #ffffff;
    color: var(--bg-color);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
}

.contact-left {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow-y: auto;
}

.contact h2 {
    font-size: 50px;
    letter-spacing: -1.25px;
    line-height: 59px;
    margin-bottom: 2rem;
    color: var(--bg-color);
    align-self: flex-start;
    margin-left: 10%;
}

#contact-form {
    display: flex;
    align-items: flex-start;
    width: 80%;
    max-width: 1000px;
    align-self: flex-start;
    margin-left: 10%;
}

.form-wrapper {
    width: 100%;
}

.form-columns {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-column-left {
    width: 50%;
}

.form-column-right {
    width: 50%;
}

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

.form-group label {
    display: block;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--bg-color);
    font-size: 1.1rem;
}

.form-group input,
.message-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: var(--bg-color);
    font-family: inherit;
    font-size: 1.2rem;
}

.form-group input::placeholder,
.message-group textarea::placeholder {
    color: rgba(10, 10, 10, 0.3);
    font-size: 1.2rem;
}

.form-group input:focus,
.message-group textarea:focus {
    outline: none;
}

.message-group {
    height: 100%;
}

.message-group label {
    display: block;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--bg-color);
    font-size: 1.1rem;
}

.message-group textarea {
    min-height: 200px;
    height: calc(100% - 2rem);
    resize: none;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--bg-color);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.submit-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.contact-sidebar {
    width: 400px;
    background: #000000;
    padding: 4rem 3rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    right: 0;
}

.contact-sidebar-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #000000;
}

.quick-response {
    margin-top: 7rem;
    margin-bottom: 4rem;
}

.quick-response p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quick-response a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 1.1rem;
}

.location {
    margin-bottom: 4rem;
}

.location h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.location a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.location .directions {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.privacy {
    margin-bottom: 4rem;
}

.privacy a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
}

.team {
    margin-top: auto;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-member img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.member-info h4 {
    color: #ffffff;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.member-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.linkedin-link img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.linkedin-link:hover img {
    opacity: 1;
}

@media (max-width: 1200px) {
    .contact {
        height: auto;
        min-height: 100vh;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
    }

    .contact-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        min-height: auto;
    }

    .contact-left {
        height: auto;
        overflow: visible;
    }

    .quick-response {
        margin-top: 0;
    }

    #contact-form {
        width: 100%;
        margin-left: 0;
    }

    .contact h2 {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .contact {
        align-items: flex-start;
    }

    .contact-left {
        align-items: stretch;
    }

    .form-columns {
        flex-direction: column;
        gap: 0;
    }

    .form-column-left,
    .form-column-right {
        width: 100%;
    }

    .message-group textarea {
        min-height: 200px;
        height: auto;
    }

    .contact-left {
        padding: 2rem;
    }

    .contact h2 {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 2rem;
    }

    nav {
        background-color: transparent !important;
        box-shadow: none !important;
    }
    nav.scrolled {
        background-color: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
    }
}

/* Form işlevselliği için gerekli yeni stiller */
#form-status {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 2rem 3rem;
    border-radius: 8px;
    display: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1002;
    max-width: 90%;
    width: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#form-status.success {
    display: block;
    background-color: rgba(94, 190, 123, 0.95);
    color: white;
    border: none;
}

#form-status.error {
    display: block;
    background-color: rgba(243, 112, 92, 0.95);
    color: white;
    border: none;
}

.submit-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: var(--bg-color);
}

.submit-button.loading::after {
    content: '';
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Footer */
footer {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 30px;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-turquoise);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

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

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

    .about h2,
    .work h2,
    .contact h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .work-split {
        flex-direction: column;
    }

    .work-left,
    .work-right {
        width: 100%;
        min-height: 50vh;
        padding: 3rem;
    }

    .work-left h2 {
        font-size: 2.5rem;
    }

    .work-left p {
        font-size: 1rem;
    }

    .big-logo {
        width: 80%;
    }
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen Menu */
.menu-toggle {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

nav.scrolled .menu-toggle span {
    background-color: var(--primary-purple);
}

.menu-toggle.active span {
    background-color: #e7e866;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #000000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    transition: right 0.5s ease;
    z-index: 999;
    padding-top: 100px;
}

.fullscreen-menu.active {
    right: 0;
}

.menu-links {
    list-style: none;
    text-align: right;
    width: 100%;
    padding: 2rem;
}

.menu-links li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.fullscreen-menu.active .menu-links li {
    opacity: 1;
    transform: translateX(0);
}

.menu-links a {
    color: #e7e866;
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    transition: all 0.3s ease;
}

.menu-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e7e866;
    transition: width 0.3s ease;
}

.menu-links a:hover {
    color: #e7e866;
}

.menu-links a:hover::after {
    width: 100%;
}

/* Section Transitions */
section {
    scroll-margin-top: 80px;
}

html {
    scroll-behavior: smooth;
}

.partners {
    width: 100%;
    padding: 50px 0;
    background: var(--bg-color);
    overflow: hidden;
}

.partners h2 {
    text-align: center;
    color: var(--primary-yellow);
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 600;
}

.partner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(250px * 50);
    animation: scroll 50s linear infinite;
}

.partner-logo {
    flex: 0 0 250px;
    height: 100px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.partner-logo img:hover {
    filter: brightness(0) invert(0.8);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 25));
    }
}

.partner-slider::before,
.partner-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.solutions {
    display: none;
}

.solutions-container,
.phone-container,
.iphone-frame,
.gif-container,
.rm-gif {
    display: none;
}

/* Section Transitions */
section {
    scroll-margin-top: 80px;
}

html {
    scroll-behavior: smooth;
}

.partners {
    width: 100%;
    padding: 50px 0;
    background: var(--bg-color);
    overflow: hidden;
}

.partners h2 {
    text-align: center;
    color: var(--primary-yellow);
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 600;
}

.partner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(250px * 50);
    animation: scroll 50s linear infinite;
}

.partner-logo {
    flex: 0 0 250px;
    height: 100px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.partner-logo img:hover {
    filter: brightness(0) invert(0.8);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 25));
    }
}

.partner-slider::before,
.partner-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}