/*
Theme Name: Carillion Light
Theme URI: https://carillionsgroupofcompanies.com
Author: Carillions Group Of Companies
Author URI: https://carillionsgroupofcompanies.com
Description: A premium light theme for Carillions Group Of Companies.
Version: 1.0.0
Text Domain: carillion-light
*/

/* ============================================
   CSS VARIABLES - LIGHT THEME WITH LIME GREEN
   ============================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    --bg-card: #ffffff;
    --accent: #c3e63c;
    --accent-dark: #a8c832;
    --text-primary: #1a1a2e;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-light: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --font-body: 'Inter', 'DM Sans', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.eyebrow {
    color: var(--accent-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.text-accent {
    color: var(--accent) !important;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 120px 0;
}

.section-light {
    background-color: var(--bg-primary);
}

.section-gray {
    background-color: var(--bg-secondary);
}

.section-dark {
    background-color: var(--bg-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
    color: var(--text-light);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.section-accent h1,
.section-accent h2,
.section-accent h3,
.section-accent p {
    color: var(--bg-dark) !important;
}

.text-center {
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(195, 230, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(195, 230, 60, 0.4);
    color: var(--bg-dark);
}

.btn-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.btn-dark:hover {
    background: #2a2a4e;
    color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.7));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 0 80px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.75));
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(195, 230, 60, 0.15), rgba(168, 200, 50, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-secondary);
}

/* ============================================
   GRIDS
   ============================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.95));
}

.project-card .overlay span {
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-card .overlay h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0;
    margin-top: 8px;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(195, 230, 60, 0.2);
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.team-card .role {
    color: var(--accent-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.team-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

/* ============================================
   VALUE CARDS
   ============================================ */
.value-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.value-card h3 {
    color: var(--accent-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* ============================================
   FOOTER - WHITE BACKGROUND
   ============================================ */
.site-footer {
    background: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-widget h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.footer-widget p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-widget li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-widget a:hover {
    color: var(--accent-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
    text-align: center;
    padding: 100px 0;
}

.cta-strip h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-strip p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-block {
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.content-block h2 {
    color: var(--accent-dark);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.content-block ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-block li {
    list-style: disc;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* ============================================
   UTILITIES
   ============================================ */
.mb-60 {
    margin-bottom: 60px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.rounded-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero {
        min-height: 90vh;
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-hero {
        min-height: 40vh;
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.8rem !important;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .card {
        padding: 25px;
    }

    .team-card {
        padding: 25px;
    }

    .team-card img {
        width: 100px;
        height: 100px;
    }

    .value-card {
        padding: 25px;
    }

    .content-block {
        padding: 30px;
    }

    .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .rounded-img {
        margin-bottom: 30px;
    }

    /* Stats on accent sections */
    .section-accent>.container>div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .section-accent div>div {
        font-size: 2rem !important;
    }

    /* Footer */
    .footer-logo img {
        height: 60px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
    }

    /* Project cards */
    .project-card {
        height: 250px;
    }

    /* Text alignment */
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem !important;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    .hero h1 {
        font-size: 1.7rem !important;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .card {
        padding: 20px;
    }

    .section-accent>.container>div {
        grid-template-columns: 1fr 1fr !important;
    }
}