/* General Styles */
:root {
    --primary-color: #ff46a2;
    --primary-hover: #FF1493;
    --secondary-color: #FF1493;
    --bg-color: #000000;
    --text-light: #ddd;
    --text-dark: #222;
    --box-bg: rgb(43, 36, 36);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text-light);
    background-color: var(--bg-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    z-index: 1000;
}
.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    padding: 10px 20px;
    transition: background-color 0.3s, transform 0.2s;
}
.navbar a:hover,
.navbar a:focus {
    background-color: var(--primary-color);
    border-radius: 5px;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: url('../images/color_burst_controller.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 10%;
    position: relative; /* Ensures stacking context */
    z-index: 1; /* Ensures it stays on top */
}

.hero h1,
.hero p {
    background: rgba(243, 25, 134, 0.856);
    padding: 15px 20px;
    color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.hero button {
    padding: 12px 25px;
    font-size: 1rem;
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
}
.hero button:hover,
.hero button:focus {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Content Section */
.content {
    padding: 50px;
    text-align: center;
    background: url('../images/color-explosion.webp') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    position: relative; /* Ensures stacking context */
    z-index: 1; /* Ensures it stays on top */
}

.content h2,
.content p {
    background: var(--box-bg);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}
.content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-light);
}

/* About Section Styling */
#about {
    padding: 50px;
    background-color: #f7f7f7; /* Light background for contrast */
    color: #333; /* Dark text for readability */
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 20px auto;
    max-width: 900px;
}

/* Section Headings */
#about h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom:2px; /* Closer spacing to the paragraph */
    font-weight: bold;
    letter-spacing: 1px;
}

#about h2
#about h3, 
#about h4 {
    color: var(--primary-color); /* Highlighted pink for headings */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Paragraph Styling */
#about p {
    margin-top: 0; /* Remove space above the paragraph */
    margin-bottom: 20px; /* Consistent spacing below */
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

/* List Styling */
#about ul {
    list-style-type: none; /* Remove default bullet points */
    padding: 0;
}

#about ul li {
    margin-bottom: 15px;
    padding: 30px;
    background: #302525; /* Dark muted background for contrast */
    color: #f5f5f5; /* Light text for readability */
    border: 1px solid #ddd; /* Light border for separation */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#about ul li strong {
    color: var(--primary-color); /* Highlighted text */
    font-size: 1.1rem;
    flex-shrink: 0; /* Prevent icon/text overlap */
}

/* Responsive Design */
@media (max-width: 768px) {
    #about {
        padding: 30px;
        margin: 10px auto;
    }
    
    #about p, 
    #about ul li {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    padding: 30px;
    background: #222; /* Dark background to match the theme */
    text-align: center;
    color: #aaa;
    border-top: 2px solid var(--primary-color); /* Adds a bright highlight */
    font-size: 1rem;
}

.footer form {
    margin-bottom: 20px;
}

.footer input {
    padding: 12px;
    margin: 0 5px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333; /* Matches the dark theme */
    color: white;
    font-size: 1rem;
    width: 250px;
    text-align: center;
}

.footer button {
    padding: 12px 25px;
    background-color: var(--primary-color); /* Bright button to draw attention */
    border: none;
    cursor: pointer;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s;
}

.footer button:hover {
    background-color: var(--primary-hover); /* Slightly darker pink on hover */
    transform: translateY(-3px); /* Adds a hover effect */
}

.footer p {
    margin: 15px 0;
    background: #000; /* Black background to make the text stand out */
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    color: #fff;
}

.footer .social-links {
    margin-top: 15px;
}

.footer .social-links a {
    margin: 0 15px;
    color: var(--primary-color); /* Bright pink links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--primary-hover); /* Darker pink on hover */
    text-decoration: underline;
}
