/* var() */
/* Hex opacities
0% -> 00 
25% -> 40 
50% -> 80 
75% -> C0 
100% -> FF 

*/
:root {
    --light: #e8f2f3;
    --graylight: #acacac;
    --graydark: #666666;
    --dark: #0b1010;

    --blue1: #75d4f2;
    --blue2: #47afb2;
    --blue3: #0c756e;

    --green1: #74dedd;
    --green2: #55b1d8;
    --green3: #00577b;

    --transition-duration: 2s;

}
/* Tam ekran geçiş efekti */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Opak arka plan */
    display: flex;
    justify-content: center; /* Yatayda ortala */
    align-items: center; /* Dikeyde ortala */
    z-index: 9999; /* En üstte göster */
    opacity: 1; /* Başlangıçta görünür */
    transition: opacity 0.5s ease-in-out; /* Geçiş efekti */
}

/* Görsel için ayarlar */
.page-transition-img {
    width: 360px; /* Görsel boyutu */
    height: 360px;
    background-image: url('img/photo.png'); /* Path to the background image */
    background-size: cover; /* Ensure the image covers the frame */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    opacity: 50%;
}

/* Animasyon sona erdiğinde */
.page-transition.hidden {
    opacity: 0; /* Görünmez yap */
    pointer-events: none; /* Etkileşimi devre dışı bırak */
}
/* General styles for the background */

body {
    background: linear-gradient(
        to right,
        #000407 0%,
        #000306 5%,
        #000407 10%,
        #000304 15%,
        #000002 20%,
        #010204 25%,
        #000407 30%,
        #000508 35%,
        #000304 40%,
        #010302 45%,
        #010204 50%,
        #000405 55%,
        #000505 60%,
        #000405 65%,
        #010204 70%,
        #000103 75%,
        #000201 80%,
        #010101 85%,
        #010101 90%,
        #010101 95%,
        #010101 100%
      );
}

main {
    display: flex; /* Flex container yap */
    flex-direction: column; /* Sectionları dikey bir layout olarak sıralar */
    align-items: center; /* Sectionları yatayda ortalar */
    gap: 240px; /* Sectionlar arasındaki mesafeyi kontrol eder */
}


/* General Pinned Frame Styling */
.pinned-frame {
    position: fixed;
    top: 20px;
    left: 50%;
    width: 90%; /* Adapts to 90% of the website width */
    max-width: 1550px; /* Maximum width */
    height: 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transform: translateX(-50%);
    background: linear-gradient(to right, #004766, #0A5C56);
    border-radius: 30px;
    z-index: 10;
    transition: opacity 0.5s ease, background-color 0.5s ease, width 0.5s ease;
}

/* Left Section */
.pinned-frame-left {
    display: flex;
    align-items: center; /* Vertically centered */
    justify-content: flex-start; /* Align items to the left */
    height: 100%;
    width: 10%; /* Responsive width */
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem; /* Updated font size */
    font-weight: bold;
    color: white;

}

.pinned-frame-photo {
    width: 50px;
    height: 50px;
    background-image: url('img/photo.png');
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    margin-left: 5px; /* 5px space */
    transition: transform 0.3s ease;
}

/* Main Section */
.pinned-frame_main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 80%; /* Responsive width */
    background: transparent;
}

.pinned-frame-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    font-family: 'Rubik', Arial, sans-serif;

}

.pinned-frame-content button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Space between icon and text */
    font-size: 1.5rem; /* Updated font size */
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #e8f2f380;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 5px;
    transition: all 0.5s ease; /* Tüm stil değişimlerini yumuşat */
}

.pinned-frame-content button:hover {
    transform: scale(1.25); /* Grow on hover */
}

.pinned-frame-content button.button-home {
    color:var(--light);
}

/* Right Section */
.pinned-frame-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px; /* Space between buttons */
    height: 100%;
    width: 10%; /* Responsive width */
    padding-right: 10px; /* Add 10px space from the right */
}

/* Buttons */
.pinned-frame-right button {
    background: transparent;
    font-family: 'Rubik', Arial, sans-serif;
    width: 40px;
    height: 40px;
    color: var(--light);
    border: none;
    cursor: pointer;
    font-size: 24px;
    border-radius: 20px; /* Make buttons circular */
    transition: all 0.5s ease; /* Tüm stil değişimlerini yumuşat */

}

