/* Global Reset */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background: #080808;
    color: #fff;
}
html {
    scroll-padding-top: 70px;
}



#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/Red\ moon.jpg);
    background-size: cover;
    background-position: center;
}
header {
    background: linear-gradient(to right, #2c3e50, );
    padding: 60px 0;
}


.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}


.logo {
    width: 140px;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes cursor {
    0%, 50% { border-color: transparent; }
    50%, 100% { border-color: #ff004f; }
}

/* Header Text Styling with Animations */
.header-text {
    margin-top: 20%;
    font-size: 25px;
    animation: fadeIn 2s ease forwards;
}

.header-text p {
    font-size: 15px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

.header-text h1 {
    font-size: 50px;
    color: #ff004f;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #ff004f;
    animation: typewriter 3s steps(30) 1s forwards, cursor 0.5s step-end infinite;
}

.header-text h1 span {
    color: #fff;
    display: inline-block;
    animation: bounce 2s infinite;
    
}



/* About Section */
#about {
    padding: 80px 0;
    color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}
.about-col-1 img {
    transition: transform 0.5s ease;
    border-radius: 50px ; /* Rounded corners */
    
}


.about-col-1 img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 0 15px #ff004f; 
    
}


.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: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* Interests Section Styling */
/* Interests Section */
#interests {
    padding: 50px 0;
    background-color: hsla(353, 93%, 57%, 0.984);
}

.interests-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.interest-item {
    perspective: 1000px; /* Enables 3D effect for flip animation */
}

.interest-card {
    position: relative;
    width: 100%;
    height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.7s ease-in-out; /* Slower animation */
}

.interest-card:hover {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-front {
    background-color: #fff;
}

.card-back {
    background-color: #141414; 
    color: #ffffff; 
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
    font-family: 'Roboto', sans-serif; 
    font-size: 18px; 
    font-weight: 700; 
    line-height: 1.6; 
    letter-spacing: 0.6px; 
    text-align: center;
}

.card-back p {
    margin: 0; 
    color: inherit; 
}


.interest-card i {
    font-size: 30px; 
    color: #ff004f;
    margin-bottom: 15px;
}

.interest-card h2 {
    font-size: 18px;
    color: #333;
    margin-top: 15px;
}

.interest-card p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}


/* Portfolio Section */
#portfolio {
    padding: 80px 0;
    background-color: #1a1a1a;
    clear: both; /* Ensures it starts below the Interests section */
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.portfolio-item {
    flex: 1 1 calc(33.333% - 20px); 
    min-width: 250px;
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.portfolio-item h3 {
    font-size: 24px;
    color: #ff004f; 
    margin-bottom: 10px;
}

.portfolio-item p {
    color: #ababab; 
    font-size: 18px;
}

/* Discover More Button */
.discover-more {
    text-align: center;
    margin-top: 30px;
}

.btn-discover {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #ff004f; 
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-discover:hover {
    background-color: #e6003c; 
    transform: scale(1.05); 
    box-shadow: 0px 5px 15px rgba(255, 0, 79, 0.3); 
}




.construction-icon {
    width: 100%; /* Make the GIF fill the width of its parent container */
    max-width: 250px; /* Set a maximum width to ensure consistency with other project images */
    height: auto; /* Maintain aspect ratio */
    margin: 10px auto;
    animation: bounce 2s infinite; /* Add subtle bounce animation */
    
}






/* Keyframes for bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.construction-wrapper {
    width: 100%;
    padding: 15px;
    border: 2px dashed #ff4500; /* Dashed border for construction effect */
    border-radius: 8px;
    background-color: #fff7e6; /* Light background for a professional look */
}

.construction-wrapper p {
    color: #333;
    font-size: 1rem;
    font-weight: bold;
}

/* Keyframes for bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}





/*portfolio section ends here*/

/*contact section*/
#contact {
    padding: 80px 0;
    background-color: #111;
    color: #fff;
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#contact .sub-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ff004f;
}

#contact p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
    text-align: justify;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

#contact label {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: #888;
    font-style: italic;
}

#contact button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ff004f;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

#contact button:hover {
    background-color: #e6003c;
    transform: scale(1.05); /* Slight zoom effect */
}

