/* Nova Blaze AI - Stylesheet - Adapted for homenova.html structure & new feedback */

/* --- Base Styles & Variables --- */

:root {
    --deep-violet: #3B2166;
    --soft-white: #FFBFAC;
    --electric-orange: #FFB30C;
    --cyan-blue: #106680;
    --midnight-black: #09172A;
    --text-light: #FFFFFF;
    --text-medium: #D3D3D3;
    --text-dark: var(--midnight-black);
    --bg-card: #2c1b45;
    --bg-section-darker: #1b002e;
    --bg-gradient-start: #1c0030;
    --bg-gradient-end: #10001a;
    --purple-600: #7e22ce;
    --purple-700: #6b21a8;
    --purple-400: #c084fc;
    --purple-900: #581c87;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1100px;
    --padding-section: 48px 0;
    --header-height: 80px; /* Define header height for logo sizing */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--midnight-black);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--purple-600);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--purple-700);
    color: var(--text-light);
    text-decoration: none; /* Remove underline on button hover */
}

/* --- Header --- */
header {
    height: var(--header-height);
    padding: 0; /* Remove padding, use flex alignment */
    background-color: var(--midnight-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; /* Use flex for vertical alignment */
    align-items: center; /* Center items vertically */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container takes full width */
}

.logo {
    height: 100%; /* Make link container full header height */
    display: flex; /* Use flex to center image */
    align-items: center;
}

.logo img {
    height: 100%; /* Fill the container height */
    width: auto; /* Maintain aspect ratio */
    padding: 5px 0; /* Add some vertical padding if needed */
    box-sizing: border-box; /* Include padding in height */
    max-height: 100%; /* Ensure it doesn't overflow */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header nav ul li a {
    color: var(--text-light);
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--electric-orange);
    border-bottom-color: var(--electric-orange);
    text-decoration: none;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    background: var(--midnight-black);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex-basis: 55%;
}

.hero-text h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
}

.hero-text .subheadline {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Removed .hero-button styles */

/* Ensure hero visual scrolls with the page and uses the image */
.hero-visual {
    flex-basis: 40%;
    min-height: 400px;
    position: relative; /* Should be relative to its container */
    border-radius: 15px;
    overflow: hidden;
    /* Remove background gradients, image is now in HTML */
    background: none; /* Remove gradient */
    display: flex; /* Use flex to center image if needed */
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: auto; /* Let logo size naturally */
    max-width: 100%; /* Don't exceed container */
    max-height: 350px; /* Limit height to prevent it being huge */
    height: auto;
    /* object-fit: contain; /* Alternative: contain within bounds */
}

/* Removing previous complex pseudo-elements for visual */
/* .hero-visual::before, .hero-visual::after { display: none; } */

/* --- Offerings Section --- */
.offerings {
    padding: var(--padding-section);
}

.offerings h2 {
    margin-bottom: 2rem;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.offering-item {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.offering-item:hover {
    transform: translateY(-5px);
}

.offering-item .icon-placeholder {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    line-height: 1;
    /* Consider replacing emojis with actual icons (SVG/FontAwesome) */
}

.offering-item h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offering-item p {
    color: var(--text-medium);
    font-size: 0.875rem;
}

.view-services-link {
    margin-top: 2.5rem;
}

.view-services-link a {
    color: var(--purple-400);
}

.view-services-link a:hover {
    text-decoration: underline;
    color: var(--text-light);
}

/* --- Why Us Section --- */
.why-us {
    padding: var(--padding-section);
    background-color: var(--bg-section-darker);
}

.why-us-container {
    text-align: left;
}

.why-us-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-us-text p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    max-width: 600px;
}

/* Removed button styles from here */

/* --- Contact Placeholder Section --- */
.contact-placeholder {
    padding: var(--padding-section);
}

.contact-placeholder h2 {
    margin-bottom: 1rem;
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--purple-900);
    margin-top: 2.5rem;
    color: var(--text-medium);
    background-color: var(--midnight-black);
}

.footer-cta {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

footer nav ul li a {
    color: var(--text-medium);
}

footer nav ul li a:hover {
    color: var(--text-light);
    text-decoration: none;
}

.footer-button {
    margin-top: 1rem; /* Add margin above footer button */
    margin-bottom: 1rem; /* Add margin below footer button */
}

.copyright {
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        flex-basis: 100%;
        margin-bottom: 40px;
    }
    .hero-visual {
        flex-basis: 100%;
        min-height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    .header-container {
        flex-direction: column;
        gap: 10px;
        height: auto; /* Allow header height to adjust */
        padding: 10px 0; /* Add padding back for smaller screens */
    }
    header {
        height: auto; /* Allow header height to adjust */
    }
    .logo {
        height: 50px; /* Adjust logo height for smaller header */
    }
    .logo img {
        height: 100%; /* Let image fill the link container height */
    }
    header nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .why-us-container {
        text-align: center;
    }
    .why-us-text p {
        margin-left: auto;
        margin-right: auto;
    }
    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    .hero-text .subheadline {
        font-size: 1rem;
    }
    .offering-item {
        padding: 20px;
    }
}

/* Reduce size of header button further */
header .btn-primary {
    padding: 6px 12px; /* Even smaller padding */
    font-size: 0.9rem; /* Even smaller font */
}



/* Re-checked for fixed positioning issues - Cannot find any element causing a large fixed logo in top-left besides the intended sticky header. */