.pinned-frame-right button:hover {
    transform: scale(1.25); /* Grow on hover */
}

/* Global Hover Effect */
.pinned-frame-content button:hover,
.pinned-frame-photo:hover,
.pinned-frame-right button:hover {
    transform: scale(1.25); /* Universal grow on hover */
}

/* Ensure the button is positioned relative */
.tooltip {
    position: relative;
}

/* Tooltip styling */
.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
    transition-delay: 1s;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Cancel tooltip if element has no-tooltip class */
.tooltip.no-tooltip::after {
    content: none;
}


/* Default: hide the combobox menu using opacity and visibility */
.pinned-frame-right-combobox-menu {
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    padding: 20px; /* 20px padding */
    background: #0b746e;  /* Background color as specified */
    border: 1px solid #0b746e;
    border-radius: 25px; /* 25px border-radius */
    position: absolute;
    right: 0;
    top: 75%; /* Appear below the menu button */
    z-index: 100;
    width: auto; /* Fit to content */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* When open, show the combobox menu */
.pinned-frame-right-combobox-menu.open {
    opacity: 1;
    visibility: visible;
}

/* ComboBox menu items styling */
.pinned-frame-right-combobox-menu .combo-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    background: transparent;
    border: none;
    padding: 5px;
    padding-left: 10px;
    cursor: pointer;
    color: var(--light); /* Text color set to var(--light) */
    width: 100%;
    text-align: left;
    font-size: 16px;
}

.pinned-frame-right-combobox-menu .combo-item:hover {
    transform: scale(1.12); /* Grow to 1.12 times on hover */
    background-color: rgba(2,91,122,255); /* Optional hover effect */
}

/* Hide the combobox button by default */
.pinned-frame-right-combobox-button {
    display: none;
}

/* Responsive Design */
@media (max-width: 1080px) {
    .pinned-frame {
        max-width: calc(100% - 40px);
    }
    
    .pinned-frame-content button {
        font-size: 0; /* Hide text */
    }

    .pinned-frame button i {
        font-size: 1rem; /* Icon size remains */
    }

    .text-frame {
        font-size: 20px !important;
    }
    
    /* In .pinned-frame-right: hide original buttons except the combobox button */
    .pinned-frame-right > button:not(.pinned-frame-right-combobox-button) {
         display: none;
    }
    
    /* Display the new combobox button */
    .pinned-frame-right .pinned-frame-right-combobox-button {
         display: inline-block;
    }
}

/* Tooltip cancellation rule */
.tooltip.no-tooltip::after {
    content: none;
}

/* Buttons */
.pinned-frame-right button {
    font-family: 'Rubik', Arial, sans-serif;
    width: 40px;
    height: 40px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    border-radius: 20px; /* Make buttons circular */
    transition: all 0.5s ease; /* Tüm stil değişimlerini yumuşat */
}

.pinned-frame-right button:hover {
    transform: scale(1.2); /* Slight zoom effect on hover */
}

/* Opacity change on scroll */
.pinned-frame:hover {
    opacity: 1;
}


.text-frame {
    left: 5%;
    width: 90%; /* Adapts to 90% of the website width */
    font-family: 'Courier Prime', monospace;
    position: absolute; /* Sayfa içinde sabit bir pozisyon */
    top: 100px; 
    font-size: 32px;
    transition: all 0.5s ease; /* Tüm stil değişimlerini yumuşat */
}

/* Style for "Wake up, Anıl..." */
.wake-up-text {
    color: rgba(116, 222, 221, 0.5);
}

.follow-ai-text {
    position: relative;
    bottom: 20px;

}

/* Style for "Follow the" */
.follow-part {
    color: rgba(117, 213, 242, 0.5); /* White color for "Follow the" */
}

/* Style for "Artificial Intelligence" */
.ai-part {
    color: rgba(117, 213, 242, 1); /* Keep the original color for "Artificial Intelligence" */
    font-weight: bold;
    padding-left: 20;
}

.frame-background {
    position: fixed; /* Keeps it fixed for parallax */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Set height explicitly */
    background-image: url('img/background.jpg'); /* Path to the background image */
    background-size: cover; /* Ensure the image covers the frame */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    z-index: -1; /* Place it behind other elements */
}

