:root {
    --primaryBackground: #F7F7F7;
    --secondaryBackground: #EAEAEA;
    --mainText: #333333;
    --secondaryText: #707070;
    --accentColor: #64C8C8;
    --hoverColor: #4DA6FF;
    --errorColor: #D9534F;
    --headerBackground: #ffffff;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1;
}

nav {
    background-color: var(--headerBackground);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}


nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 60px;
}

nav a {
    height: 100%;
    padding: 0px 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--mainText);
}

nav a:hover {
    background-color: #f0f0f0;
}

nav li:first-child {
    margin-right: auto;
    font-weight: bold;
    font-size: 22px;
}

.insta {
    margin-right: 10px;
    color: #333333ea;
}

/* HEADER SIDEBAR */

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

.menuButton {
    display: none;
}

@media(max-width: 1000px) {
    .hideOnMobile{
        display: none;
    }

    .menuButton {
        display: block;
    }
}

@media(max-width: 450px) {
    .sidebar{
        width: 100%;
    }
}

/* HERO */

.c-item {
    height: 750px;
}

.c-img {
    height: 100%;
    /* aspect-ratio: 16/9; */
    object-fit: cover;
    filter: brightness(0.6);
}

.carousel-caption {
    top: 60px; /* Adjust this value to match your header's height */
}



/* PORTFOLIO SELECTORS */

.portfolio-selectors {
    display: flex;
    justify-content: center; 
    flex-wrap: nowrap; 
    margin: 20px 0;
  }
  
  .portfolio-selector {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-decoration: none; 
    padding: 15px;
    border-radius: 5px; 
    transition: transform 0.3s; 
    margin: 5px; 
    width: 450px; 
  }
  
  .portfolio-selector:hover {
    transform: scale(1.05); 
  }
  
  .portfolio-image {
    width: 100%; 
    border-radius: 5px; 
    margin-bottom: 8px; 
  }

  @media (max-width: 1378px) {
    .portfolio-selectors {
        flex-wrap: wrap;
    }
  }
  


  /* CONTACT */

.contact {
    background-color: #F7F7F7;
}

.email {
    text-align: center;
    padding-bottom: 50px;
}

.contact-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    color: #333333;
    font-size: 30px;
    padding-bottom: 50px;
    padding: 20px;
    margin-top: 50px;
}

.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.contact form {
    width: 600px;
    text-align: center;
    pointer-events: none;
}

form .input-box{
    display: flex;
    justify-content: space-between;
}

.input-box .input-field {
    width: 48.5%;
}

.input-field #subject {
    width: 206%;
}

.field .item {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid #b1b1b1;
    outline: none;
    border-radius: 6px;
    color: #333333;
    font-size: 16px;
    margin: 12px 0;
}

input::placeholder {
    color: #333333 !important;
}

textarea::placeholder {
    color: #333333 !important;
}

.field.error .item {
    border-color: #d93025;
}

.field .item::placeholder {
    color: rgba(255, 255, 255, 0.459);
}

form .textarea-field .item {
    resize: none;
}

form .textarea-field .error-txt {
    margin-top: -10px;
}

textarea {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

form button {
    padding: 12px 32px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #333333;
    border: none;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 10px #686868;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.4s;
}

form button:hover {
    box-shadow: none
}

.field .error-txt {
    font-size: 14.5px;
    color: #d93025;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.field.error .error-txt {
    display: block;
}





/* PORTFOLIO LAYOUT */

.container {
    max-width: 1224px;
    width: 90%;
    margin: auto;
    padding: 40px 0;
}

.photo-gallery {
    display: flex;
    gap: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    transition: transform 0.3s; 
}

.photo img:hover {
    transform: scale(1.05); 
}

@media(max-width: 768px) {
    .photo-gallery {
        flex-direction: column;
    }
}

.photo img:hover {
    transform: scale(1.05); 
}