/* Reset CSS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Root variables */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --background-color: #000000;
    --navigation-text-color: #dfdfdf;
    --navigation-hover-second-color: #5f14e0;
}

@font-face {
  font-family: 'Jua';
  src: url('../fonts/Jua/Jua-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Signika';
  src: url('../fonts/Signika/Signika-VariableFont_GRAD\,wght.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}


body {
    background-color: var(--background-color);
    font-family: var(--default-font);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Jua', 'Signika', 'Work Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navigation Menu */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--navigation-text-color);
    width: 100%;
    min-height: 8rem;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

#logo_img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
}

#navi_name {
    display: flex;
    align-items: center;
    margin-left: 10rem;
}

#name {
    font-size: 2em;
    padding: 20px;
    width: 100%;
    cursor: pointer;
}

#navi_menu ul li {
    display: inline-block;
    position: relative;
}

#navi_menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    position: relative;
}

#navi_menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1.8px;
    margin-left: 11px;
    background-color: var(--navigation-hover-second-color);
    transition: width 0.3s ease-in-out;
    
}

#navi_menu ul li a:hover::after {
    width: 50%;
}

ul {
    display: flex;
    gap: 40px;
    margin-right: 5rem;
}

li {
    list-style: none;
}

.navi_item {
    text-decoration: none;
    color: var(--navigation-text-color);
    font-size: 1.3rem;
}

.navi_item:hover {
    color: var(--navigation-hover-second-color);
}

/* Languge Flags */
/* Language Switcher */
#language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 2rem;
}

.lang-flag {
  width: 50px;
  height: 50px;
  background-color: aliceblue;
  border-radius: 50%;
  padding: 1px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.lang-flag:hover {
  transform: scale(1.2);
}


#contact_header {
    color: var(--navigation-text-color);
    text-align: center;
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 30px; /* Add some space below the header */
}

.social-links a img{
    padding: 12px;
}
/* Fields section */
#contact_field_section {
    position:relative;
    top:15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#fields_main_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px; /* Add space between sections */
}

#contact_form{
    width: 40%;
}

#name_email {
    display: flex;
    flex-direction: row; /* Keep inputs side by side */
    justify-content: space-between; /* Spread them apart */
    gap: 20px;
}

#contact_name, #contact_email {
    padding: 10px;
    background-color: var(--background-color);
    width: 70%; /* Slightly reduced to ensure good spacing */
    border: solid 1px var(--navigation-hover-second-color);
    color: white; /* Add white text color for better visibility */
    font-size: 1.2rem;
}

#subject_message {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

#contact_subject, #contact_message {
    background-color: var(--background-color);
    border: solid 1px var(--navigation-hover-second-color);
    padding: 12px;
    color: white; /* Ensure text is visible */
    font-size: 1.2rem;
}

#contact_message {
    height:100px;
    text-align: start; 
    vertical-align: top;
    overflow: auto;
    width: 100%;
    
}

/* Button Styling */
button {
    padding: 12px 24px;
    background-color: var(--navigation-hover-second-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Jua', 'Signika', 'Work Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

button:hover {
    background-color: #9b69f1; /* Hover effect */
}

/* social icons */
.instagram {
    max-width: 50px;
}

.socials {
    margin-left: 10px;
    width:50px;
}

.social-links a img {
    padding: 5px;
    background-color: #dfdfdf;
    border-radius: 50%;
    margin-top: 10px;
    cursor: pointer;
}

.social-links a img:hover {
    background-color: #9b69f1;
}


footer {
    position: relative;
    margin-top: 22rem;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--navigation-text-color);
    background-color: #222222;
    font-size: 1rem;
}

#footer-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.footer-socials {
    margin-bottom: 20px;
}

.footer-socials a img {
    padding: 10px;
    background-color: #dfdfdf;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-socials a img:hover {
    background-color: #9b69f1;
}

.footer-info p {
    margin: 5px 0;
    color: var(--navigation-text-color);
    font-size: 1.2rem;
    margin-top: 20px;
}

hr {
    margin-top: 20px;
}

.footer-info a {
    color: #9b69f1;
    text-decoration: none;
    font-weight: 500;
}

.footer-info a:hover {
    text-decoration: underline;
}

#copy_para {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #aaa;
}

/* coockies */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #03A062;
  text-decoration: underline;
}

.cookie-banner button {
  background: #03A062;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}
 

/*Message success*/
.form-status {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #28a745; /* Green for success */
  }
  
  .form-status.error {
    color: #dc3545; /* Red for error */
  }



