/* Global Resets and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Arial', sans-serif; /* Modern, clean font */
    line-height: 1.6;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.title {
    font-weight: bold;
    margin-bottom: 15px;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

/* Page 1: Welcome & Email Collection */
#page1 {
    background: url('Greeting.jpeg') no-repeat center center/cover;
    min-height: 100vh;
    color: #333; /* Default text color, will be overridden for title */
}

.page1-container {
    min-height: 100vh; /* Ensure content is centered vertically */
}

.page1-title {
    color: green;
    font-size: 3em; /* Large text */
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page1-subtitle {
    font-size: 1.2em;
    margin-bottom: 25px;
    max-width: 400px;
    /* Add a subtle background to improve readability over the image */
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10px 15px;
    border-radius: 5px;
}

.email-input {
    padding: 12px;
    font-size: 1em;
    margin-bottom: 25px;
    width: 80%;
    max-width: 350px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.send-button {
    background-color: black;
    color: white;
    font-size: 1.1em;
    padding: 12px 30px;
}

.send-button:hover {
    background-color: #333; /* Darken button on hover */
}

/* Page 2: Social Media & Community Invitation */
#page2 {
    background-color: #f8f9fa; /* Light background, similar to 'PAge 2 - Thanks.jpeg' */
    min-height: 100vh;
    display: flex; /* For vertical centering of the container */
    align-items: center;
    justify-content: center;
}

.page2-container {
    background-color: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 90%;
}

.logo-vida-sana {
    width: 120px; /* Adjust size as needed */
    margin-bottom: 25px;
}

.page2-title {
    color: orange; /* Orange bold text */
    font-size: 2.5em;
    margin-bottom: 20px;
}

.community-invite {
    font-size: 1.1em;
    color: #555; /* Dark gray for paragraph text */
    margin-bottom: 30px;
}

.ebook-section {
    margin-bottom: 30px;
}

.ebook-cover {
    width: 180px; /* Adjust as needed */
    height: auto;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-cover:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ebook-download-text {
    font-size: 1em; /* Adjusted for better readability */
    color: #666;
    margin-top: 15px;
}

.social-media-section {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: center;
    align-items: center;
    gap: 20px; /* Spacing between social media items */
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #444; /* Default link color */
    font-size: 1em;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: orange; /* Highlight color on hover */
}

.social-icon {
    width: 28px; /* Slightly larger icons */
    height: 28px;
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page1-title {
        font-size: 2.5em;
    }
    .page1-subtitle {
        font-size: 1em;
    }
    .page2-title {
        font-size: 2em;
    }
    .community-invite {
        font-size: 1em;
    }
    .social-media-section {
        flex-direction: column; /* Stack social links vertically on small screens */
        gap: 15px;
    }
    .page2-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page1-title {
        font-size: 2em;
    }
    .email-input {
        width: 90%;
    }
    .page2-title {
        font-size: 1.8em;
    }
    .ebook-cover {
        width: 150px;
    }
    .social-icon {
        width: 24px;
        height: 24px;
    }
}

