* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #ffffff;
    color: #000;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid #ddd;
    font-size: 1.1rem;
}

.logo img {
    height: 50px;
}

.logo a {
    display: inline-block;
    padding: 5px;
}

.navbar nav a {
    margin-left: 30px;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: background 0.3s;
}

.navbar nav a:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.lang-switch button {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
}

.lang-switch button:hover {
    background: #f0f0f0;
    border-radius: 4px;
}




/* ABOUT */
.about-section {
    text-align: center;
    padding: 80px 40px;
}
.about-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-text {
    margin-top: 10px;
    color: #666;
}
.about-image img {
    width: 40%;
    margin: 10px 0;
}

/* --------------------------------------------------------- */

/* PROJECTS OVERVIEW MAIN PAGE*/
.projects-overview-section {
    text-align: center;
    padding: 50px 50px;
}

.subtitle {
    margin-top: 10px;
    color: #666;
}

.projects-overview-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.project-box-overview {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 360px;

  background-image: var(--bg);
  background-size: cover;
  background-position: center;

  border-radius: 15px;
  border: 0.5px solid #000;
  overflow: hidden;

  text-decoration: none;
  color: #000;

  transition: transform 0.3s ease;
}

.project-box-overview:hover {
    /*background: #f0f0f0; /*FFA500 = white, f0f0f0 = gray */
    transform: translateY(-5px);
}

/* Dark overlay for readability */
.project-box-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.project-box-overview:hover::before {
    background: rgba(255, 255, 255, 0.5);
}

.project-overview-overlay {
    position: absolute;
    width: 100%; /* full width */
    padding: 16px;
    /* background: #f0f0f0; /* Alternative1 */
    background: rgba(255, 255, 255, 0.85); /* Alternative2 */
    backdrop-filter: blur(1px);  /* optional, modern */
}

/* Text styling overlay text box */
.project-overview-overlay h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: left;
}

.project-overview-overlay p {
    font-size: 0.9rem;
    font-weight: 400;
    text-align: left;
}

/* PROJECTS IMAGE DISPLAYS IN OVERVIEW */
.project-1-image-index-display {
    background-image: url("../assets/project1/project1_image_1.png");
}
.project-2-image-index-display {
    background-image: url("../assets/project2/project2_image_1.png");
}
.project-3-image-index-display {
    background-image: url("../assets/project3/project3_image_1.png");
}
.project-4-image-index-display {
    background-image: url("../assets/project4/project4_image_1.png");
}
.project-5-image-index-display {
    background-image: url("../assets/project5/project5_image_1.png");
}
.project-6-image-index-display {
    background-image: url("../assets/project6/project6_image_1.png");
}
.project-7-image-index-display {
    background-image: url("../assets/project7/project7_image_1.png");
}


/* --------------------------------------------------------- */


/* PROJECT PAGE */
.page-setup-projects {
    padding: 80px 40px;
    max-width: 1200px;
    margin: auto;
}

.header_projects {
    text-align: center;
}

.subtitle_projects {
    margin-top: 10px;
    color: #666;
    text-align: center;
}

.project1-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.project-box-projectpage {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 460px;
  background: #eeeeee; /*f0f0f0=grey 000000=black ffffff=white*/
  background-image: var(--bg);
  background-size: cover;
  background-position: center;

  border-radius: 15px;
  border: 0.5px solid #000;
  overflow: hidden;
  color: #000;
}

.project-overlay {
    position: absolute;
    width: 100%; /* full width */
    padding: 50px;
    /* background: #f0f0f0; /* Alternative1 */
    background: rgba(255, 255, 255, 0.80); /* Alternative2 */
    backdrop-filter: blur(1px);  /* optional, modern */
}
/* Text styling overlay text box */
.project-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: justify;
}

.project-overlay p {
    font-size: 1.0rem;
    font-weight: 400;
    text-align: justify;
}