#thank-you-message {
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: #a72844;
}

#contact .social-media {
    margin-top: 40px;
}

#contact .social-media h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff004f;
}

#contact .social-media p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ddd;
}

#contact .social-media ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
}

#contact .social-media li {
    margin: 10px 0;
}

#contact .social-media a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

#contact .social-media a:hover {
    color: #ff004f;
}

#contact .social-media i {
    margin-right: 10px;
}





.logo-container a {
    display: inline-block; 
    text-decoration: none; 
    color: inherit; 
}

.logo-container a:hover {
    opacity: 0.8; 
    transition: opacity 0.3s ease; 
}


.contact-info li {
    display: flex;               
    align-items: center;          /* Center items vertically */
    font-size: 18px;              /* Font size for text */
    color: #fff;                  /* White color for text */
    margin: 10px 0;               /* Spacing between each list item */
    transition: color 0.3s;       /* Smooth transition for text color on hover */
    cursor: pointer;              /* Pointer cursor on hover */
}

/* Style for the icon */
.contact-info li i {
    color: #fff;                  /* Initial color for icon */
    margin-right: 10px;           /* Space between icon and text */
    font-size: 20px;              /* Icon size */
    transition: color 0.3s;       /* Smooth transition for icon color on hover */
}

/* Hover effect for list item and icon */
.contact-info li:hover {
    color: #e60045;               /* Change text color on hover */
}

.contact-info li:hover i {
    color: #e60045;               /* Change icon color to red on hover */
}
/* Dark Theme Styling for Social Media Section */
#connect {
    background-color: #1a1a1a; /* Dark background */
    color: #fff; /* White text */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#connect h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff; /* White for heading */
}

#connect p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ccc; /* Light gray for description */
}

#connect ul {
    list-style-type: none;
    padding-left: 0;
}

#connect ul li {
    margin: 10px 0;
}

#connect ul li a {
    color: #fff; /* White text for links */
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

#connect ul li a i {
    margin-right: 10px;
}

#connect ul li a:hover {
    color: #f44336; /* Red hover effect */
}

.contact-info li {
    font-size: 16px;
    color: #ccc; /* Light gray color for contact info */
}

.contact-info li i {
    margin-right: 10px;
}



/*Foooter*/
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}



footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

footer p {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

footer p a {
    color: #db4a34;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer p a:hover {
    color: #b92937;
}
footer p a:hover {
    color: #b92929;
    transform: scale(1.1);
}
/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    /* Header and Navigation */
    nav {
        position: relative;
    }

    nav ul {
        display: none;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 70px;
        left: 0;
        background: #1a1a1a;
        z-index: 2;
    }

    nav ul li {
        display: block;
        margin: 20px 0;
    }

    .header-text {
        margin-top: 50%;
        font-size: 20px;
    }

    .header-text h1 {
        font-size: 40px;
        white-space: normal;
        border-right: none;
        animation: none;
    }

    /* About Section */
    .row {
        flex-direction: column;
    }

    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    /* Tabs */
    .tab-titles {
        flex-wrap: wrap;
        gap: 15px;
        margin: 20px 0;
    }

    .tab-links {
        margin-right: 20px;
        font-size: 16px;
    }

    /* Interests Section */
    .interests-lists {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Portfolio Section */
    .portfolio-item {
        flex-basis: 100%;
    }

    /* Contact Section */
    #contact form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* Header */
    .header-text {
        margin-top: 40%;
        font-size: 18px;
    }

    .header-text h1 {
        font-size: 30px;
    }

    /* About Section */
    .sub-title {
        font-size: 32px;
    }

    /* Interests Cards */
    .interest-card {
        height: 250px;
    }

    .card-front h2 {
        font-size: 16px;
    }

    /* Social Media Links */
    .social-media ul li {
        margin: 10px 0;
    }

    .social-media a {
        font-size: 16px;
    }

    /* Footer */
    footer p {
        font-size: 12px;
    }
}
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: white;
    padding: 10px;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 70px;
        left: 0;
        background: #1a1a1a;
        z-index: 2;
    }

    .menu-toggle {
        display: block;
    }

    nav ul.show {
        display: block;
    }
}
