/* Reset and base styles */
html {
    scroll-behavior: smooth;
}

a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #FFA500;
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #222121;
    color: #fff;
}

/* Sidebar styles (for desktop) */
.social-icons {
    position: fixed;
    top: 35%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    z-index: 1000;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 25px;
    width: 80%;
    max-width: 1200px;
    background-color: #080808;
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 400px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Navigation Links */
.nav-links-container {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-links li a:hover {
    color: #FFA500;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
        border-radius: 20px;
    }

    .nav-links-container {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: #080808;
        padding: 1rem 0;
    }

    .nav-links-container.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }
}

/* Container */
.container {
    padding: 0 20px;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and photo */
#myphoto {
    height: 45px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFA500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 180px;
}

/* Content area spacing */
.content {
    padding: 140px 20px 20px;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0;
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Profile section */
.front-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 15px solid #4c4a4a;
    background-color: #4c4a4a;
    transition: all 0.3s ease-in-out;
}

.front-image:hover {
    border: 5px solid #4c4a4a;
    box-shadow: 0 0 0 12px rgba(76, 74, 74, 0.6),
                0 8px 30px rgba(76, 74, 74, 0.8);
}

.profile-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    margin-left: 100px;
    gap: 40px;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        margin-left: 0;
        padding: 60px 20px;
        text-align: center;
    }

    .front-image {
        order: 1;
        max-width: 250px;
        margin-bottom: 20px;
    }

    .profile-text {
        order: 2;
        margin-top: 0;
        padding: 0 20px;
    }
}

.profile-text {
    max-width: 500px;
    margin-top: -40px;
    flex: 1 1 300px;
}

.profile-text h1 {
    font-size: 2.5rem;
    color: #fff;
}

.profile-text p {
    margin: 20px 0;
    color: #ccc;
}

.profile-text button {
    background: none;
    border: 2px solid #FFA500;
    color: #FFA500;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.profile-text button:hover {
    background-color: #FFA500;
    color: #111;
}

#rotating-title {
    transition: opacity 1s ease, filter 1s ease;
    color: #7a7d7e;
}

#rotating-title.blur-out {
    opacity: 0;
    filter: blur(8px);
}

#rotating-title.blur-in {
    opacity: 1;
    filter: blur(0px);
}

/* Contact section */
.contact-container {
    margin-left: 240px;
    padding: 160px 40px 60px;
    max-width: 1000px;
    color: #fff;
}

.contact-container h2 {
    font-size: 2.5rem;
    color: #fdfdfd;
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-form {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #ccc;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 20px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

.contact-form button {
    background: none;
    border: 2px solid #FFA500;
    color: #FFA500;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #FFA500;
    color: #111;
}

.contact-info {
    flex: 1 1 40%;
    font-size: 1rem;
    margin-left: 40px;
    margin-top: 30px;
}

.contact-info p i {
    font-size: 1.2rem;
    color: #1E90FF;
}

.contact-info h3 {
    color: #f1efeb;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 1rem;
}
.social-icons {
    position: fixed;
    top: 25%;
    left: 50px;  /* Move icons slightly to the left */
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding: 20px;  /* Increased padding */
    z-index: 1000;
}

.social-icons a {
    margin-right: 15px;
    color: #FFA500;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .contact-container {
        margin-left: 0;
        padding: 200px 20px 60px;
        margin-top: -50px;
    }

    .contact-content {
        flex-direction: column;
    }

    .social-icons {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #111;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 10px;
        gap: 0px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    }
}

/* Image scaling */
img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
        gap: 0px;
        margin-right: 25px;
    }

    #myphoto {
        height: 35px;
    }
}
