/* Global styles */
body {
    background-color: #373434;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Main content styles */
.main-content {
    padding-top: 60px;
}

.information {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
}

.information h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: #c2a76b;
}

/* Media query to adjust margin when logo wraps */
@media screen and (max-width: 1100px) and (min-width: 680px){
    .information h1 {
        margin-top: 6rem;
    }
}

.information p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: white;
}

/* Footer Section */
.contact-me-container-about-jaclyn {
    position: relative;
    top: 12rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/microblading-footer.jpg") no-repeat center center;
    background-size: cover;
    background-position: 70%;
    height: 40rem;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.contact-me-container-about-jaclyn h1 {
    position: relative;
    top: 5rem;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-me-container-about-jaclyn p {
    position: relative;
    top: 10rem;
    font-size: 1.2rem;
    max-width: 1000px;
    margin: 1rem auto;
    line-height: 1.6;
}

.contact-me-container-about-jaclyn hr {
    border: 0;
    border-top: 1px solid #c2a76b;
    margin: 2rem auto;
    width: 80%;
}

.contact-me-container-about-jaclyn .social-media-about-jaclyn {
    position: absolute;
    margin: 0 auto;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-me-container-about-jaclyn .social-media-about-jaclyn a {
    color: white;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.contact-me-container-about-jaclyn .social-media-about-jaclyn a:hover {
    color: #c2a76b;
}

.contact-button-footer-about-jaclyn {
    position: relative;
    margin-top: 0.5rem; /* Adjust as needed to raise the button */
    left: 50%;
    transform: translate(-51%, -155%);
    background-color: #0f0f0f;
    color: white;
    height: 5rem;
    width: 12rem;
    font-size: 16px;
    font-family: times, serif;
    z-index: 1;
    padding: 0.5rem 1rem;
}


.contact-me-container-about-jaclyn hr {
    margin-bottom: 8rem;
}

@media screen and (max-width: 768px) {
    .contact-me-container-about-jaclyn .social-media-about-jaclyn {
        margin-top: 4rem; /* Increase margin to push down social icons */
    }
}

.contact-button-footer-about-jaclyn:hover {
    background-color: #c1b46c;
    transition: 0.7s;
}

.contact-button-footer-about-jaclyn:focus {
    outline-color: transparent;
    outline-style: solid;
    box-shadow: 0 0 0 4px black;
    transition: 0.9s;
}

.contact-button-footer-about-jaclyn:active {
    background-color: #baa94a;
}

footer p {
    position: relative;
    color: white;
    top: 154px;
    font-size: 14px;
    text-align: right; /* Align text to the right */
}

@media screen and (min-width: 769px) and (max-width: 1300px) {
    .navbar-menu a {
        font-size: 1.5rem;
        text-decoration: none;
    }

    /* Adjusted styles for the dropdown menu on small screens */
    .navbar .icon {
        display: block;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        text-decoration: none;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #404040;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 10;
        padding: 1rem 0;
        border-radius: 8px;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-menu.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.5rem;
        color: white;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .navbar-menu a:hover {
        background-color: #575757;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .navbar-menu a {
        font-size: 1.5rem;
        text-decoration: none;
    }

    /* Adjusted styles for the dropdown menu on small screens */
    .navbar .icon {
        display: block;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        text-decoration: none;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #404040;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 10;
        padding: 1rem 0;
        border-radius: 8px;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-menu.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.5rem;
        color: white;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .navbar-menu a:hover {
        background-color: #575757;
    }

    .about-jaclyn p {
        align-items: center;
        text-align: center;
    }

    .contact-me-container-about-jaclyn h1 {
        font-size: 1.8rem;
        top: -1rem;
    }

    .contact-me-container-about-jaclyn p {
        font-size: 0.9rem;
        top: -1rem;
    }

    .contact-me-container-about-jaclyn hr {
        position: relative;
        top: -1rem;
    }

    .contact-me-container-about-jaclyn .social-media-about-jaclyn {
        top: 19.5rem;
    }

    footer p {
        top: 9.4rem;
    }

    .contact-button-footer-about-jaclyn {
        position: relative;
        margin-top: 2rem; /* Adjust as needed to raise the button */
        left: 50%;
        transform: translate(-51%, -160%);
        height: 4rem;
        width: 10rem;
    }

    /* adjust background size */
    .contact-me-container-about-jaclyn{
        height: 26rem;
    }
}

/* Certifications Section */
.certifications-section {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 80px 5%;
    margin-top: 60px;
    position: relative;
}

.certifications-title {
    text-align: center;
    font-size: 3rem;
    color: #c2a76b;
    margin-bottom: 10px;
    font-family: 'Times New Roman', serif;
}

.certifications-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 50px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    border: 2px solid #c2a76b;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(194, 167, 107, 0.1), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover::before {
    opacity: 1;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(194, 167, 107, 0.4);
    border-color: #d4c08d;
}

.certificate-icon {
    font-size: 4rem;
    color: #c2a76b;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-icon {
    transform: scale(1.2) rotate(10deg);
}

.certificate-name {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 15px 0;
    font-weight: bold;
}

.certificate-description {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.view-certificate-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #c2a76b, #8b7355);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(194, 167, 107, 0.3);
}

.view-certificate-btn:hover {
    background: linear-gradient(135deg, #d4c08d, #c2a76b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 167, 107, 0.6);
}

.view-certificate-btn i {
    margin-right: 8px;
}

/* Certificate Image Display */
.certificate-preview {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image {
    transform: scale(1.05);
}

/* Certificate Modal/Lightbox */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.certificate-modal-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(194, 167, 107, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.certificate-modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #c2a76b;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.certificate-modal-close:hover,
.certificate-modal-close:focus {
    color: #ffffff;
}

.certificate-modal-caption {
    text-align: center;
    color: #ffffff;
    font-size: 1.5rem;
    margin-top: 20px;
    padding: 10px 20px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .certifications-title {
        font-size: 2rem;
    }
    
    .certifications-subtitle {
        font-size: 1.1rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-card {
        padding: 25px;
    }
    
    .certificate-modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .certificate-modal-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .certificate-modal-caption {
        font-size: 1.2rem;
    }
}