/* Overlaystyling for the caption under images */
.project-overlay-small {
    position: absolute;
    width: 100%; /* full width */
    padding: 10px;
    /* background: #f0f0f0; /* Alternative1 */
    background: rgba(255, 255, 255, 0.80); /* Alternative2 */
    backdrop-filter: blur(1px);  /* optional, modern */
}

.project-overlay-small p {
    font-size: 1.0rem;
    font-weight: 400;
    text-align: center;
}


/* Loading Content Projects */
.project-1-image-1 {
    background-image: url("../assets/project1/project1_image_1.png");
}
.project-1-image-2 {
    background-image: url("../assets/project1/project1_image_2.png");
}
.project-1-image-3 {
    background-image: url("../assets/project1/project1_image_3.png");
}
.project-1-image-4 {
    background-image: url("../assets/project1/project1_image_4.png");
}
.project-1-image-5 {
    background-image: url("../assets/project1/project1_image_5.png");
}
.project-text-background {
    background-image: url("../assets/logo-placeholder.png");
}



/* --------------------------------------------------------- */



/* SERVICES */
.service-section {
    text-align: center;
    padding: 50px 50px;
}

.service-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    position: relative;
    display: flex;
    align-items: flex-end;
    /*padding: 60px 20px;*/
    height: 260px;

    background-size: cover;
    background-position: center;

    border-radius: 15px;
    border: 0.5px solid #000;
    overflow: hidden;

    text-decoration: none;
    color: #000;
}

.service-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

/*.service-box:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}*/

.service-overlay {
    position: absolute;
    width: 100%; /* full width */
    padding: 1.3rem;
    margin-bottom: 0rem;
    /* background: #f0f0f0; /* Alternative1 */
    background: rgba(255, 255, 255, 0.80); /* Alternative2 */
    backdrop-filter: blur(1px);  /* optional, modern */
}
.service-overlay p {
    font-size: 1rem;
    font-weight: 1000;
    text-align: center;
}
.service-overlay h3 {
    font-size: 1rem;
    font-weight: 4100;
    text-align: center;
}

/*Service Images Load;*/
.service-1-image {
    background-image: url("../assets/services/Service1.png");
}
.service-2-image {
    background-image: url("../assets/services/Service2.png");
}
.service-3-image {
    background-image: url("../assets/services/Service3.png");
}
.service-4-image {
    background-image: url("../assets/services/Service4.png");
}
.service-5-image {
    background-image: url("../assets/services/Service5.png");
}
.service-6-image {
    background-image: url("../assets/services/Service6.png");
}
.service-7-image {
    background-image: url("../assets/services/Service7.png");
}
.service-8-image {
    background-image: url("../assets/services/Service8.png");
}
.service-9-image {
    background-image: url("../assets/services/Service9.png");
}


/* --------------------------------------------------------- */


/* CONNECT */
.connect-section {
    border-top: 1px solid #ddd;
    background-color: #171C2B; /* ← NEW background */
    color: #fff; /* ← NEW text color */
    padding: 60px 50px;
    /*margin-top: 80px;*/
}
.connect-inner {
    /*max-width: 1200px;*/
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.connect-text {
    max-width: 400px;
}

.connect-logo img {
    max-width: 300px;
    opacity: 0.8;
    /*height: 40px;*/
}

.connect-content {
    margin-bottom: 30px;
    margin-top: 10px;
}

.quote {
    font-style: italic;
    margin-top: 30px;
}

.copyright {
    font-style: normal;
    margin-top: 40px;
    font-size: 0.7rem;
}

/* Email link – always white, no color change */
.connect-section a,
.connect-section a:visited,
.connect-section a:hover,
.connect-section a:active,
.connect-section a:focus {
    color: #ffffff;
    text-decoration: none;
}



/* RESPONSIVE */
@media (max-width: 900px) {
    .projects-overview-grid {
        grid-template-columns: 1fr;
    }

    .connect-inner {
    flex-direction: column;
    text-align: center;
    }

    .connect-logo {
    margin-top: 30px;
    }

    .project-box-overview {
        height: 220px;
    }
}
