@font-face {
    font-family: face;
    src: url(./src/Fino-Sans-Light.ttf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #000000;
    font-family: face;
    color:#E5E5E5
}

#landing{
    height:100vh;
    width:100%;
    background-image: url('./resources/b6a5a384efd3703e0f8ed4e9bca4e57d\ \(1\).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left*/
    justify-content: flex-start;/* Align items to the top*/
    padding: 24px; 
    gap: 24px;
}

#logo {
    /* Remove position: absolute */
    /* background: rgba(0,0,0,0.6); */
    /* color: #fff; */
    font-size: 6.3rem;
    /* border-radius: 8px; */
    padding: 15px 18px;
    font-weight: 1000;
}
#logo p {
    letter-spacing: 6px;
}
.text{
    color:#FCA311;
}

#center {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    width: 100%;
    min-height: 300px; /* or height: 100%; if you want full height */
    /* background-color: #FCA311; */
}

#left, #right {
    flex: 1; /* Each takes half the space */
    min-height: 200px; /* Ensure visible height */
}

#left {
    align-self: flex-end;
    /* background: orange; */
    /* color: white; */
    margin-left:2vw;
}
#left p {
    font-size: 1.2rem;
    padding: 0px 20px 59px 20px;
    /* font-weight: 600; */
    line-height: 30px;
    text-align: justify;
    letter-spacing: 1px;
}

#right {
    /* background: green; */
    /* color: white; */
    position: relative; /* Needed for absolute positioning of button */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom */
    /* align-items: flex-end;     Align content to right */
    padding: 20px;
    /* text-align: right; */
    min-height: 200px;
}

#right h1 {
    font-size: 6rem;
    font-weight: bold;
    /* margin-bottom: 10px; */
    text-align: left;
    letter-spacing: 12px; /* reduced for better appearance */
    line-height: 150px;   /* reduced for better appearance */
    padding-left: 190px;   /* reduced for better appearance */
    margin-top: 240px;     /* adjust as needed */
}

#button {
    position: absolute;
    bottom: 45px;
    right: 60px;
    height: 80px;
    width: 80px;
    background-color: #FCA311;
    border-radius: 50%;
    display: flex;              /* Use flex to center icon */
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#button i {
    color: #14213D;
    font-size: 2.5rem;
    transition: transform 0.2s;
}

#button:hover i {
    transform: translateY(8px) scale(1.2);
}

.hello{
    height:auto;
    width:100%;
    padding:11vh 11vh 0 11vh;
    margin-bottom: 50px;
}

.hello .content{
    /* min-height:90vh;
    width: 100%; */
    display: flex;
    flex-direction: row;
    align-items: space-between;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    background: #ffff;
}



.hello h1 {
    font-size: 3rem;
    font-weight: bold;
    /* text-align: center; */
    color: #FCA311; 
    
}




.code-container {
    flex: 1;
    min-width: 70vh;
    max-width: 90vh;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    margin: 3rem;
    /* transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease; */
}

/* .code-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
} */

.code-header {
    background: #dee2e6;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ced4da;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ff5f56;
}

.dot.yellow {
    background-color: #ffbd2e;
}

.dot.green {
    background-color: #27ca3f;
}

.file-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
    background: #ffffff;
}

.code-content pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
}

.code-content code {
    display: block;
    white-space: pre;
}

/* Syntax highlighting */
.code-content pre code {
    background: none;
    padding: 0;
}







.parallex{
    height: 40vh;
    width: 100%;
    background-image: url('https://i.pinimg.com/1200x/c4/47/fb/c447fbb5a824878ab54792143cbe5384.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
}

.python-section-content {
    display: flex;
    /* background:#27ca3f; */
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    margin-top: 30px;
}

.text-container {
    flex: 1;
    /* background:orange; */
    min-width: 50vh;
    max-width: 100vh;
    /* background-color: #27ca3f; */
}

.text-container p {
    padding: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
}

.container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.right-container {
    min-height: 50vh;
   
    min-width: 70vh;
    max-width: 100vh;
    /* padding:30vh; */
    /* border-radius: 8px; */
    /* background-color: red; */
}
.right-container h1 {
    font-size: 6rem;
    font-weight: bold;
    color: #E5E5E5; 
    text-align: center;
    
    /* margin-bottom: 20px; */
}

#c{
    background-image: url('https://i.pinimg.com/736x/c6/51/43/c651433dde72002ff8067f0d7634a7ef.jpg');
}
#cpp{
    background-image: url('https://i.pinimg.com/736x/6b/45/0a/6b450a2978f38d816d76dea1dff583d9.jpg');
}