/* Scroll Frame for Hello World */
.scroll-frame-1 {
    margin-top: 1150px; /* Adjust margin to match the height of .frame-background */
    height: 1080px; /* Vertical height of the frame */
    background: transparent;
    display: flex;
    justify-content: center; /* Center hello-world-frame horizontally */
    align-items: center; /* Center hello-world-frame vertically */
    width: 95%; /* Adapts to 90% of the website width */
    max-width: 1550px; /* Maximum width */

}

/* Hello World Frame */
.hello-world-frame {
    position: relative;
    width: 75%; /* Fixed width */
    height: 720px; /* Fixed height */
    max-width: calc(100% - 40px); /* Ensure right/left margins never go below 20px */
    background-color: #000505; /* Initial black background */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 0px 2px 2px #47AFB2, 0 0 5px 1px #47AFB2;
    overflow: hidden; /* Ensure content stays within the frame */
    z-index: 0; /* Allow pseudo-elements to layer properly */
    transition: box-shadow 2s ease-in-out, margin 0.3s ease, width 0.3s ease; /* Smooth transitions */
}

/* Add the background image using a pseudo-element */
.hello-world-frame::before {
    content: ''; /* Empty content for the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/background_2.jpg'); /* New background image */
    background-size: cover; /* Ensure the image fits the frame */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease-in-out; /* Smooth fade-in transition */
    z-index: -1; /* Place behind the frame content */
}

.hello-world-frame.image-background::before {
    opacity: 1; /* Fade in the background image */
}

/* Active Image Background State */
.hello-world-frame.image-background {
    box-shadow: 0 0px 2px 2px #37A3D2, 0 0 100px 1px #37A3D2; /* Change box-shadow colors */
}

.hello-world-frame.image-background .hello-world-label {
    color: #75D4F2; /* New text color */
}

/* Label Style */
.hello-world-label {
    font-size: 48px;
    font-family: 'Rubik', sans-serif;
    color: #74DEDD;
    font-weight: bold;
    text-align: center;
    transition: color 2s ease-in-out; /* Smooth text color transition */
}

/* Responsive Adjustments */
@media (max-width: 1280px) {
    .hello-world-frame {
        width: 90%; /* Shrinks to 90% of the screen width */
    }
}

@media (max-width: 768px) {
    .hello-world-frame {
        max-width: calc(100% - 40px); /* Ensure minimum space of 20px on each side */
        width: 100%; /* Take full width minus margins */
    }
}

@media (max-width: 480px) {
    .scroll-frame-1{
        width: 100vw;
    }
    .hello-world-frame {
        width: 500px;
        height: 600px; /* Reduce height slightly for mobile */
    }
    .hello-world-label {
        font-size: 36px; /* Smaller font size for smaller screens */
    }
}



/* Scroll Frame for Sections */
.scroll-frame-2 {
    width: 100%; /* Full width of the page */
    height: auto; /* Let height adjust based on content */
    background: transparent;
    display: flex;
    justify-content: center; /* Center sections-frame horizontally */
    position: relative;
    bottom: 300px;
}


/* Outer Frame for Sections */
.sections-frame {
    width: 100%; /* 90% of the viewport width */
    height: auto; /* Height adjusts with content */
    background-color: black; /* Black background */
    border-top-right-radius: 50px; /* Rounded corners */
    border-top-left-radius: 50px; /* Rounded corners */
    display: flex; /* Use flexbox to arrange inner sections horizontally */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-between; /* Space between sections */
    align-items: center; /* Align sections vertically */
    overflow: hidden; /* Ensure content stays within the frame */
    padding: 20px; /* Add padding inside the outer frame */
}

