/* -------------------------------------------------------------------
   The Inner Architect - Primary Stylesheet
   Theme: Clean, Professional, Calming
------------------------------------------------------------------- */

/* --- Variables & Base Styles --- */
:root {
    --color-primary: #7a7ac3; /* Lavender/Periwinkle - Main Accent */
    --color-secondary: #4b4b6f; /* Deep Violet - Text/Header */
    --color-background: #f7f7ff; /* Off-White/Calm Background */
    --color-light: #ffffff;
    --color-shadow: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--color-background);
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}

h1, h2, h3 {
    color: var(--color-secondary);
    line-height: 1.2;
    font-weight: 700;
}

section {
    padding: 60px 5%;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--color-light);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px var(--color-shadow);
    position: sticky; /* Keeps header visible on scroll */
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6em;
    font-weight: 800;
    color: var(--color-primary); 
}

nav a {
    text-decoration: none;
    color: var(--color-secondary);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta-button {
    background-color: var(--color-primary); 
    color: var(--color-light) !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.nav-cta-button:hover {
    background-color: #6464af;
}

/* --- Hero Section --- */
#hero {
    background-color: #e0e0ff; /* Very light blue/lavender */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: none; /* Remove text shadow */
}

.hero-content {
    text-align: center;
    padding: 40px;
    border-radius: 15px;
}

#hero h1 {
    color: var(--color-secondary);
    font-size: 3.5em;
    margin-bottom: 10px;
}
#hero .subtitle {
    color: #5d6d8a;
    font-size: 1.4em;
    margin-top: 0;
}

.cta-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-primary); 
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px; 
    margin-top: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}
.cta-primary:hover {
    background-color: #6464af;
}

/* --- Focus Areas Grid (What We Work On) --- */
#focus-areas {
    padding: 80px 5%;
    text-align: center;
}
.grid-row {
    display: flex;
    justify-content: center; 
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.card {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px var(--color-shadow);
    width: 30%;
    min-width: 280px;
    text-align: center;
}
.card.top-center { 
    margin-bottom: 20px; 
}
.card h3 {
    color: var(--color-primary);
    font-size: 1.4em;
    margin-top: 0;
}

/* --- Services Detail Page Styling (services.html) --- */
.service-option {
    border-bottom: 1px solid #ddd;
    padding: 30px 0;
    text-align: left;
}
.service-option:last-child {
    border-bottom: none;
}
.service-option h3 {
    color: var(--color-secondary);
    font-size: 1.6em;
}

/* --- Contact Form Styling (contact.html) --- */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--color-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--color-shadow);
    text-align: left;
    margin-top: 50px;
}
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
}
.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-secondary);
}
.form-container button {
    background-color: var(--color-primary);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.form-container button:hover {
    background-color: #6464af;
}

/* --- Footer --- */
footer {
    background-color: var(--color-secondary);
    color: #ccc;
    padding: 25px 5%;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .card { width: 90%; margin-bottom: 15px; }
    #hero h1 { font-size: 2em; }
    #hero .subtitle { font-size: 1.1em; }
    header, nav { flex-direction: column; }
    nav a { margin: 5px 0; }
    .about-section { flex-direction: column; }
    .about-section img { margin-bottom: 20px; }
}
