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

/* CSS Variables for Theming */
:root {
    --primary-color: #007BFF;
    --secondary-color: #6C757D;
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --card-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --glow-color: rgba(0, 123, 255, 0.5);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #3399FF;
    --secondary-color: #adb5bd;
    --background-color: #121212;
    --text-color: #e0e0e0;
    --card-background: #1e1e1e;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glow-color: rgba(51, 153, 255, 0.5);
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Subtle noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

/* Theme Toggle Button Styles */
#theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: var(--card-background);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow-color);
}

#theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 8px var(--shadow-color);
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0;
}

/* Main Content Styles */
main {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

/* Section Styles */
section {
    background-color: var(--card-background);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    /* Multi-layered drop shadow for depth */
    box-shadow: 0 4px 8px var(--shadow-color), 0 6px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}


/* Contact Button */
#contact-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-btn:hover {
    background-color: #0056b3;
    /* Glow effect */
    box-shadow: 0 0 15px var(--glow-color);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 1.5rem;
    text-align: center;
}