/* Common Styles for Section Frames */
.sections-frame > div {
    flex: 1 1 22%; /* Allow flexible resizing; 22% width with wrapping */
    aspect-ratio: 1 / 1; /* Maintain square shape */
    display: flex;
    justify-content: flex-start; /* Align content to the top-left corner */
    align-items: flex-start; /* Align content to the top-left corner */
    border-radius: 50px; /* Rounded corners for individual sections */
    color: rgba(0, 0, 0, 0.75); /* Default text color */
    font-family: 'Rubik', sans-serif; /* Font family */
    font-size: 1.5rem; /* Responsive font size */
    text-align: left; /* Align text to the left */
    background-size: cover; /* Ensure background images fit the frame */
    background-position: center; /* Center background images */
    background-repeat: no-repeat; /* Prevent tiling */
    margin: 10px; /* Add spacing between sections */
    position: relative; /* Set relative position for text placement */
    transition: transform 0.3s ease, background-size 0.3s ease, border 0.3s ease; /* Smooth hover effects */
    cursor: pointer; /* Show finger cursor on hover */

}

/* Text Label Positioning */
.sections-frame > div > p {
    position: absolute; /* Position the text within the parent div */
    top: 10px; /* 10px space from the top */
    left: 20px; /* 20px space from the left */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    font-family: 'Rubik', sans-serif; /* Font family */
    font-size: 2rem; /* Responsive font size */
    font-weight: bold;

}

.about_me-label, .career-label, .contact-label{
    color: rgba(0, 0, 0, 0.75); 
}
.skills-label {
color: rgba(255, 255, 255, 0.75); /* Default text color */


}



/* Hover Effect for Section Frames */
.sections-frame > div:hover {
    border: 3px solid white; /* Add a 3px white border */
    transform: scale(1.05); /* Slight zoom effect */
    background-size: 110%; /* Slightly zoom in the background */
}

/* Specific Backgrounds for Each Section */
.section-about_me {
    background-image: url('img/about_me.jpg'); /* About Me background */
}

.section-skills {
    background-image: url('img/skills.jpg'); /* Skills background */
}

.section-career {
    background-image: url('img/career.jpg'); /* Career background */
}

.section-contact {
    background-image: url('img/contact.jpg'); /* Contact background */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sections-frame {
        flex-wrap: wrap; /* Ensure sections stack on smaller screens */
    }

    .sections-frame > div {
        flex: 1 1 45%; /* Each section takes up 45% of the width */
    }
}

@media (max-width: 480px) {
    .sections-frame > div {
        flex: 1 1 90%; /* Each section takes up full width */
        aspect-ratio: 1 / 1; /* Maintain square shape */
    }

    .sections-frame > div > p {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
    }
}


/* About Me Frame Container */
.scroll-frame-amount_me {
    width: 100%;
    height: 720px;
    background: rgba(0, 0, 0, 1);
    border-top: 10px solid rgba(0, 0, 0, 1);
    border-bottom: 10px solid rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row; /* Default horizontal layout */
    transition: flex-direction 0.3s ease, height 0.3s ease;
}

/* About Me Frame */
.about_me-frame {
    flex: 2; /* Maintains proportional width relative to .about_me-frame-image */
    min-width: 1200px;
    height: 100%; /* Full height of the container */
    background: #170506;
    border: none;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 50px; /* Rounded corners */
    overflow-wrap: break-word; /* Prevent text overflow */
    word-wrap: break-word; /* For legacy support */
    transition: width 0.3s ease, padding 0.5s ease;
}

/* About Me Image */
.about_me-frame-image {
    flex: 1; /* Image adjusts with container */
    height: 100%;
    background-image: url('img/about_me.jpg'); /* About Me background image */
    background-size: cover;
    background-position: center;
    background-color: black; /* Fallback color */
    border-radius: 50px;
    margin: 10px;
    transition: flex 0.3s ease, height 0.3s ease;
}

/* Adjustments for Responsive Design */
@media (max-width: 1250px) {
    .scroll-frame-amount_me{
        flex-direction: column; /* Stack items vertically */
        height: auto; /* Adjust height for content */
        width: auto;
        padding: 20px;
        gap: 5px;
    }

    .about_me-frame{
        min-width: 100%; /* Take full width */
    }

    .about_me-frame-image{
        min-width: 100%; /* Ensure image fills width */
        height: 300px; /* Set a consistent height */
        flex: none; /* Prevent flex-grow/shrink in column layout */
    }
}


