@import url('https://fonts.googleapis.com/css2?family=Arial:wght@400&display=swap'); /* Simple, clean font */

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a, #2e2e2e); /* Dark gradient */
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    color: #c0992f; /* New muted beige text color */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    z-index: 1; /* Ensures content is above the background image */
    background: rgba(30, 30, 30, 0.8); /* Semi-transparent dark background for header */
    border-bottom: 2px solid #7d6b50; /* Darker beige border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/src/main/photo1.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3; /* Adjust opacity for visibility */
    z-index: -1; /* Place it behind the header content */
}

header h1 {
    font-size: 3.5em;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #919191; /* Lighter beige for contrast */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
    animation: fadeIn 2s ease-in-out;
}

header p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #949494; /* Slightly darker beige */
    animation: fadeIn 3s ease-in-out;
}

.intro {
    text-align: center;
    padding: 20px;
    color: #c0992f; /* Muted beige */
    background: rgba(30, 30, 30, 0.8); /* Semi-transparent dark background */
    border: 1px solid #7d6b50; /* Darker beige border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.portfolio-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    animation: fadeIn 4s ease-in-out;
    gap: 20px;
    justify-content: center;
}

.portfolio-3 img {
    width: 100%;
    height: auto;
    border: 2px solid #7d6b50; /* Darker beige border */
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.portfolio-3 img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    animation: fadeIn 4s ease-in-out;
    justify-content: center;
}

.portfolio img {
    width: 100%;
    height: auto;
    border: 2px solid #7d6b50; /* Darker beige border */
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.portfolio img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.contact-form {
    padding: 20px;
    animation: fadeIn 5s ease-in-out;
    background: rgba(30, 30, 30, 0.8); /* Semi-transparent dark background */
    border: 2px solid #7d6b50; /* Darker beige border */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #c0992f; /* Lighter beige */
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #7d6b50; /* Darker beige border */
    background-color: #1a1a1a; /* Dark background */
    color: #c0992f; /* Muted beige text */
    outline: none;
    border-radius: 5px;
}

.contact-form input[type="submit"] {
    background-color: #d2c99e; /* Lighter beige */
    color: #1a1a1a; /* Dark text */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    border-radius: 5px;
}

.contact-form input[type="submit"]:hover {
    background-color: #cf9821; /* Slightly darker beige */
    color: #1a1a1a; /* Dark text */
}

footer {
    text-align: center;
    padding: 20px;
    position: relative;
    border-top: 2px solid #7d6b50; /* Darker beige border */
    background: rgba(30, 30, 30, 0.8); /* Semi-transparent dark background */
}

footer p {
    margin: 0;
    color: #919191; /* Muted beige */
    animation: fadeIn 6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.menu-btn {
    position: fixed;
    top: 2%;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1000;
    color: #c0992f; /* Lighter beige */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.menu-btn-back {
    position: fixed;
    top: 2%;
    left: 60px;
    font-size: 37px;
    cursor: pointer;
    z-index: 1000;
    color: #d2b89e; /* Lighter beige */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #1a1a1a; /* Dark background */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 999;
}

.sidenav a {
    padding: 12px 16px;
    text-decoration: none;
    font-size: 22px;
    color: #c0992f; /* Muted beige */
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #d2b89e; /* Lighter beige */
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #d2b89e; /* Lighter beige */
}

.menu-icon {
    color: #d2b89e; /* Lighter beige */
}

.lang-select {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    color: #d2b89e; /* Lighter beige */
}

.portrait {
    aspect-ratio: 2/3;
    object-fit: cover;
}

.landscape {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.profile-picture {
    max-width: calc(100% / 5);
    height: auto;
    border: 2px solid #c0992f; /* Darker beige border */
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: fadeIn 4s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.profile-picture:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.link {
    text-decoration: none;
    color: #c0992f; /* Lighter beige */
    transition: color 0.3s ease;
}

.link:hover {
    color: #e4b638; /* Slightly darker beige */
}

.animation {
    animation: fadeIn 4s ease-in-out;
}
