/* Variables & Theme */
:root {
    --bg-color: #fff;
    --text-color: #333;
    --heading-color: #1a1a1a;
    --subtext-color: #666;
    --header-bg: rgba(255, 255, 255, 0.95);
    --border-color: #eee;
    --card-bg: #fff;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --footer-bg: #333;
    --footer-text: #ccc;
    --footer-bottom-text: #999;
    --hero-gradient: linear-gradient(rgba(248, 249, 250, 0.75), rgba(233, 236, 239, 0.75));
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --secondary-hover: #5a6268;
    --logo-filter: none;
    --image-brightness: 1;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #e0e0e0;
        --heading-color: #ffffff;
        --subtext-color: #b0b0b0;
        --header-bg: rgba(18, 18, 18, 0.95);
        --border-color: #333;
        --card-bg: #1e1e1e;
        --card-shadow: rgba(0, 0, 0, 0.3);
        --footer-bg: #000;
        --hero-gradient: linear-gradient(rgba(0, 0, 0, 0.75), rgba(18, 18, 18, 0.75));
        --logo-filter: invert(0.9) hue-rotate(180deg); /* Adjust logo for dark mode if no specific file exists */
        --image-brightness: 0.8;
    }
}


.site-title {
   padding-left:20px;
   font-size: 2rem;
   vertical-align: bottom;
   font-weight: bold;
   color: var(--subtext-color);}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

img {
    max-width: 100%;
    height: auto;
    filter: brightness(var(--image-brightness));
    transition: filter 0.3s ease;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--header-bg);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    filter: var(--logo-filter);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--subtext-color);
}

.nav-links a:hover {
    color: var(--heading-color);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: var(--hero-gradient), url('../images/Gemini_Generated_Image_17ukty17ukty17uk.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--subtext-color);
    max-width: 800px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: #fff;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--heading-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 40px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--card-shadow);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Contact/About Section */
.about {
    padding: 80px 0;
    background-color: var(--card-bg); /* Use card-bg for consistency */
}

.about h2 {
    color: var(--heading-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--card-shadow);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p, .footer-section a {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--footer-bottom-text);
}

.social-links a {
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
}