/* Başlık */
.about_me_title {
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: rgba(82,133,188,1);
    margin-bottom: 10px;
    background: none;
}
/* Alt Başlık */
.about_me_subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    color: rgba(82,133,188,0.75);
    margin-bottom: 20px;
}
/* İçerik Metni */
.about_me_content {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    color: rgb(242, 242, 242);
    line-height: 1.6;
    margin-bottom: 15px;
}
/* Bottom Frame Styles */
.bottom-frame-about-me {
    display: flex; /* Çocuk elemanları yatay hizala */
    justify-content: center; /* Ortala */
    align-items: center; /* Dikeyde ortala */
    width: 100%; /* Tüm genişlik */
    height: 100px; /* Çerçeve yüksekliği */
    background-color: transparent; /* Arka plan yok */
    margin-top: 20px; /* Üstten boşluk */
    gap: 50px; /* Çerçeveler arasında yatayda 50px boşluk */
}

/* Common Styles for Buttons */
.resume-section,
.linkedin-section {
    width: 200px; /* Sabit genişlik */
    height: 50px; /* Sabit yükseklik */
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 24px; /* Yazı boyutu */
    font-weight: bold;
    text-align: center; /* Metni yatayda ortala */
    line-height: 50px; /* Dikeyde ortalamak için line-height */
    border-radius: 25px; /* Yuvarlak köşeler */
    cursor: pointer; /* Hover'da imleci değiştir */
    transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.3s ease; /* Hover efekti */
}
/* Resume Section Styles */
.resume-section {
    color: rgba(252, 188, 153, 1); /* Yazı rengi */
    border: 3px solid rgba(233, 100, 91, 1); /* Kenar rengi */
    background-color: rgba(233, 100, 91, 0.25); /* Yarı saydam arka plan */
}
/* Resume Hover Effect */
.resume-section:hover {
    background-color: rgba(233, 100, 91, 1); /* Opak arka plan */
    transform: scale(1.05); /* Hafif büyütme */
    box-shadow: 0 4px 10px rgba(233, 100, 91, 0.5); /* Hover gölgesi */
    color: white;
}
/* LinkedIn Section Styles */
.linkedin-section {
    color: rgba(82, 132, 185, 1); /* Yazı rengi */
    border: 3px solid rgba(82, 132, 185, 1); /* Kenar rengi */
    background-color: rgba(82, 132, 185, 0.25); /* Yarı saydam arka plan */
}
/* LinkedIn Hover Effect */
.linkedin-section:hover {
    background-color: rgba(82, 132, 185, 1); /* Opak arka plan */
    transform: scale(1.05); /* Hafif büyütme */
    box-shadow: 0 4px 10px rgba(82, 132, 185, 0.5); /* Hover gölgesi */
    color: white;
}


/* Separator Frame */
.scroll-frame-separator_small {
    width: 100%; /* Tam genişlik */
    height: 120px; /* 510px yükseklik */
    background: black;
}

.scroll-frame-separator_medium {
    width: 100%; /* Tam genişlik */
    height: 360px; /* 510px yükseklik */
    background: black;
}

/* Skills Section Container */
.scroll-frame-skills {
    width: 100%;
    height: 700px;
    background: rgba(0, 0, 0, 1);
    border-top: 10px solid rgba(0, 0, 0, 1);
    border-bottom: 10px solid rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Skills Image Frame */
.skills-frame-image {
    flex: 1; /* Esnek genişlik */
    height: 100%; /* Yüksekliği tam kapsa */
    background-image: url('img/skills.jpg'); /* Görsel dosyası */
    background-size: cover; /* Görsel çerçeveye uyacak şekilde ölçeklendir */
    background-position: center; /* Görseli ortala */
    background-color: black; /* Görsel olmayan alan için arka plan */
    border-radius: 50px; /* Köşeleri yuvarla */
    margin: 10px; /* Çerçeve ile arasına boşluk koy */
    transition: transform 0.25s ease-out; /* Smooth transition for the 3D effect */
    transform-origin: center; /* Ensure the transformation happens around the center */
    will-change: transform; /* Optimize for performance */
}
/* Skills Frame */
.skills-frame {
    flex: 2; /* Görselden daha geniş ol */
    min-width: 1200px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #eadcc2 0%,
        #afbaaa 50%,
        #c6c7b7 100%
      );
      
    border:none;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 50px; /* Köşeleri yuvarla */
}


