/* ========== TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald&display=swap');

.bebas-neue-regular {
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
}

.oswald {
    font-family: "Oswald", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

h1, h4 {
    font-family: "Oswald", sans-serif;
    color: #000;
}

h3, label {
    font-family: "Bebas Neue", sans-serif;
}

label {
    font-weight: bold;
    color: #fff;
}

a {
    text-decoration: none;
}

/* ========== LAYOUT ========== */
body {
    background-color: #ffe4c4;
    margin: 10px;
    padding-top: 80px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

div {
    margin: 30px;
    padding: 10px;
    border: inset saddlebrown;
    box-sizing: border-box;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
    background-color: burlywood;
    border: 5px inset saddlebrown;
    box-sizing: border-box;
    padding: 5px;
}

header nav {
    margin-right: 20px;
}

header nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    text-decoration: none;
    color: #5c2c06;
    padding: 10px;
}

header nav ul li a:hover {
    background-color: #ffe4c4;
}

header nav ul li a:visited {
    color: black;
}

/* ========== HERO SECTION ========== */
.hero {
    display: flex;
    height: 100vh;
    padding: 50px;
    background-image: url('photos/bro.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 100px;
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.70);
    color: whitesmoke;
    padding: 30px;
    flex: 1;
    box-shadow: black;
}

#intro {
    padding: 80px 20px; /* More vertical spacing */
    margin-bottom: 50px; /* More space below */
}

/* ========== FORM STYLES ========== */
.container {
    border-radius: 10px;
    background-color: burlywood;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    color: #333;
    max-width: 800px;
    margin: auto;
}

.box {
    width: 48%;
    padding: 20px;
    background-color: burlywood;
    border: none;
    flex: 1;
}

.port {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border: none;
}

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

input[type=text]:focus, select:focus, textarea:focus {
    border-color: #04AA6D;
    outline: none;
}

/* ========== BUTTON STYLES ========== */
input[type=submit], .resume-button {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type=submit]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.resume-button {
    align-items: center;
    gap: 8px; /* Space between icon and text */
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #5c2c06; /* Dark brown */
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.resume-button:hover {
    background-color: burlywood;
    color: #5c2c06;
}

/* ========== IMAGE & COLUMN STYLES ========== */
.column img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* ========== ROW & CLEARFIX ========== */
.row:after {
    content: "";
    display: table;
    clear: both;
    width: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: "Oswald", serif;
}

/* ========== FOOTER ========== */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Adds spacing between buttons */
    padding: 30px;
    background-color: burlywood;
    border: 5px inset saddlebrown; 
}

.footer-btn {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #5c2c06; /* Dark brown */
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.footer-btn i {
    font-size: 20px;
}

.footer-btn:hover {
    background-color: #ffe4c4;
    color: #5c2c06;
}

/* ========== RESPONSIVE STYLES ========== */
@media screen and (max-width: 820px) {
    header nav ul {
        gap: 20px; /* Adjust space between items */
    }
}

@media screen and (max-width: 600px) {
    header nav ul {
        gap: 15px; /* Adjust space further */
    }

    header nav ul li a {
        padding: 8px; /* Adjust padding for mobile */
    }
}

/* ========== HERO & FORM STYLES ========== */
.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.simone {
    width: 30%;
    max-width: 300px;
    border-radius: 10px;
}

#message {
    margin-top: 60px;
    padding: 40px;
    margin-bottom: 60px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between form fields */
    max-width: 500px;
    margin: auto;
}

/* ========== PORTFOLIO ========== */
.portfolio-section {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.portfolio-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: burlywood;
    border: 2px solid saddlebrown;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
    background-color: #e8c080;
}

.card h3 a {
    text-decoration: none;
    color: #5c2c06;
    font-weight: bold;
}

.card p {
    font-size: 14px;
    color: #333;
}