/* Elemental Sound Wiki Stylesheet */

/* Base Styles */
:root {
    --primary-color: #346473;
    --secondary-color: #E8AA33;
    --tertiary-color: #3f826d;
    --accent-color: #7E5920;
    --dark-color: #192440;
    --light-color: #f7f9fc;
    --text-color: #333;
    --light-text-color: #ffffff;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --light-gray: #f4f4f4;
    --medium-gray: #ddd;
    --dark-gray: #666;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --danger-color: #F44336;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

ul, ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #3a5a8c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.button.primary {
    background-color: var(--primary-color);
}

.button.secondary {
    background-color: var(--secondary-color);
}

.button.tertiary {
    background-color: var(--tertiary-color);
}

/* Header Styles */
header {
    background-color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.tagline {
    font-style: italic;
    color: var(--dark-color);
    font-size: 0.9rem;
}

nav {
    background-color: var(--dark-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--light-text-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

nav ul li a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(25, 36, 64, 0.7), rgba(25, 36, 64, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
    border-bottom: none;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Page Banner */
.page-banner {
    position: relative;
    padding: 4rem 5%;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65); /* Increased opacity for better text contrast */
    z-index: 1;
}

.page-banner .content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Added text shadow for legibility */
    font-weight: 700;
}

.page-banner p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Added text shadow for legibility */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Client Story Quote */
.client-quote {
    font-style: italic;
    font-size: 1.3rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 700px;
    border-left: 4px solid var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); /* Added for quote legibility */
}

/* Main Content Layout - Two Column for non-homepage */
main {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Two-column layout for wiki-style pages (not for homepage) */
.wiki-layout {
    display: flex;
    gap: 2rem;
}

.wiki-layout aside {
    flex: 0 0 300px;
    height: fit-content;
    padding: 1.5rem;
    background-color: #f5f8fa;
    border-radius: 8px;
    position: sticky;
    top: 2rem;
}

.wiki-layout article {
    flex: 1;
}

/* Single column layout is default */
main:not(.wiki-layout) {
    display: block;
}

.client-profile {
    background-color: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.client-profile h4 {
    margin-bottom: 0.75rem;
}

.client-profile dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem;
}

.client-profile dt {
    font-weight: 600;
    color: #666;
}

.client-profile dd {
    margin: 0;
}

.other-stories, .services-used {
    margin-bottom: 2rem;
}

.other-stories h3, .services-used h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.other-stories ul, .services-used ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-stories li, .services-used li {
    margin-bottom: 0.5rem;
}

.other-stories a, .services-used a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.other-stories a:hover, .services-used a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Client Details Styles */
.client-overview, .client-journey, .business-impact {
    margin-bottom: 3rem;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.metric-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--dark-gray);
}

.pain-points, .goals {
    margin: 1.5rem 0;
}

.pain-points h3, .goals h3 {
    color: var(--primary-color);
}

.pain-points ul, .goals ul {
    padding-left: 1.5rem;
}

.client-journey-timeline {
    margin: 2rem 0;
}

.journey-phase {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
}

.journey-phase::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--accent-color);
    border-radius: 4px;
}

.journey-phase h3 {
    color: var(--primary-color);
}

.impact-area {
    margin-bottom: 2rem;
}

.impact-area h3 {
    color: var(--primary-color);
}

.featured-project {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}

.featured-project h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.call-to-action {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.call-to-action h3 {
    margin-top: 0;
    color: var(--white);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #d35400;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .wiki-layout {
        flex-direction: column;
    }
    
    .wiki-layout aside {
        flex-basis: auto;
        position: static;
    }
    
    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-banner {
        padding: 3rem 1rem;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    main {
        width: 95%;
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
}

/* Utility Classes */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

/* Border Utilities */
.border-bottom {
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
} 