/* style.css - Foundational Styles for Chromegnon Cloud Solutions */

/* Basic Reset & Box Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Color Variables (Adjust violet as needed - this is an example) */
:root {
    --primary-violet: #58567B; /* A muted violet, adjust based on exact logo color */
    --light-violet-bg: #f0eefc; /* A very light violet for subtle backgrounds */
    --white-color: #ffffff;
    --dark-text: #333333;
    --medium-text: #555555;
    --link-hover: #7a6ac5; /* Slightly lighter violet for hover */
}

/* Global Styles */
body {
    font-family: 'Lato', 'Open Sans', 'Arial', sans-serif; /* Example font stack */
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white-color);
}

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

a {
    color: var(--white-color);
    text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', 'Arial', sans-serif; /* Example heading font */
    color: var(--primary-violet);
    margin-bottom: 0.75em;
    line-height: 1.2;
}

h1 { font-size: 2.5em;}
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto; /* Center the container */
    padding: 20px 0;
}

/* Header & Navigation */
header {
    background-color: var(--primary-violet);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

header .logo img {
    max-height: 200px; /* Adjust as needed */
    margin-right: 20px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* Spacing between menu items */
}

header nav ul li a {
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

/* Main Content Area */
main {
    padding: 30px 0;
}

main section {
    padding: 40px 0;
}

main section:nth-child(even) { /* Optional alternating background */
    background-color: var(--light-violet-bg);
}

main h1 {
    text-align: center;
    margin-bottom: 40px;
}

main .content-section h2 {
    margin-bottom: 20px;
}

main .content-section p,
main .content-section ul {
    margin-bottom: 15px;
    color: var(--medium-text);
}

main .content-section ul {
    list-style-position: inside;
    padding-left: 20px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px;
}

.cta-button.primary {
    background-color: var(--primary-violet);
    color: var(--white-color);
}

.cta-button.primary:hover {
    background-color: var(--link-hover);
    color: var(--white-color);
    text-decoration: none;
}

.cta-button.secondary {
    background-color: var(--primary-violet);
    color: var(--white-color);
}

.cta-button.secondary:hover {
    background-color: var(--light-violet-bg);
    color: var(--primary-violet);
    text-decoration: none;
}


/* Footer */
footer {
    background-color: var(--dark-text);
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer .container p {
    margin-bottom: 10px;
}

footer a {
    color: var(--white-color);
}

footer a:hover {
    color: #eee;
    text-decoration: underline;
}

/* Homepage Specific (Example - Add more as needed) */
.hero {
    background-color: var(--white-color); /* Or use a background image */
    color: var(--primary-violet);
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    color: var(--primary-violet);
    font-size: 3em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--primary-violet);
}

.services-overview .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 30px;
}

.services-overview .service-item {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.services-overview .service-item h3 {
    margin-bottom: 10px;
}

.services-overview .service-item p {
     margin-bottom: 15px;
     color: var(--medium-text);
}


/* Contact Form Styling */
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    /* Use .cta-button styles */
}


/* Basic Responsiveness (Placeholder - Needs significant expansion) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%; /* Make nav take full width */
    }

     h1 { font-size: 2em; }
     h2 { font-size: 1.75em; }
     .hero h1 { font-size: 2.5em; }
}