* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
    padding-top: 80px;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(/img/background.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -80px;
    padding-top: 80px;
}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: wrap;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 0;
    margin-top: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    width: 140px;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin: 10px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.5s;
}

nav ul li a:hover::after {
   width: 100%;
}

nav ul li a.active {
    color: #ff004f;
}

nav ul li a.active::after {
    width: 100%;
}

/* Header Section (FIGURE OUT HOW TO SPACE OUT MORE) */

.header-text {
    margin-top: 20%;
    margin-left: auto;
    margin-right: 0;
    font-size: 30px;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 15px;
    text-align: left;
    float: right;
}

.header-text h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.header-text h1 span {
    color: #ff004f;
}

/* About Section */

#about {
   padding: 80px 0;
   color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
    padding: 20px;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;   
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #b54769;
    font-size: 14;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* Experience Section */

#experience {
    padding: 30px 0;
}

.experience-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.experience-list div {
    background: linear-gradient(145deg, #262626, #1f1f1f);
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.experience-list div i{
    font-size: 50px;
    margin-bottom: 30px;
    color: #ff004f;
    transition: all 0.4s ease;
    display: block;
    position: relative;
}

.experience-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.experience-list div p {
    color: #ababab;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1.6;
}

.experience-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
    position: relative;
}

.experience-list div:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #ff004f;
    box-shadow: 0 20px 40px rgba(255, 0, 79, 0.3),
                0 0 20px rgba(255, 0, 79, 0.15);
}

.experience-list div:hover i {
    color: #ff004f;
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(255, 0, 79, 0.6);
}

.experience-list div:hover h2 {
    color: #fff;
    transform: translateX(5px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.experience-list div:hover p {
    color: #e0e0e0;
}

/* Hobbies Section */

#hobbies {
    padding: 80px 0;
    background: #1a1a1a;
}

.hobbies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.hobby-card {
    background: linear-gradient(145deg, #262626, #1f1f1f);
    padding: 40px 30px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hobby-card:hover {
    transform: translateY(-10px);
    border-color: #ff004f;
    box-shadow: 0 15px 30px rgba(255, 0, 79, 0.2);
}

.hobby-card i {
    font-size: 60px;
    color: #ff004f;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.hobby-card:hover i {
    transform: scale(1.1);
}

.hobby-card h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.hobby-card p {
    color: #ababab;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.hobby-btn {
    display: inline-block;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.hobby-btn:hover {
    background: #1a1a1a;
    border-color: #ff004f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 79, 0.3);
}

.hobby-btn:hover,
.hobby-btn:hover i {
    color: #fff;
}

.hobby-btn i {
    margin-right: 5px;
    color: #fff;
}

.hobby-btn i {
    font-size: 14px;
}

/* Photo Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 79, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(45deg, #ff004f, #e6003d);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.photo-item {
    background: #262626;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 79, 0.2);
}

.photo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-caption {
    padding: 15px;
    color: #ababab;
    font-size: 14px;
    line-height: 1.4;
}

.no-photos {
    text-align: center;
    padding: 60px 20px;
    color: #ababab;
    font-size: 16px;
}

/* Mobile responsiveness for modal */
@media only screen and (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .close {
        font-size: 28px;
    }
}

/* Portfolio */

#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    text-decoration: none;
    color: #ff004f;
    font-size: 18px;
    line-height: 60px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}

.btn:hover {
    background: #ff004f;
}

/* Contact Section */
.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #ff004f;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background: #ff004f;
}

.contact-right form {
    width: 100%;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    font-size: 18px;
    border-radius: 6px;
    outline: none;
    border: none;
    background: #262626;
    color: #fff;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

/* CSS for small screens */
nav .fas {
    display: none;
}

@media only screen and (max-width: 600px) {
    body {
        padding-top: 70px;
    }

    #header {
        background-image: url(img/phone-background.jpg);
        margin-top: -70px;
        padding-top: 70px;
    }
    
    nav {
        background: rgba(0, 0, 0, 0.95);
        padding: 10px 20px;
    }
    
    .header-text {
        font-size: 20px;
        margin-top: 175%;
    }

    .header-text h1 {
        font-size: 45px;
    }

    nav .fas {
        position: absolute;
        top: 25px;
        left: 30px;
        display: block;
        font-size: 30px;
        color: #ff004f;
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 8px;
        border-radius: 6px;
        background: rgba(255, 0, 79, 0.1);
        border: 2px solid rgba(255, 0, 79, 0.2);
    }

    nav .fas:hover {
        color: #fff;
        background: rgba(255, 0, 79, 0.3);
        border-color: #ff004f;
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 4px 15px rgba(255, 0, 79, 0.3);
    }

    nav ul {
        background: rgba(100, 9, 39, 0.9);
        backdrop-filter: blur(10px);
        position: fixed;
        top: 0;
        left: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: left 0.5s;
        border-right: 2px solid rgba(255, 0, 79, 0.3);
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul li a {
        color: #fff;
        transition: all 0.3s ease;
        padding: 10px 15px;
        border-radius: 8px;
        display: block;
        position: relative;
        overflow: hidden;
    }

    nav ul li a:hover {
        color: #ff004f;
        background: rgba(255, 0, 79, 0.1);
        transform: translateX(10px) scale(1.05);
        text-shadow: 0 0 8px rgba(255, 0, 79, 0.5);
        box-shadow: 0 4px 12px rgba(255, 0, 79, 0.2);
    }

    nav ul li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: #ff004f;
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    nav ul li a:hover::before {
        transform: scaleY(1);
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
        color: #ff004f;
        font-size: 24px;
        transition: all 0.3s ease;
        padding: 8px;
        border-radius: 6px;
        background: rgba(255, 0, 79, 0.1);
        border: 2px solid rgba(255, 0, 79, 0.2);
    }

    nav ul .fas:hover {
        color: #fff;
        background: rgba(255, 0, 79, 0.3);
        border-color: #ff004f;
        transform: rotate(180deg) scale(1.1);
        box-shadow: 0 4px 15px rgba(255, 0, 79, 0.3);
    }

    .sub-title {
        font-size: 40px;
    }

    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }
    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left, .contact-right {
        flex-basis: 100%;
    }

    .hobbies-list {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }

    .hobby-card {
        padding: 30px 20px;
    }

}

#msg {
    color: #61b752;
    margin-top: -40px;
    display: block;
}


