/* Basic Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #2D0712;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Background image filter */
/* .page1-background-image-fade
{
    filter: brightness(10%);
} */

/* Portfolio Grid */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px;
}

/* Project Box Styling */
.projectPage-box {
    position: relative;
    background: #ffffff1a;
    padding: 20px;
    border-radius: 10px;
    transition: background 0.3s ease-in-out, transform 0.2s;
    text-align: center;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hover Effects */
.projectPage-box:hover {
    background: rgba(241, 140, 241, 0.717);
    color: #000;
    transform: scale(1.1);
}

.projectPage-box:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    opacity: 0.2;
}

/* Modal (Expanded Box) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d0712c7;
    overflow-y: auto;
    overflow-x: visible;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, #392140,#2D0712); /* Gradient from deep pink to lighter pink */
    color: #fff;
    width: 80%;
    max-width: 1000px;
    padding: 20px;
    border-radius: 10px;
    position: relative;

    /* Ensure it expands with content */
    height: auto;
    max-height: 90vh; /* Prevents it from getting too tall */
    overflow-y: auto; /* Enables scrolling if content exceeds max-height */
    overflow-x: hidden;
    /* overflow-inline:visible; */
}

/* Title and Links Container */
.modal-header {
    background: linear-gradient(135deg, #000000d9,#2D0712); 
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

/* Links Container */
.modal-links {
    display: flex;
    gap: 15px;
}

/* Link Icons */
.modal-links a {
    text-decoration: none;
    font-size: 24px;
    color: #000;
    transition: transform 0.2s, color 0.3s;
}

.modal-links a:hover {
    transform: scale(1.2);
    color: #FF69B4;
}

/* Close Button */
.close {
    background-color: #392140;
    position: absolute;
    color: #ffffff;
    top: -20px;
    right: -20px;
    font-size: 500%;
    z-index: 10;
    cursor: pointer;
}

/* .popupCloseButton {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
} */

/* Close Button Styling */
/* .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    z-index: 10; 
    transition: background 0.3s, transform 0.2s;
} */

/* .close a {
    text-decoration: none;
    color: inherit;
} */

/* Modal Sections */
.modal-section {
    margin-top: 20px;
}

/* Carousel */
.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#image-container {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

button:hover {
    background: #444;
}


/* === index.html === 
 Honeycomb Background Animation 
*/

/* Affect All honeycomb elements  */
.global-honeycomb-elements {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Bottom Layer body */
.honeycomb-body {
    background-color: #3c12e4;
    width: 100%;
    height: 100vh;
    position: relative;
    display: grid;
    place-content: center;
    font-family: Montserrat;
    overflow: hidden;

}

#pattern {
    position: absolute;
    top: -44px;
    left: -50px;
    right: 0;
    bottom: 0;
}

#gradient {
    background: radial-gradient(#a81947, transparent 50%);
    width: 400px;
    height: 400px;
    position: absolute;
    top: -200px;
    left: -200px;
    transform: translate(200px, 200px);
}

#gradient-full {
    /* background: radial-gradient(#ff8811, transparent 99%); */
    background: content-box radial-gradient(#000000b6, rgba(130, 8, 212, 0.329));
    /* background: linear-gradient(#610522e1, #1511ff6c); */
    width: 100%;
    height: 100%;
    position: absolute;
}

.hexagon-shape {
    aspect-ratio: 1/cos(30deg);
    clip-path: polygon(50% -50%, 100% 50%, 50% 150%, 0 50%);
    background: #3B8686;
}

.hexagon {
    opacity: 0.7;
}

.hexagon:hover {
    opacity: 0.25;
    transform: scale(0.9);
}

/* .hexagon::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    pointer-events: none;
    background: radial-gradient(circle 10vmax at var(--cursorX) var(--cursorY),
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, .15) 15%,
            rgba(0, 0, 0, .95) 100%)
} */

/* .hexagon::before {
    position: absolute;
    border-radius: 50%;
    width: 500%;
    height: 500%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid green;
} */
