/* General Body Styling */
html, body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    flex-direction: column;
    text-align: center;
    overflow-x: hidden;
    font-family: 'Libre Baskerville', serif;

}

/* Profile Section */
.profile-container {
    width: 100%;
    max-width: 800px;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 10px; /* Reduced margin-bottom from 20px to 10px */
}


.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 10px;
    margin-bottom: 5px;
    border: 3px solid #ddd;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.profile-image:hover,
.profile-image:active {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Description */
.description {
    font-size: 1.2rem;
    margin-top: 5px; /* Reduced margin-top */
    color: #555;
    max-width: 90%;
    text-align: center;
}


/* Button Container */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

button {
    font-size: 1rem;
    padding: 12px 20px;
    margin: 5px;
    cursor: pointer;
    border: none;
    background-color: #868686;
    color: white;
    border-radius: 8px;
    transition: background-color 0.3s;
    position: relative;
    text-align: center;
}

button:hover {
    background-color: #afafaf;
}

/* Additional Content Section */
.additional-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    width: 95%;
    max-width: 800px;
    text-align: center;
}

/* Image Grid */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}



.image-grid img:hover {
    transform: scale(1.1);
}

/* Image Preview Overlay */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.image-preview-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
}

.preview-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

.preview-arrow-left {
    left: 10px;
}

.preview-arrow-right {
    right: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 15px;
    left: 15px;
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 20px;
}

.back-to-top:hover {
    background-color: #2980b9;
}

/* Bottom Buttons - Home and Calendar */
.bottom-buttons-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px !important;
    z-index: 1000;
}

.home-btn, .calendar-btn {
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.home-btn:hover, .calendar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.home-btn img, .calendar-btn img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

/* Media Queries */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    .image-grid img {
        width: 200px;
        height: auto;
        cursor: pointer;
        transition: transform 0.2s ease-in-out;
    }
    .description {
        font-size: 1rem;
    }

    .flash, .work {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
    }

    .flash > div, .work > div {
        flex: 1 1 calc(50% - 10px);
        margin-bottom: 15px;
    }

    .image-grid {
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
    }
    
    .image-grid img {
        width: 100%;
    }

    @media (max-width: 768px) {
        
    
        .preview-arrow {
            font-size: 2.5rem;
            padding: 7px;
            background: rgba(0, 0, 0, 0.629);
            border-radius: 7px;
            position: absolute;
            top: 110%;
            transform: translateY(-50%);
            z-index: 1001;
        }
    
        .preview-arrow-left {
            left: 5px;      /* ✅ only left side */
            right: auto;    /* ✅ prevent overlap */
        }
    
        .preview-arrow-right {
            right: 5px;     /* ✅ only right side */
            left: auto;     /* ✅ prevent overlap */
        }
    }
    
}

@media (min-width: 769px) {
    html, body {
        justify-content: center;
        align-items: center;
        text-align: left;
    }
    .image-grid img {
        width: 100%;         /* Image fills the width of the container */
        max-width: 200px;    /* Prevent image from becoming too large */
        height: auto;        /* Maintain aspect ratio */
        object-fit: contain; /* Ensures the whole image fits inside the container */
        cursor: pointer;
        transition: transform 0.2s ease-in-out;
    }
    
    .profile-container {
        width: 800px;
        padding: 40px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .description {
        font-size: 1.5rem;
        margin-bottom: 40px;
        max-width: 600px;
    }

    .button-container {
        gap: 40px;
    }

    .button-container button {
        padding: 15px 25px;
        font-size: 1.25rem;
    }

    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .image-preview-container {
        max-width: 60%;
        max-height: 60%;
    }

    .preview-arrow {
        font-size: 2rem;
        padding: 10px;
    }

    .bottom-buttons-container {
        bottom: 20px;
        right: 20px;
        gap: 15px;
    }

    .bottom-buttons-container img {
        width: 45px;
        height: 45px;
    }
}

/* Location and CTA */
.location, .cta {
    text-align: center;
}
.location-cta {
    margin-top: -20px; /* tighten space above */
    margin-bottom: 10px; /* optional */
}


.location {
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0 2px 0; /* top right bottom left — reduce spacing */
}

.cta {
    font-size: 16px;        /* slightly smaller, optional */
    font-style: italic;
    margin: 0;              /* remove default p margin */
}


/* Tab Container */
.tabs {
    display: flex;
    justify-content: space-between; /* Spread tabs across the full width */
    width: 100%; /* Ensure it spans the full width */
    margin-top: 20px;
    border-bottom: 2px solid #cccccc00;
}

/* Individual Tab Styling */
.tab {
    flex: 1; /* Make each tab take equal width */
    padding: 12px 0; /* Adjust padding for a consistent height */
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center; /* Center text in each tab */
    border: 1px solid transparent;
    border-bottom: none;
    transition: background-color 0.3s, color 0.3s;
}

/* Active Tab */
.tab.active {
    border-color: #ddd;
    background-color: #f5f5f5;
    color: #1e1e1e;
    border-radius: 5px 5px 0 0;
}

/* Hover Effect */
.tab:hover {
    background-color: #e0e0e0;
}

/* Tab Content */
.additional-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    width: 95%;
    max-width: 800px;
    text-align: center;
    margin-top: 20px;
}
.snowflake {
    position: fixed;
    top: -2rem;
    color: #fff;
    animation: fall linear forwards;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4; /* Lowered opacity */

}

@keyframes fall {
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}


