﻿/****************************************************
 * GunnCom - Static HTML & CSS Modern Conversion
 * Preserving classic Vertis design with responsive layout
 ****************************************************/

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    background: #000 url("../images/Background_Black.gif") repeat 50% 50%;
    font-family: Verdana, Tahoma, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

/* Page container */
.pagewidth {
    position: relative;
    max-width: 990px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.headertab {
    width: 100%;
    height: 5px;
    background: #000;
}

#content-main {
    width: 100%;
    background: #fff;
    border: 1px solid #333333;
    overflow: hidden;
}

/* Header & Logo */
#header {
    background: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

#header a {
    display: inline-block;
}

#header img {
    height: 150px;
    max-width: 100%;
    width: auto;
    display: block;
    border: none;
}

#sep {
    width: 100%;
    height: 2px;
    background: #000;
}

/* Image Slider */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000 url("../images/loading.gif") no-repeat center center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-container .slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 47px;
    height: 47px;
    cursor: pointer;
    z-index: 10;
    text-indent: -9999px;
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    opacity: 1;
}

.slider-prev {
    left: 20px;
    background-image: url("../images/prev.png");
}

.slider-next {
    right: 20px;
    background-image: url("../images/next.png");
}

/* Navigation Menu */
.navigation {
    width: 100%;
    background: #000;
    overflow: hidden;
}

.navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.navigation ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
}

.navigation ul li a {
    display: block;
    padding: 15px 18px;
    font-size: 15px;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    text-shadow: 0.1em 0.1em 0.2em black;
    transition: all 0.3s ease;
}

.navigation ul li a:hover {
    color: #eee;
    background: #00AEEF;
}

.navigation ul li.active a {
    color: #fff;
    background: #00AEEF;
}

/* Layout Content Areas */
.content-body {
    display: flex;
    width: 100%;
    min-height: 450px;
}

#main {
    flex: 1;
    background: transparent;
    text-align: left;
    padding: 20px 25px 30px 40px;
}

#right {
    width: 220px;
    min-width: 200px;
    background: transparent;
    text-align: center;
    padding: 20px 20px 20px 10px;
    border-left: 1px solid #eee;
}

#main-full {
    width: 100%;
    background: transparent;
    text-align: left;
    padding: 20px 40px 30px 40px;
}

/* Article Typography */
.gk-article {
    font-size: 13px;
    line-height: 1.6;
}

h1 {
    font-size: 24px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: normal;
}

h2 {
    font-size: 19px;
    color: #444;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: normal;
}

h3 {
    font-size: 16px;
    color: #444;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 13px;
    margin: 12px 0;
    line-height: 1.6;
}

a:link, a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #00AEEF;
    transition: color 0.3s ease;
}

a:hover {
    color: #010101;
}

.gk-article ul {
    margin: 12px 0;
    padding-left: 0;
}

.gk-article ul li {
    list-style-type: none;
    background: url("../images/bg-ul.png") no-repeat 0 7px;
    margin: 6px 0;
    padding-left: 18px;
    line-height: 1.5;
}

/* Case Studies Table */
.casestudies-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.casestudies-table td {
    padding: 15px 12px;
    vertical-align: top;
    border-bottom: 1px solid #ddd;
}

.casestudies-table td.logo-cell {
    width: 220px;
    text-align: center;
}

.casestudies-table td.logo-cell img {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.casestudies-table h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #222;
}

.casestudies-table ul {
    margin: 0;
    padding-left: 0;
}

.casestudies-table ul li {
    list-style-type: none;
    background: url("../images/bg-ul.png") no-repeat 0 7px;
    margin: 6px 0;
    padding-left: 18px;
    line-height: 1.5;
}

.casestudies-table ul ul {
    margin-top: 5px;
    margin-left: 10px;
}

/* Client logos sidebar */
.clients-sidebar {
    text-align: center;
}

.clients-sidebar img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 15px auto;
}

.clients-sidebar .clients-label {
    margin-top: 20px;
    font-style: italic;
    color: #888;
    text-align: right;
    padding-right: 10px;
    font-size: 11px;
}

/* Contact Form */
.contact-container {
    max-width: 650px;
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.form-label {
    width: 160px;
    font-weight: bold;
    text-align: right;
    padding-right: 15px;
    padding-top: 7px;
    font-size: 12px;
    color: #555;
}

.form-input-wrapper {
    flex: 1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-family: inherit;
    font-size: 13px;
    color: #333;
    border-radius: 2px;
    transition: border-color 0.2s, background-color 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00AEEF;
    background: #fff;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.form-submit-row {
    margin-left: 160px;
    padding-top: 10px;
}

.btn-send {
    background: #00AEEF;
    color: #fff;
    border: none;
    padding: 9px 24px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.btn-send:hover {
    background: #0092c8;
}

/* Footer */
.ftb {
    width: 100%;
    text-align: center;
    background: #000;
    color: #bbb;
    font-size: 12px;
    border-top: 2px solid #222;
}

.ftb-c {
    padding: 20px 10px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-body {
        flex-direction: column;
    }

    #main {
        padding: 20px 20px 10px 20px;
    }

    #right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 20px;
    }

    #main-full {
        padding: 20px;
    }

    .slider-wrapper {
        height: 140px;
    }

    .navigation ul {
        flex-direction: column;
    }

    .navigation ul li a {
        padding: 12px 16px;
        border-bottom: 1px solid #1a1a1a;
    }

    .casestudies-table,
    .casestudies-table tbody,
    .casestudies-table tr,
    .casestudies-table td {
        display: block;
        width: 100% !important;
    }

    .casestudies-table td.logo-cell {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .form-group {
        flex-direction: column;
    }

    .form-label {
        width: 100%;
        text-align: left;
        padding-bottom: 5px;
        padding-top: 0;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        max-width: 100%;
    }

    .form-submit-row {
        margin-left: 0;
    }
}