@media (max-width: 1250px) {
    .scroll-frame-skills {
        flex-direction: column; /* Stack items vertically */
        height: auto; /* Adjust height for content */
        width: auto;
        padding: 20px;
        gap: 5px;
    }

    .skills-frame{
        min-width: 100%; /* Take full width */
        max-height: 700px

    }

    .skills-frame-image {
        min-width: 100%; /* Ensure image fills width */
        height: 480px; /* Set a consistent height */
        flex: none; /* Prevent flex-grow/shrink in column layout */
    }
}


.skills-frame_content {
    background-image: url('img/starry_background.jpg');
    background-size: cover; /* Görsel çerçeveye uyacak şekilde ölçeklendir */
    background-position: center; /* Görseli ortala */
    background-color: black; /* Görsel olmayan alan için arka plan */
    padding-top: 15px; 
    padding-left: 10px;
    padding-bottom: 10px;
    border-radius: 50px;
}
/* Skills Title */
.skills-title {
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: rgba(82,133,188,1);
    margin-bottom: 0px;
    margin-top: 10px;
    margin-left: 25px;
}
/* Skills Subtitle */
.skills-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    color: rgba(82,133,188,0.75);
    margin-bottom: 10px;
    margin-left: 25px;
}
/* Skills Content */
.skills-content {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    color: rgb(242, 242, 242);
    line-height: 1.6;
    margin-left: 25px;
    margin-right: 25px;
}
/* Skills Grid */
.skills-grid {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute rows equally */
    height: auto; /* Full height of skills-frame minus title/subtitle/content */
    flex-wrap: wrap; /* Allow items to wrap to the next line */

}
/* Skills Row */
.skills-row {
    height: 120px;
    display: flex;
    justify-content: space-evenly; /* Even spacing between images */
    align-items: center;
}
/* Individual Skill Icons */
.skill-icon {
    width: 150px; /* Max width */
    height: 150px; /* Max height */
    object-fit: contain; /* Maintain aspect ratio */
    filter: grayscale(100%); /* Black and white */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth hover effects */
}
/* Hover Effect */
.skill-icon:hover {
    filter: none; /* Remove grayscale */
    transform: scale(1.25); /* Slight zoom */
}

@media (max-width: 885px) {
    .skill-icon {
        width: 100px; /* Max width */
        height: 100px; /* Max height */
    
    }
    .skills-frame{
        max-height: 725px

    }
}
@media (max-width: 720px) {
    .skills-frame{
        max-height: 750px

    }
}

@media (max-width: 590px) {
    .skills-frame{
        max-height: 800px

    }
    .skill-icon {
        width: 90px; /* Max width */
        height: 90px; /* Max height */
    
    }
}

.scroll-frame-career {
    width: 100%;
    height: 1080px;
    background: rgba(0, 0, 0, 1);
    border-top: 10px solid rgba(0, 0, 0, 1); /* Corrected the syntax */
    border-bottom: 10px solid rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Visual Div */
.career-frame-image {
    flex: 4; /* Esnek genişlik */
    height: 100%; /* Full height */
    background-image: url('img/career.png'); /* Ensure the path is correct */
    background-size: cover; /* Scale to fit image frame */
    background-position: center; /* Center image */
    background-color: black; /* Background for non-image area */
    border-radius: 50px; /* Round corners */
    margin: 10px; /* Space around the frame */
    transition: transform 0.25s ease-out; /* Smooth transition for the 3D effect */
    transform-origin: center; /* Ensure the transformation happens around the center */
    will-change: transform; /* Optimize for performance */
}

/* Content Div */
.career-frame {
    flex: 3; /* Be wider than image */
    height: 100%;
    background: rgba(42,26,26,255);
    border: none;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 50px; /* Rounded corners */
    min-width: 535px;
}

/* Title */
.career-title {
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: rgba(82, 133, 188, 1);
    margin-bottom: 10px;
    background: none;
}

/* Subtitle */
.career-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    color: rgba(82, 133, 188, 0.75); /* Corrected the color definition */
    margin-bottom: 20px;
}

