/* ============================================================
   COLINTECH SOLUTIONS - WITH BACKGROUND IMAGES
   ============================================================ */

/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #e8e8e8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #f39c12;
}

a:hover {
    color: #d68910;
}

/* ----- HEADER & NAVIGATION ----- */
header {
    background: rgba(26, 26, 26, 0.95);
    color: #fff;
    padding: 20px 0;
    border-bottom: 4px solid #f39c12;
    position: relative;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.logo h1 span {
    color: #f39c12;
}

.logo p {
    font-size: 14px;
    color: #999999;
    margin-top: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #d0d0d0;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    border-bottom-color: #f39c12;
    color: #f39c12;
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-block;
    background: #f39c12;
    color: #1a1a1a;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #d68910;
    color: #1a1a1a;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #1a1a1a;
}

/* ----- ALERTS ----- */
.alert {
    padding: 18px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-weight: 600;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================================
   HERO SECTION WITH BACKGROUND IMAGE
   ============================================================ */
.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.8)), 
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #dddddd;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero .btn {
    margin: 5px 10px;
}

/* ============================================================
   OVERVIEW SECTION WITH BACKGROUND IMAGE
   ============================================================ */
.overview {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                url('../images/overview-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.overview h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.overview p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #333333;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stats div {
    background: rgba(61, 61, 61, 0.9);
    color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    min-width: 140px;
    backdrop-filter: blur(5px);
}

.stats span {
    font-size: 32px;
    font-weight: 700;
    display: block;
}

/* ============================================================
   SERVICES PREVIEW WITH BACKGROUND
   ============================================================ */
.services-preview {
    padding: 80px 0;
    background: linear-gradient(rgba(232, 232, 232, 0.95), rgba(232, 232, 232, 0.95)), 
                url('../images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.services-preview h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.service-grid > div {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 10px;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #888888;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.service-grid > div:hover {
    border-top-color: #f39c12;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-grid h3 {
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-grid p {
    color: #555555;
}

/* ----- PAGE HEADER (Page Titles) ----- */
.page-header {
    background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)), 
                url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 42px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.page-header p {
    color: #dddddd;
    font-size: 18px;
    margin-top: 5px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ----- ABOUT PAGE ----- */
.about-content {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
}

.about-content h3 {
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 24px;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 8px;
}

.about-content p,
.about-content ul {
    margin-bottom: 15px;
    color: #444444;
}

.about-content ul {
    padding-left: 25px;
}

.about-content ul li {
    margin-bottom: 5px;
}

/* ----- SERVICES FULL PAGE ----- */
.services-full {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
}

.service-block {
    background: rgba(240, 240, 240, 0.9);
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    border-left: 5px solid #888888;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.service-block:hover {
    border-left-color: #f39c12;
}

.service-block h3 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 12px;
}

.service-block ul {
    list-style: none;
    padding-left: 0;
}

.service-block ul li {
    color: #444444;
    padding: 4px 0;
    padding-left: 25px;
    position: relative;
}

.service-block ul li::before {
    content: "✔";
    color: #f39c12;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ----- GALLERY PAGE ----- */
.gallery-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
}

.gallery-category {
    margin-bottom: 50px;
}

.gallery-category h3 {
    color: #1a1a1a;
    font-size: 26px;
    margin-bottom: 20px;
    border-bottom: 3px solid #f39c12;
    padding-bottom: 10px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: flex-start;
}

.gallery-item {
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    width: calc(25% - 20px);
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #aaaaaa;
}

.gallery-item p {
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    color: #1a1a1a;
    background: #ffffff;
}

.gallery-note {
    text-align: center;
    padding: 30px;
    background: #e8e8e8;
    border-radius: 10px;
    margin-top: 20px;
}

.gallery-note a {
    color: #f39c12;
    font-weight: 700;
}

/* ----- CONTACT PAGE ----- */
.contact-content {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.95);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
}

.contact-grid > div {
    background: rgba(240, 240, 240, 0.9);
    padding: 30px;
    border-radius: 10px;
    width: 320px;
    border-top: 4px solid #888888;
    backdrop-filter: blur(5px);
}

.contact-grid h3 {
    color: #1a1a1a;
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-grid p {
    margin-bottom: 6px;
    color: #444444;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
}

.contact-form h3 {
    color: #1a1a1a;
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 2px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f39c12;
    outline: none;
    background: #ffffff;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 18px;
}

/* ----- FOOTER ----- */
footer {
    background: #1a1a1a;
    color: #999999;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

/* ----- RESPONSIVE (Mobile Friendly) ----- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stats div {
        width: 80%;
    }
    
    .service-grid > div {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-item {
        width: calc(50% - 15px);
        min-width: 150px;
    }
    
    .contact-grid > div {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 26px;
    }
    
    .gallery-item {
        width: 100%;
    }
    
    .service-block ul li {
        padding-left: 20px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
}