#java{
    background-image: url('https://i.pinimg.com/1200x/02/25/a4/0225a431e5b2637204873584848f3949.jpg');
}
#js{
    background-image: url('./resources/b6a5a384efd3703e0f8ed4e9bca4e57d\ \(1\).jpg');
}

footer{
    margin-top: 0px;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 32px;
    
}

.social-link i {
    font-size: 2.2rem;
    color: #bbb;
    transition: 
        transform 0.3s cubic-bezier(.68,-0.55,.27,1.55),
        box-shadow 0.3s,
        color 0.3s;
    filter: grayscale(60%);
}

.social-link:hover i {
    transform: scale(1.2) rotate(-8deg);
    filter: none;
}

.social-link.linkedin:hover i { color: #0A66C2; box-shadow: 0 4px 16px #0A66C2AA; }
.social-link.github:hover i { color: #333; box-shadow: 0 4px 16px #333333AA; }
.social-link.x:hover i { color: #000; box-shadow: 0 4px 16px #000000AA; }

footer {
    text-align: center;
    padding: 32px 0 16px 0;
    /* background: black; */
    background-image: url('https://i.pinimg.com/736x/76/5d/4a/765d4ab84d3609432554d5ef5e0df07a.jpg');
    background-size: cover;
    background-position: center;
    color: #E5E5E5;
    font-size: 1rem;

}

/* Responsive for Python section and containers */
@media (max-width: 1024px) {
    .container,
    .python-section-content {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 24px;
    }
    .right-container,
    .text-container,
    .code-container {
        min-width: 0;
        max-width: 100%;
        margin: 0 auto;
    }
    .right-container h1 {
        font-size: 3rem;
        padding: 0 10px;
    }
    .code-container {
        margin: 2rem 0;
    }
    .hello {
        padding: 6vh 3vw 0 3vw;
    }
    #center {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 16px;
    }
    #left, #right {
        min-width: 0;
        max-width: 100%;
        margin: 0 auto;
    }
    #logo {
        font-size: 3rem;
        padding: 10px 12px;
    }
    #right h1 {
        font-size: 3rem;
        padding: 0 10px;
    }
    #button {
        height: 60px;
        width: 60px;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .hello {
        padding: 3vh 2vw 0 2vw;
    }
    .right-container h1 {
        font-size: 2rem;
        padding: 0 4px;
    }
    .code-container {
        margin: 1rem 0;
        font-size: 0.9rem;
    }
    .footer-socials {
        gap: 18px;
    }
    .social-link i {
        font-size: 1.5rem;
    }
    footer {
        padding: 18px 0 8px 0;
        font-size: 0.9rem;
    }
    #center {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 8px;
        width: 100%;
    }
    #left {
        max-height: 40%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 8px 0;
        box-sizing: border-box;
    }
    #right {
        /* background-color: #27ca3f; */
        /* min-height: 40px; */
        max-height: 30%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 8px 0;
        box-sizing: border-box;
    }
    
    #left p, #right h1 {
        font-size: 1.1rem;
        padding: 0 4px;
        text-align: left;
        line-height: 1.3;
    }
    #right h1 {
        font-size: 1.5rem;
        padding: 0 4px;
        text-align: left;
        line-height: 1.3;
    }
    #logo {
        font-size: 2rem;
        padding: 6px 8px;
    }
    #button {
        height: 44px;
        width: 44px;
        font-size: 1.2rem;
        bottom: 10px;
        right: 10px;
    }
    .landing{
        height:80vh;
    }
    .right-container{
        padding-top: 90px;
    }
}

/* Make images and backgrounds scale well */
img, .code-container, .text-container, .right-container {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hello {
    margin-bottom: 0;
    padding-bottom: 0;
}