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

/* Body Styling for Main Page */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff; /* White text for better contrast */
    background-image: url('assets/background.png'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the screen */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    background-attachment: fixed; /* Fix the background during scrolling */
    margin: 0;
    padding: 0;
}

/* Body Styling for App Pages */
body.app-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333; /* Default text color */
    background: #f8f9fa; /* Light gray background for app pages */
    margin: 0;
    padding: 0;
}

/* Header Styling */
header {
    width: 100%;
    background: #000; /* Solid black background */
    color: #fff; /* White text */
    padding: 20px 0;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
}

header h1 {
    font-size: 2rem;
    margin: 0;
}

/* Welcome Section Styling (Main Page) */
.welcome-section {
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    padding: 20px;
    border-radius: 10px; /* Slightly rounded corners */
    max-width: 800px; /* Limit width for readability */
    margin: 50px auto; /* Center the section */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
    color: #fff;
    text-align: center;
}

.welcome-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.welcome-section p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Links Styling */
.welcome-section ul {
    list-style-type: none; /* Remove default bullet points */
    padding: 0;
}

.welcome-section ul li {
    margin-bottom: 10px; /* Space between list items */
}

.welcome-section ul li a {
    display: inline-block; /* Makes the link behave like a block element */
    padding: 10px 15px; /* Adds space around the text */
    margin: 10px 0; /* Adds space between links */
    color: #fff; /* White text */
    text-decoration: none; /* Removes underline */
    border: 2px solid #fff; /* White border around the link */
    border-radius: 5px; /* Rounded corners */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect for links */
.welcome-section ul li a:hover {
    background-color: #007bff; /* Change background to blue on hover */
    color: #fff; /* Keep text white */
    border-color: #007bff; /* Match border to background */
    transform: scale(1.1); /* Slightly enlarge the button on hover */
    transition: transform 0.2s ease, background-color 0.3s ease;
}

/* App Page Styling */
.app-section {
    max-width: 90%;
    margin: 50px auto;
    text-align: center;
}

.app-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #444; /* Darker text color */
}

.iframe-container {
    width: 100%;
    max-width: 1200px; /* Set a maximum width for the iframe */
    height: 700px; /* Increased height for better view */
    margin: 0 auto;
    border: 2px solid #ccc; /* Border around the iframe */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for the iframe */
}

.app-iframe {
    width: 100%;
    height: 100%;
    border: none; /* Removes default iframe border */
}

/* Footer Styling */
footer {
    width: 100%;
    background: #000; /* Solid black background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
}

footer p {
    margin: 5px 0;
}

footer .adsense-banner {
    margin-top: 10px;
    padding: 10px;
    border: 1px dashed #ccc; /* Placeholder for AdSense ads */
    background: #fafafa;
    color: #333; /* Dark text for contrast */
    font-size: 0.9rem;
}

/* Sidebar Styling (for App Pages, if used) */
.sidebar {
    flex: 1;
    max-width: 200px;
    margin-right: 20px;
    background: #fff; /* White background */
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    text-align: center;
}

.sidebar .adsense-sidebar {
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed #ccc; /* Placeholder for AdSense sidebar ads */
    background: #fafafa;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-section {
        margin: 20px;
        padding: 15px;
    }

    .welcome-section ul li a {
        padding: 10px;
        font-size: 0.9rem;
    }

    .iframe-container {
        height: 500px; /* Adjust iframe height for smaller screens */
    }

    footer {
        font-size: 0.8rem;
    }
}
