/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Merriweather:wght@300;400;700&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #005f73;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
   transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay {z-index: 9999;
}

.show-popup {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}
/* Popup Content Box */
.popup-content {
    background: #F4E1C1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}
.popup-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #005f73;
    margin-bottom: 20px;
}
/* Input and Button Styling */
#email-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

#email-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #005f73;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
}

#email-form button:hover {
    background: #003f4f;
}

/* Close Button */
#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}


#close-popup:hover {
    color: #000;
}


/* Navigation Bar */
header {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.395);
    padding: 20px 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

nav ul li a {
    color: #F4E1C1;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ddd;
}

/* Sections Styling */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 50px 30px;
    width: 100vw;
    max-width: 100%;
    position: relative;
}

/* Section 1 */
#section1 {
    padding-top: 170px;
    position: relative;
    background-color: #005f73; /* Base color */
    width: 100%;
}
.name {
    font-size: 1.0rem;
    font-weight: 700;
    color: #F4E1C1;
    font-weight: 400;
    margin-bottom: 0px;
padding-bottom: 120px;

}

#section1 .main-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    color: wheat;
    transform: translate(-50%, -50%);
    opacity: 0.2; /* Adjust transparency */
    width: 350px; /* Adjust size */
    height: auto;
    z-index: 1;
   
}

#section1 img {
    width: 100%;
    height: auto;
    padding-top: 130px;
}

 #section1 p {
    position: relative;
    z-index: 2;
    color: #F4E1C1;
    max-width: 400px;
    font-size: 1.0rem;
    text-align: center;
    background: rgba(0, 0, 0, 0);
    padding-top: 150px;
    border-radius: 0px;
}

/* Background Colors */
#section2 { background: #F4E1C1; /* Complementary Beige */ width: 100%; }
#section3 { background: #005f73; width: 100%; }
#section4 { background: #F4E1C1; width: 100%; }

/* Section 2 */
#section2 h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #005f73;
    margin-bottom: 20px;
}
#section2 p {
    font-size: 1.0rem;
    color: #005f73;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}
/* carousel */
.carousel-container {
    position: relative;
    width: 400px; 
    height: 400px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-container:hover img {
    opacity: 1; /* Make image fully visible on hover */
}

/* Fact Text Overlay */
.fact-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f4e1c16d;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 80%;
}

/* Section 3 */
#section3 h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F4E1C1;
    margin-bottom: 20px;
}
#section3 p {
    font-size: 1.0rem;
    color: #F4E1C1;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}
/* Social Media Links */
#section3 ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Social Media Icons */
#section3 ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #F4E1C1;
    font-family: 'Merriweather', serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

/* Hover Effect */
#section3 ul li a:hover {
    color: #f8f1f1;
}

/* Support Me Section */
#support-me {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
}

/* "Support Me" Text */


/* Coffee Icon Link */
#support-me a {
    text-decoration: none;
    font-size: 16px;
    color: #F4E1C1;
    font-family: poppins, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    transition: color 0.3s ease;
}

/* Coffee Icon */
#support-me .coffee-icon {
    width: 100px; /* Adjusted for better alignment */
    height: 100px;
    display: block;

}
#support-me .coffee-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px #333); /* Add shadow effect on hover */
    opacity: 0.8; /* Slightly reduce opacity on hover */
    transition: opacity 0.3s ease;
}
#support-me .coffee-icon:active {
    transform: scale(0.95); /* Slightly shrink on click */
    transition: transform 0.1s ease;
}
#support-me .coffee-icon:focus {
    outline: none; /* Remove focus outline */
    box-shadow: 0 0 5px #333; /* Add shadow effect on focus */
}
#support-me .coffee-icon:focus-visible {
    outline: 2px solid #333; /* Add focus outline for accessibility */
    outline-offset: 2px; /* Space between outline and element */
}



/* Hover Effect */
#support-me a:hover {
    color: #f8f1f1;
}


/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 0px;
}

form input, form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
   
    
}

form textarea {
    resize: vertical;
    height: 120px;
}

form button {
    padding: 12px;
    background: #005f73;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s ease;
    
}

form button:hover {
    background: #333;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    section {
        height: auto;
        padding: 120px 20px 60px;
    }
    
    #section3 ul {
        flex-direction: column;
        align-items: center;
    }
}
/* Section 4 */
#section4 h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #005f73;
    margin-bottom: 20px;
}
#section4 p {
    font-size: 1.0rem;
    color: #005f73;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}
/* Footer */
