
body {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: #191919;
    color: rgba(255, 255, 255, 0.81);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    padding-top: 60px; /* adjust to match header height */
    scroll-behavior: smooth; /* smooth scrolling */
}
header {
    text-align: center;
    background: #333;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0px 30px;  /* adds space inside header */
    border-radius: 12px; /* makes rounded corners */
}
.header-container {
    display: flex;
    justify-content: space-between; /* pushes h1 left, nav right */
    align-items: center; /* vertically centers them */
}
nav a {
    color: white;
    margin: 0 2rem;
    text-decoration: none;
}
nav a:hover {
    text-decoration: underline;
}
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    scroll-margin-top: 70px
}
.column-list {
    display: flex;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 20px;
}
.column-list-wo {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 20px; /* space between cards */
}
.column {
    flex: 1;
}
.card {
    background: rgba(255, 255, 255, 0.055);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(25, 25, 25, 0.4);
}
.about-card {
    background: rgba(255, 255, 255, 0.055);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(25, 25, 25, 0.4);
    cursor: pointer;
}

.divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    margin: 20px 0;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.81);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}
.tab-container {
    display: flex;
    align-items: center;
    background: rgb(37, 37, 37);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    margin-bottom: 16px;
}
.tab-button {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 8px;
    background: rgba(255, 255, 255, 0.094);
    color: rgba(255, 255, 255, 0.81);
}
.tab-button.inactive {
    background: transparent;
    color: rgba(255, 255, 255, 0.46);
}
.tools-tab-button {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 8px;
    background: rgba(255, 255, 255, 0.094);
    color: rgba(255, 255, 255, 0.81);
}
.tools-tab-button.inactive {
    background: transparent;
    color: rgba(255, 255, 255, 0.46);
}
.tab-button svg {
    margin-right: 6px;
    fill: currentColor;
}
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}
.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.46);
    fill: rgba(255, 255, 255, 0.46);
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 4px;
}
.project-card {
    display: flex;
    flex-direction: column;
    background: #444;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(25, 25, 25, 0.4), 0 0 0 1px rgba(255, 255, 243, 0.082);
    padding: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}
.project-card img {
    width: 100%;
    height: 190.688px;
    object-fit: cover;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}
.project-card-content {
    padding: 8px 10px 6px;
    display: flex;
    align-items: center;
}
.project-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    margin-right: 4px;
    flex-shrink: 0;
}
.project-card-icon svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.46);
}
.project-card-title {
    font-size: 15px;
    font-weight: 500;
    flex-grow: 1;
}
.project-card-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.46);
    margin: 0 6px 8px;
    padding: 0 5px;
}
.atelier-card {
    background: #444;
    color: white;
    width: 300px;
    height: 150px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}
.futurepro {
    background: #444;
    color: white;
    width: 300px;
    height: 250px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}
.button-contact {    
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.81);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
}
/* Animation zoom out before click and background color */
.button-contact:hover,
.card:hover,
.about-card:hover,
.atelier-card:hover,
.futurepro:hover,
.project-card:hover {
    transform: scale(1.05);
}
.button-contact:hover{
    background: #444;
}

/* Modal (popup background) */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
    padding-top: 60px;
}

/* Modal Content */
.modal-content {
    background: rgb(32, 32, 32);
    height: 850px;
    margin: auto;
    padding: 20px;
    padding-top: 0;
    border-radius: 12px;
    max-width: 800px;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
    overflow-y: auto; 
}
body.modal-open {
    overflow: hidden; /* disable scroll */
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    cursor: pointer;
}
.close:hover {
    color: white;
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}


/* ===== Custom Scrollbar for the whole site ===== */

/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    scrollbar-width: thin;
}

html::-webkit-scrollbar-track {
    background: #44444400;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb {
    background: #44444400;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
    background: #44444400;
}

/* Firefox */
html {
    scrollbar-width: 3px;
    scrollbar-width: thin;
    scrollbar-color: #888 #44444400;
}

/* Quick Message Modal */

#quickMessageModal .modal-content {
    background: rgb(32, 32, 32);
    height: 450px;
    margin: auto;
    padding: 20px;
    padding-top: 0;
    border-radius: 12px;
    max-width: 400px;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
    overflow-y: auto;
}
#quickMessageModal input {
    width: 100%;           /* full width but limited by form max-width */
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
#quickMessageModal textarea {
    width: 100%;           /* full width but limited by form max-width */
    height: 150px;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


#quickMessageModal button[type="submit"] {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

#quickMessageModal button[type="submit"]:hover {
    background: #555;
}

.close-quick {
    float: right;
    font-size: 28px;
    cursor: pointer;
}