/* Content Text */
.career-content, .career-content-2 {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    color: rgb(242, 242, 242);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Adjustments for Responsive Design */
@media (max-width: 1250px) {
    .scroll-frame-career{
        flex-direction: column; /* Stack items vertically */
        height: auto; /* Adjust height for content */
        width: auto;
        padding: 20px;
        gap: 5px;
    }

    .career-frame{
        min-width: 100%; /* Take full width */
    }

    .career-frame-image{
        min-width: 100%; /* Ensure image fills width */
        height: 1080px; /* Set a consistent height */
        flex: none; /* Prevent flex-grow/shrink in column layout */
    }
}


.scroll-frame-contact {
    width: 100%;
    height: 1080px;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
/* Content Div */
.contact-frame {
    width: 100%; /* Updated width */
    height: 720px; /* Updated height */
    background-image: url('img/starry_background.jpg');
    background-size: cover; /* Görsel çerçeveye uyacak şekilde ölçeklendir */
    background-position: center; /* Görseli ortala */
    background-color: black; /* Görsel olmayan alan için arka plan */
    border-radius: 50px; /* Rounded corners */
    display: flex; /* Use flexbox to arrange inner sections horizontally */
    flex-direction: row; /* Arrange inner sections side by side */
    justify-content: space-between; /* Add spacing between sections */
    align-items: center; /* Align sections vertically */
    padding: 20px; /* Add padding inside the outer frame */
    overflow: hidden; /* Ensure content stays within the frame */
}

.contact-frame_content{
    flex: 2;
    width: 100%;
    height: 100%;
    margin-right:20px;
}
/* Title */
.contact-title {
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: rgba(82, 133, 188, 1);
    margin-bottom: 10px;
    background: none;
    text-align: right;
}

/* Subtitle */
.contact-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 36px;
    color: rgba(82, 133, 188, 0.75);
    text-align: right;
}
.contact-subtitle-bigger {
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    font-size: 48px;
    color: rgb(242, 242, 242);
    margin-bottom: 10px;
    background: none;
    text-align: right;
}

/* Visual Div */
.contact-frame-image {
    flex: 3;
    height: 100%; /* Full height */
    background-color: transparent; /* Background for non-image area */
    margin: 10px; /* Space around the frame */
    transform-origin: center; /* Ensure the transformation happens around the 
    center */
    transition: all 0.5s ease; /* Tüm stil değişimlerini yumuşat */
    position: relative; /* Frame için relative pozisyon */
    background-image: url('img/contact.jpg'); /* Arka plan resmi */
    background-size: cover; /* Resmi çerçeveye göre ölçeklendir */
    background-position: center; /* Resmi ortala */
    background-color: rgba(0, 0, 0); /* Arka plan rengi */
    border-radius: 50px;
    display: flex; /* Flexbox kullanımı */
    justify-content: center; /* Yatayda ortala */
    align-items: center; /* Düşeyde ortala */
    flex-direction: column; /* Yatay olarak alt alta hizalar */
}


.contact-frame_content{
    transition: all 0.5s ease; /* Tüm stil değişimlerini yumuşat */
}

/* Form yapısı */
.contact-form {
    width: 75%; 
    height: 90%; /* Full height */
    background: transparent;
    border-radius: 50px;
    display: flex;
    flex-direction: column; /* Satır bazlı hizalama */
    gap: 15px; /* Elemanlar arasına boşluk ekler */
    justify-content: center; /* Form içeriğini düşeyde ortala */
    align-items: center; /* Form içeriğini yatayda ortala */
    padding: 20px; /* İçerik kenar boşluğu */
    box-sizing: border-box;
}

  
  /* Form öğeleri */
  .contact-form label {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: rgba(82, 133, 188, 1);
  }
  
  .contact-form input{
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    background: rgba(82, 133, 188, 0.66);
    color:rgb(242, 242, 242,1);
    box-sizing: border-box;
  }

  .contact-form textarea {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    width: 100%;
    height: 300px;
    padding: 20px; /* İçeriden boşluk */
    border: none;
    border-radius: 20px;
    background: rgba(82, 133, 188, 0.66);
    color: rgb(242, 242, 242, 1);
    box-sizing: border-box; /* Padding'i genişlik dahilinde tutar */
    overflow: hidden; /* Yatay taşmaları gizler */
    resize: none; /* Kullanıcı yeniden boyutlandırmayı kapatır */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    color: rgb(242, 242, 242, 0.75);
    box-sizing: border-box;
}

  
  .contact-frame-image button {
    margin-top: 20px;
    color: rgb(242, 242, 242); /* Yazı rengi */
    border: 3px solid rgba(82, 133, 188, 1); /* Kenar rengi */
    background-color: rgba(82, 133, 188, 0.5); /* Yarı saydam arka plan */
    width: 200px; /* Sabit genişlik */
    height: 75px; /* Sabit yükseklik */
    font-family: 'Rubik', Arial, sans-serif;
    font-size: 24px; /* Yazı boyutu */
    font-weight: bold;
    border-radius: 25px; /* Yuvarlak köşeler */
    cursor: pointer; /* Hover'da imleci değiştir */
    transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.3s ease; /* Hover efekti */
    transition: all 0.5s ease; /* Smooth transition for style changes */

  }
  
.contact-frame-image button:hover {
    color: rgb(242, 242, 242); /* Yazı rengi */
    border: 3px solid rgba(82, 133, 188, 1); /* Kenar rengi */
    background-color: rgba(82, 133, 188, 1); /* Yarı saydam arka plan */

    transform: scale(1.05); /* Hafif büyütme */
    box-shadow: 0 4px 10px rgba(82, 132, 185, 1); /* Hover gölgesi */
    color: white;
}  
/* Disabled state after successful submission */
.contact-frame-image button.submitted {
    background-color: rgba(82, 188, 84, 1);
    border: 3px solid rgba(82, 188, 84, 1);
    color: white;
    cursor: default;       /* Change cursor to default */
    pointer-events: none;  /* Disable further clicks */
  }
/* Ensure no hover effect for the submitted state */
.contact-frame-image button.submitted:hover {
  transform: none;
  box-shadow: none;
}
/* Adjustments for Responsive Design */
/* Responsive Behavior */
@media (max-width: 1000px) {
    .contact-frame_content{
        display: none;
    }

    .about_me-frame{
        min-width: 100%; /* Take full width */
    }

    .about_me-frame-image{
        min-width: 100%; /* Ensure image fills width */
        height: 300px; /* Set a consistent height */
        flex: none; /* Prevent flex-grow/shrink in column layout */
    }
}

/* ---------------------------------------------------------- */

/* Scroll Bar Genel Tasarımı */
::-webkit-scrollbar {
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #000000 5%,
        #000000 10%,
        #000000 15%,
        #000000 20%,
        #000000 25%,
        #010101 30%,
        #010204 35%,
        #000405 40%,
        #000404 45%,
        #000606 50%,
        #000807 55%,
        #010b0c 60%,
        #010d0d 65%,
        #000d0d 70%,
        #00100f 75%,
        #011110 80%,
        #001210 85%,
        #001311 90%,
        #001610 95%,
        #001610 100%
      );
    width: 20px; /* Kaydırma çubuğunun genişliği */
    height: 20px; /* Alt kaydırma çubuğunun yüksekliği (yatay scroll için) */
}

/* Scroll Bar Arka Planı */
::-webkit-scrollbar-track {
    background: transparent; /* Kaydırma çubuğu arka plan rengi */
    border-radius: 10px; /* Köşeleri yuvarlama */
}

/* Scroll Barın Kendisi */
::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #004766, #0A5C56); /* Kaydırma çubuğu gradient */
    border-radius: 10px; /* Yuvarlak kenarlar */
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); /* Hafif gölge efekti */
}

/* Scroll Bar Hover Durumu */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #0A5C56, #004766); /* Hover durumunda gradient tersine döner */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Hover'da daha belirgin gölge */
}

/* Yatay Scroll Bar (Opsiyonel) */
::-webkit-scrollbar-horizontal {
    background-color: transparent;
    height: 8px; /* Yatay kaydırma çubuğu yüksekliği */
}

/* Yatay Scroll Bar Hover Durumu */
::-webkit-scrollbar-thumb:horizontal:hover {
    background: linear-gradient(90deg, #004766, #0A5C56); /* Hover rengi */
}

/* Ensure page content below the pinned frame */
main {
    margin-top: 150px; /* Creates space below the pinned frame */
    padding: 20px;
    color: rgb(242,242,242)
}

}