/*
    Overdrive Concrete Services Template - styles.css
    Industrial, strong, and clear design with a dark palette and orange accent.
*/

/* --- 1. CSS Reset and Variables --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette (Dark/Industrial) */
    --color-primary: #FF7700; /* Bright Orange/Accent */
    --color-secondary: #333333; /* Dark Grey Background for sections */
    --color-dark: #1a1a1a; /* Very Dark Background/Header */
    --color-light: #ffffff; /* White Text */
    --color-text-dim: #cccccc; /* Light Grey for body text */

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --spacing-lg: 80px;
    --spacing-md: 40px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-light);
    background-color: var(--color-dark);
}

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

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

a:hover { color: var(--color-light); }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

/* --- 2. Utility & Section Styles --- */
.section-padding { padding: var(--spacing-lg) 0; }

.dark-bg { background-color: var(--color-secondary); }

.section-heading {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after { /* Underline accent */
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.btn { /* Primary Button Style */
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #ff9933;
}

.btn-secondary { /* Secondary Button (Outline) */
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* --- 3. Header and Navigation --- */
.main-header {
    background-color: var(--color-dark);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--color-primary);
}

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

.logo {
    font-size: 1.8em;
    letter-spacing: 2px;
	border:none;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-light);
    font-family: var(--font-heading);
    font-size: 1.1em;
}

.main-nav ul li{
    display: inline-block;
}

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

.mobile-nav {
	display:none;
}

.cta-link { /* Button in the Navigation */
    background-color: var(--color-primary);
    color: var(--color-dark) !important;
    padding: 5px 15px;
    border-radius: 3px;
}

.cta-link:hover {
    background-color: var(--color-light);
    color: var(--color-dark) !important;
}

/* --- 4. Hero Section --- */
.hero {
    position: relative;
    /* Placeholder for the background image */
    background: url('placeholder-concrete-background.jpg') center center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
	background-image:url(images/concrete_hero_bg.jpg);
	background-size: cover; /* Adjust as needed */
    opacity: 0.7; /* Value from 0.0 (fully transparent) to 1.0 (fully opaque) */
}

.hero .container { 
	position: relative; 
	z-index: 10;
	}
	
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2em;
    color: var(--color-primary);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: 30px;
}

/* --- 5. Services Section --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: var(--spacing-md);
}

.service-card {
    background-color: var(--color-secondary);
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    border-bottom: 4px solid var(--color-primary); /* Accent border */
    transition: transform 0.3s, background-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: #444444;
}

.icon-placeholder {
    font-size: 3em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 15px;
}

/* --- 6. About Section --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p { color: var(--color-light); margin-bottom: 20px; }

.features-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0;
}

.features-list li {
    background-color: var(--color-dark);
    padding: 8px 15px;
    border-left: 3px solid var(--color-primary);
    font-weight: 700;
}

/* --- 7. Projects/Gallery Section --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: var(--spacing-md);
}

.project-item {
    aspect-ratio: 4/3;
    background-color: #444; /* Placeholder visual */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-family: var(--font-heading);
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.project-item:hover {
    opacity: 1;
    outline: 5px solid var(--color-primary);
    outline-offset: -5px;
}

.text-center { text-align: center; }

/* --- 8. Contact CTA Section --- */
.contact-cta {
    background-color: var(--color-primary);
    color: var(--color-dark);
    padding: var(--spacing-md) 0;
    text-align: center;
}
.cta-heading { color: var(--color-dark); font-size: 2.2em; }

.contact-cta p { color: var(--color-dark); margin-bottom: 20px; }

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-detail {
    color: var(--color-dark);
    font-weight: 700;
}

.contact-detail:hover { color: var(--color-light); }

/* --- 9. Footer --- */
.main-footer {
    background-color: var(--color-dark);
    padding: var(--spacing-md) 0 10px;
    color: var(--color-text-dim);
    border-top: 1px solid var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-secondary);
}

.footer-logo {
    font-size: 1.5em;
    font-family: var(--font-heading);
    color: var(--color-light);
}

.footer-links h4, .footer-contact h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-links ul a {
    color: var(--color-text-dim);
    display: block;
    padding: 3px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 0.85em;
}

/* --- 10. Responsiveness --- */
@media (max-width: 768px) {
.section-padding { padding: var(--spacing-md) 0; }
	
.main-header {
    background-color: var(--color-dark);
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--color-primary);
}
	
.logo {
	display:block;
    font-size: 1.8em;
    letter-spacing: 2px;
	border:none;
	text-align:center;
	width:100%;
}

.main-nav {
	display:none;
}

.mobile-nav {
	display:block;
	width:100%;
}
	
.mobile-nav ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    /* Ensure any existing flexbox or grid settings are reset for the list */
    display: block !important;
}
	
.mobile-nav ul li{
	/* Forces each list item to take up the full available width */
    display: block !important; 
        
    /* Removes any horizontal spacing/alignment methods */
    float: none !important;
        
    /* Centers the text within the block */
    text-align: center; 
        
    /* Adds vertical spacing between the stacked links */
    padding: 10px 0; 
        
    /* Ensure any background or border spans the full width */
    width: 100%;
}
	
.mobile-nav a {
    color: var(--color-light);
    font-family: var(--font-heading);
    font-size: 1.1em;
}

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

.hero { height: 60vh; }

.hero-title { font-size: 1.6em; }

.footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
}

.footer-links ul {
	display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 5px;
}
}